Home
last modified time | relevance | path

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

/linux/drivers/scsi/aic94xx/
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 …]
A Daic94xx_init.c212 asd_ha->hw_prof.max_scbs = 512; in asd_common_setup()
240 asd_ha->hw_prof.addr_range = 8; in asd_aic9410_setup()
255 asd_ha->hw_prof.addr_range = 4; in asd_aic9405_setup()
568 if (asd_ha->hw_prof.ddb_ext) in asd_destroy_ha_caches()
570 if (asd_ha->hw_prof.scb_ext) in asd_destroy_ha_caches()
585 if (asd_ha->hw_prof.ue.area) { in asd_destroy_ha_caches()
586 kfree(asd_ha->hw_prof.ue.area); in asd_destroy_ha_caches()
587 asd_ha->hw_prof.ue.area = NULL; in asd_destroy_ha_caches()
782 asd_ha->hw_prof.pcba_sn, asd_ha->hw_prof.max_phys, in asd_pci_probe()
783 asd_ha->hw_prof.num_phys, in asd_pci_probe()
[all …]
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()
245 asd_ha->hw_prof.max_scbs, in asd_get_max_scb_ddb()
246 asd_ha->hw_prof.max_ddbs); in asd_get_max_scb_ddb()
511 asd_ha->hw_prof.ddb_ext = NULL; in asd_extend_devctx()
520 if (!asd_ha->hw_prof.ddb_ext) { in asd_extend_devctx()
535 asd_ha->hw_prof.max_ddbs = max_devs; in asd_extend_devctx()
547 asd_ha->hw_prof.scb_ext = NULL; in asd_extend_cmdctx()
556 if (!asd_ha->hw_prof.scb_ext) { in asd_extend_cmdctx()
[all …]
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()
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 …]
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()
A Daic94xx_hwi.h192 struct hw_profile hw_prof; member
227 #define PHY_ENABLED(_HA, _I) ((_HA)->hw_prof.enabled_phys & (1<<(_I)))
/linux/drivers/net/ethernet/intel/ice/
A 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()
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()
608 if (!hw_prof->cnt) in ice_fdir_set_hw_fltr_rule()
[all …]

Completed in 25 milliseconds