Searched refs:hw_prof (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/scsi/aic94xx/ |
| D | aic94xx_sds.c | 236 asd_ha->hw_prof.bios.present = 1; in asd_get_bios_chim() 237 asd_ha->hw_prof.bios.maj = bc_struct->bios_major; in asd_get_bios_chim() 238 asd_ha->hw_prof.bios.min = bc_struct->bios_minor; in asd_get_bios_chim() 239 asd_ha->hw_prof.bios.bld = le32_to_cpu(bc_struct->bios_build); in asd_get_bios_chim() 241 asd_ha->hw_prof.bios.maj, in asd_get_bios_chim() 242 asd_ha->hw_prof.bios.min, in asd_get_bios_chim() 243 asd_ha->hw_prof.bios.bld); in asd_get_bios_chim() 245 asd_ha->hw_prof.ue.num = le16_to_cpu(bc_struct->ue_num); in asd_get_bios_chim() 246 asd_ha->hw_prof.ue.size= le16_to_cpu(bc_struct->ue_size); in asd_get_bios_chim() 247 ASD_DPRINTK("ue num:%d, ue size:%d\n", asd_ha->hw_prof.ue.num, in asd_get_bios_chim() [all …]
|
| D | aic94xx_init.c | 207 asd_ha->hw_prof.max_scbs = 512; in asd_common_setup() 208 asd_ha->hw_prof.max_ddbs = ASD_MAX_DDBS; in asd_common_setup() 209 asd_ha->hw_prof.num_phys = ASD_MAX_PHYS; in asd_common_setup() 211 asd_ha->hw_prof.enabled_phys = 0xFF; in asd_common_setup() 213 asd_ha->hw_prof.phy_desc[i].max_sas_lrate = in asd_common_setup() 215 asd_ha->hw_prof.phy_desc[i].min_sas_lrate = in asd_common_setup() 217 asd_ha->hw_prof.phy_desc[i].max_sata_lrate = in asd_common_setup() 219 asd_ha->hw_prof.phy_desc[i].min_sata_lrate = in asd_common_setup() 235 asd_ha->hw_prof.addr_range = 8; in asd_aic9410_setup() 236 asd_ha->hw_prof.port_name_base = 0; in asd_aic9410_setup() [all …]
|
| D | aic94xx_hwi.c | 28 if (asd_ha->hw_prof.sas_addr[0]) in asd_get_user_sas_addr() 32 asd_ha->hw_prof.sas_addr); in asd_get_user_sas_addr() 40 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) in asd_propagate_sas_addr() 45 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_propagate_sas_addr() 46 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, in asd_propagate_sas_addr() 47 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_propagate_sas_addr() 115 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_init_phys() 120 phy->phy_desc = &asd_ha->hw_prof.phy_desc[i]; in asd_init_phys() 204 asd_ha->seq.tc_index_bitmap_bits = asd_ha->hw_prof.max_scbs; in asd_init_scbs() 242 asd_ha->hw_prof.max_scbs = asd_get_cmdctx_size(asd_ha)/ASD_SCB_SIZE; in asd_get_max_scb_ddb() [all …]
|
| D | aic94xx_dev.c | 16 #define FIND_FREE_DDB(_ha) find_first_zero_bit((_ha)->hw_prof.ddb_bitmap, \ 17 (_ha)->hw_prof.max_ddbs) 18 #define SET_DDB(_ddb, _ha) set_bit(_ddb, (_ha)->hw_prof.ddb_bitmap) 19 #define CLEAR_DDB(_ddb, _ha) clear_bit(_ddb, (_ha)->hw_prof.ddb_bitmap) 26 if (ddb >= asd_ha->hw_prof.max_ddbs) { in asd_get_ddb() 310 spin_lock_irqsave(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_found() 324 spin_unlock_irqrestore(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_found() 335 spin_lock_irqsave(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_gone() 343 spin_unlock_irqrestore(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_gone()
|
| D | aic94xx_seq.c | 385 if (!asd_ha->hw_prof.enabled_phys) { in asd_seq_download_seqs() 403 asd_ha->hw_prof.enabled_phys); in asd_seq_download_seqs() 407 u8 lseq_mask = asd_ha->hw_prof.enabled_phys; in asd_seq_download_seqs() 540 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_cseq_mdp() 722 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_lseq_mdp() 844 lseq_mask = asd_ha->hw_prof.enabled_phys; in asd_init_lseq_scratch() 864 for (site_no = asd_ha->hw_prof.max_scbs-1; in asd_init_scb_sites() 901 asd_ha->hw_prof.max_scbs = max_scbs; in asd_init_scb_sites() 902 ASD_DPRINTK("max_scbs:%d\n", asd_ha->hw_prof.max_scbs); in asd_init_scb_sites() 1113 asd_ha->hw_prof.max_ddbs-1); in asd_init_ddb_0() [all …]
|
| D | aic94xx_scb.c | 113 u8 enabled_mask = asd_ha->hw_prof.enabled_phys; in ord_phy() 144 addr += asd_ha->hw_prof.sata_name_base + ord_phy(asd_ha, phy); in asd_get_attached_sas_addr() 646 asd_ha->hw_prof.enabled_phys &= ~(1 << phy_id); in control_phy_tasklet_complete() 655 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete() 662 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete() 672 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete() 677 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
|
| D | aic94xx_hwi.h | 192 struct hw_profile hw_prof; member 227 #define PHY_ENABLED(_HA, _I) ((_HA)->hw_prof.enabled_phys & (1<<(_I)))
|
| D | aic94xx_dump.c | 732 if (site_no >= asd_ha->hw_prof.max_ddbs) 848 for (site_no = 0; site_no < asd_ha->hw_prof.max_scbs; site_no++) {
|