Home
last modified time | relevance | path

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

/drivers/clk/zte/
Dclk.h60 #define GATE(_id, _name, _parent, _reg, _bit, _flag, _gflags) \ argument
70 _flag | CLK_IGNORE_UNUSED), \
80 #define FFACTOR(_id, _name, _parent, _mult, _div, _flag) \ argument
88 _flag), \
98 #define MUX_F(_id, _name, _parent, _reg, _shift, _width, _flag, _mflag) \ argument
109 _flag), \
122 #define DIV_T(_id, _name, _parent, _reg, _shift, _width, _flag, _table) \ argument
134 _flag), \
/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()
/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()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c880 #define FM10K_SET_FLAG(_input, _flag, _result) \ argument
881 ((_flag <= _result) ? \
882 ((u32)(_input & _flag) * (_result / _flag)) : \
883 ((u32)(_input & _flag) / (_flag / _result)))
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c215 #define MT76_FILTER(_flag, _hw) do { \ in mt76x02_configure_filter() argument
216 flags |= *total_flags & FIF_##_flag; \ in mt76x02_configure_filter()
218 dev->mt76.rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt76x02_configure_filter()
/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c244 #define MT76_FILTER(_flag, _hw) do { \ in mt7603_configure_filter() argument
245 flags |= *total_flags & FIF_##_flag; \ in mt7603_configure_filter()
247 dev->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt7603_configure_filter()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmain.c378 #define MT76_FILTER(_flag, _hw) do { \ in mt7915_configure_filter() argument
379 flags |= *total_flags & FIF_##_flag; \ in mt7915_configure_filter()
381 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw); \ in mt7915_configure_filter()
/drivers/clk/mediatek/
Dclk-mt8167.c687 #define DIV_ADJ_FLAG(_id, _name, _parent, _reg, _shift, _width, _flag) { \ argument
694 .clk_divider_flags = _flag, \
/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c253 #define IAVF_PRIV_FLAG(_name, _flag, _read_only) { \ argument
255 .flag = _flag, \
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmain.c506 #define MT76_FILTER(_flag, _hw) do { \ in mt7615_configure_filter() argument
507 flags |= *total_flags & FIF_##_flag; \ in mt7615_configure_filter()
510 phy->rxfilter |= !(flags & FIF_##_flag) * (_hw);\ in mt7615_configure_filter()
/drivers/clk/meson/
Daxg-audio.c185 #define AUD_MST_MUX(_name, _reg, _flag) \ argument
186 AUD_MUX(_name##_sel, _reg, 0x7, 24, _flag, \
188 #define AUD_MST_DIV(_name, _reg, _flag) \ argument
189 AUD_DIV(_name##_div, _reg, 0, 16, _flag, \
/drivers/net/ethernet/intel/igc/
Digc_main.c1116 #define IGC_SET_FLAG(_input, _flag, _result) \ argument
1117 (((_flag) <= (_result)) ? \
1118 ((u32)((_input) & (_flag)) * ((_result) / (_flag))) : \
1119 ((u32)((_input) & (_flag)) / ((_flag) / (_result))))
/drivers/net/ethernet/intel/igb/
Digb_main.c6045 #define IGB_SET_FLAG(_input, _flag, _result) \ argument
6046 ((_flag <= _result) ? \
6047 ((u32)(_input & _flag) * (_result / _flag)) : \
6048 ((u32)(_input & _flag) / (_flag / _result)))
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8120 #define IXGBE_SET_FLAG(_input, _flag, _result) \ argument
8121 ((_flag <= _result) ? \
8122 ((u32)(_input & _flag) * (_result / _flag)) : \
8123 ((u32)(_input & _flag) / (_flag / _result)))
/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c39 #define CTL(_tpower, _flag) ((_tpower) | ((_flag) << 6)) argument
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c431 #define I40E_PRIV_FLAG(_name, _flag, _read_only) { \ argument
433 .flag = _flag, \
/drivers/scsi/qla2xxx/
Dqla_init.c3585 #define PRINT_FIELD(_field, _flag, _str) { \ argument
3586 if (a0->_field & _flag) {\