Lines Matching refs:hw_prof
212 asd_ha->hw_prof.max_scbs = 512; in asd_common_setup()
213 asd_ha->hw_prof.max_ddbs = ASD_MAX_DDBS; in asd_common_setup()
214 asd_ha->hw_prof.num_phys = ASD_MAX_PHYS; in asd_common_setup()
216 asd_ha->hw_prof.enabled_phys = 0xFF; in asd_common_setup()
218 asd_ha->hw_prof.phy_desc[i].max_sas_lrate = in asd_common_setup()
220 asd_ha->hw_prof.phy_desc[i].min_sas_lrate = in asd_common_setup()
222 asd_ha->hw_prof.phy_desc[i].max_sata_lrate = in asd_common_setup()
224 asd_ha->hw_prof.phy_desc[i].min_sata_lrate = in asd_common_setup()
240 asd_ha->hw_prof.addr_range = 8; in asd_aic9410_setup()
241 asd_ha->hw_prof.port_name_base = 0; in asd_aic9410_setup()
242 asd_ha->hw_prof.dev_name_base = 8; in asd_aic9410_setup()
243 asd_ha->hw_prof.sata_name_base = 16; in asd_aic9410_setup()
255 asd_ha->hw_prof.addr_range = 4; in asd_aic9405_setup()
256 asd_ha->hw_prof.port_name_base = 0; in asd_aic9405_setup()
257 asd_ha->hw_prof.dev_name_base = 4; in asd_aic9405_setup()
258 asd_ha->hw_prof.sata_name_base = 8; in asd_aic9405_setup()
276 return snprintf(buf, PAGE_SIZE, "%d\n", asd_ha->hw_prof.bios.bld); in asd_show_dev_bios_build()
284 return snprintf(buf, PAGE_SIZE, "%s\n", asd_ha->hw_prof.pcba_sn); in asd_show_dev_pcba_sn()
568 if (asd_ha->hw_prof.ddb_ext) in asd_destroy_ha_caches()
569 asd_free_coherent(asd_ha, asd_ha->hw_prof.ddb_ext); in asd_destroy_ha_caches()
570 if (asd_ha->hw_prof.scb_ext) in asd_destroy_ha_caches()
571 asd_free_coherent(asd_ha, asd_ha->hw_prof.scb_ext); in asd_destroy_ha_caches()
573 kfree(asd_ha->hw_prof.ddb_bitmap); in asd_destroy_ha_caches()
574 asd_ha->hw_prof.ddb_bitmap = NULL; in asd_destroy_ha_caches()
585 if (asd_ha->hw_prof.ue.area) { in asd_destroy_ha_caches()
586 kfree(asd_ha->hw_prof.ue.area); in asd_destroy_ha_caches()
587 asd_ha->hw_prof.ue.area = NULL; in asd_destroy_ha_caches()
671 asd_ha->sas_ha.sas_addr = &asd_ha->hw_prof.sas_addr[0]; in asd_register_sas_ha()
781 pci_name(dev), SAS_ADDR(asd_ha->hw_prof.sas_addr), in asd_pci_probe()
782 asd_ha->hw_prof.pcba_sn, asd_ha->hw_prof.max_phys, in asd_pci_probe()
783 asd_ha->hw_prof.num_phys, in asd_pci_probe()
784 asd_ha->hw_prof.flash.present ? "present" : "not present", in asd_pci_probe()
785 asd_ha->hw_prof.bios.present ? "build " : "not present", in asd_pci_probe()
786 asd_ha->hw_prof.bios.bld); in asd_pci_probe()
880 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_turn_off_leds()
923 err = asd_enable_phys(asd_ha, asd_ha->hw_prof.enabled_phys); in asd_scan_start()