Home
last modified time | relevance | path

Searched refs:scsi3addr (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/scsi/
Dhpsa.c269 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr,
317 u8 *scsi3addr, struct hpsa_scsi_dev_t *phys_disk);
325 unsigned char scsi3addr[], u8 page);
329 unsigned char *scsi3addr);
638 static inline int is_logical_dev_addr_mode(unsigned char scsi3addr[]) in is_logical_dev_addr_mode() argument
640 return (scsi3addr[3] & 0xC0) == 0x40; in is_logical_dev_addr_mode()
712 memcpy(lunid, hdev->scsi3addr, sizeof(lunid)); in lunid_show()
1171 static inline int is_hba_lunid(unsigned char scsi3addr[]) in is_hba_lunid() argument
1173 return memcmp(scsi3addr, RAID_CTLR_LUNID, 8) == 0; in is_hba_lunid()
1186 unsigned char scsi3addr[], int bus, int *target, int *lun) in hpsa_find_target_lun() argument
[all …]
Dhpsa.h64 unsigned char scsi3addr[8]; /* as presented to the HW */ member
316 unsigned char scsi3addr[8]; member
/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi_init.c209 static inline bool pqi_is_external_raid_addr(u8 *scsi3addr) in pqi_is_external_raid_addr() argument
211 return scsi3addr[2] != 0; in pqi_is_external_raid_addr()
221 static inline bool pqi_is_hba_lunid(u8 *scsi3addr) in pqi_is_hba_lunid() argument
223 return pqi_scsi3addr_equal(scsi3addr, RAID_CTLR_LUNID); in pqi_is_hba_lunid()
431 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
444 memcpy(request->lun_number, scsi3addr, sizeof(request->lun_number)); in pqi_build_raid_path_request()
570 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request() argument
579 cmd, scsi3addr, buffer, in pqi_send_scsi_raid_request()
625 u8 *scsi3addr, u16 vpd_page, void *buffer, size_t buffer_length) in pqi_scsi_inquiry() argument
627 return pqi_send_scsi_raid_request(ctrl_info, INQUIRY, scsi3addr, in pqi_scsi_inquiry()
[all …]
Dsmartpqi_sas_transport.c372 CISS_GET_DRIVE_NUMBER(device->scsi3addr) == in pqi_sas_get_enclosure_identifier()
Dsmartpqi.h907 u8 scsi3addr[8]; member