Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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 …]
Dgeneric-radix-tree.h233 #define genradix_prealloc(_radix, _nr, _gfp) \ argument
235 __genradix_idx_to_offset(_radix, _nr + 1),\
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/mfd/
Dlm3533-core.c326 #define LM3533_OUTPUT_HVLED_ATTR_RW(_nr) \ argument
327 LM3533_OUTPUT_ATTR_RW(hvled##_nr, LM3533_ATTR_TYPE_BACKLIGHT, _nr)
328 #define LM3533_OUTPUT_LVLED_ATTR_RW(_nr) \ argument
329 LM3533_OUTPUT_ATTR_RW(lvled##_nr, LM3533_ATTR_TYPE_LED, _nr)
/linux-6.6.21/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.6.21/drivers/ptp/
Dptp_ocp.c3295 #define _DEVICE_SIGNAL_GROUP_ATTRS(_nr) \ argument
3296 static struct attribute *fb_timecard_signal##_nr##_attrs[] = { \
3297 &dev_attr_signal##_nr##_signal.attr.attr, \
3298 &dev_attr_signal##_nr##_duty.attr.attr, \
3299 &dev_attr_signal##_nr##_phase.attr.attr, \
3300 &dev_attr_signal##_nr##_period.attr.attr, \
3301 &dev_attr_signal##_nr##_polarity.attr.attr, \
3302 &dev_attr_signal##_nr##_running.attr.attr, \
3303 &dev_attr_signal##_nr##_start.attr.attr, \
3307 #define DEVICE_SIGNAL_GROUP(_name, _nr) \ argument
[all …]
/linux-6.6.21/drivers/clk/rockchip/
Dclk.h304 #define RK3066_PLL_RATE(_rate, _nr, _nf, _no) \ argument
307 .nr = _nr, \
313 #define RK3066_PLL_RATE_NB(_rate, _nr, _nf, _no, _nb) \ argument
316 .nr = _nr, \
/linux-6.6.21/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1741 # define SYSCALL_NUM_SET(_regs, _nr) \ argument
1742 EXPECT_EQ(0, ptrace(PTRACE_SET_SYSCALL, tracee, NULL, _nr))
1750 # define SYSCALL_NUM_SET(_regs, _nr) \ argument
1753 typeof(_nr) __nr = (_nr); \
1821 typeof((_regs).regs[2]) _nr; \
1823 _nr = (_regs).regs[4]; \
1825 _nr = (_regs).regs[2]; \
1826 _nr; \
1828 # define SYSCALL_NUM_SET(_regs, _nr) \ argument
1831 (_regs).regs[4] = _nr; \
[all …]
/linux-6.6.21/drivers/hwmon/
Dnct6683.c382 _nr, _index) \ argument
385 .u.s.nr = _nr, \
394 _nr, _index) \ argument
397 _nr, _index)
Dnct6775-core.c1054 _nr, _index) \ argument
1057 .u.s.nr = _nr, \
1066 _nr, _index) \ argument
1069 _nr, _index)
/linux-6.6.21/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.6.21/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.6.21/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.6.21/drivers/input/misc/
Dims-pcu.c1439 #define IMS_PCU_OFN_BIT_ATTR(_field, _addr, _nr) \ argument
1444 .nr = _nr, \
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c10970 #define MLXSW_SP_MP_HASH_FIELD_RANGE_SET(_fields, _field, _nr) \ argument
10971 bitmap_set(_fields, MLXSW_REG_RECR2_##_field, _nr)