Home
last modified time | relevance | path

Searched refs:_x (Results 1 – 25 of 68) sorted by relevance

123

/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_arm.h23 #define NFP_ARM_GCSR_BULK_BAR_TGT(_x) (((_x) & 0xf) << 27) argument
24 #define NFP_ARM_GCSR_BULK_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) argument
25 #define NFP_ARM_GCSR_BULK_BAR_TOK(_x) (((_x) & 0x3) << 25) argument
26 #define NFP_ARM_GCSR_BULK_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) argument
30 #define NFP_ARM_GCSR_BULK_BAR_ADDR(_x) ((_x) & 0x7ff) argument
31 #define NFP_ARM_GCSR_BULK_BAR_ADDR_of(_x) ((_x) & 0x7ff) argument
37 #define NFP_ARM_GCSR_EXPA_BAR_TGT(_x) (((_x) & 0xf) << 27) argument
38 #define NFP_ARM_GCSR_EXPA_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) argument
39 #define NFP_ARM_GCSR_EXPA_BAR_TOK(_x) (((_x) & 0x3) << 25) argument
40 #define NFP_ARM_GCSR_EXPA_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) argument
[all …]
H A Dnfp6000_pcie.c38 #define NFP_PCIE_BAR_EXPLICIT_BAR0(_x, _y) \ argument
39 (0x00000080 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3)))
40 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType(_x) (((_x) & 0x3) << 30) argument
41 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType_of(_x) (((_x) >> 30) & 0x3) argument
42 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token(_x) (((_x) & 0x3) << 28) argument
43 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token_of(_x) (((_x) >> 28) & 0x3) argument
44 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address(_x) (((_x) & 0xffffff) << 0) argument
45 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address_of(_x) (((_x) >> 0) & 0xffffff) argument
46 #define NFP_PCIE_BAR_EXPLICIT_BAR1(_x, _y) \ argument
47 (0x00000084 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3)))
[all …]
/linux/include/video/
H A Dsamsung_fimd.h60 #define VIDCON0_CLKVAL_F(_x) ((_x) << 6) argument
121 #define VIDTCON0_VBPDE(_x) ((_x) << 24) argument
126 #define VIDTCON0_VBPD(_x) ((_x) << 16) argument
131 #define VIDTCON0_VFPD(_x) ((_x) << 8) argument
136 #define VIDTCON0_VSPW(_x) ((_x) << 0) argument
144 #define VIDTCON1_VFPDE(_x) ((_x) << 24) argument
149 #define VIDTCON1_HBPD(_x) ((_x) << 16) argument
154 #define VIDTCON1_HFPD(_x) ((_x) << 8) argument
159 #define VIDTCON1_HSPW(_x) ((_x) << 0) argument
162 #define VIDTCON2_LINEVAL_E(_x) ((((_x) & 0x800) >> 11) << 23) argument
[all …]
/linux/tools/testing/selftests/sched_ext/
H A Dscx_test.h100 #define SCX_GT(_x, _y) SCX_FAIL_IF((_x) <= (_y), "Expected %s > %s (%lu > %lu)", \ argument
101 #_x, #_y, (u64)(_x), (u64)(_y))
102 #define SCX_GE(_x, _y) SCX_FAIL_IF((_x) < (_y), "Expected %s >= %s (%lu >= %lu)", \ argument
103 #_x, #_y, (u64)(_x), (u64)(_y))
104 #define SCX_LT(_x, _y) SCX_FAIL_IF((_x) >= (_y), "Expected %s < %s (%lu < %lu)", \ argument
105 #_x, #_y, (u64)(_x), (u64)(_y))
106 #define SCX_LE(_x, _y) SCX_FAIL_IF((_x) > (_y), "Expected %s <= %s (%lu <= %lu)", \ argument
107 #_x, #_y, (u64)(_x), (u64)(_y))
108 #define SCX_EQ(_x, _y) SCX_FAIL_IF((_x) != (_y), "Expected %s == %s (%lu == %lu)", \ argument
109 #_x, #_y, (u64)(_x), (u64)(_y))
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ctrl.h290 #define NFP_NET_CFG_RSS_MASK_of(_x) ((_x) & 0x7f) argument
318 #define NFP_NET_CFG_TXR_ADDR(_x) (NFP_NET_CFG_TXR_BASE + ((_x) * 0x8)) argument
319 #define NFP_NET_CFG_TXR_WB_ADDR(_x) (NFP_NET_CFG_TXR_BASE + 0x200 + \ argument
320 ((_x) * 0x8))
321 #define NFP_NET_CFG_TXR_SZ(_x) (NFP_NET_CFG_TXR_BASE + 0x400 + (_x)) argument
322 #define NFP_NET_CFG_TXR_VEC(_x) (NFP_NET_CFG_TXR_BASE + 0x440 + (_x)) argument
323 #define NFP_NET_CFG_TXR_PRIO(_x) (NFP_NET_CFG_TXR_BASE + 0x480 + (_x)) argument
324 #define NFP_NET_CFG_TXR_IRQ_MOD(_x) (NFP_NET_CFG_TXR_BASE + 0x500 + \ argument
325 ((_x) * 0x4))
336 #define NFP_NET_CFG_RXR_ADDR(_x) (NFP_NET_CFG_RXR_BASE + ((_x) * 0x8)) argument
[all …]
/linux/arch/mips/include/asm/mach-ath79/
H A Dirq.h12 #define ATH79_CPU_IRQ(_x) (MIPS_CPU_IRQ_BASE + (_x)) argument
16 #define ATH79_MISC_IRQ(_x) (ATH79_MISC_IRQ_BASE + (_x)) argument
20 #define ATH79_PCI_IRQ(_x) (ATH79_PCI_IRQ_BASE + (_x)) argument
24 #define ATH79_IP2_IRQ(_x) (ATH79_IP2_IRQ_BASE + (_x)) argument
28 #define ATH79_IP3_IRQ(_x) (ATH79_IP3_IRQ_BASE + (_x)) argument
/linux/tools/testing/selftests/riscv/hwprobe/
H A Dhwprobe.h8 # define le32_bswap(_x) \ argument
9 ((((_x) & 0x000000ffU) << 24) | \
10 (((_x) & 0x0000ff00U) << 8) | \
11 (((_x) & 0x00ff0000U) >> 8) | \
12 (((_x) & 0xff000000U) >> 24))
14 # define le32_bswap(_x) (_x) argument
/linux/arch/mips/include/asm/sn/
H A Daddrs.h66 #define TO_NODE(_n, _x) (NODE_OFFSET(_n) | ((_x) )) argument
67 #define TO_NODE_CAC(_n, _x) (NODE_CAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
68 #define TO_NODE_UNCAC(_n, _x) (NODE_UNCAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
69 #define TO_NODE_MSPEC(_n, _x) (NODE_MSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
70 #define TO_NODE_HSPEC(_n, _x) (NODE_HSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
138 #define UALIAS_FLIP_ADDR(_x) (cputoslice(smp_processor_id()) ? \ argument
139 (_x) ^ UALIAS_FLIP_BIT : (_x))
254 #define LOCAL_HUB_ADDR(_x) (IALIAS_BASE + (_x)) argument
255 #define REMOTE_HUB_ADDR(_n, _x) ((NODE_SWIN_BASE(_n, 1) + 0x800000 + (_x))) argument
259 #define LOCAL_HUB_PTR(_x) ((u64 *)LOCAL_HUB_ADDR((_x))) argument
[all …]
H A Dio.h55 #define IIO_IOPRB(_x) (IIO_IOPRB_0 + ( ( (_x) < HUB_WIDGET_ID_MIN ? \ argument
56 (_x) : \
57 (_x) - (HUB_WIDGET_ID_MIN-1)) << 3) )
/linux/include/xen/interface/io/
H A Dring.h33 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) argument
34 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) argument
35 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) argument
36 #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) argument
37 #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) argument
/linux/arch/powerpc/boot/
H A Dtypes.h29 typeof(x) _x = (x); \
31 (void) (&_x == &_y); \
32 _x < _y ? _x : _y; })
35 typeof(x) _x = (x); \
37 (void) (&_x == &_y); \
38 _x > _y ? _x : _y; })
/linux/arch/arm64/kvm/
H A Dsys_regs.h230 #define AA32(_x) .aarch32_map = AA32_##_x argument
231 #define Op0(_x) .Op0 = _x argument
232 #define Op1(_x) .Op1 = _x argument
233 #define CRn(_x) .CRn = _x argument
234 #define CRm(_x) .CRm = _x argument
235 #define Op2(_x) .Op2 = _x argument
/linux/arch/x86/crypto/
H A Daria-aesni-avx2-asm_64.S340 vextracti128 $1, x0, t6##_x; \
341 vaesenclast t7##_x, x0##_x, x0##_x; \
342 vaesenclast t7##_x, t6##_x, t6##_x; \
343 vinserti128 $1, t6##_x, x0, x0; \
345 vextracti128 $1, x4, t6##_x; \
346 vaesenclast t7##_x, x4##_x, x4##_x; \
347 vaesenclast t7##_x, t6##_x, t6##_x; \
348 vinserti128 $1, t6##_x, x4, x4; \
350 vextracti128 $1, x1, t6##_x; \
351 vaesenclast t7##_x, x1##_x, x1##_x; \
[all …]
/linux/drivers/scsi/bfa/
H A Dbfa_cs.h302 #define bfa_swap_3b(_x) \ argument
303 ((((_x) & 0xff) << 16) | \
304 ((_x) & 0x00ff00) | \
305 (((_x) & 0xff0000) >> 16))
308 #define bfa_hton3b(_x) bfa_swap_3b(_x) argument
310 #define bfa_hton3b(_x) (_x) argument
313 #define bfa_ntoh3b(_x) bfa_hton3b(_x) argument
H A Dbfa_plog.h17 #define BFA_PL_LOG_REC_INCR(_x) ((_x)++, (_x) %= BFA_PL_NLOG_ENTS) argument
/linux/arch/x86/include/asm/
H A Ddmi.h19 #define dmi_remap(_x, _l) memremap(_x, _l, MEMREMAP_WB) argument
20 #define dmi_unmap(_x) memunmap(_x) argument
/linux/arch/mips/pci/
H A Dpci-rt3883.c42 #define RT3883_PCI_REG_BASE(_x) (0x1000 + (_x) * 0x1000) argument
43 #define RT3883_PCI_REG_BAR0SETUP(_x) (RT3883_PCI_REG_BASE((_x)) + 0x10) argument
44 #define RT3883_PCI_REG_IMBASEBAR0(_x) (RT3883_PCI_REG_BASE((_x)) + 0x18) argument
45 #define RT3883_PCI_REG_ID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x30) argument
46 #define RT3883_PCI_REG_CLASS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x34) argument
47 #define RT3883_PCI_REG_SUBID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x38) argument
48 #define RT3883_PCI_REG_STATUS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x50) argument
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-rt3883.c33 #define _RT3883_GPIO_MODE_LNA_A(_x) ((_x) << RT3883_GPIO_MODE_LNA_A_SHIFT) argument
38 #define _RT3883_GPIO_MODE_LNA_G(_x) ((_x) << RT3883_GPIO_MODE_LNA_G_SHIFT) argument
/linux/arch/mips/include/asm/sn/sn0/
H A Dhubio.h334 #define IIO_PRTE(_x) (IIO_PRTE_0 + (8 * (_x))) argument
407 #define IIO_ICRB_A(_x) (IIO_ICRB_0 + (4 * IIO_ICRB_OFFSET * (_x))) argument
408 #define IIO_ICRB_B(_x) (IIO_ICRB_A(_x) + 1*IIO_ICRB_OFFSET) argument
409 #define IIO_ICRB_C(_x) (IIO_ICRB_A(_x) + 2*IIO_ICRB_OFFSET) argument
410 #define IIO_ICRB_D(_x) (IIO_ICRB_A(_x) + 3*IIO_ICRB_OFFSET) argument
H A Dhubni.h62 #define NI_META_TABLE(_x) (NI_META_TABLE0 + (8 * (_x))) argument
66 #define NI_LOCAL_TABLE(_x) (NI_LOCAL_TABLE0 + (8 * (_x))) argument
/linux/include/math-emu/
H A Dop-2.h309 _FP_W_TYPE _x[2], _y[2]; \
310 _x[0] = X##_f0; _x[1] = X##_f1; \
313 mpn_mul_n(_z_f, _x, _y, 2); \
493 _FP_W_TYPE _x[4], _y[2], _z[4]; \
495 _x[0] = _x[3] = 0; \
499 _x[1] = (X##_f0 << (_FP_WFRACBITS_##fs-1 - _FP_W_TYPE_SIZE) | \
502 _x[2] = X##_f1 << (_FP_WFRACBITS_##fs-1 - _FP_W_TYPE_SIZE); \
506 _x[1] = (X##_f0 << (_FP_WFRACBITS_##fs - _FP_W_TYPE_SIZE) | \
509 _x[2] = X##_f1 << (_FP_WFRACBITS_##fs - _FP_W_TYPE_SIZE); \
512 (void) mpn_divrem (_z, 0, _x, 4, _y, 2); \
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.h121 #define MTK_GDMA_FWD_CFG(x) ({ typeof(x) _x = (x); (_x == MTK_GMAC3_ID) ? \
122 0x540 : 0x500 + (_x * 0x1000); })
132 #define MTK_GDMA_EG_CTRL(x) ({ typeof(x) _x = (x); (_x == MTK_GMAC3_ID) ? \
133 0x544 : 0x504 + (_x * 0x1000); })
137 #define MTK_GDMA_MAC_ADRL(x) ({ typeof(x) _x = (x); (_x == MTK_GMAC3_ID) ? \
138 0x548 : 0x508 + (_x * 0x1000); })
141 #define MTK_GDMA_MAC_ADRH(x) ({ typeof(x) _x = (x); (_x == MTK_GMAC3_ID) ? \
142 0x54C : 0x50C + (_x * 0x1000); })
455 #define MAC_MCR_MAX_RX(_x) (MAC_MCR_MAX_RX_MASK & ((_x) << 24)) argument
1095 #define MTK_HAS_CAPS(caps, _x) (((caps) & (_x)) == (_x)) argument
/linux/drivers/net/wireless/ath/ath9k/
H A Dreg_mci.h220 #define AR_BTCOEX_MAX_TXPWR(_x) (0x18c0 + ((_x) << 2)) argument
252 #define AR_BTCOEX_MAX_RFGAIN(_x) (0x1950 + ((_x) << 2)) argument
/linux/arch/riscv/include/asm/
H A Dpage.h167 unsigned long _x = x; \
168 is_linear_mapping(_x) ? \
169 linear_mapping_va_to_pa(_x) : kernel_mapping_va_to_pa(_x); \
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gsc.h19 #define GSC_IRQ_INTF(_x) BIT(15 - (_x)) argument

123