| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic.h | 135 #define wr32(_f, _r, _v) fbnic_wr32(_f, _r, _v) argument 136 #define rd32(_f, _r) fbnic_rd32(_f, _r) argument 137 #define wrfl(_f) fbnic_wrfl(_f) argument 143 #define fw_rd32(_f, _r) fbnic_fw_rd32(_f, _r) argument 144 #define fw_wr32(_f, _r, _v) fbnic_fw_wr32(_f, _r, _v) argument 145 #define fw_wrfl(_f) fbnic_fw_rd32(_f, FBNIC_FW_ZERO_REG) argument
|
| /drivers/net/ethernet/sfc/ |
| A D | ef100_rx.c | 22 #define PREFIX_OFFSET_W(_f) (ESF_GZ_RX_PREFIX_ ## _f ## _LBN / 32) argument 23 #define PREFIX_OFFSET_B(_f) (ESF_GZ_RX_PREFIX_ ## _f ## _LBN % 32) argument 24 #define PREFIX_WIDTH_MASK(_f) ((1ULL << ESF_GZ_RX_PREFIX_ ## _f ## _WIDTH) - 1) argument 25 #define PREFIX_WORD(_p, _f) le32_to_cpu((__force __le32)(_p)[PREFIX_OFFSET_W(_f)]) argument 26 #define PREFIX_FIELD(_p, _f) ((PREFIX_WORD(_p, _f) >> PREFIX_OFFSET_B(_f)) & \ argument 27 PREFIX_WIDTH_MASK(_f))
|
| A D | efx_devlink.c | 233 #define EFX_VER_FLAG(_f) \ argument 234 (MC_CMD_GET_VERSION_V5_OUT_ ## _f ## _PRESENT_LBN)
|
| /drivers/clk/x86/ |
| A D | clk-cgu.h | 203 #define LGM_MUX(_id, _name, _pdata, _f, _reg, \ argument 211 .flags = _f, \ 219 #define LGM_DIV(_id, _name, _pname, _f, _reg, _shift, _width, \ argument 230 .flags = _f, \ 241 #define LGM_GATE(_id, _name, _pname, _f, _reg, \ argument 252 .flags = _f, \ 259 #define LGM_FIXED(_id, _name, _pname, _f, _reg, \ argument 270 .flags = _f, \ 279 #define LGM_FIXED_FACTOR(_id, _name, _pname, _f, _reg, \ argument 290 .flags = _f, \
|
| /drivers/net/wireless/ath/ath9k/ |
| A D | hw.h | 121 #define SM(_v, _f) (((_v) << _f##_S) & _f) argument 122 #define MS(_v, _f) (((_v) & _f) >> _f##_S) argument 123 #define REG_RMW_FIELD(_a, _r, _f, _v) \ argument 124 REG_RMW(_a, _r, (((_v) << _f##_S) & _f), (_f)) 125 #define REG_READ_FIELD(_a, _r, _f) \ argument 126 (((REG_READ(_a, _r) & _f) >> _f##_S)) 127 #define REG_SET_BIT(_a, _r, _f) \ argument 128 REG_RMW(_a, _r, (_f), 0) 129 #define REG_CLR_BIT(_a, _r, _f) \ argument 130 REG_RMW(_a, _r, 0, (_f))
|
| /drivers/gpu/drm/ |
| A D | drm_debugfs.c | 682 #define DEFINE_INFOFRAME_FILE(_f) \ argument 683 static ssize_t _f##_read_infoframe(struct file *filp, \ 702 infoframe = &conn_state->hdmi.infoframes._f; \ 718 static const struct file_operations _f##_infoframe_fops = { \ 721 .read = _f##_read_infoframe, \ 724 static int create_hdmi_## _f ## _infoframe_file(struct drm_connector *connector, \ 729 file = debugfs_create_file(#_f, 0400, parent, connector, &_f ## _infoframe_fops); \
|
| /drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | feature.h | 74 #define BRCMF_FEAT_DEF(_f) \ argument 75 BRCMF_FEAT_ ## _f,
|
| A D | feature.c | 25 #define BRCMF_FEAT_DEF(_f) \ argument 26 #_f,
|
| A D | chip.c | 202 #define SOCRAMREGOFFS(_f) offsetof(struct sbsocramregs, _f) argument 203 #define SYSMEMREGOFFS(_f) offsetof(struct sbsocramregs, _f) argument
|
| /drivers/iio/imu/inv_icm42600/ |
| A D | inv_icm42600.h | 323 #define INV_ICM42600_GYRO_ACCEL_CONFIG0_ACCEL_FILT(_f) \ argument 324 FIELD_PREP(GENMASK(7, 4), (_f)) 325 #define INV_ICM42600_GYRO_ACCEL_CONFIG0_GYRO_FILT(_f) \ argument 326 FIELD_PREP(GENMASK(3, 0), (_f))
|
| /drivers/net/wireless/intel/iwlwifi/fw/api/ |
| A D | rs.h | 719 #define LQ_FLAG_COLOR_GET(_f) (((_f) & LQ_FLAG_COLOR_MSK) >>\ argument 723 #define LQ_FLAG_COLOR_SET(_f, _c) ((_c) | ((_f) & ~LQ_FLAG_COLOR_MSK)) argument
|
| A D | tx.h | 488 #define TX_RES_RATE_TABLE_COL_GET(_f) (((_f) & TX_RES_RATE_TABLE_COLOR_MSK) >>\ argument
|
| /drivers/net/wireless/ath/ath10k/ |
| A D | core.h | 34 #define MS(_v, _f) (((_v) & _f##_MASK) >> _f##_LSB) argument 35 #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK) argument 36 #define WO(_f) ((_f##_OFFSET) >> 2) argument
|
| /drivers/ptp/ |
| A D | ptp_vmclock.c | 54 #define VMCLOCK_FIELD_PRESENT(_c, _f) \ argument 55 (le32_to_cpu((_c)->size) >= (offsetof(struct vmclock_abi, _f) + \ 56 sizeof((_c)->_f)))
|
| /drivers/hid/bpf/progs/ |
| A D | hid_bpf_helpers.h | 181 … _4, _5, _6, _7, _8, _9, _a, _b, _c, _d, _e, _f) _1; _2; _3; _4; _5; _6; _7; _8; _9; _a; _b; _c; _… argument
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | rs.h | 387 #define RS_DRV_DATA_LQ_COLOR_GET(_f) (((_f) & RS_DRV_DATA_LQ_COLOR_MSK) >>\ argument
|
| /drivers/rtc/ |
| A D | rtc-mt7622.c | 52 #define MTK_RTC_TREG(_t, _f) (0x40 + (0x4 * (_f)) + ((_t) * 0x20)) argument
|
| /drivers/net/wireless/ath/ath11k/ |
| A D | core.h | 39 #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK) argument
|
| /drivers/iio/proximity/ |
| A D | sx9360.c | 49 #define SX9360_REG_GNRL_FREQ_2_REG(_f) (((_f) * 8192) / SX9360_FOSC_HZ) argument
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | core.h | 38 #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK) argument
|
| /drivers/pci/pcie/ |
| A D | aspm.c | 1612 #define ASPM_ATTR(_f, _s) \ argument 1613 static ssize_t _f##_show(struct device *dev, \ 1617 static ssize_t _f##_store(struct device *dev, \
|
| /drivers/comedi/drivers/ |
| A D | ni_stc.h | 761 #define NI_M_PFI_FILTER_SEL(_c, _f) (((_f) & 0x3) << ((_c) * 2)) argument
|
| /drivers/net/phy/ |
| A D | sfp.c | 479 #define SFP_QUIRK(_v, _p, _m, _f) \ argument 480 { .vendor = _v, .part = _p, .modes = _m, .fixup = _f, } 482 #define SFP_QUIRK_F(_v, _p, _f) SFP_QUIRK(_v, _p, NULL, _f) argument
|