Home
last modified time | relevance | path

Searched refs:sata_idx (Results 1 – 2 of 2) sorted by relevance

/drivers/scsi/hisi_sas/
Dhisi_sas_v2_hw.c774 int sata_idx = sas_dev->sata_idx; in slot_index_alloc_quirk_v2_hw() local
786 if (sata_idx >= HISI_MAX_SATA_SUPPORT_V2_HW) in slot_index_alloc_quirk_v2_hw()
795 start = 64 * (sata_idx + 1); in slot_index_alloc_quirk_v2_hw()
796 end = 64 * (sata_idx + 2); in slot_index_alloc_quirk_v2_hw()
844 int sata_idx = -1; in alloc_dev_quirk_v2_hw() local
849 if (!sata_index_alloc_v2_hw(hisi_hba, &sata_idx)) in alloc_dev_quirk_v2_hw()
868 sas_dev->sata_idx = sata_idx; in alloc_dev_quirk_v2_hw()
1013 clear_bit(sas_dev->sata_idx, hisi_hba->sata_dev_bitmap); in free_device_v2_hw()
Dhisi_sas.h228 int sata_idx; member