#include <linux/bug.h>
#include <linux/workqueue.h>
#include <linux/spinlock.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/wait.h>
#include <linux/mutex.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <asm/chpid.h>
#include <asm/sclp.h>
#include <asm/crw.h>
#include "cio.h"
#include "css.h"
#include "ioasm.h"
#include "cio_debug.h"
#include "chp.h"
Go to the source code of this file.
#define CHP_INFO_UPDATE_INTERVAL 1*HZ |
Definition at line 30 of file chp.c.
Definition at line 29 of file chp.c.
- Enumerator:
cfg_none |
|
cfg_configure |
|
cfg_deconfigure |
|
Definition at line 32 of file chp.c.
chp_cfg_cancel_deconfigure - cancel chpid deconfiguration request - channel-path ID
Cancel an active channel-path deconfiguration request if it has not yet been performed.
Definition at line 694 of file chp.c.
chp_cfg_schedule - schedule chpid configuration request - channel-path ID - Non-zero for configure, zero for deconfigure
Schedule a channel-path configuration/deconfiguration request.
Definition at line 676 of file chp.c.
chp_get_chp_desc - return newly allocated channel-path description : channel-path ID
On success return a newly allocated copy of the channel-path description data associated with the given channel-path ID. Return NULL on error.
Definition at line 456 of file chp.c.
chp_get_sch_opm - return opm for subchannel : subchannel
Calculate and return the operational path mask (opm) based on the chpids used by the subchannel and the status of the associated channel-paths.
Definition at line 77 of file chp.c.
Definition at line 65 of file chp.c.
chp_info_get_status - retrieve configure status of a channel-path : channel-path ID
On success, return 0 for standby, 1 for configured, 2 for reserved, 3 for not recognized. Return negative error code on error.
Definition at line 581 of file chp.c.
chp_is_registered - check if a channel-path is registered : channel-path ID
Return non-zero if a channel-path with the given chpid is registered, zero otherwise.
Definition at line 102 of file chp.c.
chp_new - register a new channel-path - channel-path ID
Create and register data structure representing new channel-path. Return zero on success, non-zero otherwise.
Definition at line 386 of file chp.c.
subsys_initcall |
( |
chp_init |
| ) |
|