Lines Matching refs:chpid

22 #include <asm/chpid.h>
96 u8 chpid[8]; /* chpids 0-7 */
146 chp_id_init(&ssd->chpid[i]);
147 ssd->chpid[i].id = ssd_area->chpid[i];
233 void chsc_chp_offline(struct chp_id chpid)
235 struct channel_path *chp = chpid_to_chp(chpid);
239 sprintf(dbf_txt, "chpr%x.%02x", chpid.cssid, chpid.id);
242 if (chp_get_status(chpid) <= 0)
245 link.chpid = chpid;
270 sprintf(dbf_txt, "accpr%x.%02x", link->chpid.cssid,
271 link->chpid.id);
432 struct chp_id chpid;
439 chp_id_init(&chpid);
440 chpid.id = sei_area->rsid;
442 status = chp_get_status(chpid);
447 chp_new(chpid);
449 chp = chpid_to_chp(chpid);
455 link.chpid = chpid;
471 struct chp_id chpid;
479 chp_id_init(&chpid);
483 chpid.id = num;
486 "%x.%02x\n", chpid.cssid, chpid.id);
487 chp = chpid_to_chp(chpid);
489 chp_new(chpid);
507 struct chp_id chpid;
515 chp_id_init(&chpid);
519 chpid.id = num;
521 events[data->op], chpid.cssid, chpid.id);
524 chp_cfg_schedule(chpid, 1);
527 chp_cfg_schedule(chpid, 0);
530 chp_cfg_cancel_deconfigure(chpid);
695 void chsc_chp_online(struct chp_id chpid)
697 struct channel_path *chp = chpid_to_chp(chpid);
701 sprintf(dbf_txt, "cadd%x.%02x", chpid.cssid, chpid.id);
704 if (chp_get_status(chpid) != 0) {
706 link.chpid = chpid;
721 struct chp_id chpid, int on)
727 link.chpid = chpid;
737 struct chp_id *chpid = data;
739 __s390_subchannel_vary_chpid(sch, *chpid, 0);
745 struct chp_id *chpid = data;
747 __s390_subchannel_vary_chpid(sch, *chpid, 1);
753 * @chpid: channl-path ID
756 int chsc_chp_vary(struct chp_id chpid, int on)
758 struct channel_path *chp = chpid_to_chp(chpid);
761 * Redo PathVerification on the devices the chpid connects to
767 NULL, &chpid);
771 NULL, &chpid);
900 int chsc_determine_channel_path_desc(struct chp_id chpid, int fmt, int rfmt,
918 scpd_area->cssid = chpid.cssid;
919 scpd_area->first_chpid = chpid.id;
920 scpd_area->last_chpid = chpid.id;
940 struct chp_id chpid, struct channel_path_desc_fmt##FMT *desc) \
948 ret = chsc_determine_channel_path_desc(chpid, 0, FMT, c, 0, \
995 u32 chpid : 8;
1015 scmc_area->first_chpid = chp->chpid.id;
1016 scmc_area->last_chpid = chp->chpid.id;