/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 #define S3C64XX_GPF(_nr) (S3C64XX_GPIO_F_START + (_nr)) argument 73 #define S3C64XX_GPG(_nr) (S3C64XX_GPIO_G_START + (_nr)) argument 74 #define S3C64XX_GPH(_nr) (S3C64XX_GPIO_H_START + (_nr)) argument 75 #define S3C64XX_GPI(_nr) (S3C64XX_GPIO_I_START + (_nr)) argument 76 #define S3C64XX_GPJ(_nr) (S3C64XX_GPIO_J_START + (_nr)) 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, _index) [all …]
|
H A D | generic-radix-tree.h | 396 #define genradix_prealloc(_radix, _nr, _gfp) \ argument 398 __genradix_idx_to_offset(_radix, _nr + 1),\
|
H A D | min_heap.h | 16 #define MIN_HEAP_PREALLOCATED(_type, _name, _nr) \ argument 21 _type preallocated[_nr]; \
|
/linux/include/linux/soc/samsung/ |
H A D | exynos-regs-pmu.h | 135 #define EXYNOS_ARM_CORE_CONFIGURATION(_nr) \ argument 136 (EXYNOS_ARM_CORE0_CONFIGURATION + (0x80 * (_nr))) 137 #define EXYNOS_ARM_CORE_STATUS(_nr) \ argument 138 (EXYNOS_ARM_CORE_CONFIGURATION(_nr) + 0x4) 139 #define EXYNOS_ARM_CORE_OPTION(_nr) \ argument 140 (EXYNOS_ARM_CORE_CONFIGURATION(_nr) + 0x8) 143 #define EXYNOS_COMMON_CONFIGURATION(_nr) \ argument 144 (EXYNOS_ARM_COMMON_CONFIGURATION + (0x80 * (_nr))) 145 #define EXYNOS_COMMON_STATUS(_nr) \ argument 146 (EXYNOS_COMMON_CONFIGURATION(_nr) + 0x4) [all …]
|
/linux/fs/bcachefs/ |
H A D | util.h | 517 #define __array_insert_item(_array, _nr, _pos) \ argument 520 sizeof((_array)[0]) * ((_nr) - (_pos))) 522 #define array_insert_item(_array, _nr, _pos, _new_item) \ argument 524 __array_insert_item(_array, _nr, _pos); \ 525 (_nr)++; \ 529 #define array_remove_items(_array, _nr, _pos, _nr_to_remove) \ argument 531 (_nr) -= (_nr_to_remove); \ 534 sizeof((_array)[0]) * ((_nr) - (_pos))); \ 537 #define array_remove_item(_array, _nr, _pos) \ argument 538 array_remove_items(_array, _nr, _pos, 1) [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 | 13 #define DARRAY_PREALLOCATED(_type, _nr) \ argument 17 _type preallocated[_nr]; \
|
H A D | eytzinger.h | 304 size_t _nr = (nr); \ 309 while (_i < _nr && \
|
H A D | btree_iter.h | 95 #define trans_for_each_path_idx_from(_paths_allocated, _nr, _idx, _start)\ argument 97 (_idx = find_next_bit(_paths_allocated, _nr, _idx)) < _nr; \
|
/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, _sys) argument 30 #define __SC_COMP_3264(_nr, _32, _64, _comp) __SC_3264(_nr, _32, _64) argument
|
/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/mfd/ |
H A D | lm3533-core.c | 324 #define LM3533_OUTPUT_HVLED_ATTR_RW(_nr) \ argument 325 LM3533_OUTPUT_ATTR_RW(hvled##_nr, LM3533_ATTR_TYPE_BACKLIGHT, _nr) 326 #define LM3533_OUTPUT_LVLED_ATTR_RW(_nr) \ argument 327 LM3533_OUTPUT_ATTR_RW(lvled##_nr, LM3533_ATTR_TYPE_LED, _nr)
|
/linux/drivers/ptp/ |
H A D | ptp_ocp.c | 3648 #define _DEVICE_SIGNAL_GROUP_ATTRS(_nr) \ argument 3649 static struct attribute *fb_timecard_signal##_nr##_attrs[] = { \ 3650 &dev_attr_signal##_nr##_signal.attr.attr, \ 3651 &dev_attr_signal##_nr##_duty.attr.attr, \ 3652 &dev_attr_signal##_nr##_phase.attr.attr, \ 3653 &dev_attr_signal##_nr##_period.attr.attr, \ 3654 &dev_attr_signal##_nr##_polarity.attr.attr, \ 3655 &dev_attr_signal##_nr##_running.attr.attr, \ 3656 &dev_attr_signal##_nr##_start.attr.attr, \ 3660 #define DEVICE_SIGNAL_GROUP(_name, _nr) \ argument [all …]
|
/linux/drivers/clk/rockchip/ |
H A D | clk.h | 357 #define RK3066_PLL_RATE(_rate, _nr, _nf, _no) \ argument 360 .nr = _nr, \ 366 #define RK3066_PLL_RATE_NB(_rate, _nr, _nf, _no, _nb) \ argument 369 .nr = _nr, \
|
/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 1743 # define SYSCALL_NUM_SET(_regs, _nr) \ argument 1744 EXPECT_EQ(0, ptrace(PTRACE_SET_SYSCALL, tracee, NULL, _nr)) 1752 # define SYSCALL_NUM_SET(_regs, _nr) \ argument 1755 typeof(_nr) __nr = (_nr); \ 1823 typeof((_regs).regs[2]) _nr; \ 1825 _nr = (_regs).regs[4]; \ 1827 _nr = (_regs).regs[2]; \ 1828 _nr; \ 1830 # define SYSCALL_NUM_SET(_regs, _nr) \ argument 1833 (_regs).regs[4] = _nr; \ [all …]
|
/linux/drivers/hwmon/ |
H A D | nct6683.c | 384 _nr, _index) \ argument 387 .u.s.nr = _nr, \ 396 _nr, _index) \ argument 399 _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/hwmon/occ/ |
H A D | common.c | 763 #define SENSOR_ATTR_OCC(_name, _mode, _show, _store, _nr, _index) { \ argument 766 .nr = _nr, \ 769 #define OCC_INIT_ATTR(_name, _mode, _show, _store, _nr, _index) \ argument 771 SENSOR_ATTR_OCC(_name, _mode, _show, _store, _nr, _index))
|
/linux/Documentation/core-api/ |
H A D | min_heap.rst | 46 #define MIN_HEAP_PREALLOCATED(_type, _name, _nr) 51 _type preallocated[_nr]; /* Static preallocated array */
|
/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/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/input/misc/ |
H A D | ims-pcu.c | 1427 #define IMS_PCU_OFN_BIT_ATTR(_field, _addr, _nr) \ argument 1432 .nr = _nr, \
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 11234 #define MLXSW_SP_MP_HASH_FIELD_RANGE_SET(_fields, _field, _nr) \ argument 11235 bitmap_set(_fields, MLXSW_REG_RECR2_##_field, _nr)
|