/linux-6.6.21/drivers/clk/mediatek/ |
D | clk-mt8188-infra_ao.c | 45 #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)
|
D | clk-mt8195-infra_ao.c | 44 #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)
|
D | clk-mt8186-infra_ao.c | 38 #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)
|
D | clk-mt8192.c | 752 #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)
|
D | clk-mt8167-apmixedsys.c | 77 #define DIV_ADJ_FLAG(_id, _name, _parent, _reg, _shift, _width, _flag) { \ argument 84 .clk_divider_flags = _flag, \
|
D | clk-mt8183.c | 685 #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)
|
D | clk-mt8195-topckgen.c | 1187 #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/ |
D | desc.c | 174 #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/ |
D | wx_type.h | 730 #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/ |
D | rzg2l-cpg.h | 164 #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/ |
D | main.c | 106 #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/ |
D | fm10k_main.c | 875 #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/ |
D | mt76x02_util.c | 211 #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/ |
D | main.c | 266 #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/ |
D | axg-audio.c | 188 #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/ |
D | main.c | 512 #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/ |
D | main.c | 445 #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/ |
D | main.c | 532 #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/ |
D | iavf_ethtool.c | 253 #define IAVF_PRIV_FLAG(_name, _flag, _read_only) { \ argument 255 .flag = _flag, \
|
/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 1254 #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/ |
D | igb_main.c | 6119 #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/ |
D | ixgbe_main.c | 8202 #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/ |
D | ar9003_eeprom.c | 39 #define CTL(_tpower, _flag) ((_tpower) | ((_flag) << 6)) argument
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 435 #define I40E_PRIV_FLAG(_name, _flag, _read_only) { \ argument 437 .flag = _flag, \
|
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | qla_init.c | 4022 #define PRINT_FIELD(_field, _flag, _str) { \ argument 4023 if (a0->_field & _flag) {\
|