Home
last modified time | relevance | path

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

/linux/drivers/scsi/
H A Dhpsa.c273 void *buff, size_t size, u16 page_code, unsigned char *scsi3addr,
321 u8 *scsi3addr, struct hpsa_scsi_dev_t *phys_disk);
329 unsigned char scsi3addr[], u8 page);
333 unsigned char *scsi3addr);
648 static inline int is_logical_dev_addr_mode(unsigned char scsi3addr[]) in is_logical_dev_addr_mode() argument
650 return (scsi3addr[3] & 0xC0) == 0x40; in is_logical_dev_addr_mode()
722 memcpy(lunid, hdev->scsi3addr, sizeof(lunid)); in lunid_show()
1188 static inline int is_hba_lunid(unsigned char scsi3addr[]) in is_hba_lunid() argument
1190 return memcmp(scsi3addr, RAID_CTLR_LUNID, 8) == 0; in is_hba_lunid()
1203 unsigned char scsi3addr[], int bus, int *target, int *lun) in hpsa_find_target_lun() argument
[all …]
H A Dhpsa.h65 unsigned char scsi3addr[8]; /* as presented to the HW */ member
317 unsigned char scsi3addr[8]; member
/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c242 static inline bool pqi_is_external_raid_addr(u8 *scsi3addr) in pqi_is_external_raid_addr() argument
244 return scsi3addr[2] != 0; in pqi_is_external_raid_addr()
259 static inline bool pqi_is_hba_lunid(u8 *scsi3addr) in pqi_is_hba_lunid() argument
261 return pqi_scsi3addr_equal(scsi3addr, RAID_CTLR_LUNID); in pqi_is_hba_lunid()
609 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
622 memcpy(request->lun_number, scsi3addr, sizeof(request->lun_number)); in pqi_build_raid_path_request()
767 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request() argument
774 rc = pqi_build_raid_path_request(ctrl_info, &request, cmd, scsi3addr, in pqi_send_scsi_raid_request()
819 u8 *scsi3addr, u16 vpd_page, void *buffer, size_t buffer_length) in pqi_scsi_inquiry() argument
821 return pqi_send_scsi_raid_request(ctrl_info, INQUIRY, scsi3addr, in pqi_scsi_inquiry()
[all …]
H A Dsmartpqi_sas_transport.c381 CISS_GET_DRIVE_NUMBER(device->scsi3addr) == in pqi_sas_get_enclosure_identifier()
H A Dsmartpqi.h1122 u8 scsi3addr[8]; member