/kernel/linux/linux-5.10/drivers/s390/cio/ |
H A D | chp.c | 20 #include <asm/chpid.h> 55 /* Set vary state for given chpid. */ 56 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 in chp_get_sch_opm() 100 chp_is_registered(struct chp_id chpid) chp_is_registered() argument 109 s390_vary_chpid(struct chp_id chpid, int on) s390_vary_chpid() argument 156 chp_measurement_copy_block(struct cmg_entry *buf, struct channel_subsystem *css, struct chp_id chpid) chp_measurement_copy_block() argument 473 chp_new(struct chp_id chpid) chp_new() argument 538 chp_get_chp_desc(struct chp_id chpid) chp_get_chp_desc() argument 568 struct chp_id chpid; chp_process_crw() local 663 chp_info_get_status(struct chp_id chpid) chp_info_get_status() argument 688 cfg_get_task(struct chp_id chpid) cfg_get_task() argument 694 cfg_set_task(struct chp_id chpid, enum cfg_task_t cfg) cfg_set_task() argument 700 chp_cfg_fetch_task(struct chp_id *chpid) chp_cfg_fetch_task() argument 717 struct chp_id chpid; cfg_func() local 766 chp_cfg_schedule(struct chp_id chpid, int configure) chp_cfg_schedule() argument 783 chp_cfg_cancel_deconfigure(struct chp_id chpid) chp_cfg_cancel_deconfigure() argument 794 struct chp_id chpid; cfg_idle() local 813 struct chp_id chpid; chp_init() local [all...] |
H A D | chp.h | 13 #include <asm/chpid.h> 28 struct chp_id chpid; member 44 struct chp_id chpid; member 56 /* Return channel_path struct for given chpid. */ 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); [all...] |
H A D | chsc.c | 22 #include <asm/chpid.h> 96 u8 chpid[8]; /* chpids 0-7 */ member 146 chp_id_init(&ssd->chpid[i]); in chsc_get_ssd_info() 147 ssd->chpid[i].id = ssd_area->chpid[i]; in chsc_get_ssd_info() 233 void chsc_chp_offline(struct chp_id chpid) in chsc_chp_offline() argument 235 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_offline() 239 sprintf(dbf_txt, "chpr%x.%02x", chpid.cssid, chpid.id); in chsc_chp_offline() 242 if (chp_get_status(chpid) < in chsc_chp_offline() 432 struct chp_id chpid; chsc_process_sei_res_acc() local 471 struct chp_id chpid; chsc_process_sei_chp_avail() local 507 struct chp_id chpid; chsc_process_sei_chp_config() local 695 chsc_chp_online(struct chp_id chpid) chsc_chp_online() argument 720 __s390_subchannel_vary_chpid(struct subchannel *sch, struct chp_id chpid, int on) __s390_subchannel_vary_chpid() argument 737 struct chp_id *chpid = data; s390_subchannel_vary_chpid_off() local 745 struct chp_id *chpid = data; s390_subchannel_vary_chpid_on() local 756 chsc_chp_vary(struct chp_id chpid, int on) chsc_chp_vary() argument 900 chsc_determine_channel_path_desc(struct chp_id chpid, int fmt, int rfmt, int c, int m, void *page) chsc_determine_channel_path_desc() argument 995 u32 chpid : 8; chsc_get_channel_measurement_chars() member [all...] |
H A D | chsc.h | 8 #include <asm/chpid.h> 29 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); [all...] |
H A D | device_ops.c | 19 #include <asm/chpid.h> 478 struct chp_id chpid; in ccw_device_get_chp_desc() local 481 chp_id_init(&chpid); in ccw_device_get_chp_desc() 482 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_chp_desc() 483 return chp_get_chp_desc(chpid); in ccw_device_get_chp_desc() 498 struct chp_id chpid; in ccw_device_get_util_str() local 501 chp_id_init(&chpid); in ccw_device_get_util_str() 502 chpid.id = sch->schib.pmcw.chpid[chp_id in ccw_device_get_util_str() 644 struct chp_id chpid; ccw_device_get_mdc() local 774 ccw_device_get_chpid(struct ccw_device *cdev, int chp_idx, u8 *chpid) ccw_device_get_chpid() argument [all...] |
H A D | chsc_sch.c | 492 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()
|
H A D | cio.h | 8 #include <asm/chpid.h> 37 u8 chpid[8]; /* CHPID 0-7 (if available) */ member
|
H A D | ioasm.h | 5 #include <asm/chpid.h>
|
/kernel/linux/linux-6.6/drivers/s390/cio/ |
H A D | chp.c | 20 #include <asm/chpid.h> 55 /* Set vary state for given chpid. */ 56 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 in chp_get_sch_opm() 100 chp_is_registered(struct chp_id chpid) chp_is_registered() argument 109 s390_vary_chpid(struct chp_id chpid, int on) s390_vary_chpid() argument 156 chp_measurement_copy_block(struct cmg_entry *buf, struct channel_subsystem *css, struct chp_id chpid) chp_measurement_copy_block() argument 488 chp_new(struct chp_id chpid) chp_new() argument 553 chp_get_chp_desc(struct chp_id chpid) chp_get_chp_desc() argument 583 struct chp_id chpid; chp_process_crw() local 678 chp_info_get_status(struct chp_id chpid) chp_info_get_status() argument 703 cfg_get_task(struct chp_id chpid) cfg_get_task() argument 709 cfg_set_task(struct chp_id chpid, enum cfg_task_t cfg) cfg_set_task() argument 715 chp_cfg_fetch_task(struct chp_id *chpid) chp_cfg_fetch_task() argument 732 struct chp_id chpid; cfg_func() local 781 chp_cfg_schedule(struct chp_id chpid, int configure) chp_cfg_schedule() argument 798 chp_cfg_cancel_deconfigure(struct chp_id chpid) chp_cfg_cancel_deconfigure() argument 809 struct chp_id chpid; cfg_idle() local 828 struct chp_id chpid; chp_init() local [all...] |
H A D | chp.h | 13 #include <asm/chpid.h> 29 struct chp_id chpid; member 45 struct chp_id chpid; member 57 /* Return channel_path struct for given chpid. */ 58 static inline struct channel_path *chpid_to_chp(struct chp_id chpid) in chpid_to_chp() argument 60 return css_by_id(chpid.cssid)->chps[chpid.id]; in chpid_to_chp() 63 int chp_get_status(struct chp_id chpid); 65 int chp_is_registered(struct chp_id chpid); 66 struct channel_path_desc_fmt0 *chp_get_chp_desc(struct chp_id chpid); [all...] |
H A D | chsc.c | 22 #include <asm/chpid.h> 99 u8 chpid[8]; /* chpids 0-7 */ member 149 chp_id_init(&ssd->chpid[i]); in chsc_get_ssd_info() 150 ssd->chpid[i].id = ssd_area->chpid[i]; in chsc_get_ssd_info() 236 void chsc_chp_offline(struct chp_id chpid) in chsc_chp_offline() argument 238 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_offline() 242 sprintf(dbf_txt, "chpr%x.%02x", chpid.cssid, chpid.id); in chsc_chp_offline() 245 if (chp_get_status(chpid) < in chsc_chp_offline() 454 struct chp_id chpid; chsc_process_sei_res_acc() local 485 struct chp_id chpid; chsc_process_sei_chp_avail() local 521 struct chp_id chpid; chsc_process_sei_chp_config() local 590 struct chp_id chpid; chsc_process_sei_fces_event() local 739 chsc_chp_online(struct chp_id chpid) chsc_chp_online() argument 764 __s390_subchannel_vary_chpid(struct subchannel *sch, struct chp_id chpid, int on) __s390_subchannel_vary_chpid() argument 781 struct chp_id *chpid = data; s390_subchannel_vary_chpid_off() local 789 struct chp_id *chpid = data; s390_subchannel_vary_chpid_on() local 800 chsc_chp_vary(struct chp_id chpid, int on) chsc_chp_vary() argument 944 chsc_determine_channel_path_desc(struct chp_id chpid, int fmt, int rfmt, int c, int m, void *page) chsc_determine_channel_path_desc() argument 1039 u32 chpid : 8; chsc_get_channel_measurement_chars() member 1483 u8 chpid[8]; global() member [all...] |
H A D | chsc.h | 8 #include <asm/chpid.h> 29 u8 chpid; member 70 struct chp_id chpid[8]; member 153 int chsc_chp_vary(struct chp_id chpid, int on); 154 int chsc_determine_channel_path_desc(struct chp_id chpid, int fmt, int rfmt, 156 int chsc_determine_fmt0_channel_path_desc(struct chp_id chpid, 158 int chsc_determine_fmt1_channel_path_desc(struct chp_id chpid, 160 int chsc_determine_fmt3_channel_path_desc(struct chp_id chpid, 162 void chsc_chp_online(struct chp_id chpid); 163 void chsc_chp_offline(struct chp_id chpid); [all...] |
H A D | device_ops.c | 19 #include <asm/chpid.h> 478 struct chp_id chpid; in ccw_device_get_chp_desc() local 481 chp_id_init(&chpid); in ccw_device_get_chp_desc() 482 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_chp_desc() 483 return chp_get_chp_desc(chpid); in ccw_device_get_chp_desc() 498 struct chp_id chpid; in ccw_device_get_util_str() local 501 chp_id_init(&chpid); in ccw_device_get_util_str() 502 chpid.id = sch->schib.pmcw.chpid[chp_id in ccw_device_get_util_str() 644 struct chp_id chpid; ccw_device_get_mdc() local 774 ccw_device_get_chpid(struct ccw_device *cdev, int chp_idx, u8 *chpid) ccw_device_get_chpid() argument [all...] |
H A D | chsc_sch.c | 458 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()
|
H A D | cio.h | 8 #include <asm/chpid.h> 38 u8 chpid[8]; /* CHPID 0-7 (if available) */ member
|
H A D | ioasm.h | 5 #include <asm/chpid.h>
|
H A D | device_fsm.c | 18 #include <asm/chpid.h> 162 * The machine won't give us any notification by machine check if a chpid has 170 struct chp_id chpid; in __recover_lost_chpids() local 172 chp_id_init(&chpid); in __recover_lost_chpids() 179 chpid.id = sch->schib.pmcw.chpid[i]; in __recover_lost_chpids() 180 if (!chp_is_registered(chpid)) in __recover_lost_chpids()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | chpid.h | 9 #include <uapi/asm/chpid.h> 16 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 [all...] |
H A D | sclp.h | 11 #include <asm/chpid.h> 126 int sclp_chp_configure(struct chp_id chpid); 127 int sclp_chp_deconfigure(struct chp_id chpid);
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | chpid.h | 9 #include <uapi/asm/chpid.h> 16 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 [all...] |
H A D | sclp.h | 21 #include <asm/chpid.h> 145 int sclp_chp_configure(struct chp_id chpid); 146 int sclp_chp_deconfigure(struct chp_id chpid);
|
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/ |
H A D | chsc.h | 14 #include <asm/chpid.h> 51 struct chp_id chpid; member 103 struct ccl_parm_chpid chpid; member 121 struct chp_id chpid; member
|
/kernel/linux/linux-6.6/arch/s390/include/uapi/asm/ |
H A D | chsc.h | 14 #include <asm/chpid.h> 51 struct chp_id chpid; member 103 struct ccl_parm_chpid chpid; member 121 struct chp_id chpid; member
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | sclp_cmd.c | 25 #include <asm/chpid.h> 597 * @chpid: channel-path ID 599 * Perform configure channel-path command sclp command for specified chpid. 602 int sclp_chp_configure(struct chp_id chpid) in sclp_chp_configure() argument 604 return do_chp_configure(SCLP_CMDW_CONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_configure() 609 * @chpid: channel-path ID 611 * Perform deconfigure channel-path command sclp command for specified chpid 614 int sclp_chp_deconfigure(struct chp_id chpid) in sclp_chp_deconfigure() argument 616 return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_deconfigure()
|
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | sclp_cmd.c | 23 #include <asm/chpid.h> 562 * @chpid: channel-path ID 564 * Perform configure channel-path command sclp command for specified chpid. 567 int sclp_chp_configure(struct chp_id chpid) in sclp_chp_configure() argument 569 return do_chp_configure(SCLP_CMDW_CONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_configure() 574 * @chpid: channel-path ID 576 * Perform deconfigure channel-path command sclp command for specified chpid 579 int sclp_chp_deconfigure(struct chp_id chpid) in sclp_chp_deconfigure() argument 581 return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8); in sclp_chp_deconfigure()
|