Home
last modified time | relevance | path

Searched refs:hw_prof (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_sds.c236 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 …]
Daic94xx_init.c212 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()
[all …]
Daic94xx_hwi.c28 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 …]
Daic94xx_dev.c16 #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()
Daic94xx_seq.c385 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()
724 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_lseq_mdp()
846 lseq_mask = asd_ha->hw_prof.enabled_phys; in asd_init_lseq_scratch()
866 for (site_no = asd_ha->hw_prof.max_scbs-1; in asd_init_scb_sites()
903 asd_ha->hw_prof.max_scbs = max_scbs; in asd_init_scb_sites()
904 ASD_DPRINTK("max_scbs:%d\n", asd_ha->hw_prof.max_scbs); in asd_init_scb_sites()
1116 asd_ha->hw_prof.max_ddbs-1); in asd_init_ddb_0()
[all …]
Daic94xx_scb.c112 u8 enabled_mask = asd_ha->hw_prof.enabled_phys; in ord_phy()
143 addr += asd_ha->hw_prof.sata_name_base + ord_phy(asd_ha, phy); in asd_get_attached_sas_addr()
644 asd_ha->hw_prof.enabled_phys &= ~(1 << phy_id); in control_phy_tasklet_complete()
653 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
660 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
670 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
675 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
Daic94xx_hwi.h192 struct hw_profile hw_prof; member
227 #define PHY_ENABLED(_HA, _I) ((_HA)->hw_prof.enabled_phys & (1<<(_I)))
Daic94xx_dump.c732 if (site_no >= asd_ha->hw_prof.max_ddbs)
848 for (site_no = 0; site_no < asd_ha->hw_prof.max_scbs; site_no++) {
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c365 struct ice_flow_prof *hw_prof; in ice_fdir_replay_flows() local
374 &hw_prof); in ice_fdir_replay_flows()
531 struct ice_fd_hw_prof *hw_prof; in ice_fdir_set_hw_fltr_rule() local
551 hw_prof = hw->fdir_prof[flow]; in ice_fdir_set_hw_fltr_rule()
552 old_seg = hw_prof->fdir_seg[tun]; in ice_fdir_set_hw_fltr_rule()
603 hw_prof->fdir_seg[tun] = seg; in ice_fdir_set_hw_fltr_rule()
604 hw_prof->entry_h[0][tun] = entry1_h; in ice_fdir_set_hw_fltr_rule()
605 hw_prof->entry_h[1][tun] = entry2_h; in ice_fdir_set_hw_fltr_rule()
606 hw_prof->vsi_h[0] = main_vsi->idx; in ice_fdir_set_hw_fltr_rule()
607 hw_prof->vsi_h[1] = ctrl_vsi->idx; in ice_fdir_set_hw_fltr_rule()
[all …]