Searched refs:ssd (Results 1 – 7 of 7) sorted by relevance
/drivers/s390/cio/ |
D | css.c | 198 static void ssd_from_pmcw(struct chsc_ssd_info *ssd, struct pmcw *pmcw) in ssd_from_pmcw() argument 203 memset(ssd, 0, sizeof(struct chsc_ssd_info)); in ssd_from_pmcw() 204 ssd->path_mask = pmcw->pim; in ssd_from_pmcw() 208 chp_id_init(&ssd->chpid[i]); in ssd_from_pmcw() 209 ssd->chpid[i].id = pmcw->chpid[i]; in ssd_from_pmcw() 214 static void ssd_register_chpids(struct chsc_ssd_info *ssd) in ssd_register_chpids() argument 221 if (ssd->path_mask & mask) in ssd_register_chpids() 222 if (!chp_is_registered(ssd->chpid[i])) in ssd_register_chpids() 223 chp_new(ssd->chpid[i]); in ssd_register_chpids()
|
D | chp.c | 528 int chp_ssd_get_mask(struct chsc_ssd_info *ssd, struct chp_link *link) in chp_ssd_get_mask() argument 535 if (!(ssd->path_mask & mask)) in chp_ssd_get_mask() 537 if (!chp_id_is_equal(&ssd->chpid[i], &link->chpid)) in chp_ssd_get_mask() 539 if ((ssd->fla_valid_mask & mask) && in chp_ssd_get_mask() 540 ((ssd->fla[i] & link->fla_mask) != link->fla)) in chp_ssd_get_mask()
|
D | chsc.c | 86 int chsc_get_ssd_info(struct subchannel_id schid, struct chsc_ssd_info *ssd) in chsc_get_ssd_info() argument 122 memset(ssd, 0, sizeof(struct chsc_ssd_info)); in chsc_get_ssd_info() 126 ssd->path_mask = ssd_area->path_mask; in chsc_get_ssd_info() 127 ssd->fla_valid_mask = ssd_area->fla_valid_mask; in chsc_get_ssd_info() 131 chp_id_init(&ssd->chpid[i]); in chsc_get_ssd_info() 132 ssd->chpid[i].id = ssd_area->chpid[i]; in chsc_get_ssd_info() 135 ssd->fla[i] = ssd_area->fla[i]; in chsc_get_ssd_info()
|
D | chsc.h | 96 struct chsc_ssd_info *ssd);
|
D | device.c | 224 struct chsc_ssd_info *ssd = &sch->ssd_info; in chpids_show() local 231 if (ssd->path_mask & mask) in chpids_show() 232 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
|
/drivers/nfc/ |
D | pn533.c | 685 u8 ssd; in pn533_target_type_a_is_valid() local 695 ssd = PN533_TYPE_A_SENS_RES_SSD(type_a->sens_res); in pn533_target_type_a_is_valid() 698 if ((ssd == PN533_TYPE_A_SENS_RES_SSD_JEWEL && in pn533_target_type_a_is_valid() 700 (ssd != PN533_TYPE_A_SENS_RES_SSD_JEWEL && in pn533_target_type_a_is_valid() 800 u8 ssd; in pn533_target_jewel_is_valid() local 807 ssd = PN533_TYPE_A_SENS_RES_SSD(jewel->sens_res); in pn533_target_jewel_is_valid() 810 if ((ssd == PN533_TYPE_A_SENS_RES_SSD_JEWEL && in pn533_target_jewel_is_valid() 812 (ssd != PN533_TYPE_A_SENS_RES_SSD_JEWEL && in pn533_target_jewel_is_valid()
|
/drivers/scsi/osd/ |
D | osd_initiator.c | 1772 cur_descriptor = ssdb->ssd; in osd_req_decode_sense_full() 1775 struct scsi_sense_descriptor *ssd = cur_descriptor; in osd_req_decode_sense_full() local 1776 int cur_len = ssd->additional_length + 2; in osd_req_decode_sense_full() 1783 switch (ssd->descriptor_type) { in osd_req_decode_sense_full() 1886 if (ssd->descriptor_type <= scsi_sense_Reserved_last) in osd_req_decode_sense_full() 1889 ssd->descriptor_type); in osd_req_decode_sense_full() 1893 ssd->descriptor_type); in osd_req_decode_sense_full()
|