#include <linux/types.h>
#include <linux/device.h>
#include <linux/mutex.h>
#include <asm/chpid.h>
#include "chsc.h"
#include "css.h"
Go to the source code of this file.
Definition at line 22 of file chp.h.
Definition at line 21 of file chp.h.
#define CHP_STATUS_CONFIGURED 1 |
Definition at line 17 of file chp.h.
#define CHP_STATUS_NOT_RECOGNIZED 3 |
Definition at line 19 of file chp.h.
#define CHP_STATUS_RESERVED 2 |
Definition at line 18 of file chp.h.
#define CHP_STATUS_STANDBY 0 |
Definition at line 16 of file chp.h.
Definition at line 24 of file chp.h.
Definition at line 23 of file chp.h.
#define S390_CHP_H S390_CHP_H |
Definition at line 7 of file chp.h.
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.