Home
last modified time | relevance | path

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

/linux/drivers/s390/cio/
H A 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 …]
H A Dchsc_sch.c457 scpcd_area->cssid = cd->chpid.cssid; in chsc_ioctl_info_channel_path()
458 scpcd_area->first_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
459 scpcd_area->last_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
690 u32 chpid : 8; in chsc_ioctl_conf_comp_list() member
719 chpid_parm->m = ccl->req.chpid.m; in chsc_ioctl_conf_comp_list()
720 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list()
721 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list()
768 ret = chsc_determine_channel_path_desc(chpd->chpid, chpd->fmt, in chsc_ioctl_chpd()
H 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()
H A Dcss.c277 chp_id_init(&ssd->chpid[i]); in ssd_from_pmcw()
278 ssd->chpid[i].id = pmcw->chpid[i]; in ssd_from_pmcw()
291 chp_new(ssd->chpid[i]); in ssd_register_chpids()
382 ret += sysfs_emit_at(buf, ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
H A Dvfio_ccw_drv.c332 link->chpid.id); in vfio_ccw_chp_event()
343 link->chpid.id); in vfio_ccw_chp_event()
H A Ddevice.c1149 int mask, chpid, valid_bit; in io_subchannel_chp_event() local
1187 for (chpid = 0, valid_bit = 0x80; chpid < 8; chpid++, in io_subchannel_chp_event()
1190 path_event[chpid] = PE_PATH_FCES_EVENT; in io_subchannel_chp_event()
1192 path_event[chpid] = PE_NONE; in io_subchannel_chp_event()
H A Dtrace.h62 memcpy(&__entry->pmcw_chpid, &schib->pmcw.chpid, 8);
/linux/arch/s390/include/asm/
H A 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()
H A Dsclp.h184 int sclp_chp_configure(struct chp_id chpid);
185 int sclp_chp_deconfigure(struct chp_id chpid);
H A Dccwdev.h236 int ccw_device_get_chpid(struct ccw_device *cdev, int chp_idx, u8 *chpid);
/linux/arch/s390/include/uapi/asm/
H A Dchsc.h51 struct chp_id chpid; member
103 struct ccl_parm_chpid chpid; member
121 struct chp_id chpid; member
/linux/drivers/s390/char/
H A Dsclp_cmd.c207 int sclp_chp_configure(struct chp_id chpid) in sclp_chp_configure() argument
209 return do_chp_configure(SCLP_CMDW_CONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_configure()
219 int sclp_chp_deconfigure(struct chp_id chpid) in sclp_chp_deconfigure() argument
221 return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_deconfigure()
/linux/drivers/s390/scsi/
H A Dzfcp_fsf.h199 u8 chpid; member
/linux/usr/include/
H A DMakefile147 uses-libc += asm/chpid.h
/linux/drivers/s390/net/
H A Dqeth_core.h715 u8 chpid; member
883 __u8 chpid; member
H A Dqeth_l2_main.c612 (card->info.chpid == token->chpid) && in qeth_is_my_net_if_token()
1279 token->chpid); in qeth_bridge_emit_host_event()
H A Dqeth_core_main.c835 netdev_name(card->dev), card->info.chpid); in qeth_check_ipa_data()
844 netdev_name(card->dev), card->info.chpid); in qeth_check_ipa_data()
2119 card->info.chpid = tag[0]; in qeth_read_conf_data_cb()
3371 tid->chpid = card->info.chpid; in qeth_get_trap_id()
5062 info->chid, info->chpid); in qeth_read_ccw_conf_data()
5068 QETH_CARD_TEXT_(card, 3, "chpid:%x", info->chpid); in qeth_read_ccw_conf_data()
/linux/drivers/s390/block/
H 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()
H A Ddasd_eckd.h499 __u8 chpid; member
H A Ddasd_eckd.c1024 device->path[chp].chpid = chp_desc->chpid; in dasd_eckd_store_conf_data()
1041 device->path[i].chpid = 0; in dasd_eckd_clear_conf_data()
6343 psf_cuir->chpid = device->path[pos].chpid; in dasd_eckd_psf_cuir_response()
6470 device->path[pos].chpid); in dasd_eckd_cuir_notify_user()
6474 device->path[pos].chpid); in dasd_eckd_cuir_notify_user()
H A Ddasd_int.h485 u8 chpid; member
H A Ddasd_devmap.c2565 device->path[chp].cssid, device->path[chp].chpid); in dasd_path_create_kobj()