type_ptr          140 drivers/scsi/ses.c 	unsigned char *type_ptr = ses_dev->page1_types;
type_ptr          145 drivers/scsi/ses.c 	for (i = 0; i < ses_dev->page1_num_types; i++, type_ptr += 4) {
type_ptr          146 drivers/scsi/ses.c 		for (j = 0; j < type_ptr[1]; j++) {
type_ptr          148 drivers/scsi/ses.c 			if (type_ptr[0] != ENCLOSURE_COMPONENT_DEVICE &&
type_ptr          149 drivers/scsi/ses.c 			    type_ptr[0] != ENCLOSURE_COMPONENT_ARRAY_DEVICE)
type_ptr          170 drivers/scsi/ses.c 	unsigned char *type_ptr = ses_dev->page1_types;
type_ptr          176 drivers/scsi/ses.c 	for (i = 0; i < ses_dev->page1_num_types; i++, type_ptr += 4) {
type_ptr          177 drivers/scsi/ses.c 		for (j = 0; j < type_ptr[1]; j++) {
type_ptr          179 drivers/scsi/ses.c 			if (type_ptr[0] != ENCLOSURE_COMPONENT_DEVICE &&
type_ptr          180 drivers/scsi/ses.c 			    type_ptr[0] != ENCLOSURE_COMPONENT_ARRAY_DEVICE)
type_ptr          502 drivers/scsi/ses.c 	unsigned char *buf = NULL, *type_ptr, *desc_ptr, *addl_desc_ptr = NULL;
type_ptr          540 drivers/scsi/ses.c 	type_ptr = ses_dev->page1_types;
type_ptr          542 drivers/scsi/ses.c 	for (i = 0; i < types; i++, type_ptr += 4) {
type_ptr          543 drivers/scsi/ses.c 		for (j = 0; j < type_ptr[1]; j++) {
type_ptr          559 drivers/scsi/ses.c 			if (type_ptr[0] == ENCLOSURE_COMPONENT_DEVICE ||
type_ptr          560 drivers/scsi/ses.c 			    type_ptr[0] == ENCLOSURE_COMPONENT_ARRAY_DEVICE) {
type_ptr          566 drivers/scsi/ses.c 						type_ptr[0],
type_ptr          586 drivers/scsi/ses.c 			    (type_ptr[0] == ENCLOSURE_COMPONENT_DEVICE ||
type_ptr          587 drivers/scsi/ses.c 			     type_ptr[0] == ENCLOSURE_COMPONENT_ARRAY_DEVICE ||
type_ptr          588 drivers/scsi/ses.c 			     type_ptr[0] == ENCLOSURE_COMPONENT_SAS_EXPANDER ||
type_ptr          590 drivers/scsi/ses.c 			     type_ptr[0] == ENCLOSURE_COMPONENT_SCSI_TARGET_PORT ||
type_ptr          591 drivers/scsi/ses.c 			     type_ptr[0] == ENCLOSURE_COMPONENT_SCSI_INITIATOR_PORT ||
type_ptr          592 drivers/scsi/ses.c 			     type_ptr[0] == ENCLOSURE_COMPONENT_CONTROLLER_ELECTRONICS))
type_ptr          628 drivers/scsi/ses.c 	unsigned char *buf = NULL, *hdr_buf, *type_ptr, page;
type_ptr          678 drivers/scsi/ses.c 	type_ptr = buf + 8;
type_ptr          680 drivers/scsi/ses.c 	for (i = 0; i < num_enclosures && type_ptr < buf + len; i++) {
type_ptr          681 drivers/scsi/ses.c 		types += type_ptr[2];
type_ptr          682 drivers/scsi/ses.c 		type_ptr += type_ptr[3] + 4;
type_ptr          685 drivers/scsi/ses.c 	ses_dev->page1_types = type_ptr;
type_ptr          688 drivers/scsi/ses.c 	for (i = 0; i < types && type_ptr < buf + len; i++, type_ptr += 4) {
type_ptr          689 drivers/scsi/ses.c 		if (type_ptr[0] == ENCLOSURE_COMPONENT_DEVICE ||
type_ptr          690 drivers/scsi/ses.c 		    type_ptr[0] == ENCLOSURE_COMPONENT_ARRAY_DEVICE)
type_ptr          691 drivers/scsi/ses.c 			components += type_ptr[1];