Home
last modified time | relevance | path

Searched refs:chpid (Results 1 – 24 of 24) sorted by relevance

/drivers/s390/cio/
Dchp.c55 static void set_chp_logically_online(struct chp_id chpid, int onoff) in set_chp_logically_online() argument
57 chpid_to_chp(chpid)->state = onoff; in set_chp_logically_online()
62 int chp_get_status(struct chp_id chpid) in chp_get_status() argument
64 return (chpid_to_chp(chpid) ? chpid_to_chp(chpid)->state : -ENODEV); in chp_get_status()
76 struct chp_id chpid; in chp_get_sch_opm() local
81 chp_id_init(&chpid); in chp_get_sch_opm()
84 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm()
85 if (chp_get_status(chpid) != 0) in chp_get_sch_opm()
99 int chp_is_registered(struct chp_id chpid) in chp_is_registered() argument
101 return chpid_to_chp(chpid) != NULL; in chp_is_registered()
[all …]
Dchp.h27 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 …]
Dchsc.c91 u8 chpid[8]; /* chpids 0-7 */ member
141 chp_id_init(&ssd->chpid[i]); in chsc_get_ssd_info()
142 ssd->chpid[i].id = ssd_area->chpid[i]; in chsc_get_ssd_info()
227 void chsc_chp_offline(struct chp_id chpid) in chsc_chp_offline() argument
229 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_offline()
233 sprintf(dbf_txt, "chpr%x.%02x", chpid.cssid, chpid.id); in chsc_chp_offline()
236 if (chp_get_status(chpid) <= 0) in chsc_chp_offline()
239 link.chpid = chpid; in chsc_chp_offline()
264 sprintf(dbf_txt, "accpr%x.%02x", link->chpid.cssid, in s390_process_res_acc()
265 link->chpid.id); in s390_process_res_acc()
[all …]
Dchsc.h28 u8 chpid; member
63 struct chp_id chpid[8]; member
146 int chsc_chp_vary(struct chp_id chpid, int on);
147 int chsc_determine_channel_path_desc(struct chp_id chpid, int fmt, int rfmt,
149 int chsc_determine_base_channel_path_desc(struct chp_id chpid,
151 int chsc_determine_fmt1_channel_path_desc(struct chp_id chpid,
153 void chsc_chp_online(struct chp_id chpid);
154 void chsc_chp_offline(struct chp_id chpid);
Ddevice_ops.c471 struct chp_id chpid; in ccw_device_get_chp_desc() local
474 chp_id_init(&chpid); in ccw_device_get_chp_desc()
475 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_chp_desc()
476 return chp_get_chp_desc(chpid); in ccw_device_get_chp_desc()
610 struct chp_id chpid; in ccw_device_get_mdc() local
619 chp_id_init(&chpid); in ccw_device_get_mdc()
623 chpid.id = sch->schib.pmcw.chpid[i]; in ccw_device_get_mdc()
624 chp = chpid_to_chp(chpid); in ccw_device_get_mdc()
Dioasm.c185 static inline int __rchp(struct chp_id chpid) in __rchp() argument
187 register struct chp_id reg1 asm ("1") = chpid; in __rchp()
199 int rchp(struct chp_id chpid) in rchp() argument
203 ccode = __rchp(chpid); in rchp()
204 trace_s390_cio_rchp(chpid, ccode); in rchp()
Dtrace.h51 *((u64 *) __entry->schib.pmcw.chpid)
240 TP_PROTO(struct chp_id chpid, int cc),
241 TP_ARGS(chpid, cc),
248 __entry->cssid = chpid.cssid;
249 __entry->id = chpid.id;
Dchsc_sch.c496 scpcd_area->cssid = cd->chpid.cssid; in chsc_ioctl_info_channel_path()
497 scpcd_area->first_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
498 scpcd_area->last_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
729 u32 chpid : 8; in chsc_ioctl_conf_comp_list() member
758 chpid_parm->m = ccl->req.chpid.m; in chsc_ioctl_conf_comp_list()
759 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list()
760 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list()
807 ret = chsc_determine_channel_path_desc(chpd->chpid, chpd->fmt, in chsc_ioctl_chpd()
Dcss.c231 chp_id_init(&ssd->chpid[i]); in ssd_from_pmcw()
232 ssd->chpid[i].id = pmcw->chpid[i]; in ssd_from_pmcw()
245 if (!chp_is_registered(ssd->chpid[i])) in ssd_register_chpids()
246 chp_new(ssd->chpid[i]); in ssd_register_chpids()
1078 struct chp_id chpid; in channel_subsystem_reinit() local
1081 chp_id_for_each(&chpid) { in channel_subsystem_reinit()
1082 chp = chpid_to_chp(chpid); in channel_subsystem_reinit()
Dioasm.h22 int rchp(struct chp_id chpid);
Ddevice_fsm.c208 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()
Dcio.c828 struct chp_id chpid; in css_reset() local
838 chp_id_init(&chpid); in css_reset()
840 chpid.id = i; in css_reset()
841 ret = rchp(chpid); in css_reset()
Dcio.h36 u8 chpid[8]; /* CHPID 0-7 (if available) */ member
Dccwreq.c341 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
Ddevice.c229 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
/drivers/s390/char/
Dsclp_cmd.c632 int sclp_chp_configure(struct chp_id chpid) in sclp_chp_configure() argument
634 return do_chp_configure(SCLP_CMDW_CONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_configure()
644 int sclp_chp_deconfigure(struct chp_id chpid) in sclp_chp_deconfigure() argument
646 return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_deconfigure()
/drivers/s390/net/
Dqeth_core.h668 unsigned short chpid; member
839 __u8 chpid; member
Dqeth_core_sys.c53 return sprintf(buf, "%02X\n", card->info.chpid); in qeth_dev_chpid_show()
56 static DEVICE_ATTR(chpid, 0444, qeth_dev_chpid_show, NULL);
Dqeth_core_mpc.h538 __u8 chpid; member
Dqeth_core_main.c643 card->info.chpid); in qeth_check_ipa_data()
656 card->info.chpid); in qeth_check_ipa_data()
1736 card->info.chpid = prcd[30]; in qeth_configure_unitaddr()
3177 tid->chpid = card->info.chpid; in qeth_get_trap_id()
Dqeth_l2_main.c1604 token->chpid); in qeth_bridge_emit_host_event()
/drivers/s390/scsi/
Dzfcp_fsf.h176 u8 chpid; member
/drivers/s390/block/
Ddasd_eckd.h401 __u8 chpid; member
Ddasd_eckd.c5336 psf_cuir->chpid = desc->chpid; in dasd_eckd_psf_cuir_response()
5469 desc ? desc->chpid : 0); in dasd_eckd_cuir_notify_user()
5473 desc ? desc->chpid : 0); in dasd_eckd_cuir_notify_user()