Home
last modified time | relevance | path

Searched refs:_nr (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.12.1/arch/arm/mach-s3c/
Dgpio-samsung-s3c64xx.h67 #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-6.12.1/include/linux/
Dhwmon-sysfs.h54 #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 …]
Dmin_heap.h16 #define MIN_HEAP_PREALLOCATED(_type, _name, _nr) \ argument
21 _type preallocated[_nr]; \
Dgeneric-radix-tree.h396 #define genradix_prealloc(_radix, _nr, _gfp) \ argument
398 __genradix_idx_to_offset(_radix, _nr + 1),\
/linux-6.12.1/include/linux/soc/samsung/
Dexynos-regs-pmu.h135 #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-6.12.1/fs/bcachefs/
Dutil.h517 #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 …]
Dbset.h489 #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)
Ddarray.h13 #define DARRAY_PREALLOCATED(_type, _nr) \ argument
17 _type preallocated[_nr]; \
Deytzinger.h304 size_t _nr = (nr); \
309 while (_i < _nr && \
Dbtree_iter.h95 #define trans_for_each_path_idx_from(_paths_allocated, _nr, _idx, _start)\ argument
97 (_idx = find_next_bit(_paths_allocated, _nr, _idx)) < _nr; \
/linux-6.12.1/tools/include/uapi/asm-generic/
Dunistd.h20 #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-6.12.1/include/uapi/asm-generic/
Dunistd.h20 #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-6.12.1/tools/perf/tests/
Dfdarray.c114 #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-6.12.1/drivers/iio/light/
Dlm3533-als.c609 #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-6.12.1/drivers/mfd/
Dlm3533-core.c324 #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-6.12.1/arch/x86/include/asm/
Dpercpu.h590 #define x86_this_cpu_constant_test_bit(_nr, _var) \ argument
593 (unsigned long __percpu *)&(_var) + ((_nr) / BITS_PER_LONG); \
595 !!((1UL << ((_nr) % BITS_PER_LONG)) & raw_cpu_read(*addr__)); \
598 #define x86_this_cpu_variable_test_bit(_nr, _var) \ argument
606 [nr] "rI" (_nr)); \
610 #define x86_this_cpu_test_bit(_nr, _var) \ argument
611 (__builtin_constant_p(_nr) \
612 ? x86_this_cpu_constant_test_bit(_nr, _var) \
613 : x86_this_cpu_variable_test_bit(_nr, _var))
/linux-6.12.1/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c113 #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, \
/linux-6.12.1/drivers/ptp/
Dptp_ocp.c3648 #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-6.12.1/drivers/clk/rockchip/
Dclk.h357 #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-6.12.1/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1743 # 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-6.12.1/drivers/hwmon/
Dnct6683.c384 _nr, _index) \ argument
387 .u.s.nr = _nr, \
396 _nr, _index) \ argument
399 _nr, _index)
/linux-6.12.1/drivers/hwmon/occ/
Dcommon.c763 #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-6.12.1/drivers/scsi/bfa/
Dbfa_ioc.h127 #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-6.12.1/drivers/media/pci/ddbridge/
Dddbridge-core.c2467 #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-6.12.1/drivers/input/misc/
Dims-pcu.c1427 #define IMS_PCU_OFN_BIT_ATTR(_field, _addr, _nr) \ argument
1432 .nr = _nr, \

12