Searched refs:ssd (Results 1 – 5 of 5) sorted by relevance
259 static void ssd_from_pmcw(struct chsc_ssd_info *ssd, struct pmcw *pmcw) in ssd_from_pmcw() argument264 memset(ssd, 0, sizeof(struct chsc_ssd_info)); in ssd_from_pmcw()265 ssd->path_mask = pmcw->pim; in ssd_from_pmcw()269 chp_id_init(&ssd->chpid[i]); in ssd_from_pmcw()270 ssd->chpid[i].id = pmcw->chpid[i]; in ssd_from_pmcw()275 static void ssd_register_chpids(struct chsc_ssd_info *ssd) in ssd_register_chpids() argument282 if (ssd->path_mask & mask) in ssd_register_chpids()283 chp_new(ssd->chpid[i]); in ssd_register_chpids()338 struct chsc_ssd_info *ssd = &sch->ssd_info; in chpids_show() local345 if (ssd->path_mask & mask) in chpids_show()[all …]
606 int chp_ssd_get_mask(struct chsc_ssd_info *ssd, struct chp_link *link) in chp_ssd_get_mask() argument613 if (!(ssd->path_mask & mask)) in chp_ssd_get_mask()615 if (!chp_id_is_equal(&ssd->chpid[i], &link->chpid)) in chp_ssd_get_mask()617 if ((ssd->fla_valid_mask & mask) && in chp_ssd_get_mask()618 ((ssd->fla[i] & link->fla_mask) != link->fla)) in chp_ssd_get_mask()
96 int chsc_get_ssd_info(struct subchannel_id schid, struct chsc_ssd_info *ssd) in chsc_get_ssd_info() argument133 memset(ssd, 0, sizeof(struct chsc_ssd_info)); in chsc_get_ssd_info()137 ssd->path_mask = ssd_area->path_mask; in chsc_get_ssd_info()138 ssd->fla_valid_mask = ssd_area->fla_valid_mask; in chsc_get_ssd_info()142 chp_id_init(&ssd->chpid[i]); in chsc_get_ssd_info()143 ssd->chpid[i].id = ssd_area->chpid[i]; in chsc_get_ssd_info()146 ssd->fla[i] = ssd_area->fla[i]; in chsc_get_ssd_info()
141 struct chsc_ssd_info *ssd);
175 /*8*/ struct scsi_sense_descriptor ssd[0]; /* variable length, 1 or more */ member