Lines Matching refs:ssd
277 static void ssd_from_pmcw(struct chsc_ssd_info *ssd, struct pmcw *pmcw) in ssd_from_pmcw() argument
282 memset(ssd, 0, sizeof(struct chsc_ssd_info)); in ssd_from_pmcw()
283 ssd->path_mask = pmcw->pim; in ssd_from_pmcw()
287 chp_id_init(&ssd->chpid[i]); in ssd_from_pmcw()
288 ssd->chpid[i].id = pmcw->chpid[i]; in ssd_from_pmcw()
293 static void ssd_register_chpids(struct chsc_ssd_info *ssd) in ssd_register_chpids() argument
300 if (ssd->path_mask & mask) in ssd_register_chpids()
301 chp_new(ssd->chpid[i]); in ssd_register_chpids()
384 struct chsc_ssd_info *ssd = &sch->ssd_info; in chpids_show() local
391 if (ssd->path_mask & mask) in chpids_show()
392 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show()