Lines Matching refs:chpid

22 #include <asm/chpid.h>
99 u8 chpid[8]; /* chpids 0-7 */
149 chp_id_init(&ssd->chpid[i]);
150 ssd->chpid[i].id = ssd_area->chpid[i];
236 void chsc_chp_offline(struct chp_id chpid)
238 struct channel_path *chp = chpid_to_chp(chpid);
242 sprintf(dbf_txt, "chpr%x.%02x", chpid.cssid, chpid.id);
245 if (chp_get_status(chpid) <= 0)
248 link.chpid = chpid;
273 sprintf(dbf_txt, "accpr%x.%02x", link->chpid.cssid,
274 link->chpid.id);
454 struct chp_id chpid;
461 chp_id_init(&chpid);
462 chpid.id = sei_area->rsid;
464 status = chp_get_status(chpid);
469 chp_new(chpid);
471 chp = chpid_to_chp(chpid);
477 link.chpid = chpid;
485 struct chp_id chpid;
493 chp_id_init(&chpid);
497 chpid.id = num;
500 "%x.%02x\n", chpid.cssid, chpid.id);
501 chp = chpid_to_chp(chpid);
503 chp_new(chpid);
521 struct chp_id chpid;
529 chp_id_init(&chpid);
533 chpid.id = num;
535 events[data->op], chpid.cssid, chpid.id);
538 chp_cfg_schedule(chpid, 1);
541 chp_cfg_schedule(chpid, 0);
544 chp_cfg_cancel_deconfigure(chpid);
590 struct chp_id chpid;
599 chp_id_init(&chpid);
600 chpid.id = sei_area->rsid;
603 chp = chpid_to_chp(chpid);
608 link.chpid = chpid;
739 void chsc_chp_online(struct chp_id chpid)
741 struct channel_path *chp = chpid_to_chp(chpid);
745 sprintf(dbf_txt, "cadd%x.%02x", chpid.cssid, chpid.id);
748 if (chp_get_status(chpid) != 0) {
750 link.chpid = chpid;
765 struct chp_id chpid, int on)
771 link.chpid = chpid;
781 struct chp_id *chpid = data;
783 __s390_subchannel_vary_chpid(sch, *chpid, 0);
789 struct chp_id *chpid = data;
791 __s390_subchannel_vary_chpid(sch, *chpid, 1);
797 * @chpid: channl-path ID
800 int chsc_chp_vary(struct chp_id chpid, int on)
802 struct channel_path *chp = chpid_to_chp(chpid);
805 * Redo PathVerification on the devices the chpid connects to
811 NULL, &chpid);
815 NULL, &chpid);
944 int chsc_determine_channel_path_desc(struct chp_id chpid, int fmt, int rfmt,
962 scpd_area->cssid = chpid.cssid;
963 scpd_area->first_chpid = chpid.id;
964 scpd_area->last_chpid = chpid.id;
984 struct chp_id chpid, struct channel_path_desc_fmt##FMT *desc) \
992 ret = chsc_determine_channel_path_desc(chpid, 0, FMT, c, 0, \
1039 u32 chpid : 8;
1059 scmc_area->first_chpid = chp->chpid.id;
1060 scmc_area->last_chpid = chp->chpid.id;
1483 u8 chpid[8];