/linux/arch/arm/mach-s3c/ |
H A D | gpio-samsung-s3c64xx.h | 67 #define S3C64XX_GPA(_nr) (S3C64XX_GPIO_A_START + (_nr)) argument 68 #define S3C64XX_GPB(_nr) (S3C64XX_GPIO_B_START + (_nr)) argument 69 #define S3C64XX_GPC(_nr) (S3C64XX_GPIO_C_START + (_nr)) argument 70 #define S3C64XX_GPD(_nr) (S3C64XX_GPIO_D_START + (_nr)) argument 71 #define S3C64XX_GPE(_nr) (S3C64XX_GPIO_E_START + (_nr)) argument 72 S3C64XX_GPF(_nr) global() argument 73 S3C64XX_GPG(_nr) global() argument 74 S3C64XX_GPH(_nr) global() argument 75 S3C64XX_GPI(_nr) global() argument 76 S3C64XX_GPJ(_nr) global() argument 77 S3C64XX_GPK(_nr) global() argument 78 S3C64XX_GPL(_nr) global() argument 79 S3C64XX_GPM(_nr) global() argument 80 S3C64XX_GPN(_nr) global() argument 81 S3C64XX_GPO(_nr) global() argument 82 S3C64XX_GPP(_nr) global() argument 83 S3C64XX_GPQ(_nr) global() argument [all...] |
/linux/include/linux/ |
H A D | hwmon-sysfs.h | 54 #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ argument 57 .nr = _nr } 59 #define SENSOR_ATTR_2_RO(_name, _func, _nr, _index) \ argument 60 SENSOR_ATTR_2(_name, 0444, _func##_show, NULL, _nr, _index) 62 #define SENSOR_ATTR_2_RW(_name, _func, _nr, _index) \ argument 63 SENSOR_ATTR_2(_name, 0644, _func##_show, _func##_store, _nr, _index) 65 #define SENSOR_ATTR_2_WO(_name, _func, _nr, _index) \ argument 66 SENSOR_ATTR_2(_name, 0200, NULL, _func##_store, _nr, _index) 68 #define SENSOR_DEVICE_ATTR_2(_name,_mode,_show,_store,_nr,_index) \ argument 70 = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _inde 72 SENSOR_DEVICE_ATTR_2_RO(_name,_func,_nr,_index) global() argument 76 SENSOR_DEVICE_ATTR_2_RW(_name,_func,_nr,_index) global() argument 80 SENSOR_DEVICE_ATTR_2_WO(_name,_func,_nr,_index) global() argument [all...] |
H A D | generic-radix-tree.h | 391 * @_nr: number of entries to preallocate 396 #define genradix_prealloc(_radix, _nr, _gfp) \ argument 398 __genradix_idx_to_offset(_radix, _nr + 1),\
|
H A D | min_heap.h | 27 #define MIN_HEAP_PREALLOCATED(_type, _name, _nr) \ argument 32 _type preallocated[_nr]; \
|
/linux/include/linux/soc/samsung/ |
H A D | exynos-regs-pmu.h | 137 #define EXYNOS_ARM_CORE_CONFIGURATION(_nr) \ argument 138 (EXYNOS_ARM_CORE0_CONFIGURATION + (0x80 * (_nr))) 139 #define EXYNOS_ARM_CORE_STATUS(_nr) \ argument 140 (EXYNOS_ARM_CORE_CONFIGURATION(_nr) + 0x4) 141 #define EXYNOS_ARM_CORE_OPTION(_nr) \ argument 142 (EXYNOS_ARM_CORE_CONFIGURATION(_nr) + 0x8) 145 #define EXYNOS_COMMON_CONFIGURATION(_nr) \ argument 146 (EXYNOS_ARM_COMMON_CONFIGURATION + (0x80 * (_nr))) 147 #define EXYNOS_COMMON_STATUS(_nr) \ argument 148 (EXYNOS_COMMON_CONFIGURATION(_nr) 149 EXYNOS_COMMON_OPTION(_nr) global() argument 153 EXYNOS_L2_CONFIGURATION(_nr) global() argument 155 EXYNOS_L2_STATUS(_nr) global() argument 157 EXYNOS_L2_OPTION(_nr) global() argument 334 EXYNOS3_ARM_CORE_OPTION(_nr) global() argument 511 EXYNOS5420_KFC_CORE_RESET(_nr) global() argument [all...] |
/linux/fs/bcachefs/ |
H A D | util.h | 556 /* just the memmove, doesn't update @_nr */ 557 #define __array_insert_item(_array, _nr, _pos) \ argument 560 sizeof((_array)[0]) * ((_nr) - (_pos))) 562 #define array_insert_item(_array, _nr, _pos, _new_item) \ argument 564 __array_insert_item(_array, _nr, _pos); \ 565 (_nr)++; \ 569 #define array_remove_items(_array, _nr, _pos, _nr_to_remove) \ argument 571 (_nr) -= (_nr_to_remove); \ 574 sizeof((_array)[0]) * ((_nr) - (_pos))); \ 577 #define array_remove_item(_array, _nr, _po argument 612 bubble_sort(_base,_nr,_cmp) global() argument [all...] |
H A D | bset.h | 489 #define btree_keys_account_key_add(_nr, _bset_idx, _k) \ argument 490 btree_keys_account_key(_nr, _bset_idx, _k, 1) 491 #define btree_keys_account_key_drop(_nr, _bset_idx, _k) \ argument 492 btree_keys_account_key(_nr, _bset_idx, _k, -1)
|
H A D | darray.h | 14 #define DARRAY_PREALLOCATED(_type, _nr) \ argument 18 _type preallocated[_nr]; \
|
H A D | eytzinger.h | 286 size_t _nr = (nr); \ 290 while (_i <= _nr && \
|
H A D | disk_accounting.h | 98 #define bch2_disk_accounting_mod2_nr(_trans, _gc, _v, _nr, ...) \ argument 102 bch2_disk_accounting_mod(trans, &pos, _v, _nr, _gc); \
|
/linux/tools/include/uapi/asm-generic/ |
H A D | unistd.h | 20 #define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _32) argument 22 #define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _64) argument 26 #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _comp) argument 27 #define __SC_COMP_3264(_nr, _32, _64, _comp) __SYSCALL(_nr, _comp) argument 29 #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sy argument 30 __SC_COMP_3264(_nr,_32,_64,_comp) global() argument [all...] |
/linux/include/uapi/asm-generic/ |
H A D | unistd.h | 20 #define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _32) argument 22 #define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _64) argument 26 #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _comp) argument 27 #define __SC_COMP_3264(_nr, _32, _64, _comp) __SYSCALL(_nr, _comp) argument 29 #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sy argument 30 __SC_COMP_3264(_nr,_32,_64,_comp) global() argument [all...] |
/linux/tools/perf/tests/ |
H A D | fdarray.c | 114 #define FDA_ADD(_idx, _fd, _revents, _nr) \ in test__fdarray__add() argument 120 if (fda->nr != _nr) { \ in test__fdarray__add() 122 __LINE__,_fd, _revents, fda->nr, _nr); \ in test__fdarray__add()
|
/linux/drivers/iio/light/ |
H A D | lm3533-als.c | 609 #define ALS_THRESH_FALLING_ATTR_RW(_nr) \ argument 610 LM3533_ALS_ATTR(in_illuminance0_thresh##_nr##_falling_value, \ 613 LM3533_ATTR_TYPE_THRESH_FALLING, _nr, 0) 615 #define ALS_THRESH_RAISING_ATTR_RW(_nr) \ argument 616 LM3533_ALS_ATTR(in_illuminance0_thresh##_nr##_raising_value, \ 619 LM3533_ATTR_TYPE_THRESH_RAISING, _nr, 0) 636 #define ALS_HYSTERESIS_ATTR_RO(_nr) \ argument 637 LM3533_ALS_ATTR(in_illuminance0_thresh##_nr##_hysteresis, \ 639 LM3533_ATTR_TYPE_HYSTERESIS, _nr, 0)
|
/linux/arch/x86/include/asm/ |
H A D | percpu.h | 575 #define x86_this_cpu_constant_test_bit(_nr, _var) \ argument 578 (unsigned long __percpu *)&(_var) + ((_nr) / BITS_PER_LONG); \ 580 !!((1UL << ((_nr) % BITS_PER_LONG)) & raw_cpu_read(*addr__)); \ 583 #define x86_this_cpu_variable_test_bit(_nr, _var) \ argument 591 [nr] "rI" (_nr)); \ 595 #define x86_this_cpu_test_bit(_nr, _var) \ argument 596 (__builtin_constant_p(_nr) \ 597 ? x86_this_cpu_constant_test_bit(_nr, _var) \ 598 : x86_this_cpu_variable_test_bit(_nr, _var))
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-37xx.c | 113 #define PIN_GRP_GPIO_0(_name, _start, _nr) \ argument 117 .npins = _nr, \ 123 #define PIN_GRP_GPIO(_name, _start, _nr, _mask, _func1) \ argument 127 .npins = _nr, \ 133 #define PIN_GRP_GPIO_2(_name, _start, _nr, _mask, _val1, _val2, _func1) \ argument 137 .npins = _nr, \ 143 #define PIN_GRP_GPIO_3(_name, _start, _nr, _mask, _v1, _v2, _v3, _f1, _f2) \ argument 147 .npins = _nr, \ 153 #define PIN_GRP_EXTRA(_name, _start, _nr, _mask, _v1, _v2, _start2, _nr2, \ argument 158 .npins = _nr, \ [all...] |
/linux/drivers/hwmon/ |
H A D | nct6683.c | 387 _nr, _index) \ argument 390 .u.s.nr = _nr, \ 399 _nr, _index) \ argument 402 _nr, _index)
|
H A D | nct6775-core.c | 1054 _nr, _index) \ argument 1057 .u.s.nr = _nr, \ 1066 _nr, _index) \ argument 1069 _nr, _index)
|
/linux/drivers/clk/rockchip/ |
H A D | clk.h | 420 #define RK3066_PLL_RATE(_rate, _nr, _nf, _no) \ argument 423 .nr = _nr, \ 429 #define RK3066_PLL_RATE_NB(_rate, _nr, _nf, _no, _nb) \ argument 432 .nr = _nr, \
|
/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 1748 # define SYSCALL_NUM_SET(_regs, _nr) \ argument 1749 EXPECT_EQ(0, ptrace(PTRACE_SET_SYSCALL, tracee, NULL, _nr)) 1757 # define SYSCALL_NUM_SET(_regs, _nr) \ argument 1760 typeof(_nr) __nr = (_nr); \ 1828 typeof((_regs).regs[2]) _nr; \ 1830 _nr = (_regs).regs[4]; \ 1832 _nr = (_regs).regs[2]; \ 1833 _nr; \ 1835 # define SYSCALL_NUM_SET(_regs, _nr) \ argument 1869 SYSCALL_NUM_SET(_regs,_nr) global() argument [all...] |
/linux/Documentation/core-api/ |
H A D | min_heap.rst | 48 #define MIN_HEAP_PREALLOCATED(_type, _name, _nr) 53 _type preallocated[_nr]; /* Static preallocated array */
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_ioc.h | 127 #define bfa_mem_dma_seg_iter(_mod, _sptr, _nr, _i) \ argument 128 for (_i = 0, _sptr = bfa_mem_dma_sptr(_mod, _i); _i < (_nr); \
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-th1520.c | 150 #define TH1520_PAD(_nr, _name, m0, m1, m2, m3, m4, m5, _flags) \ argument 151 { .number = _nr, .name = #_name, .drv_data = (void *)((_flags) | \
|
/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-core.c | 2467 #define IRQ_HANDLE(_nr) \ argument 2468 do { if ((s & (1UL << ((_nr) & 0x1f))) && \ 2469 dev->link[0].irq[_nr].handler) \ 2470 dev->link[0].irq[_nr].handler(dev->link[0].irq[_nr].data); } \
|
/linux/drivers/input/misc/ |
H A D | ims-pcu.c | 1433 #define IMS_PCU_OFN_BIT_ATTR(_field, _addr, _nr) \ argument 1438 .nr = _nr, \
|