/linux-4.1.27/drivers/s390/cio/ |
D | chp.c | 58 static void set_chp_logically_online(struct chp_id chpid, int onoff) in set_chp_logically_online() argument 60 chpid_to_chp(chpid)->state = onoff; in set_chp_logically_online() 65 int chp_get_status(struct chp_id chpid) in chp_get_status() argument 67 return (chpid_to_chp(chpid) ? chpid_to_chp(chpid)->state : -ENODEV); in chp_get_status() 79 struct chp_id chpid; in chp_get_sch_opm() local 84 chp_id_init(&chpid); in chp_get_sch_opm() 87 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm() 88 if (chp_get_status(chpid) != 0) in chp_get_sch_opm() 102 int chp_is_registered(struct chp_id chpid) in chp_is_registered() argument 104 return chpid_to_chp(chpid) != NULL; in chp_is_registered() [all …]
|
D | chp.h | 27 struct chp_id chpid; member 43 struct chp_id chpid; member 55 static inline struct channel_path *chpid_to_chp(struct chp_id chpid) in chpid_to_chp() argument 57 return channel_subsystems[chpid.cssid]->chps[chpid.id]; in chpid_to_chp() 60 int chp_get_status(struct chp_id chpid); 62 int chp_is_registered(struct chp_id chpid); 63 struct channel_path_desc *chp_get_chp_desc(struct chp_id chpid); 67 int chp_new(struct chp_id chpid); 68 void chp_cfg_schedule(struct chp_id chpid, int configure); 69 void chp_cfg_cancel_deconfigure(struct chp_id chpid); [all …]
|
D | chsc.c | 89 u8 chpid[8]; /* chpids 0-7 */ member 138 chp_id_init(&ssd->chpid[i]); in chsc_get_ssd_info() 139 ssd->chpid[i].id = ssd_area->chpid[i]; in chsc_get_ssd_info() 224 void chsc_chp_offline(struct chp_id chpid) in chsc_chp_offline() argument 229 sprintf(dbf_txt, "chpr%x.%02x", chpid.cssid, chpid.id); in chsc_chp_offline() 232 if (chp_get_status(chpid) <= 0) in chsc_chp_offline() 235 link.chpid = chpid; in chsc_chp_offline() 255 sprintf(dbf_txt, "accpr%x.%02x", link->chpid.cssid, in s390_process_res_acc() 256 link->chpid.id); in s390_process_res_acc() 346 struct chp_id chpid; in chsc_process_sei_link_incident() local [all …]
|
D | chsc.h | 28 u8 chpid; member 63 struct chp_id chpid[8]; member 130 int chsc_chp_vary(struct chp_id chpid, int on); 131 int chsc_determine_channel_path_desc(struct chp_id chpid, int fmt, int rfmt, 133 int chsc_determine_base_channel_path_desc(struct chp_id chpid, 135 int chsc_determine_fmt1_channel_path_desc(struct chp_id chpid, 137 void chsc_chp_online(struct chp_id chpid); 138 void chsc_chp_offline(struct chp_id chpid);
|
D | device_ops.c | 578 struct chp_id chpid; in ccw_device_get_chp_desc() local 581 chp_id_init(&chpid); in ccw_device_get_chp_desc() 582 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_chp_desc() 583 return chp_get_chp_desc(chpid); in ccw_device_get_chp_desc() 717 struct chp_id chpid; in ccw_device_get_mdc() local 726 chp_id_init(&chpid); in ccw_device_get_mdc() 730 chpid.id = sch->schib.pmcw.chpid[i]; in ccw_device_get_mdc() 731 chp = chpid_to_chp(chpid); in ccw_device_get_mdc()
|
D | ioasm.h | 153 static inline int rchp(struct chp_id chpid) in rchp() argument 155 register struct chp_id reg1 asm ("1") = chpid; in rchp()
|
D | chsc_sch.c | 497 scpcd_area->cssid = cd->chpid.cssid; in chsc_ioctl_info_channel_path() 498 scpcd_area->first_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path() 499 scpcd_area->last_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path() 730 u32 chpid : 8; in chsc_ioctl_conf_comp_list() member 759 chpid_parm->m = ccl->req.chpid.m; in chsc_ioctl_conf_comp_list() 760 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list() 761 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list() 808 ret = chsc_determine_channel_path_desc(chpd->chpid, chpd->fmt, in chsc_ioctl_chpd()
|
D | css.c | 232 chp_id_init(&ssd->chpid[i]); in ssd_from_pmcw() 233 ssd->chpid[i].id = pmcw->chpid[i]; in ssd_from_pmcw() 246 if (!chp_is_registered(ssd->chpid[i])) in ssd_register_chpids() 247 chp_new(ssd->chpid[i]); in ssd_register_chpids() 1084 struct chp_id chpid; in channel_subsystem_reinit() local 1087 chp_id_for_each(&chpid) { in channel_subsystem_reinit() 1088 chp = chpid_to_chp(chpid); in channel_subsystem_reinit()
|
D | cio.c | 848 struct chp_id chpid; in css_reset() local 858 chp_id_init(&chpid); in css_reset() 860 chpid.id = i; in css_reset() 861 ret = rchp(chpid); in css_reset()
|
D | device_fsm.c | 208 struct chp_id chpid; in __recover_lost_chpids() local 210 chp_id_init(&chpid); in __recover_lost_chpids() 217 chpid.id = sch->schib.pmcw.chpid[i]; in __recover_lost_chpids() 218 if (!chp_is_registered(chpid)) in __recover_lost_chpids()
|
D | cio.h | 36 u8 chpid[8]; /* CHPID 0-7 (if available) */ member
|
D | ccwreq.c | 342 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
|
D | device.c | 229 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | chpid.h | 15 u8 chpid; member 22 static inline void chp_id_init(struct chp_id *chpid) in chp_id_init() argument 24 memset(chpid, 0, sizeof(struct chp_id)); in chp_id_init() 32 static inline void chp_id_next(struct chp_id *chpid) in chp_id_next() argument 34 if (chpid->id < __MAX_CHPID) in chp_id_next() 35 chpid->id++; in chp_id_next() 37 chpid->id = 0; in chp_id_next() 38 chpid->cssid++; in chp_id_next() 42 static inline int chp_id_is_valid(struct chp_id *chpid) in chp_id_is_valid() argument 44 return (chpid->cssid <= __MAX_CSSID); in chp_id_is_valid()
|
D | sclp.h | 60 int sclp_chp_configure(struct chp_id chpid); 61 int sclp_chp_deconfigure(struct chp_id chpid);
|
/linux-4.1.27/arch/s390/include/uapi/asm/ |
D | chsc.h | 50 struct chp_id chpid; member 102 struct ccl_parm_chpid chpid; member 120 struct chp_id chpid; member
|
D | Kbuild | 7 header-y += chpid.h
|
/linux-4.1.27/drivers/s390/char/ |
D | sclp_cmd.c | 693 int sclp_chp_configure(struct chp_id chpid) in sclp_chp_configure() argument 695 return do_chp_configure(SCLP_CMDW_CONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_configure() 705 int sclp_chp_deconfigure(struct chp_id chpid) in sclp_chp_deconfigure() argument 707 return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_deconfigure()
|
/linux-4.1.27/Documentation/s390/ |
D | driver-model.txt | 234 and are called 'chp0.<chpid>'. They have no driver and do not belong to any bus. 241 Piping 'on' or 'off' sets the chpid logically online/offline. 242 Piping 'on' to an online chpid triggers path reprobing for all devices 243 the chpid connects to. This can be used to force the kernel to re-use
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_core.h | 659 unsigned short chpid; member 832 __u8 chpid; member
|
D | qeth_core_sys.c | 53 return sprintf(buf, "%02X\n", card->info.chpid); in qeth_dev_chpid_show() 56 static DEVICE_ATTR(chpid, 0444, qeth_dev_chpid_show, NULL);
|
D | qeth_core_mpc.h | 537 __u8 chpid; member
|
D | qeth_core_main.c | 628 card->info.chpid); in qeth_check_ipa_data() 641 card->info.chpid); in qeth_check_ipa_data() 1728 card->info.chpid = prcd[30]; in qeth_configure_unitaddr() 3218 tid->chpid = card->info.chpid; in qeth_get_trap_id()
|
D | qeth_l2_main.c | 1433 token->chpid); in qeth_bridge_emit_host_event()
|
/linux-4.1.27/drivers/s390/scsi/ |
D | zfcp_fsf.h | 175 u8 chpid; member
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd_eckd.h | 396 __u8 chpid; member
|
D | dasd_eckd.c | 4604 psf_cuir->chpid = desc->chpid; in dasd_eckd_psf_cuir_response() 4699 sch_id.cssid, desc ? desc->chpid : 0); in dasd_eckd_cuir_quiesce() 4714 sch_id.cssid, desc ? desc->chpid : 0); in dasd_eckd_cuir_resume()
|