Searched refs:type_ptr (Results 1 – 1 of 1) sorted by relevance
186 unsigned char *type_ptr = ses_dev->page1_types; in ses_set_page2_descriptor() local191 for (i = 0; i < ses_dev->page1_num_types; i++, type_ptr += 4) { in ses_set_page2_descriptor()192 for (j = 0; j < type_ptr[1]; j++) { in ses_set_page2_descriptor()194 if (type_ptr[0] != ENCLOSURE_COMPONENT_DEVICE && in ses_set_page2_descriptor()195 type_ptr[0] != ENCLOSURE_COMPONENT_ARRAY_DEVICE) in ses_set_page2_descriptor()216 unsigned char *type_ptr = ses_dev->page1_types; in ses_get_page2_descriptor() local222 for (i = 0; i < ses_dev->page1_num_types; i++, type_ptr += 4) { in ses_get_page2_descriptor()223 for (j = 0; j < type_ptr[1]; j++) { in ses_get_page2_descriptor()225 if (type_ptr[0] != ENCLOSURE_COMPONENT_DEVICE && in ses_get_page2_descriptor()226 type_ptr[0] != ENCLOSURE_COMPONENT_ARRAY_DEVICE) in ses_get_page2_descriptor()[all …]