Searched refs:hw_prof (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/scsi/aic94xx/ |
D | aic94xx_sds.c | 254 asd_ha->hw_prof.bios.present = 1; in asd_get_bios_chim() 255 asd_ha->hw_prof.bios.maj = bc_struct->bios_major; in asd_get_bios_chim() 256 asd_ha->hw_prof.bios.min = bc_struct->bios_minor; in asd_get_bios_chim() 257 asd_ha->hw_prof.bios.bld = le32_to_cpu(bc_struct->bios_build); in asd_get_bios_chim() 259 asd_ha->hw_prof.bios.maj, in asd_get_bios_chim() 260 asd_ha->hw_prof.bios.min, in asd_get_bios_chim() 261 asd_ha->hw_prof.bios.bld); in asd_get_bios_chim() 263 asd_ha->hw_prof.ue.num = le16_to_cpu(bc_struct->ue_num); in asd_get_bios_chim() 264 asd_ha->hw_prof.ue.size= le16_to_cpu(bc_struct->ue_size); in asd_get_bios_chim() 265 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 | 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() [all …]
|
D | aic94xx_hwi.c | 46 if (asd_ha->hw_prof.sas_addr[0]) in asd_get_user_sas_addr() 50 asd_ha->hw_prof.sas_addr); in asd_get_user_sas_addr() 58 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) in asd_propagate_sas_addr() 63 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_propagate_sas_addr() 64 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, in asd_propagate_sas_addr() 65 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_propagate_sas_addr() 133 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_init_phys() 138 phy->phy_desc = &asd_ha->hw_prof.phy_desc[i]; in asd_init_phys() 222 asd_ha->seq.tc_index_bitmap_bits = asd_ha->hw_prof.max_scbs; in asd_init_scbs() 260 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 | 33 #define FIND_FREE_DDB(_ha) find_first_zero_bit((_ha)->hw_prof.ddb_bitmap, \ 34 (_ha)->hw_prof.max_ddbs) 35 #define SET_DDB(_ddb, _ha) set_bit(_ddb, (_ha)->hw_prof.ddb_bitmap) 36 #define CLEAR_DDB(_ddb, _ha) clear_bit(_ddb, (_ha)->hw_prof.ddb_bitmap) 43 if (ddb >= asd_ha->hw_prof.max_ddbs) { in asd_get_ddb() 329 spin_lock_irqsave(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_found() 343 spin_unlock_irqrestore(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_found() 354 spin_lock_irqsave(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_gone() 362 spin_unlock_irqrestore(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_gone()
|
D | aic94xx_seq.c | 403 if (!asd_ha->hw_prof.enabled_phys) { in asd_seq_download_seqs() 421 asd_ha->hw_prof.enabled_phys); in asd_seq_download_seqs() 425 u8 lseq_mask = asd_ha->hw_prof.enabled_phys; in asd_seq_download_seqs() 558 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_cseq_mdp() 740 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_lseq_mdp() 862 lseq_mask = asd_ha->hw_prof.enabled_phys; in asd_init_lseq_scratch() 882 for (site_no = asd_ha->hw_prof.max_scbs-1; in asd_init_scb_sites() 919 asd_ha->hw_prof.max_scbs = max_scbs; in asd_init_scb_sites() 920 ASD_DPRINTK("max_scbs:%d\n", asd_ha->hw_prof.max_scbs); in asd_init_scb_sites() 1131 asd_ha->hw_prof.max_ddbs-1); in asd_init_ddb_0() [all …]
|
D | aic94xx_scb.c | 131 u8 enabled_mask = asd_ha->hw_prof.enabled_phys; in ord_phy() 162 addr += asd_ha->hw_prof.sata_name_base + ord_phy(asd_ha, phy); in asd_get_attached_sas_addr() 664 asd_ha->hw_prof.enabled_phys &= ~(1 << phy_id); in control_phy_tasklet_complete() 673 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete() 680 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete() 690 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete() 695 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
|
D | aic94xx_hwi.h | 210 struct hw_profile hw_prof; member 245 #define PHY_ENABLED(_HA, _I) ((_HA)->hw_prof.enabled_phys & (1<<(_I)))
|
D | aic94xx_dump.c | 750 if (site_no >= asd_ha->hw_prof.max_ddbs) 866 for (site_no = 0; site_no < asd_ha->hw_prof.max_scbs; site_no++) {
|