Lines Matching refs:hw_prof
226 asd_ha->hw_prof.max_scbs = 512; in asd_common_setup()
227 asd_ha->hw_prof.max_ddbs = ASD_MAX_DDBS; in asd_common_setup()
228 asd_ha->hw_prof.num_phys = ASD_MAX_PHYS; in asd_common_setup()
230 asd_ha->hw_prof.enabled_phys = 0xFF; in asd_common_setup()
232 asd_ha->hw_prof.phy_desc[i].max_sas_lrate = in asd_common_setup()
234 asd_ha->hw_prof.phy_desc[i].min_sas_lrate = in asd_common_setup()
236 asd_ha->hw_prof.phy_desc[i].max_sata_lrate = in asd_common_setup()
238 asd_ha->hw_prof.phy_desc[i].min_sata_lrate = in asd_common_setup()
254 asd_ha->hw_prof.addr_range = 8; in asd_aic9410_setup()
255 asd_ha->hw_prof.port_name_base = 0; in asd_aic9410_setup()
256 asd_ha->hw_prof.dev_name_base = 8; in asd_aic9410_setup()
257 asd_ha->hw_prof.sata_name_base = 16; in asd_aic9410_setup()
269 asd_ha->hw_prof.addr_range = 4; in asd_aic9405_setup()
270 asd_ha->hw_prof.port_name_base = 0; in asd_aic9405_setup()
271 asd_ha->hw_prof.dev_name_base = 4; in asd_aic9405_setup()
272 asd_ha->hw_prof.sata_name_base = 8; in asd_aic9405_setup()
290 return snprintf(buf, PAGE_SIZE, "%d\n", asd_ha->hw_prof.bios.bld); in asd_show_dev_bios_build()
298 return snprintf(buf, PAGE_SIZE, "%s\n", asd_ha->hw_prof.pcba_sn); in asd_show_dev_pcba_sn()
582 if (asd_ha->hw_prof.ddb_ext) in asd_destroy_ha_caches()
583 asd_free_coherent(asd_ha, asd_ha->hw_prof.ddb_ext); in asd_destroy_ha_caches()
584 if (asd_ha->hw_prof.scb_ext) in asd_destroy_ha_caches()
585 asd_free_coherent(asd_ha, asd_ha->hw_prof.scb_ext); in asd_destroy_ha_caches()
587 if (asd_ha->hw_prof.ddb_bitmap) in asd_destroy_ha_caches()
588 kfree(asd_ha->hw_prof.ddb_bitmap); in asd_destroy_ha_caches()
589 asd_ha->hw_prof.ddb_bitmap = NULL; in asd_destroy_ha_caches()
600 if (asd_ha->hw_prof.ue.area) { in asd_destroy_ha_caches()
601 kfree(asd_ha->hw_prof.ue.area); in asd_destroy_ha_caches()
602 asd_ha->hw_prof.ue.area = NULL; in asd_destroy_ha_caches()
688 asd_ha->sas_ha.sas_addr = &asd_ha->hw_prof.sas_addr[0]; in asd_register_sas_ha()
802 pci_name(dev), SAS_ADDR(asd_ha->hw_prof.sas_addr), in asd_pci_probe()
803 asd_ha->hw_prof.pcba_sn, asd_ha->hw_prof.max_phys, in asd_pci_probe()
804 asd_ha->hw_prof.num_phys, in asd_pci_probe()
805 asd_ha->hw_prof.flash.present ? "present" : "not present", in asd_pci_probe()
806 asd_ha->hw_prof.bios.present ? "build " : "not present", in asd_pci_probe()
807 asd_ha->hw_prof.bios.bld); in asd_pci_probe()
901 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_turn_off_leds()
944 err = asd_enable_phys(asd_ha, asd_ha->hw_prof.enabled_phys); in asd_scan_start()