Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-mvebu/serdes/a38x/
H A Dhigh_speed_env_spec.c1680 u32 sata_idx, pex_idx, sata_port; in serdes_power_up_ctrl() local
1820 sata_idx = ((serdes_type == SATA0) || in serdes_power_up_ctrl()
1826 (sata_idx, (sata_port == 0) ? in serdes_power_up_ctrl()
1839 (sata_idx, (sata_port == 0) ? in serdes_power_up_ctrl()
/openbmc/linux/drivers/scsi/hisi_sas/
H A 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()
H A Dhisi_sas.h230 int sata_idx; member