Query: ccw_device_start_timeout_key
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CCW_DEVICE_START_TIM(9) The ccw bus CCW_DEVICE_START_TIM(9)NAMEccw_device_start_timeout_key - start a s390 channel program with timeout and keySYNOPSISint ccw_device_start_timeout_key(struct ccw_device * cdev, struct ccw1 * cpa, unsigned long intparm, __u8 lpm, __u8 key, unsigned long flags, int expires);ARGUMENTScdev target ccw device cpa logical start address of channel program intparm user specific interruption parameter; will be presented back to cdev's interrupt handler. Allows a device driver to associate the interrupt with a particular I/O request. lpm defines the channel path to be used for a specific I/O request. A value of 0 will make cio use the opm. key storage key to be used for the I/O flags additional flags; defines the action to be performed for I/O processing. expires timeout value in jiffiesDESCRIPTIONStart a S/390 channel program. When the interrupt arrives, the IRQ handler is called, either immediately, delayed (dev-end missing, or sense required) or never (no IRQ handler registered). This function notifies the device driver if the channel program has not completed during the time specified by expires. If a timeout occurs, the channel program is terminated via xsch, hsch or csch, and the device's interrupt handler will be called with an irb containing ERR_PTR(-ETIMEDOUT).RETURNS0, if the operation was successful; -EBUSY, if the device is busy, or status pending; -EACCES, if no path specified in lpm is operational; -ENODEV, if the device is not operational.CONTEXTInterrupts disabled, ccw device lock heldAUTHORCornelia Huck <cornelia.huck@de.ibm.com> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 CCW_DEVICE_START_TIM(9)
Related Man Pages |
---|
ccw_device_start_key(9) - centos |
ccw_device_start_timeout_key(9) - centos |
ccw_device_start_timeout(9) - suse |
request_irq(9) - suse |
struct_ccwgroup_driver(9) - suse |
Similar Topics in the Unix Linux Community |
---|
timeout opening writing control channel /dev/initctl problem occur i cant shoudown |