Home
last modified time | relevance | path

Searched refs:cap_flag (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cpt_common.h149 unsigned long *cap_flag) in otx2_cpt_set_hw_caps() argument
152 __set_bit(CN10K_MBOX, cap_flag); in otx2_cpt_set_hw_caps()
153 __set_bit(CN10K_LMTST, cap_flag); in otx2_cpt_set_hw_caps()
H A Dcn10k_cpt.c52 if (!test_bit(CN10K_LMTST, &cptpf->cap_flag)) { in cn10k_cptpf_lmtst_init()
81 if (!test_bit(CN10K_LMTST, &cptvf->cap_flag)) { in cn10k_cptvf_lmtst_init()
H A Dotx2_cptvf.h24 unsigned long cap_flag; member
H A Dotx2_cptpf.h55 unsigned long cap_flag; member
H A Dotx2_cptvf_main.c84 if (test_bit(CN10K_MBOX, &cptvf->cap_flag)) { in cptvf_pfvf_mbox_init()
369 otx2_cpt_set_hw_caps(pdev, &cptvf->cap_flag); in otx2_cptvf_probe()
H A Dotx2_cptpf_main.c369 if (test_bit(CN10K_MBOX, &cptpf->cap_flag)) in cptpf_vfpf_mbox_init()
789 otx2_cpt_set_hw_caps(pdev, &cptpf->cap_flag); in otx2_cptpf_probe()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.h274 unsigned long cap_flag; member
587 __set_bit(HW_TSO, &hw->cap_flag); in otx2_setup_dev_hw_settings()
590 __clear_bit(HW_TSO, &hw->cap_flag); in otx2_setup_dev_hw_settings()
602 __clear_bit(HW_TSO, &hw->cap_flag); in otx2_setup_dev_hw_settings()
605 __set_bit(CN10K_MBOX, &hw->cap_flag); in otx2_setup_dev_hw_settings()
606 __set_bit(CN10K_LMTST, &hw->cap_flag); in otx2_setup_dev_hw_settings()
607 __set_bit(CN10K_RPM, &hw->cap_flag); in otx2_setup_dev_hw_settings()
608 __set_bit(CN10K_PTP_ONESTEP, &hw->cap_flag); in otx2_setup_dev_hw_settings()
609 __set_bit(QOS_CIR_PIR_SUPPORT, &hw->cap_flag); in otx2_setup_dev_hw_settings()
613 __set_bit(CN10K_HW_MACSEC, &hw->cap_flag); in otx2_setup_dev_hw_settings()
H A Dotx2_vf.c297 if (mbox->mbox.hwbase && !test_bit(CN10K_MBOX, &vf->hw.cap_flag)) in otx2vf_vfaf_mbox_destroy()
316 if (test_bit(CN10K_MBOX, &vf->hw.cap_flag)) { in otx2vf_vfaf_mbox_init()
357 if (hwbase && !test_bit(CN10K_MBOX, &vf->hw.cap_flag)) in otx2vf_vfaf_mbox_init()
726 if (test_bit(CN10K_LMTST, &vf->hw.cap_flag)) in otx2vf_probe()
781 if (test_bit(CN10K_LMTST, &vf->hw.cap_flag)) in otx2vf_remove()
H A Dotx2_ethtool.c130 if (!test_bit(CN10K_RPM, &pfvf->hw.cap_flag)) { in otx2_get_strings()
217 if (!test_bit(CN10K_RPM, &pfvf->hw.cap_flag)) { in otx2_get_ethtool_stats()
264 if (!test_bit(CN10K_RPM, &pfvf->hw.cap_flag)) in otx2_get_sset_count()
987 if (test_bit(CN10K_PTP_ONESTEP, &pfvf->hw.cap_flag)) in otx2_get_ts_info()
H A Dqos_sq.c172 if (test_bit(CN10K_LMTST, &pfvf->hw.cap_flag)) { in otx2_qos_ctx_disable()
H A Dotx2_dcbnl.c155 if (test_bit(CN10K_LMTST, &pfvf->hw.cap_flag)) { in otx2_pfc_update_sq_smq_mapping()
H A Dcn10k.c33 if (!test_bit(CN10K_LMTST, &pfvf->hw.cap_flag)) { in cn10k_lmtst_init()
H A Dcn10k_macsec.c1748 if (!test_bit(CN10K_HW_MACSEC, &pfvf->hw.cap_flag)) in cn10k_handle_mcs_event()
1773 if (!test_bit(CN10K_HW_MACSEC, &pfvf->hw.cap_flag)) in cn10k_mcs_init()
1809 if (!test_bit(CN10K_HW_MACSEC, &pfvf->hw.cap_flag)) in cn10k_mcs_free()
H A Dotx2_pf.c596 if (test_bit(CN10K_MBOX, &pf->hw.cap_flag)) in otx2_pfvf_mbox_init()
2299 if (!test_bit(CN10K_PTP_ONESTEP, &pfvf->hw.cap_flag)) in otx2_config_hwtstamp()
3114 if (test_bit(CN10K_LMTST, &pf->hw.cap_flag)) in otx2_probe()
3295 if (test_bit(CN10K_LMTST, &pf->hw.cap_flag)) in otx2_remove()
H A Dotx2_txrx.c970 if (test_bit(HW_TSO, &pfvf->hw.cap_flag)) in is_hw_tso_supported()
H A Dqos.c128 if (!test_bit(QOS_CIR_PIR_SUPPORT, &pfvf->hw.cap_flag)) in otx2_config_sched_shaping()
/openbmc/linux/sound/soc/amd/raven/
H A Dacp3x-pcm-dma.c63 u16 play_flag, cap_flag; in i2s_irq_handler() local
71 cap_flag = 0; in i2s_irq_handler()
91 cap_flag = 1; in i2s_irq_handler()
98 cap_flag = 1; in i2s_irq_handler()
101 if (play_flag | cap_flag) in i2s_irq_handler()
/openbmc/linux/sound/soc/amd/renoir/
H A Dacp3x-pdm-dma.c47 u16 cap_flag; in pdm_irq_handler() local
54 cap_flag = 0; in pdm_irq_handler()
60 cap_flag = 1; in pdm_irq_handler()
63 if (cap_flag) in pdm_irq_handler()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00.h1200 enum rt2x00_capability_flags cap_flag) in rt2x00_has_cap_flag() argument
1202 return test_bit(cap_flag, &rt2x00dev->cap_flags); in rt2x00_has_cap_flag()
/openbmc/linux/drivers/net/hyperv/
H A Dhyperv_net.h51 u32 cap_flag; member
/openbmc/linux/net/wireless/
H A Dnl80211.c4136 u32 cap_flag = NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER; in nl80211_parse_mon_options() local
4141 if (!wiphy_ext_feature_isset(&rdev->wiphy, cap_flag)) in nl80211_parse_mon_options()
4157 u32 cap_flag = NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER; in nl80211_parse_mon_options() local
4162 if (!wiphy_ext_feature_isset(&rdev->wiphy, cap_flag)) in nl80211_parse_mon_options()