Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
Dgpio-samsung-s3c24xx.h82 #define S3C2410_GPA(_nr) (S3C2410_GPIO_A_START + (_nr)) argument
83 #define S3C2410_GPB(_nr) (S3C2410_GPIO_B_START + (_nr)) argument
84 #define S3C2410_GPC(_nr) (S3C2410_GPIO_C_START + (_nr)) argument
85 #define S3C2410_GPD(_nr) (S3C2410_GPIO_D_START + (_nr)) argument
86 #define S3C2410_GPE(_nr) (S3C2410_GPIO_E_START + (_nr)) argument
87 #define S3C2410_GPF(_nr) (S3C2410_GPIO_F_START + (_nr)) argument
88 #define S3C2410_GPG(_nr) (S3C2410_GPIO_G_START + (_nr)) argument
89 #define S3C2410_GPH(_nr) (S3C2410_GPIO_H_START + (_nr)) argument
90 #define S3C2410_GPJ(_nr) (S3C2410_GPIO_J_START + (_nr)) argument
91 #define S3C2410_GPK(_nr) (S3C2410_GPIO_K_START + (_nr)) argument
[all …]
/linux-6.1.9/include/linux/
Dhwmon-sysfs.h53 #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ argument
56 .nr = _nr }
58 #define SENSOR_ATTR_2_RO(_name, _func, _nr, _index) \ argument
59 SENSOR_ATTR_2(_name, 0444, _func##_show, NULL, _nr, _index)
61 #define SENSOR_ATTR_2_RW(_name, _func, _nr, _index) \ argument
62 SENSOR_ATTR_2(_name, 0644, _func##_show, _func##_store, _nr, _index)
64 #define SENSOR_ATTR_2_WO(_name, _func, _nr, _index) \ argument
65 SENSOR_ATTR_2(_name, 0200, NULL, _func##_store, _nr, _index)
67 #define SENSOR_DEVICE_ATTR_2(_name,_mode,_show,_store,_nr,_index) \ argument
69 = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index)
[all …]
Dgeneric-radix-tree.h226 #define genradix_prealloc(_radix, _nr, _gfp) \ argument
228 __genradix_idx_to_offset(_radix, _nr + 1),\
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/gpu/drm/r128/
Dr128_drv.h488 int write, _nr; unsigned int tail_mask; volatile u32 *ring;
497 _nr = n; dev_priv->ring.space -= (n) * sizeof(u32); \
518 if (((dev_priv->ring.tail + _nr) & tail_mask) != write) \
521 ((dev_priv->ring.tail + _nr) & tail_mask), \
/linux-6.1.9/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c115 #define PIN_GRP_GPIO_0(_name, _start, _nr) \ argument
119 .npins = _nr, \
125 #define PIN_GRP_GPIO(_name, _start, _nr, _mask, _func1) \ argument
129 .npins = _nr, \
135 #define PIN_GRP_GPIO_2(_name, _start, _nr, _mask, _val1, _val2, _func1) \ argument
139 .npins = _nr, \
145 #define PIN_GRP_GPIO_3(_name, _start, _nr, _mask, _v1, _v2, _v3, _f1, _f2) \ argument
149 .npins = _nr, \
155 #define PIN_GRP_EXTRA(_name, _start, _nr, _mask, _v1, _v2, _start2, _nr2, \ argument
160 .npins = _nr, \
/linux-6.1.9/drivers/ptp/
Dptp_ocp.c2988 #define _DEVICE_SIGNAL_GROUP_ATTRS(_nr) \ argument
2989 static struct attribute *fb_timecard_signal##_nr##_attrs[] = { \
2990 &dev_attr_signal##_nr##_signal.attr.attr, \
2991 &dev_attr_signal##_nr##_duty.attr.attr, \
2992 &dev_attr_signal##_nr##_phase.attr.attr, \
2993 &dev_attr_signal##_nr##_period.attr.attr, \
2994 &dev_attr_signal##_nr##_polarity.attr.attr, \
2995 &dev_attr_signal##_nr##_running.attr.attr, \
2996 &dev_attr_signal##_nr##_start.attr.attr, \
3000 #define DEVICE_SIGNAL_GROUP(_name, _nr) \ argument
[all …]
/linux-6.1.9/drivers/clk/rockchip/
Dclk.h257 #define RK3066_PLL_RATE(_rate, _nr, _nf, _no) \ argument
260 .nr = _nr, \
266 #define RK3066_PLL_RATE_NB(_rate, _nr, _nf, _no, _nb) \ argument
269 .nr = _nr, \
/linux-6.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1735 # define SYSCALL_NUM_SET(_regs, _nr) \ argument
1736 EXPECT_EQ(0, ptrace(PTRACE_SET_SYSCALL, tracee, NULL, _nr))
1744 # define SYSCALL_NUM_SET(_regs, _nr) \ argument
1747 typeof(_nr) __nr = (_nr); \
1811 typeof((_regs).regs[2]) _nr; \
1813 _nr = (_regs).regs[4]; \
1815 _nr = (_regs).regs[2]; \
1816 _nr; \
1818 # define SYSCALL_NUM_SET(_regs, _nr) \ argument
1821 (_regs).regs[4] = _nr; \
[all …]
/linux-6.1.9/drivers/hwmon/
Dnct6683.c381 _nr, _index) \ argument
384 .u.s.nr = _nr, \
393 _nr, _index) \ argument
396 _nr, _index)
Dnct6775-core.c970 _nr, _index) \ argument
973 .u.s.nr = _nr, \
982 _nr, _index) \ argument
985 _nr, _index)
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/input/misc/
Dims-pcu.c1439 #define IMS_PCU_OFN_BIT_ATTR(_field, _addr, _nr) \ argument
1444 .nr = _nr, \
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c10062 #define MLXSW_SP_MP_HASH_FIELD_RANGE_SET(_fields, _field, _nr) \ argument
10063 bitmap_set(_fields, MLXSW_REG_RECR2_##_field, _nr)