Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/s390/cio/
Dchp.c56 static void set_chp_logically_online(struct chp_id chpid, int onoff) in set_chp_logically_online() argument
58 chpid_to_chp(chpid)->state = onoff; in set_chp_logically_online()
63 int chp_get_status(struct chp_id chpid) in chp_get_status() argument
65 return (chpid_to_chp(chpid) ? chpid_to_chp(chpid)->state : -ENODEV); in chp_get_status()
77 struct chp_id chpid; in chp_get_sch_opm() local
82 chp_id_init(&chpid); in chp_get_sch_opm()
85 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm()
86 if (chp_get_status(chpid) != 0) in chp_get_sch_opm()
100 int chp_is_registered(struct chp_id chpid) in chp_is_registered() argument
102 return chpid_to_chp(chpid) != NULL; in chp_is_registered()
[all …]
Dchp.h28 struct chp_id chpid; member
44 struct chp_id chpid; member
57 static inline struct channel_path *chpid_to_chp(struct chp_id chpid) in chpid_to_chp() argument
59 return css_by_id(chpid.cssid)->chps[chpid.id]; in chpid_to_chp()
62 int chp_get_status(struct chp_id chpid);
64 int chp_is_registered(struct chp_id chpid);
65 struct channel_path_desc_fmt0 *chp_get_chp_desc(struct chp_id chpid);
69 int chp_new(struct chp_id chpid);
70 void chp_cfg_schedule(struct chp_id chpid, int configure);
71 void chp_cfg_cancel_deconfigure(struct chp_id chpid);
[all …]
Dchsc.c92 u8 chpid[8]; /* chpids 0-7 */ member
142 chp_id_init(&ssd->chpid[i]); in chsc_get_ssd_info()
143 ssd->chpid[i].id = ssd_area->chpid[i]; in chsc_get_ssd_info()
228 void chsc_chp_offline(struct chp_id chpid) in chsc_chp_offline() argument
230 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_offline()
234 sprintf(dbf_txt, "chpr%x.%02x", chpid.cssid, chpid.id); in chsc_chp_offline()
237 if (chp_get_status(chpid) <= 0) in chsc_chp_offline()
240 link.chpid = chpid; in chsc_chp_offline()
265 sprintf(dbf_txt, "accpr%x.%02x", link->chpid.cssid, in s390_process_res_acc()
266 link->chpid.id); in s390_process_res_acc()
[all …]
Dchsc.h29 u8 chpid; member
69 struct chp_id chpid[8]; member
152 int chsc_chp_vary(struct chp_id chpid, int on);
153 int chsc_determine_channel_path_desc(struct chp_id chpid, int fmt, int rfmt,
155 int chsc_determine_fmt0_channel_path_desc(struct chp_id chpid,
157 int chsc_determine_fmt1_channel_path_desc(struct chp_id chpid,
159 int chsc_determine_fmt3_channel_path_desc(struct chp_id chpid,
161 void chsc_chp_online(struct chp_id chpid);
162 void chsc_chp_offline(struct chp_id chpid);
Ddevice_ops.c467 struct chp_id chpid; in ccw_device_get_chp_desc() local
470 chp_id_init(&chpid); in ccw_device_get_chp_desc()
471 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_chp_desc()
472 return chp_get_chp_desc(chpid); in ccw_device_get_chp_desc()
487 struct chp_id chpid; in ccw_device_get_util_str() local
490 chp_id_init(&chpid); in ccw_device_get_util_str()
491 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_util_str()
492 chp = chpid_to_chp(chpid); in ccw_device_get_util_str()
633 struct chp_id chpid; in ccw_device_get_mdc() local
642 chp_id_init(&chpid); in ccw_device_get_mdc()
[all …]
Dchsc_sch.c492 scpcd_area->cssid = cd->chpid.cssid; in chsc_ioctl_info_channel_path()
493 scpcd_area->first_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
494 scpcd_area->last_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
725 u32 chpid : 8; in chsc_ioctl_conf_comp_list() member
754 chpid_parm->m = ccl->req.chpid.m; in chsc_ioctl_conf_comp_list()
755 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list()
756 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list()
803 ret = chsc_determine_channel_path_desc(chpd->chpid, chpd->fmt, in chsc_ioctl_chpd()
Dtrace.h62 memcpy(&__entry->pmcw_chpid, &schib->pmcw.chpid, 8);
283 TP_PROTO(struct chp_id chpid, int cc),
284 TP_ARGS(chpid, cc),
291 __entry->cssid = chpid.cssid;
292 __entry->id = chpid.id;
Dcss.c269 chp_id_init(&ssd->chpid[i]); in ssd_from_pmcw()
270 ssd->chpid[i].id = pmcw->chpid[i]; in ssd_from_pmcw()
283 chp_new(ssd->chpid[i]); in ssd_register_chpids()
346 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
1171 struct chp_id chpid; in channel_subsystem_reinit() local
1174 chp_id_for_each(&chpid) { in channel_subsystem_reinit()
1175 chp = chpid_to_chp(chpid); in channel_subsystem_reinit()
Ddevice_fsm.c169 struct chp_id chpid; in __recover_lost_chpids() local
171 chp_id_init(&chpid); in __recover_lost_chpids()
178 chpid.id = sch->schib.pmcw.chpid[i]; in __recover_lost_chpids()
179 if (!chp_is_registered(chpid)) in __recover_lost_chpids()
Dcio.h37 u8 chpid[8]; /* CHPID 0-7 (if available) */ member
Dccwreq.c342 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
/Linux-v4.19/arch/s390/include/asm/
Dchpid.h16 u8 chpid; member
23 static inline void chp_id_init(struct chp_id *chpid) in chp_id_init() argument
25 memset(chpid, 0, sizeof(struct chp_id)); in chp_id_init()
33 static inline void chp_id_next(struct chp_id *chpid) in chp_id_next() argument
35 if (chpid->id < __MAX_CHPID) in chp_id_next()
36 chpid->id++; in chp_id_next()
38 chpid->id = 0; in chp_id_next()
39 chpid->cssid++; in chp_id_next()
43 static inline int chp_id_is_valid(struct chp_id *chpid) in chp_id_is_valid() argument
45 return (chpid->cssid <= __MAX_CSSID); in chp_id_is_valid()
Dsclp.h119 int sclp_chp_configure(struct chp_id chpid);
120 int sclp_chp_deconfigure(struct chp_id chpid);
/Linux-v4.19/arch/s390/include/uapi/asm/
Dchsc.h51 struct chp_id chpid; member
103 struct ccl_parm_chpid chpid; member
121 struct chp_id chpid; member
/Linux-v4.19/drivers/s390/char/
Dsclp_cmd.c611 int sclp_chp_configure(struct chp_id chpid) in sclp_chp_configure() argument
613 return do_chp_configure(SCLP_CMDW_CONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_configure()
623 int sclp_chp_deconfigure(struct chp_id chpid) in sclp_chp_deconfigure() argument
625 return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_deconfigure()
/Linux-v4.19/Documentation/s390/
Ddriver-model.txt234 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-v4.19/drivers/s390/scsi/
Dzfcp_fsf.h177 u8 chpid; member
/Linux-v4.19/drivers/s390/net/
Dqeth_core_sys.c54 return sprintf(buf, "%02X\n", card->info.chpid); in qeth_dev_chpid_show()
57 static DEVICE_ATTR(chpid, 0444, qeth_dev_chpid_show, NULL);
Dqeth_core.h658 unsigned short chpid; member
821 __u8 chpid; member
Dqeth_core_mpc.h656 __u8 chpid; member
Dqeth_core_main.c660 card->info.chpid); in qeth_check_ipa_data()
672 card->info.chpid); in qeth_check_ipa_data()
1696 card->info.chpid = prcd[30]; in qeth_configure_unitaddr()
3159 tid->chpid = card->info.chpid; in qeth_get_trap_id()
/Linux-v4.19/drivers/s390/block/
Ddasd_3990_erp.c2220 device->path[pos].cssid, device->path[pos].chpid, lpum); in dasd_3990_erp_disable_path()
2228 device->path[pos].cssid, device->path[pos].chpid, lpum); in dasd_3990_erp_disable_path()
2234 device->path[pos].cssid, device->path[pos].chpid, lpum); in dasd_3990_erp_disable_path()
Ddasd_eckd.h405 __u8 chpid; member
Ddasd_eckd.c983 device->path[i].chpid = 0; in dasd_eckd_clear_conf_data()
1044 device->path[pos].chpid = chp_desc->chpid; in dasd_eckd_read_conf()
1110 device->path[pos].chpid = chp_desc->chpid; in dasd_eckd_read_conf()
1802 device->path[i].chpid = 0; in dasd_eckd_uncheck_device()
5309 psf_cuir->chpid = device->path[pos].chpid; in dasd_eckd_psf_cuir_response()
5436 device->path[pos].chpid); in dasd_eckd_cuir_notify_user()
5440 device->path[pos].chpid); in dasd_eckd_cuir_notify_user()
Ddasd_int.h408 u8 chpid; member

12