Home
last modified time | relevance | path

Searched refs:_flag (Results 1 – 25 of 25) sorted by relevance

/linux-6.6.21/drivers/clk/mediatek/
Dclk-mt8188-infra_ao.c45 #define GATE_INFRA_AO0_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
47 &mtk_clk_gate_ops_setclr, _flag)
52 #define GATE_INFRA_AO1_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
54 &mtk_clk_gate_ops_setclr, _flag)
62 #define GATE_INFRA_AO2_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
64 &mtk_clk_gate_ops_setclr, _flag)
66 #define GATE_INFRA_AO3_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
68 &mtk_clk_gate_ops_setclr, _flag)
73 #define GATE_INFRA_AO4_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
75 &mtk_clk_gate_ops_setclr, _flag)
Dclk-mt8195-infra_ao.c44 #define GATE_INFRA_AO0_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
46 &mtk_clk_gate_ops_setclr, _flag)
51 #define GATE_INFRA_AO1_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
53 &mtk_clk_gate_ops_setclr, _flag)
58 #define GATE_INFRA_AO2_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
60 &mtk_clk_gate_ops_setclr, _flag)
65 #define GATE_INFRA_AO3_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
67 &mtk_clk_gate_ops_setclr, _flag)
72 #define GATE_INFRA_AO4_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
74 &mtk_clk_gate_ops_setclr, _flag)
Dclk-mt8186-infra_ao.c38 #define GATE_INFRA_AO0_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
40 &mtk_clk_gate_ops_setclr, _flag)
45 #define GATE_INFRA_AO1_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
47 &mtk_clk_gate_ops_setclr, _flag)
52 #define GATE_INFRA_AO2_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
54 &mtk_clk_gate_ops_setclr, _flag)
59 #define GATE_INFRA_AO3_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
61 &mtk_clk_gate_ops_setclr, _flag)
Dclk-mt8192.c752 #define GATE_INFRA1_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
754 &mtk_clk_gate_ops_setclr, _flag)
762 #define GATE_INFRA3_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
764 &mtk_clk_gate_ops_setclr, _flag)
772 #define GATE_INFRA5_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
774 &mtk_clk_gate_ops_setclr, _flag)
Dclk-mt8167-apmixedsys.c77 #define DIV_ADJ_FLAG(_id, _name, _parent, _reg, _shift, _width, _flag) { \ argument
84 .clk_divider_flags = _flag, \
Dclk-mt8183.c685 #define GATE_INFRA2_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
687 _shift, &mtk_clk_gate_ops_setclr, _flag)
693 #define GATE_INFRA3_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
695 _shift, &mtk_clk_gate_ops_setclr, _flag)
Dclk-mt8195-topckgen.c1187 #define GATE_TOP0_FLAGS(_id, _name, _parent, _shift, _flag) \ argument
1189 &mtk_clk_gate_ops_no_setclr_inv, _flag)
/linux-6.6.21/drivers/net/wireless/ath/ath5k/
Ddesc.c174 #define _TX_FLAGS(_c, _flag) \ in ath5k_hw_setup_2word_tx_desc() argument
175 if (flags & AR5K_TXDESC_##_flag) { \ in ath5k_hw_setup_2word_tx_desc()
177 AR5K_2W_TX_DESC_CTL##_c##_##_flag; \ in ath5k_hw_setup_2word_tx_desc()
179 #define _TX_FLAGS_5211(_c, _flag) \ in ath5k_hw_setup_2word_tx_desc() argument
180 if (flags & AR5K_TXDESC_##_flag) { \ in ath5k_hw_setup_2word_tx_desc()
182 AR5K_2W_TX_DESC_CTL##_c##_##_flag##_5211; \ in ath5k_hw_setup_2word_tx_desc()
318 #define _TX_FLAGS(_c, _flag) \ in ath5k_hw_setup_4word_tx_desc() argument
319 if (flags & AR5K_TXDESC_##_flag) { \ in ath5k_hw_setup_4word_tx_desc()
320 txctl##_c |= AR5K_4W_TX_DESC_CTL##_c##_##_flag; \ in ath5k_hw_setup_4word_tx_desc()
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/
Dwx_type.h730 #define WX_SET_FLAG(_input, _flag, _result) \ argument
731 (((_flag) <= (_result)) ? \
732 ((u32)((_input) & (_flag)) * ((_result) / (_flag))) : \
733 ((u32)((_input) & (_flag)) / ((_flag) / (_result))))
/linux-6.6.21/drivers/clk/renesas/
Drzg2l-cpg.h164 #define DEF_DSI_DIV(_name, _id, _parent, _flag) \ argument
165 DEF_TYPE(_name, _id, CLK_TYPE_DSI_DIV, .parent = _parent, .flag = _flag)
/linux-6.6.21/drivers/net/wireless/mediatek/mt7601u/
Dmain.c106 #define MT76_FILTER(_flag, _hw) do { \ in mt76_configure_filter() argument
107 flags |= *total_flags & FIF_##_flag; \ in mt76_configure_filter()
109 dev->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt76_configure_filter()
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c875 #define FM10K_SET_FLAG(_input, _flag, _result) \ argument
876 ((_flag <= _result) ? \
877 ((u32)(_input & _flag) * (_result / _flag)) : \
878 ((u32)(_input & _flag) / (_flag / _result)))
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c211 #define MT76_FILTER(_flag, _hw) do { \ in mt76x02_configure_filter() argument
212 flags |= *total_flags & FIF_##_flag; \ in mt76x02_configure_filter()
214 dev->mt76.rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt76x02_configure_filter()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c266 #define MT76_FILTER(_flag, _hw) do { \ in mt7603_configure_filter() argument
267 flags |= *total_flags & FIF_##_flag; \ in mt7603_configure_filter()
269 dev->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt7603_configure_filter()
/linux-6.6.21/drivers/clk/meson/
Daxg-audio.c188 #define AUD_MST_MUX(_name, _reg, _flag) \ argument
189 AUD_MUX(_name##_sel, _reg, 0x7, 24, _flag, \
191 #define AUD_MST_DIV(_name, _reg, _flag) \ argument
192 AUD_DIV(_name##_div, _reg, 0, 16, _flag, \
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dmain.c512 #define MT76_FILTER(_flag, _hw) do { \ in mt7615_configure_filter() argument
513 flags |= *total_flags & FIF_##_flag; \ in mt7615_configure_filter()
516 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw);\ in mt7615_configure_filter()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7996/
Dmain.c445 #define MT76_FILTER(_flag, _hw) do { \ in mt7996_configure_filter() argument
446 flags |= *total_flags & FIF_##_flag; \ in mt7996_configure_filter()
448 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt7996_configure_filter()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dmain.c532 #define MT76_FILTER(_flag, _hw) do { \ in mt7915_configure_filter() argument
533 flags |= *total_flags & FIF_##_flag; \ in mt7915_configure_filter()
535 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt7915_configure_filter()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c253 #define IAVF_PRIV_FLAG(_name, _flag, _read_only) { \ argument
255 .flag = _flag, \
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_main.c1254 #define IGC_SET_FLAG(_input, _flag, _result) \ argument
1255 (((_flag) <= (_result)) ? \
1256 ((u32)((_input) & (_flag)) * ((_result) / (_flag))) : \
1257 ((u32)((_input) & (_flag)) / ((_flag) / (_result))))
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_main.c6119 #define IGB_SET_FLAG(_input, _flag, _result) \ argument
6120 ((_flag <= _result) ? \
6121 ((u32)(_input & _flag) * (_result / _flag)) : \
6122 ((u32)(_input & _flag) / (_flag / _result)))
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8202 #define IXGBE_SET_FLAG(_input, _flag, _result) \ argument
8203 ((_flag <= _result) ? \
8204 ((u32)(_input & _flag) * (_result / _flag)) : \
8205 ((u32)(_input & _flag) / (_flag / _result)))
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c39 #define CTL(_tpower, _flag) ((_tpower) | ((_flag) << 6)) argument
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c435 #define I40E_PRIV_FLAG(_name, _flag, _read_only) { \ argument
437 .flag = _flag, \
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_init.c4022 #define PRINT_FIELD(_field, _flag, _str) { \ argument
4023 if (a0->_field & _flag) {\