Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/staging/iio/frequency/
Ddds.h14 #define IIO_DEV_ATTR_FREQ(_channel, _num, _mode, _show, _store, _addr) \ argument
16 _mode, _show, _store, _addr)
29 #define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \ argument
31 _mode, _show, _store, _addr)
37 #define IIO_DEV_ATTR_PHASE(_channel, _num, _mode, _show, _store, _addr) \ argument
39 _mode, _show, _store, _addr)
52 #define IIO_DEV_ATTR_PHASESYMBOL(_channel, _mode, _show, _store, _addr) \ argument
54 _mode, _show, _store, _addr)
60 #define IIO_DEV_ATTR_PINCONTROL_EN(_channel, _mode, _show, _store, _addr)\ argument
62 _mode, _show, _store, _addr)
[all …]
/linux-6.6.21/include/linux/iio/
Dsysfs.h54 #define IIO_ATTR(_name, _mode, _show, _store, _addr) \ argument
56 .address = _addr }
58 #define IIO_ATTR_RO(_name, _addr) \ argument
60 .address = _addr }
62 #define IIO_ATTR_WO(_name, _addr) \ argument
64 .address = _addr }
66 #define IIO_ATTR_RW(_name, _addr) \ argument
68 .address = _addr }
70 #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ argument
72 = IIO_ATTR(_name, _mode, _show, _store, _addr)
[all …]
/linux-6.6.21/arch/riscv/include/asm/
Dprocessor.h23 typeof(addr) _addr = (addr); \
24 if ((_addr) == 0 || (IS_ENABLED(CONFIG_COMPAT) && is_compat_task())) \
26 else if ((_addr) >= VA_USER_SV57) \
28 else if ((((_addr) >= VA_USER_SV48)) && (VA_BITS >= VA_BITS_SV48)) \
38 typeof(addr) _addr = (addr); \
41 if ((_addr) == 0 || (IS_ENABLED(CONFIG_COMPAT) && is_compat_task())) \
43 else if (((_addr) >= VA_USER_SV57) && (VA_BITS >= VA_BITS_SV57)) \
45 else if ((((_addr) >= VA_USER_SV48)) && (VA_BITS >= VA_BITS_SV48)) \
Dpage.h194 unsigned long _addr = (unsigned long)vaddr; \
195 (unsigned long)(_addr) >= PAGE_OFFSET && pfn_valid(virt_to_pfn(_addr)); \
/linux-6.6.21/include/soc/fsl/qe/
Dqe.h243 #define qe_setbits_be32(_addr, _v) iowrite32be(ioread32be(_addr) | (_v), (_addr)) argument
244 #define qe_clrbits_be32(_addr, _v) iowrite32be(ioread32be(_addr) & ~(_v), (_addr)) argument
246 #define qe_setbits_be16(_addr, _v) iowrite16be(ioread16be(_addr) | (_v), (_addr)) argument
247 #define qe_clrbits_be16(_addr, _v) iowrite16be(ioread16be(_addr) & ~(_v), (_addr)) argument
249 #define qe_setbits_8(_addr, _v) iowrite8(ioread8(_addr) | (_v), (_addr)) argument
250 #define qe_clrbits_8(_addr, _v) iowrite8(ioread8(_addr) & ~(_v), (_addr)) argument
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmemory.h78 u32 _addr = (a), _data = nvkm_ro32((o), _addr); \
79 nvkm_wo32((o), _addr, (_data & ~(m)) | (d)); \
90 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
92 *(_data++) = nvkm_ro32((o), _addr); \
93 _addr += 4; \
98 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
100 nvkm_wo32((o), _addr, *(_data++)); \
101 _addr += 4; \
Ddevice.h122 u32 _addr = (a), _temp = nvkm_rd32(_device, _addr); \
123 nvkm_wr32(_device, _addr, (_temp & ~(m)) | (v)); \
/linux-6.6.21/arch/x86/kernel/
Didt.c20 #define G(_vector, _addr, _ist, _type, _dpl, _segment) \ argument
27 .addr = _addr, \
32 #define INTG(_vector, _addr) \ argument
33 G(_vector, _addr, DEFAULT_STACK, GATE_INTERRUPT, DPL0, __KERNEL_CS)
36 #define SYSG(_vector, _addr) \ argument
37 G(_vector, _addr, DEFAULT_STACK, GATE_INTERRUPT, DPL3, __KERNEL_CS)
44 #define ISTG(_vector, _addr, _ist) \ argument
45 G(_vector, _addr, _ist + 1, GATE_INTERRUPT, DPL0, __KERNEL_CS)
47 #define ISTG(_vector, _addr, _ist) INTG(_vector, _addr) argument
/linux-6.6.21/net/ipv6/netfilter/
Dip6t_rt.c40 struct in6_addr _addr; in rt_mt6() local
103 + temp * sizeof(_addr), in rt_mt6()
104 sizeof(_addr), in rt_mt6()
105 &_addr); in rt_mt6()
130 + temp * sizeof(_addr), in rt_mt6()
131 sizeof(_addr), in rt_mt6()
132 &_addr); in rt_mt6()
/linux-6.6.21/arch/m68k/include/asm/
Draw_io.h83 (void)({u8 __maybe_unused __w, __v = (b); u32 _addr = ((u32) (addr)); \
84 __w = ((*(__force volatile u8 *) ((_addr | 0x10000) + (__v<<1)))); })
86 (void)({u16 __maybe_unused __w, __v = (w); u32 _addr = ((u32) (addr)); \
87 __w = ((*(__force volatile u16 *) ((_addr & 0xFFFF0000UL) + ((__v & 0xFF)<<1)))); \
88 __w = ((*(__force volatile u16 *) ((_addr | 0x10000) + ((__v >> 8)<<1)))); })
90 (void)({u16 __maybe_unused __w, __v = (w); u32 _addr = ((u32) (addr)); \
91 __w = ((*(__force volatile u16 *) ((_addr & 0xFFFF0000UL) + ((__v >> 8)<<1)))); \
92 __w = ((*(__force volatile u16 *) ((_addr | 0x10000) + ((__v & 0xFF)<<1)))); })
/linux-6.6.21/arch/ia64/include/asm/
Dcacheflush.h33 unsigned long _addr = (unsigned long) page_address(page) + ((user_addr) & ~PAGE_MASK); \
34 flush_icache_range(_addr, _addr + (len)); \
/linux-6.6.21/drivers/iio/adc/
Dltc2497-core.c108 #define LTC2497_CHAN(_chan, _addr, _ds_name) { \ argument
112 .address = (_addr | (_chan / 2) | ((_chan & 1) ? LTC2497_SIGN : 0)), \
118 #define LTC2497_CHAN_DIFF(_chan, _addr) { \ argument
121 .channel = (_chan) * 2 + ((_addr) & LTC2497_SIGN ? 1 : 0), \
122 .channel2 = (_chan) * 2 + ((_addr) & LTC2497_SIGN ? 0 : 1),\
123 .address = (_addr | _chan), \
Dxilinx-ams.c225 #define AMS_CHAN_TEMP(_scan_index, _addr) { \ argument
228 .address = (_addr), \
237 #define AMS_CHAN_VOLTAGE(_scan_index, _addr, _alarm) { \ argument
240 .address = (_addr), \
248 #define AMS_PS_CHAN_TEMP(_scan_index, _addr) \ argument
249 AMS_CHAN_TEMP(PS_SEQ(_scan_index), _addr)
250 #define AMS_PS_CHAN_VOLTAGE(_scan_index, _addr) \ argument
251 AMS_CHAN_VOLTAGE(PS_SEQ(_scan_index), _addr, true)
253 #define AMS_PL_CHAN_TEMP(_scan_index, _addr) \ argument
254 AMS_CHAN_TEMP(PL_SEQ(_scan_index), _addr)
[all …]
Dxilinx-xadc-core.c1057 #define XADC_CHAN_TEMP(_chan, _scan_index, _addr, _bits) { \ argument
1061 .address = (_addr), \
1078 #define XADC_CHAN_VOLTAGE(_chan, _scan_index, _addr, _bits, _ext, _alarm) { \ argument
1082 .address = (_addr), \
1090 .sign = ((_addr) == XADC_REG_VREFN) ? 's' : 'u', \
1100 #define XADC_7S_CHAN_TEMP(_chan, _scan_index, _addr) \ argument
1101 XADC_CHAN_TEMP(_chan, _scan_index, _addr, 12)
1102 #define XADC_7S_CHAN_VOLTAGE(_chan, _scan_index, _addr, _ext, _alarm) \ argument
1103 XADC_CHAN_VOLTAGE(_chan, _scan_index, _addr, 12, _ext, _alarm)
1135 #define XADC_US_CHAN_TEMP(_chan, _scan_index, _addr) \ argument
[all …]
/linux-6.6.21/drivers/ufs/host/
Dufs-renesas.c60 #define PARAM_WRITE_800_80C_POLL(_addr, _data_800) \ argument
62 PARAM_WRITE_D0_D4(0x00000800, ((_data_800) << 16) | BIT(8) | (_addr)), \
73 #define PARAM_WRITE_804_80C_POLL(_addr, _data_804) \ argument
75 PARAM_WRITE_D0_D4(0x00000804, ((_data_804) << 16) | BIT(8) | (_addr)), \
120 #define PARAM_INDIRECT_WRITE(_gpio, _addr, _data_800) \ argument
122 PARAM_WRITE_800_80C_POLL(_addr, _data_800), \
126 #define PARAM_INDIRECT_POLL(_gpio, _addr, _expected, _mask) \ argument
128 PARAM_WRITE_800_80C_POLL(_addr, 0), \
/linux-6.6.21/arch/powerpc/include/asm/
Dpage.h241 unsigned long _addr = (unsigned long)vaddr; \
242 _addr >= PAGE_OFFSET && _addr < (unsigned long)high_memory && \
243 pfn_valid(virt_to_pfn((void *)_addr)); \
Dio.h1018 #define setbits32(_addr, _v) out_be32((_addr), in_be32(_addr) | (_v)) argument
1019 #define clrbits32(_addr, _v) out_be32((_addr), in_be32(_addr) & ~(_v)) argument
1021 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v)) argument
1022 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v)) argument
1024 #define setbits8(_addr, _v) out_8((_addr), in_8(_addr) | (_v)) argument
1025 #define clrbits8(_addr, _v) out_8((_addr), in_8(_addr) & ~(_v)) argument
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dphy.h553 #define RTW89_DECL_RFK_WRF(_path, _addr, _mask, _data) \ argument
556 .addr = _addr, \
560 #define RTW89_DECL_RFK_WM(_addr, _mask, _data) \ argument
562 .addr = _addr, \
566 #define RTW89_DECL_RFK_WS(_addr, _mask) \ argument
568 .addr = _addr, \
571 #define RTW89_DECL_RFK_WC(_addr, _mask) \ argument
573 .addr = _addr, \
/linux-6.6.21/drivers/iio/pressure/
Dzpa2326_i2c.c33 #define ZPA2326_SA0(_addr) (_addr & BIT(0)) in zpa2326_i2c_hwid() argument
/linux-6.6.21/sound/soc/sh/rcar/
Ddebugfs.c41 void rsnd_debugfs_reg_show(struct seq_file *m, phys_addr_t _addr, in rsnd_debugfs_reg_show() argument
47 phys_addr_t addr = _addr + offset + i; in rsnd_debugfs_reg_show()
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvif/
Dobject.h73 u32 _addr = (b), _data = nvif_rd32(__object, _addr); \
74 nvif_wr32(__object, _addr, (_data & ~(c)) | (d)); \
/linux-6.6.21/drivers/net/ethernet/brocade/bna/
Dbna.h29 #define BNA_SET_DMA_ADDR(_addr, _bna_dma_addr) \ argument
32 cpu_to_be64((u64)(_addr)); \
41 #define BNA_GET_DMA_ADDR(_bna_dma_addr, _addr) \ argument
43 (_addr) = ((((u64)ntohl((_bna_dma_addr)->msb))) << 32) \
/linux-6.6.21/include/uapi/asm-generic/
Dsiginfo.h70 void __user *_addr; /* faulting insn/memory ref. */ member
160 #define si_addr _sifields._sigfault._addr
/linux-6.6.21/drivers/iio/light/
Dcm3323.c52 #define CM3323_COLOR_CHANNEL(_color, _addr) { \ argument
58 .address = _addr, \
/linux-6.6.21/arch/arm/lib/
Duaccess_with_memcpy.c23 pin_page_for_write(const void __user *_addr, pte_t **ptep, spinlock_t **ptlp) in pin_page_for_write() argument
25 unsigned long addr = (unsigned long)_addr; in pin_page_for_write()

123