Home
last modified time | relevance | path

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

/linux-6.15/drivers/scsi/aic94xx/
H A Daic94xx_sds.c241 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()
248 asd_ha->hw_prof.ue.size); in asd_get_bios_chim()
249 size = asd_ha->hw_prof.ue.num * asd_ha->hw_prof.ue.size; in asd_get_bios_chim()
253 if (!asd_ha->hw_prof.ue.area) in asd_get_bios_chim()
258 kfree(asd_ha->hw_prof.ue.area); in asd_get_bios_chim()
259 asd_ha->hw_prof.ue.area = NULL; in asd_get_bios_chim()
260 asd_ha->hw_prof.ue.num = 0; in asd_get_bios_chim()
261 asd_ha->hw_prof.ue.size = 0; in asd_get_bios_chim()
[all …]
H A 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()
45 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_propagate_sas_addr()
243 asd_ha->hw_prof.max_scbs, in asd_get_max_scb_ddb()
244 asd_ha->hw_prof.max_ddbs); in asd_get_max_scb_ddb()
509 asd_ha->hw_prof.ddb_ext = NULL; in asd_extend_devctx()
518 if (!asd_ha->hw_prof.ddb_ext) { in asd_extend_devctx()
533 asd_ha->hw_prof.max_ddbs = max_devs; in asd_extend_devctx()
545 asd_ha->hw_prof.scb_ext = NULL; in asd_extend_cmdctx()
554 if (!asd_ha->hw_prof.scb_ext) { in asd_extend_cmdctx()
[all …]
H A Daic94xx_init.c198 asd_ha->hw_prof.max_scbs = 512; in asd_common_setup()
226 asd_ha->hw_prof.addr_range = 8; in asd_aic9410_setup()
241 asd_ha->hw_prof.addr_range = 4; in asd_aic9405_setup()
554 if (asd_ha->hw_prof.ddb_ext) in asd_destroy_ha_caches()
556 if (asd_ha->hw_prof.scb_ext) in asd_destroy_ha_caches()
571 if (asd_ha->hw_prof.ue.area) { in asd_destroy_ha_caches()
572 kfree(asd_ha->hw_prof.ue.area); in asd_destroy_ha_caches()
573 asd_ha->hw_prof.ue.area = NULL; in asd_destroy_ha_caches()
767 asd_ha->hw_prof.pcba_sn, asd_ha->hw_prof.max_phys, in asd_pci_probe()
768 asd_ha->hw_prof.num_phys, in asd_pci_probe()
[all …]
H A 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()
H A 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()
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()
903 asd_ha->hw_prof.max_scbs = max_scbs; in asd_init_scb_sites()
1116 asd_ha->hw_prof.max_ddbs-1); in asd_init_ddb_0()
1131 asd_ha->hw_prof.num_phys * 2); in asd_init_ddb_0()
1139 set_bit(0, asd_ha->hw_prof.ddb_bitmap); in asd_init_ddb_0()
1180 lseq_mask = asd_ha->hw_prof.enabled_phys; in asd_seq_setup_seqs()
[all …]
H A Daic94xx_scb.c114 u8 enabled_mask = asd_ha->hw_prof.enabled_phys; in ord_phy()
145 addr += asd_ha->hw_prof.sata_name_base + ord_phy(asd_ha, phy); in asd_get_attached_sas_addr()
648 asd_ha->hw_prof.enabled_phys &= ~(1 << phy_id); in control_phy_tasklet_complete()
657 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
664 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
674 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
679 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
H A Daic94xx_hwi.h192 struct hw_profile hw_prof; member
227 #define PHY_ENABLED(_HA, _I) ((_HA)->hw_prof.enabled_phys & (1<<(_I)))
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c452 false, &hw_prof); in ice_fdir_replay_flows()
460 hw_prof->id, in ice_fdir_replay_flows()
639 struct ice_fd_hw_prof *hw_prof; in ice_fdir_set_hw_fltr_rule() local
659 hw_prof = hw->fdir_prof[flow]; in ice_fdir_set_hw_fltr_rule()
706 hw_prof->fdir_seg[tun] = seg; in ice_fdir_set_hw_fltr_rule()
712 if (!hw_prof->cnt) in ice_fdir_set_hw_fltr_rule()
713 hw_prof->cnt = 2; in ice_fdir_set_hw_fltr_rule()
743 hw_prof->fdir_seg[tun] = NULL; in ice_fdir_set_hw_fltr_rule()
751 if (hw_prof->fdir_seg[idx]) { in ice_fdir_set_hw_fltr_rule()
765 hw_prof->vsi_h[idx] = 0; in ice_fdir_set_hw_fltr_rule()
[all …]