Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
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
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
47 #define NFP_ARM_GCSR_EXPA_BAR_ADDR(_x) ((_x) & 0x7fff) argument
48 #define NFP_ARM_GCSR_EXPA_BAR_ADDR_of(_x) ((_x) & 0x7fff) argument
74 #define NFP_ARM_GCSR_EXPL2_BAR_SIGNAL_MASTER(_x) ((_x) & 0xff) argument
75 #define NFP_ARM_GCSR_EXPL2_BAR_SIGNAL_MASTER_of(_x) ((_x) & 0xff) argument
113 #define NFP_ARM_GCSR_MP0_CFG_ARMID(_x) ((_x) & 0xf) argument
[all …]
A Dnfp6000_pcie.c39 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType(_x) (((_x) & 0x3) << 30) argument
40 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType_of(_x) (((_x) >> 30) & 0x3) argument
41 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token(_x) (((_x) & 0x3) << 28) argument
42 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token_of(_x) (((_x) >> 28) & 0x3) argument
47 #define NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef(_x) (((_x) & 0x7f) << 24) argument
48 #define NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef_of(_x) (((_x) >> 24) & 0x7f) argument
49 #define NFP_PCIE_BAR_EXPLICIT_BAR1_DataMaster(_x) (((_x) & 0x3ff) << 14) argument
50 #define NFP_PCIE_BAR_EXPLICIT_BAR1_DataMaster_of(_x) (((_x) >> 14) & 0x3ff) argument
55 #define NFP_PCIE_BAR_EXPLICIT_BAR2_Target(_x) (((_x) & 0xf) << 28) argument
56 #define NFP_PCIE_BAR_EXPLICIT_BAR2_Target_of(_x) (((_x) >> 28) & 0xf) argument
[all …]
/linux/include/video/
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
293 #define VIDW_ALPHA_G(_x) ((_x) << 8) argument
[all …]
/linux/drivers/gpu/drm/exynos/
A Dregs-decon7.h89 #define VIDOSD_H(_x) (0x80 + ((_x) * 4)) argument
166 #define WINxMAP_MAP_COLOUR(_x) ((_x) << 0) argument
179 #define WxKEYCON0_COMPKEY(_x) ((_x) << 0) argument
183 #define WxKEYCON1_COLVAL(_x) ((_x) << 0) argument
257 #define VIDCON1(_x) (0x0600 + ((_x) * 0x50)) argument
277 #define VIDTCON0_VBPD(_x) ((_x) << 16) argument
282 #define VIDTCON0_VFPD(_x) ((_x) << 0) argument
290 #define VIDTCON1_VSPW(_x) ((_x) << 16) argument
298 #define VIDTCON2_HBPD(_x) ((_x) << 16) argument
303 #define VIDTCON2_HFPD(_x) ((_x) << 0) argument
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_ctrl.h266 #define NFP_NET_CFG_RSS_MASK_of(_x) ((_x) & 0x7f) argument
295 #define NFP_NET_CFG_TXR_ADDR(_x) (NFP_NET_CFG_TXR_BASE + ((_x) * 0x8)) argument
297 ((_x) * 0x8))
298 #define NFP_NET_CFG_TXR_SZ(_x) (NFP_NET_CFG_TXR_BASE + 0x400 + (_x)) argument
299 #define NFP_NET_CFG_TXR_VEC(_x) (NFP_NET_CFG_TXR_BASE + 0x440 + (_x)) argument
300 #define NFP_NET_CFG_TXR_PRIO(_x) (NFP_NET_CFG_TXR_BASE + 0x480 + (_x)) argument
302 ((_x) * 0x4))
314 #define NFP_NET_CFG_RXR_ADDR(_x) (NFP_NET_CFG_RXR_BASE + ((_x) * 0x8)) argument
315 #define NFP_NET_CFG_RXR_SZ(_x) (NFP_NET_CFG_RXR_BASE + 0x200 + (_x)) argument
319 ((_x) * 0x4))
[all …]
/linux/arch/mips/include/asm/mach-ath79/
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/drivers/usb/dwc2/
A Dhw.h125 #define GUSBCFG_TOUTCAL(_x) ((_x) << 0) argument
134 #define GRSTCTL_TXFNUM(_x) ((_x) << 6) argument
453 #define DCFG_EPMISCNT(_x) ((_x) << 18) argument
458 #define DCFG_PERFRINT(_x) ((_x) << 11) argument
462 #define DCFG_DEVADDR(_x) ((_x) << 4) argument
489 #define DSTS_SOFFN(_x) ((_x) << 8) argument
526 #define DAINT_INEP(_x) (1 << (_x)) argument
566 #define DXEPCTL_TXFNUM(_x) ((_x) << 22) argument
582 #define DXEPCTL_NEXTEP(_x) ((_x) << 11) argument
586 #define DXEPCTL_MPS(_x) ((_x) << 0) argument
[all …]
/linux/arch/mips/include/asm/sn/
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 …]
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/arch/x86/crypto/
A Dcamellia-aesni-avx2-asm_64.S99 vpxor t4##_x, t4##_x, t4##_x; \
104 vaesenclast t4##_x, x0##_x, x0##_x; \
105 vaesenclast t4##_x, t0##_x, t0##_x; \
107 vaesenclast t4##_x, x7##_x, x7##_x; \
108 vaesenclast t4##_x, t1##_x, t1##_x; \
110 vaesenclast t4##_x, x3##_x, x3##_x; \
111 vaesenclast t4##_x, t3##_x, t3##_x; \
113 vaesenclast t4##_x, x6##_x, x6##_x; \
114 vaesenclast t4##_x, t2##_x, t2##_x; \
120 vaesenclast t4##_x, x2##_x, x2##_x; \
[all …]
/linux/include/xen/interface/io/
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/
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/
A Dsys_regs.h191 #define AA32(_x) .aarch32_map = AA32_##_x argument
192 #define Op0(_x) .Op0 = _x argument
193 #define Op1(_x) .Op1 = _x argument
194 #define CRn(_x) .CRn = _x argument
195 #define CRm(_x) .CRm = _x argument
196 #define Op2(_x) .Op2 = _x argument
/linux/drivers/iio/imu/inv_mpu6050/
A Dinv_mpu_iio.h234 #define INV_MPU6050_REG_I2C_SLV_ADDR(_x) (0x25 + 3 * (_x)) argument
237 #define INV_MPU6050_REG_I2C_SLV_REG(_x) (0x26 + 3 * (_x)) argument
239 #define INV_MPU6050_REG_I2C_SLV_CTRL(_x) (0x27 + 3 * (_x)) argument
247 #define INV_MPU6050_BITS_I2C_MST_DLY(_x) ((_x) & 0x1F) argument
270 #define INV_MPU6050_REG_I2C_SLV_DO(_x) (0x63 + (_x)) argument
/linux/drivers/scsi/cxlflash/
A Dcommon.h32 #define CHAN2PORTBANK(_x) ((_x) >> ilog2(CXLFLASH_NUM_FC_PORTS_PER_BANK)) argument
33 #define CHAN2BANKPORT(_x) ((_x) & (CXLFLASH_NUM_FC_PORTS_PER_BANK - 1)) argument
35 #define CHAN2PORTMASK(_x) (1 << (_x)) /* channel to port mask */ argument
36 #define PORTMASK2CHAN(_x) (ilog2((_x))) /* port mask to channel */ argument
37 #define PORTNUM2CHAN(_x) ((_x) - 1) /* port number to channel */ argument
/linux/drivers/scsi/bfa/
A Dbfa_cs.h313 #define bfa_swap_3b(_x) \ argument
314 ((((_x) & 0xff) << 16) | \
315 ((_x) & 0x00ff00) | \
316 (((_x) & 0xff0000) >> 16))
319 #define bfa_hton3b(_x) bfa_swap_3b(_x) argument
321 #define bfa_hton3b(_x) (_x) argument
324 #define bfa_ntoh3b(_x) bfa_hton3b(_x) argument
/linux/drivers/net/ethernet/mediatek/
A Dmtk_eth_soc.h308 #define TX_DMA_PLEN0(_x) (((_x) & MTK_TX_DMA_BUF_LEN) << 16) argument
309 #define TX_DMA_PLEN1(_x) ((_x) & MTK_TX_DMA_BUF_LEN) argument
311 #define TX_DMA_SDL(_x) (((_x) & 0x3fff) << 16) argument
321 #define RX_DMA_PLEN0(_x) (((_x) & 0x3fff) << 16) argument
322 #define RX_DMA_GET_PLEN0(_x) (((_x) >> 16) & 0x3fff) argument
326 #define RX_DMA_VID(_x) ((_x) & 0xfff) argument
357 #define MAC_MCR_MAX_RX(_x) (MAC_MCR_MAX_RX_MASK & ((_x) << 24)) argument
808 #define MTK_HAS_CAPS(caps, _x) (((caps) & (_x)) == (_x)) argument
857 #define MTK_HAS_FLAGS(flags, _x) (((flags) & (_x)) == (_x)) argument
/linux/arch/mips/pci/
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/arch/x86/include/asm/
A Ddmi.h19 #define dmi_remap(_x, _l) memremap(_x, _l, MEMREMAP_WB) argument
20 #define dmi_unmap(_x) memunmap(_x) argument
/linux/include/linux/platform_data/
A Dvideo-pxafb.h28 #define LCD_CONN_TYPE(_x) ((_x) & 0x0f) argument
29 #define LCD_CONN_WIDTH(_x) (((_x) >> 4) & 0x1f) argument
/linux/arch/mips/include/asm/sn/sn0/
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
/linux/drivers/pinctrl/ralink/
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/drivers/mmc/host/
A Dsdhci-s3c.c45 #define S3C_SDHCI_CTRL2_FLTCLKSEL(_x) ((_x) << 24) argument
49 #define S3C_SDHCI_CTRL2_LVLDAT(_x) ((_x) << 16) argument
81 #define S3C_SDHCI_CTRL3_FIA3(_x) ((_x) << 24) argument
85 #define S3C_SDHCI_CTRL3_FIA2(_x) ((_x) << 16) argument
89 #define S3C_SDHCI_CTRL3_FIA1(_x) ((_x) << 8) argument
93 #define S3C_SDHCI_CTRL3_FIA0(_x) ((_x) << 0) argument
/linux/include/math-emu/
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/phy/samsung/
A Dphy-exynos5-usbdrd.c41 #define LINKSYSTEM_FLADJ(_x) ((_x) << 1) argument
57 #define PHYCLKRST_SSC_REFCLKSEL(_x) ((_x) << 23) argument
60 #define PHYCLKRST_SSC_RANGE(_x) ((_x) << 21) argument
75 #define PHYCLKRST_FSEL(_x) ((_x) << 5) argument
95 #define PHYREG0_CR_DATA_IN(_x) ((_x) << 2) argument
100 #define PHYREG1_CR_DATA_OUT(_x) ((_x) << 1) argument

Completed in 89 milliseconds

1234