#include <linux/module.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/device.h>
#include <linux/workqueue.h>
#include <linux/timer.h>
#include <linux/kernel_stat.h>
#include <asm/ccwdev.h>
#include <asm/cio.h>
#include <asm/param.h>
#include <asm/cmb.h>
#include <asm/isc.h>
#include "chp.h"
#include "cio.h"
#include "cio_debug.h"
#include "css.h"
#include "device.h"
#include "ioasm.h"
#include "io_sch.h"
#include "blacklist.h"
#include "chsc.h"
Go to the source code of this file.
#define KMSG_COMPONENT "cio" |
- Enumerator:
IO_SCH_UNREG |
|
IO_SCH_ORPH_UNREG |
|
IO_SCH_ATTACH |
|
IO_SCH_UNREG_ATTACH |
|
IO_SCH_ORPH_ATTACH |
|
IO_SCH_REPROBE |
|
IO_SCH_VERIFY |
|
IO_SCH_DISC |
|
IO_SCH_NOP |
|
Definition at line 1387 of file device.c.
ccw_device_sched_todo - schedule ccw device operation : ccw device
- Todo:
- : todo
Schedule the operation identified by
- Todo:
- to be performed on the slow path workqueue. Do nothing if another operation with higher priority is already scheduled. Needs to be called with ccwdev lock held.
Definition at line 2103 of file device.c.
ccw_device_set_offline() - disable a ccw device for I/O : target ccw device
This function calls the driver's set_offline() function for , if given, and then disables . Returns: %0 on success and a negative error value on failure. Context: enabled, ccw device lock not held
Definition at line 323 of file device.c.
ccw_device_set_online() - enable a ccw device for I/O : target ccw device
This function first enables and then calls the driver's set_online() function for , if given. If set_online() returns an error, is disabled again. Returns: %0 on success and a negative error value on failure. Context: enabled, ccw device lock not held
Definition at line 400 of file device.c.
ccw_device_siosl() - initiate logging : ccw device
This function is used to invoke model-dependent logging within the channel subsystem.
Definition at line 2127 of file device.c.
ccw_purge_blacklisted - purge unused, blacklisted devices
Unregister all ccw devices that are offline and on the blacklist.
Definition at line 1358 of file device.c.
get_ccwdev_by_busid() - obtain device from a bus id : driver the device is owned by : bus id of the device to be searched
This function searches all devices owned by for a device with a bus id matching . Returns: If a match is found, its reference count of the found device is increased and it is returned; else NULL is returned.
Definition at line 1684 of file device.c.
get_ccwdev_by_dev_id() - obtain device from a ccw device id : id of the device to be searched
This function searches all devices attached to the ccw bus for a device matching . Returns: If a device is found its reference count is increased and returned; else NULL is returned.
Definition at line 707 of file device.c.
MODULE_DEVICE_TABLE |
( |
css |
, |
|
|
io_subchannel_ids |
|
|
) |
| |