/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00reg.h | 235 #define SET_FIELD(__reg, __type, __field, __value)\ argument 238 *(__reg) &= ~((__field).bit_mask); \ 239 *(__reg) |= ((__value) << \ 244 #define GET_FIELD(__reg, __type, __field) \ argument 247 ((__reg) & ((__field).bit_mask)) >> \ 253 #define rt2x00_get_field32(__reg, __field) \ argument 254 GET_FIELD(__reg, struct rt2x00_field32, __field) 258 #define rt2x00_get_field16(__reg, __field) \ argument 259 GET_FIELD(__reg, struct rt2x00_field16, __field) 263 #define rt2x00_get_field8(__reg, __field) \ argument [all …]
|
A D | rt2400pci.c | 40 #define WAIT_FOR_BBP(__dev, __reg) \ argument 41 rt2x00mmio_regbusy_read((__dev), BBPCSR, BBPCSR_BUSY, (__reg)) 42 #define WAIT_FOR_RF(__dev, __reg) \ argument 43 rt2x00mmio_regbusy_read((__dev), RFCSR, RFCSR_BUSY, (__reg))
|
A D | rt2500usb.c | 117 #define WAIT_FOR_BBP(__dev, __reg) \ argument 118 rt2500usb_regbusy_read((__dev), PHY_CSR8, PHY_CSR8_BUSY, (__reg)) 119 #define WAIT_FOR_RF(__dev, __reg) \ argument 120 rt2500usb_regbusy_read((__dev), PHY_CSR10, PHY_CSR10_RF_BUSY, (__reg))
|
A D | rt61pci.c | 46 #define WAIT_FOR_BBP(__dev, __reg) \ argument 47 rt2x00mmio_regbusy_read((__dev), PHY_CSR3, PHY_CSR3_BUSY, (__reg)) 48 #define WAIT_FOR_RF(__dev, __reg) \ argument 49 rt2x00mmio_regbusy_read((__dev), PHY_CSR4, PHY_CSR4_BUSY, (__reg)) 50 #define WAIT_FOR_MCU(__dev, __reg) \ argument 52 H2M_MAILBOX_CSR_OWNER, (__reg))
|
A D | rt2500pci.c | 40 #define WAIT_FOR_BBP(__dev, __reg) \ argument 41 rt2x00mmio_regbusy_read((__dev), BBPCSR, BBPCSR_BUSY, (__reg)) 42 #define WAIT_FOR_RF(__dev, __reg) \ argument 43 rt2x00mmio_regbusy_read((__dev), RFCSR, RFCSR_BUSY, (__reg))
|
A D | rt73usb.c | 47 #define WAIT_FOR_BBP(__dev, __reg) \ argument 48 rt2x00usb_regbusy_read((__dev), PHY_CSR3, PHY_CSR3_BUSY, (__reg)) 49 #define WAIT_FOR_RF(__dev, __reg) \ argument 50 rt2x00usb_regbusy_read((__dev), PHY_CSR4, PHY_CSR4_BUSY, (__reg))
|
/linux-6.3-rc2/include/net/netfilter/ |
A D | nf_tables_offload.h | 79 #define NFT_OFFLOAD_MATCH_FLAGS(__key, __base, __field, __len, __reg, __flags) \ argument 80 (__reg)->base_offset = \ 82 (__reg)->offset = \ 84 (__reg)->len = __len; \ 85 (__reg)->key = __key; \ 86 (__reg)->flags = __flags; 88 #define NFT_OFFLOAD_MATCH(__key, __base, __field, __len, __reg) \ argument 89 NFT_OFFLOAD_MATCH_FLAGS(__key, __base, __field, __len, __reg, 0) 91 #define NFT_OFFLOAD_MATCH_EXACT(__key, __base, __field, __len, __reg) \ argument 92 NFT_OFFLOAD_MATCH(__key, __base, __field, __len, __reg) \ [all …]
|
/linux-6.3-rc2/drivers/soc/amlogic/ |
A D | meson-ee-pwrc.c | 121 #define VPU_MEMPD(__reg) \ argument 122 { __reg, GENMASK(1, 0) }, \ 137 { __reg, GENMASK(31, 30) } 140 { __reg, BIT(8) }, \ 141 { __reg, BIT(9) }, \ 142 { __reg, BIT(10) }, \ 143 { __reg, BIT(11) }, \ 144 { __reg, BIT(12) }, \ 145 { __reg, BIT(13) }, \ 146 { __reg, BIT(14) }, \ [all …]
|
/linux-6.3-rc2/drivers/mmc/host/ |
A D | dw_mmc.h | 466 #define mci_fifo_readw(__reg) __raw_readw(__reg) argument 467 #define mci_fifo_readl(__reg) __raw_readl(__reg) argument 468 #define mci_fifo_readq(__reg) __raw_readq(__reg) argument 470 #define mci_fifo_writew(__value, __reg) __raw_writew(__reg, __value) argument 471 #define mci_fifo_writel(__value, __reg) __raw_writel(__reg, __value) argument 472 #define mci_fifo_writeq(__value, __reg) __raw_writeq(__reg, __value) argument 506 #define __raw_writeq(__value, __reg) \ argument 507 (*(volatile u64 __force *)(__reg) = (__value)) 508 #define __raw_readq(__reg) (*(volatile u64 __force *)(__reg)) argument
|
/linux-6.3-rc2/drivers/gpu/drm/armada/ |
A D | armada_crtc.h | 20 struct armada_regs *__reg = _r; \ 21 __reg[_i].offset = _o; \ 22 __reg[_i].mask = ~(_m); \ 23 __reg[_i].val = _v; \
|
/linux-6.3-rc2/drivers/media/dvb-frontends/ |
A D | stv090x_priv.h | 37 #define STV090x_READ_DEMOD(__state, __reg) (( \ argument 39 stv090x_read_reg(__state, STV090x_P2_##__reg) : \ 40 stv090x_read_reg(__state, STV090x_P1_##__reg)) 42 #define STV090x_WRITE_DEMOD(__state, __reg, __data) (( \ argument 44 stv090x_write_reg(__state, STV090x_P2_##__reg, __data) :\ 45 stv090x_write_reg(__state, STV090x_P1_##__reg, __data))
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_dkl_phy_regs.h | 23 #define DKL_REG_TC_PORT(__reg) \ argument 24 (TC_PORT_1 + ((__reg).reg - _DKL_PHY1_BASE) / (_DKL_PHY2_BASE - _DKL_PHY1_BASE)) 27 #define DKL_REG_MMIO(__reg) _MMIO((__reg).reg) argument
|
/linux-6.3-rc2/drivers/clk/microchip/ |
A D | clk-pic32mzda.c | 27 #define DECLARE_PERIPHERAL_CLOCK(__clk_name, __reg, __flags) \ argument 29 .ctrl_reg = (__reg), \ 41 #define DECLARE_REFO_CLOCK(__clkid, __reg) \ argument 43 .ctrl_reg = (__reg), \
|
/linux-6.3-rc2/drivers/fsi/ |
A D | fsi-master-hub.c | 200 __be32 __reg; in hub_master_probe() local 203 rc = fsi_device_read(fsi_dev, FSI_MVER, &__reg, sizeof(__reg)); in hub_master_probe() 207 reg = be32_to_cpu(__reg); in hub_master_probe()
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | prom_irqtrans.c | 84 #define sabre_read(__reg) \ argument 88 : "r" (__reg), "i" (ASI_PHYS_BYPASS_EC_E) \ 318 #define schizo_read(__reg) \ argument 322 : "r" (__reg), "i" (ASI_PHYS_BYPASS_EC_E) \ 326 #define schizo_write(__reg, __val) \ argument 329 : "r" (__val), "r" (__reg), \
|
A D | iommu.c | 35 #define iommu_read(__reg) \ argument 39 : "r" (__reg), "i" (ASI_PHYS_BYPASS_EC_E) \ 43 #define iommu_write(__reg, __val) \ argument 46 : "r" (__val), "r" (__reg), \
|
/linux-6.3-rc2/include/linux/ |
A D | bpf_verifier.h | 374 #define bpf_for_each_reg_in_vstate(__vst, __state, __reg, __expr) \ argument 383 __reg = &___regs[___j]; \ 386 bpf_for_each_spilled_reg(___j, __state, __reg) { \ 387 if (!__reg) \
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_init_fw_funcs.c | 185 u32 __reg = 0; \ 187 BUILD_BUG_ON(sizeof((map).reg) != sizeof(__reg)); \ 189 SET_FIELD(__reg, QM_RF_PQ_MAP_PQ_VALID, 1); \ 190 SET_FIELD(__reg, QM_RF_PQ_MAP_RL_VALID, \ 192 SET_FIELD(__reg, QM_RF_PQ_MAP_VP_PQ_ID, (vp_pq_id)); \ 193 SET_FIELD(__reg, QM_RF_PQ_MAP_RL_ID, (rl_id)); \ 194 SET_FIELD(__reg, QM_RF_PQ_MAP_VOQ, (ext_voq)); \ 195 SET_FIELD(__reg, QM_RF_PQ_MAP_WRR_WEIGHT_GROUP, \ 199 __reg); \ 200 (map).reg = cpu_to_le32(__reg); \
|
/linux-6.3-rc2/drivers/net/ethernet/cadence/ |
A D | macb.h | 776 #define macb_or_gem_writel(__bp, __reg, __value) \ argument 779 gem_writel((__bp), __reg, __value); \ 781 macb_writel((__bp), __reg, __value); \ 784 #define macb_or_gem_readl(__bp, __reg) \ argument 788 __v = gem_readl((__bp), __reg); \ 790 __v = macb_readl((__bp), __reg); \
|
/linux-6.3-rc2/drivers/media/platform/samsung/s3c-camif/ |
A D | camif-regs.h | 159 #define CISTATUS_FRAMECNT(__reg) (((__reg) >> 26) & 0x3) argument
|
/linux-6.3-rc2/drivers/net/ethernet/smsc/ |
A D | smc91x.h | 35 unsigned int __reg = (r); \ 36 SMC_outb(__val16, a, __reg); \ 37 SMC_outb(__val16 >> 8, a, __reg + (1 << SMC_IO_SHIFT)); \ 43 unsigned int __reg = r; \ 44 __val16 = SMC_inb(a, __reg); \ 45 __val16 |= SMC_inb(a, __reg + (1 << SMC_IO_SHIFT)) << 8; \
|
/linux-6.3-rc2/drivers/pinctrl/spear/ |
A D | pinctrl-plgpio.c | 662 #define plgpio_prepare_reg(__reg, _off, _mask, _tmp) \ argument 664 regmap_read(plgpio->regmap, plgpio->regs.__reg + _off, &_tmp); \ 666 plgpio->csave_regs[i].__reg = \ 667 _tmp | (plgpio->csave_regs[i].__reg & _mask); \
|
/linux-6.3-rc2/drivers/net/ethernet/sun/ |
A D | sunhme.c | 211 #define hme_write32(__hp, __reg, __val) \ argument 212 ((__hp)->write32((__reg), (__val))) 213 #define hme_read32(__hp, __reg) \ argument 214 ((__hp)->read32(__reg)) 224 #define hme_write32(__hp, __reg, __val) \ argument 225 sbus_writel((__val), (__reg)) 226 #define hme_read32(__hp, __reg) \ argument 227 sbus_readl(__reg) 242 writel((__val), (__reg)) 243 #define hme_read32(__hp, __reg) \ argument [all …]
|
/linux-6.3-rc2/drivers/thermal/mediatek/ |
A D | lvts_thermal.c | 137 #define LVTS_DEBUG_FS_REGS(__reg) \ argument 139 .name = __stringify(__reg), \ 140 .offset = __reg(0), \
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | adt7411.c | 199 #define ADT7411_BIT_ATTR(__name, __reg, __bit) \ argument 201 adt7411_set_bit, __bit, __reg)
|