Home
last modified time | relevance | path

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

/drivers/s390/cio/
A Dchp.c65 return (chpid_to_chp(chpid) ? chpid_to_chp(chpid)->state : -ENODEV); in chp_get_status()
85 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm()
115 chpid.id); in s390_vary_chpid()
538 chp->chpid = chpid; in chp_new()
553 dev_set_name(&chp->dev, "chp%x.%02x", chpid.cssid, chpid.id); in chp_new()
559 chpid.cssid, chpid.id, ret); in chp_new()
664 if (!chp_id_is_equal(&ssd->chpid[i], &link->chpid)) in chp_ssd_get_mask()
740 return chp_cfg_task[chpid.cssid][chpid.id]; in cfg_get_task()
746 chp_cfg_task[chpid.cssid][chpid.id] = cfg; in cfg_set_task()
780 "%d\n", chpid.cssid, chpid.id, rc); in cfg_func()
[all …]
A Dchp.h29 struct chp_id chpid; member
45 struct chp_id chpid; member
61 static inline struct channel_path *chpid_to_chp(struct chp_id chpid) in chpid_to_chp() argument
63 return css_by_id(chpid.cssid)->chps[chpid.id]; in chpid_to_chp()
66 int chp_get_status(struct chp_id chpid);
68 int chp_is_registered(struct chp_id chpid);
69 struct channel_path_desc_fmt0 *chp_get_chp_desc(struct chp_id chpid);
73 int chp_new(struct chp_id chpid);
74 void chp_cfg_schedule(struct chp_id chpid, int configure);
75 void chp_cfg_cancel_deconfigure(struct chp_id chpid);
[all …]
A Dchsc.c164 ssd->chpid[i].id = ssd_area->chpid[i]; in chsc_get_ssd_info()
256 sprintf(dbf_txt, "chpr%x.%02x", chpid.cssid, chpid.id); in chsc_chp_offline()
262 link.chpid = chpid; in chsc_chp_offline()
491 link.chpid = chpid; in chsc_process_sei_res_acc()
514 "%x.%02x\n", chpid.cssid, chpid.id); in chsc_process_sei_chp_avail()
549 events[data->op], chpid.cssid, chpid.id); in chsc_process_sei_chp_config()
623 link.chpid = chpid; in chsc_process_sei_fces_event()
760 sprintf(dbf_txt, "cadd%x.%02x", chpid.cssid, chpid.id); in chsc_chp_online()
765 link.chpid = chpid; in chsc_chp_online()
786 link.chpid = chpid; in __s390_subchannel_vary_chpid()
[all …]
A Dchsc.h25 u32 chpid : 8; member
50 u8 chpid; member
91 struct chp_id chpid[8]; member
174 int chsc_chp_vary(struct chp_id chpid, int on);
175 int chsc_determine_channel_path_desc(struct chp_id chpid, int fmt, int rfmt,
177 int chsc_determine_fmt0_channel_path_desc(struct chp_id chpid,
179 int chsc_determine_fmt1_channel_path_desc(struct chp_id chpid,
181 int chsc_determine_fmt3_channel_path_desc(struct chp_id chpid,
183 void chsc_chp_online(struct chp_id chpid);
184 void chsc_chp_offline(struct chp_id chpid);
A Ddevice_ops.c482 struct chp_id chpid; in ccw_device_get_chp_desc() local
485 chp_id_init(&chpid); in ccw_device_get_chp_desc()
486 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_chp_desc()
502 struct chp_id chpid; in ccw_device_get_util_str() local
505 chp_id_init(&chpid); in ccw_device_get_util_str()
506 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_util_str()
507 chp = chpid_to_chp(chpid); in ccw_device_get_util_str()
652 struct chp_id chpid; in ccw_device_get_mdc() local
661 chp_id_init(&chpid); in ccw_device_get_mdc()
665 chpid.id = sch->schib.pmcw.chpid[i]; in ccw_device_get_mdc()
[all …]
A Dchsc_sch.c458 scpcd_area->cssid = cd->chpid.cssid; in chsc_ioctl_info_channel_path()
459 scpcd_area->first_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
460 scpcd_area->last_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
691 u32 chpid : 8; in chsc_ioctl_conf_comp_list() member
720 chpid_parm->m = ccl->req.chpid.m; in chsc_ioctl_conf_comp_list()
721 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list()
722 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list()
769 ret = chsc_determine_channel_path_desc(chpd->chpid, chpd->fmt, in chsc_ioctl_chpd()
A Ddevice_fsm.c171 struct chp_id chpid; in __recover_lost_chpids() local
173 chp_id_init(&chpid); in __recover_lost_chpids()
180 chpid.id = sch->schib.pmcw.chpid[i]; in __recover_lost_chpids()
181 if (!chp_is_registered(chpid)) in __recover_lost_chpids()
A Dcss.c278 chp_id_init(&ssd->chpid[i]); in ssd_from_pmcw()
279 ssd->chpid[i].id = pmcw->chpid[i]; in ssd_from_pmcw()
292 chp_new(ssd->chpid[i]); in ssd_register_chpids()
383 ret += sysfs_emit_at(buf, ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
A Dvfio_ccw_drv.c332 link->chpid.id); in vfio_ccw_chp_event()
343 link->chpid.id); in vfio_ccw_chp_event()
A Dcio.h38 u8 chpid[8]; /* CHPID 0-7 (if available) */ member
A Ddevice.c1150 int mask, chpid, valid_bit; in io_subchannel_chp_event() local
1188 for (chpid = 0, valid_bit = 0x80; chpid < 8; chpid++, in io_subchannel_chp_event()
1191 path_event[chpid] = PE_PATH_FCES_EVENT; in io_subchannel_chp_event()
1193 path_event[chpid] = PE_NONE; in io_subchannel_chp_event()
A Dccwreq.c343 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
A Dtrace.h62 memcpy(&__entry->pmcw_chpid, &schib->pmcw.chpid, 8);
/drivers/s390/char/
A Dsclp_cmd.c595 int sclp_chp_configure(struct chp_id chpid) in sclp_chp_configure() argument
597 return do_chp_configure(SCLP_CMDW_CONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_configure()
607 int sclp_chp_deconfigure(struct chp_id chpid) in sclp_chp_deconfigure() argument
609 return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_deconfigure()
/drivers/s390/net/
A Dqeth_core_sys.c45 return sysfs_emit(buf, "%02X\n", card->info.chpid); in qeth_dev_chpid_show()
48 static DEVICE_ATTR(chpid, 0444, qeth_dev_chpid_show, NULL);
A Dqeth_core.h715 u8 chpid; member
883 __u8 chpid; member
A Dqeth_core_mpc.h709 __u8 chpid; member
A Dqeth_l2_main.c613 (card->info.chpid == token->chpid) && in qeth_is_my_net_if_token()
1280 token->chpid); in qeth_bridge_emit_host_event()
A Dqeth_core_main.c837 netdev_name(card->dev), card->info.chpid); in qeth_check_ipa_data()
846 netdev_name(card->dev), card->info.chpid); in qeth_check_ipa_data()
2121 card->info.chpid = tag[0]; in qeth_read_conf_data_cb()
3373 tid->chpid = card->info.chpid; in qeth_get_trap_id()
5065 info->chid, info->chpid); in qeth_read_ccw_conf_data()
5071 QETH_CARD_TEXT_(card, 3, "chpid:%x", info->chpid); in qeth_read_ccw_conf_data()
/drivers/s390/scsi/
A Dzfcp_fsf.h199 u8 chpid; member
/drivers/s390/block/
A Ddasd_3990_erp.c2186 device->path[pos].cssid, device->path[pos].chpid, lpum); in dasd_3990_erp_disable_path()
2194 device->path[pos].cssid, device->path[pos].chpid, lpum); in dasd_3990_erp_disable_path()
2200 device->path[pos].cssid, device->path[pos].chpid, lpum); in dasd_3990_erp_disable_path()
A Ddasd_eckd.h499 __u8 chpid; member
A Ddasd_eckd.c1025 device->path[chp].chpid = chp_desc->chpid; in dasd_eckd_store_conf_data()
1042 device->path[i].chpid = 0; in dasd_eckd_clear_conf_data()
6330 psf_cuir->chpid = device->path[pos].chpid; in dasd_eckd_psf_cuir_response()
6457 device->path[pos].chpid); in dasd_eckd_cuir_notify_user()
6461 device->path[pos].chpid); in dasd_eckd_cuir_notify_user()
A Ddasd_int.h485 u8 chpid; member
A Ddasd_devmap.c2564 device->path[chp].cssid, device->path[chp].chpid); in dasd_path_create_kobj()

Completed in 99 milliseconds