Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/string.h>
#include <asm/ccwdev.h>
#include <asm/cio.h>
#include <asm/chpid.h>
#include "cio.h"
#include "cio_debug.h"
#include "css.h"
#include "device.h"
#include "chsc.h"
#include "ioasm.h"
#include "chp.h"
Go to the source code of this file.
Functions | |
__setup ("ccw_timeout_log", ccw_timeout_log_setup) | |
void | ccw_device_set_timeout (struct ccw_device *cdev, int expires) |
int | ccw_device_cancel_halt_clear (struct ccw_device *cdev) |
void | ccw_device_update_sense_data (struct ccw_device *cdev) |
int | ccw_device_test_sense_data (struct ccw_device *cdev) |
void | ccw_device_sense_id_done (struct ccw_device *cdev, int err) |
int | ccw_device_notify (struct ccw_device *cdev, int event) |
void | ccw_device_recognition (struct ccw_device *cdev) |
void | ccw_device_verify_done (struct ccw_device *cdev, int err) |
int | ccw_device_online (struct ccw_device *cdev) |
void | ccw_device_disband_done (struct ccw_device *cdev, int err) |
int | ccw_device_offline (struct ccw_device *cdev) |
void | ccw_device_kill_io (struct ccw_device *cdev) |
void | ccw_device_trigger_reprobe (struct ccw_device *cdev) |
EXPORT_SYMBOL_GPL (ccw_device_set_timeout) | |
Variables | |
fsm_func_t * | dev_jumptable [NR_DEV_STATES][NR_DEV_EVENTS] |
__setup | ( | "ccw_timeout_log" | , |
ccw_timeout_log_setup | |||
) |
int ccw_device_cancel_halt_clear | ( | struct ccw_device * | cdev | ) |
Definition at line 136 of file device_fsm.c.
void ccw_device_disband_done | ( | struct ccw_device * | cdev, |
int | err | ||
) |
Definition at line 597 of file device_fsm.c.
void ccw_device_kill_io | ( | struct ccw_device * | cdev | ) |
Definition at line 883 of file device_fsm.c.
int ccw_device_notify | ( | struct ccw_device * | cdev, |
int | event | ||
) |
ccw_device_notify() - inform the device's driver about an event : device for which an event occurred : event that occurred
Returns: -EINVAL if the device is offline or has no driver. -EOPNOTSUPP if the device's driver has no notifier registered. NOTIFY_OK if the driver wants to keep the device. NOTIFY_BAD if the driver doesn't want to keep the device.
Definition at line 329 of file device_fsm.c.
int ccw_device_offline | ( | struct ccw_device * | cdev | ) |
Definition at line 617 of file device_fsm.c.
int ccw_device_online | ( | struct ccw_device * | cdev | ) |
Definition at line 574 of file device_fsm.c.
void ccw_device_recognition | ( | struct ccw_device * | cdev | ) |
Definition at line 431 of file device_fsm.c.
void ccw_device_sense_id_done | ( | struct ccw_device * | cdev, |
int | err | ||
) |
Definition at line 303 of file device_fsm.c.
void ccw_device_set_timeout | ( | struct ccw_device * | cdev, |
int | expires | ||
) |
Definition at line 111 of file device_fsm.c.
int ccw_device_test_sense_data | ( | struct ccw_device * | cdev | ) |
Definition at line 191 of file device_fsm.c.
void ccw_device_trigger_reprobe | ( | struct ccw_device * | cdev | ) |
Definition at line 921 of file device_fsm.c.
void ccw_device_update_sense_data | ( | struct ccw_device * | cdev | ) |
Definition at line 182 of file device_fsm.c.
void ccw_device_verify_done | ( | struct ccw_device * | cdev, |
int | err | ||
) |
Definition at line 517 of file device_fsm.c.
EXPORT_SYMBOL_GPL | ( | ccw_device_set_timeout | ) |
fsm_func_t* dev_jumptable[NR_DEV_STATES][NR_DEV_EVENTS] |
Definition at line 1016 of file device_fsm.c.