/linux/drivers/staging/iio/meter/ |
A D | meter.h | 93 #define IIO_DEV_ATTR_VOLT_A(_show, _addr) \ argument 96 #define IIO_DEV_ATTR_VOLT_B(_show, _addr) \ argument 99 #define IIO_DEV_ATTR_VOLT_C(_show, _addr) \ argument 102 #define IIO_DEV_ATTR_AENERGY(_show, _addr) \ argument 105 #define IIO_DEV_ATTR_LENERGY(_show, _addr) \ argument 156 #define IIO_DEV_ATTR_AVARHR(_show, _addr) \ argument 159 #define IIO_DEV_ATTR_BVARHR(_show, _addr) \ argument 162 #define IIO_DEV_ATTR_CVARHR(_show, _addr) \ argument 165 #define IIO_DEV_ATTR_AVAHR(_show, _addr) \ argument 168 #define IIO_DEV_ATTR_BVAHR(_show, _addr) \ argument [all …]
|
/linux/drivers/staging/iio/frequency/ |
A D | dds.h | 16 _mode, _show, _store, _addr) 31 _mode, _show, _store, _addr) 39 _mode, _show, _store, _addr) 54 _mode, _show, _store, _addr) 62 _mode, _show, _store, _addr) 70 _mode, _show, _store, _addr) 78 _mode, _show, _store, _addr) 86 _mode, _show, _store, _addr) 93 _mode, _show, _store, _addr) \ argument 95 _mode, _show, _store, _addr) [all …]
|
/linux/include/linux/iio/ |
A D | sysfs.h | 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 } 72 = IIO_ATTR(_name, _mode, _show, _store, _addr) 76 = IIO_ATTR_RO(_name, _addr) 80 = IIO_ATTR_WO(_name, _addr) [all …]
|
/linux/drivers/net/wireless/realtek/rtw89/ |
A D | rtw8852a_rfk_table.h | 30 #define DECL_RFK_WRF(_path, _addr, _mask, _data) \ argument 33 .addr = _addr, \ 37 #define DECL_RFK_WM(_addr, _mask, _data) \ argument 39 .addr = _addr, \ 43 #define DECL_RFK_WS(_addr, _mask) \ argument 45 .addr = _addr, \ 48 #define DECL_RFK_WC(_addr, _mask) \ argument 50 .addr = _addr, \
|
/linux/include/soc/fsl/qe/ |
A D | qe.h | 242 #define qe_setbits_be32(_addr, _v) iowrite32be(ioread32be(_addr) | (_v), (_addr)) argument 243 #define qe_clrbits_be32(_addr, _v) iowrite32be(ioread32be(_addr) & ~(_v), (_addr)) argument 245 #define qe_setbits_be16(_addr, _v) iowrite16be(ioread16be(_addr) | (_v), (_addr)) argument 246 #define qe_clrbits_be16(_addr, _v) iowrite16be(ioread16be(_addr) & ~(_v), (_addr)) argument 248 #define qe_setbits_8(_addr, _v) iowrite8(ioread8(_addr) | (_v), (_addr)) argument 249 #define qe_clrbits_8(_addr, _v) iowrite8(ioread8(_addr) & ~(_v), (_addr)) argument
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
A D | memory.h | 76 u32 _addr = (a), _data = nvkm_ro32((o), _addr); \ 77 nvkm_wo32((o), _addr, (_data & ~(m)) | (d)); \ 88 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \ 90 *(_data++) = nvkm_ro32((o), _addr); \ 91 _addr += 4; \ 96 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \ 98 nvkm_wo32((o), _addr, *(_data++)); \ 99 _addr += 4; \
|
A D | device.h | 113 u32 _addr = (a), _temp = nvkm_rd32(_device, _addr); \ 114 nvkm_wr32(_device, _addr, (_temp & ~(m)) | (v)); \
|
/linux/arch/x86/kernel/ |
A D | idt.c | 19 #define G(_vector, _addr, _ist, _type, _dpl, _segment) \ argument 26 .addr = _addr, \ 31 #define INTG(_vector, _addr) \ argument 32 G(_vector, _addr, DEFAULT_STACK, GATE_INTERRUPT, DPL0, __KERNEL_CS) 35 #define SYSG(_vector, _addr) \ argument 36 G(_vector, _addr, DEFAULT_STACK, GATE_INTERRUPT, DPL3, __KERNEL_CS) 43 #define ISTG(_vector, _addr, _ist) \ argument 44 G(_vector, _addr, _ist + 1, GATE_INTERRUPT, DPL0, __KERNEL_CS) 46 #define ISTG(_vector, _addr, _ist) INTG(_vector, _addr) argument
|
/linux/net/ipv6/netfilter/ |
A D | ip6t_rt.c | 40 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/arch/m68k/include/asm/ |
A D | raw_io.h | 83 ({u8 __maybe_unused __w, __v = (b); u32 _addr = ((u32) (addr)); \ 84 __w = ((*(__force volatile u8 *) ((_addr | 0x10000) + (__v<<1)))); }) 86 ({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 ({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/arch/powerpc/include/asm/ |
A D | io.h | 971 #define setbits32(_addr, _v) out_be32((_addr), in_be32(_addr) | (_v)) argument 972 #define clrbits32(_addr, _v) out_be32((_addr), in_be32(_addr) & ~(_v)) argument 974 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v)) argument 975 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v)) argument 977 #define setbits8(_addr, _v) out_8((_addr), in_8(_addr) | (_v)) argument 978 #define clrbits8(_addr, _v) out_8((_addr), in_8(_addr) & ~(_v)) argument
|
/linux/drivers/iio/adc/ |
A D | ltc2497-core.c | 107 #define LTC2497_CHAN(_chan, _addr, _ds_name) { \ argument 111 .address = (_addr | (_chan / 2) | ((_chan & 1) ? LTC2497_SIGN : 0)), \ 117 #define LTC2497_CHAN_DIFF(_chan, _addr) { \ argument 120 .channel = (_chan) * 2 + ((_addr) & LTC2497_SIGN ? 1 : 0), \ 121 .channel2 = (_chan) * 2 + ((_addr) & LTC2497_SIGN ? 0 : 1),\ 122 .address = (_addr | _chan), \
|
A D | ti-ads1015.c | 137 #define ADS1015_V_CHAN(_chan, _addr) { \ argument 140 .address = _addr, \ 145 .scan_index = _addr, \ 158 #define ADS1015_V_DIFF_CHAN(_chan, _chan2, _addr) { \ argument 162 .address = _addr, \ 168 .scan_index = _addr, \ 181 #define ADS1115_V_CHAN(_chan, _addr) { \ argument 184 .address = _addr, \ 189 .scan_index = _addr, \ 205 .address = _addr, \ [all …]
|
A D | xilinx-xadc-core.c | 1047 #define XADC_CHAN_TEMP(_chan, _scan_index, _addr, _bits) { \ argument 1051 .address = (_addr), \ 1072 .address = (_addr), \ 1080 .sign = ((_addr) == XADC_REG_VREFN) ? 's' : 'u', \ 1090 #define XADC_7S_CHAN_TEMP(_chan, _scan_index, _addr) \ argument 1091 XADC_CHAN_TEMP(_chan, _scan_index, _addr, 12) 1092 #define XADC_7S_CHAN_VOLTAGE(_chan, _scan_index, _addr, _ext, _alarm) \ argument 1093 XADC_CHAN_VOLTAGE(_chan, _scan_index, _addr, 12, _ext, _alarm) 1125 #define XADC_US_CHAN_TEMP(_chan, _scan_index, _addr) \ argument 1126 XADC_CHAN_TEMP(_chan, _scan_index, _addr, 10) [all …]
|
/linux/arch/ia64/include/asm/ |
A D | cacheflush.h | 27 unsigned long _addr = (unsigned long) page_address(page) + ((user_addr) & ~PAGE_MASK); \ 28 flush_icache_range(_addr, _addr + (len)); \
|
/linux/drivers/iio/pressure/ |
A D | zpa2326_i2c.c | 33 #define ZPA2326_SA0(_addr) (_addr & BIT(0)) in zpa2326_i2c_hwid() argument
|
/linux/arch/riscv/include/asm/ |
A D | page.h | 170 unsigned long _addr = (unsigned long)vaddr; \ 171 (unsigned long)(_addr) >= PAGE_OFFSET && pfn_valid(virt_to_pfn(_addr)); \
|
/linux/sound/soc/sh/rcar/ |
A D | debugfs.c | 41 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/drivers/gpu/drm/nouveau/include/nvif/ |
A D | object.h | 67 u32 _addr = (b), _data = nvif_rd32(__object, _addr); \ 68 nvif_wr32(__object, _addr, (_data & ~(c)) | (d)); \
|
/linux/drivers/net/ethernet/brocade/bna/ |
A D | bna.h | 29 #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/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | vmm.h | 290 u64 _addr = ((BASE) + MAP->off); \ 302 FILL(VMM, PT, PTEI, _ptes, MAP, _addr); \ 340 const u64 _addr = (m)->addr + _pteo; \ 341 VMM_SPAM((v), " %010llx %016llx%016llx"f, _addr, (hi), (lo), ##a); \
|
/linux/include/uapi/asm-generic/ |
A D | siginfo.h | 70 void __user *_addr; /* faulting insn/memory ref. */ member 159 #define si_addr _sifields._sigfault._addr
|
/linux/drivers/iio/light/ |
A D | cm3323.c | 52 #define CM3323_COLOR_CHANNEL(_color, _addr) { \ argument 58 .address = _addr, \
|
/linux/arch/arm/lib/ |
A D | uaccess_with_memcpy.c | 23 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()
|
/linux/drivers/iio/chemical/ |
A D | pms7003.c | 172 #define PMS7003_CHAN(_index, _mod, _addr) { \ argument 176 .address = _addr, \
|