Home
last modified time | relevance | path

Searched defs:_x (Results 1 – 25 of 75) sorted by relevance

123

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_arm.h53 #define NFP_ARM_GCSR_BULK_BAR_TGT(_x) (((_x) & 0xf) << 27) argument
54 #define NFP_ARM_GCSR_BULK_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) argument
55 #define NFP_ARM_GCSR_BULK_BAR_TOK(_x) (((_x) & 0x3) << 25) argument
56 #define NFP_ARM_GCSR_BULK_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) argument
60 #define NFP_ARM_GCSR_BULK_BAR_ADDR(_x) ((_x) & 0x7ff) argument
61 #define NFP_ARM_GCSR_BULK_BAR_ADDR_of(_x) ((_x) & 0x7ff) argument
67 #define NFP_ARM_GCSR_EXPA_BAR_TGT(_x) (((_x) & 0xf) << 27) argument
68 #define NFP_ARM_GCSR_EXPA_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) argument
69 #define NFP_ARM_GCSR_EXPA_BAR_TOK(_x) (((_x) & 0x3) << 25) argument
70 #define NFP_ARM_GCSR_EXPA_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) argument
[all …]
Dnfp6000_pcie.c67 #define NFP_PCIE_BAR_EXPLICIT_BAR0(_x, _y) \ argument
69 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType(_x) (((_x) & 0x3) << 30) argument
70 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType_of(_x) (((_x) >> 30) & 0x3) argument
71 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token(_x) (((_x) & 0x3) << 28) argument
72 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token_of(_x) (((_x) >> 28) & 0x3) argument
73 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address(_x) (((_x) & 0xffffff) << 0) argument
74 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address_of(_x) (((_x) >> 0) & 0xffffff) argument
75 #define NFP_PCIE_BAR_EXPLICIT_BAR1(_x, _y) \ argument
77 #define NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef(_x) (((_x) & 0x7f) << 24) argument
78 #define NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef_of(_x) (((_x) >> 24) & 0x7f) argument
[all …]
/Linux-v4.19/include/video/
Dsamsung_fimd.h63 #define VIDCON0_CLKVAL_F(_x) ((_x) << 6) argument
124 #define VIDTCON0_VBPDE(_x) ((_x) << 24) argument
129 #define VIDTCON0_VBPD(_x) ((_x) << 16) argument
134 #define VIDTCON0_VFPD(_x) ((_x) << 8) argument
139 #define VIDTCON0_VSPW(_x) ((_x) << 0) argument
147 #define VIDTCON1_VFPDE(_x) ((_x) << 24) argument
152 #define VIDTCON1_HBPD(_x) ((_x) << 16) argument
157 #define VIDTCON1_HFPD(_x) ((_x) << 8) argument
162 #define VIDTCON1_HSPW(_x) ((_x) << 0) argument
165 #define VIDTCON2_LINEVAL_E(_x) ((((_x) & 0x800) >> 11) << 23) argument
[all …]
/Linux-v4.19/arch/mips/include/asm/mach-ath79/
Dirq.h15 #define ATH79_CPU_IRQ(_x) (MIPS_CPU_IRQ_BASE + (_x)) argument
19 #define ATH79_MISC_IRQ(_x) (ATH79_MISC_IRQ_BASE + (_x)) argument
23 #define ATH79_PCI_IRQ(_x) (ATH79_PCI_IRQ_BASE + (_x)) argument
27 #define ATH79_IP2_IRQ(_x) (ATH79_IP2_IRQ_BASE + (_x)) argument
31 #define ATH79_IP3_IRQ(_x) (ATH79_IP3_IRQ_BASE + (_x)) argument
/Linux-v4.19/drivers/gpu/drm/exynos/
Dregs-decon7.h93 #define VIDOSD_H(_x) (0x80 + ((_x) * 4)) argument
138 #define VIDOSDxA_TOPLEFT_X(_x) (((_x) & 0x1fff) << 13) argument
143 #define VIDOSDxA_TOPLEFT_Y(_x) (((_x) & 0x1fff) << 0) argument
148 #define VIDOSDxB_BOTRIGHT_X(_x) (((_x) & 0x1fff) << 13) argument
153 #define VIDOSDxB_BOTRIGHT_Y(_x) (((_x) & 0x1fff) << 0) argument
155 #define VIDOSDxC_ALPHA0_R_F(_x) (((_x) & 0xFF) << 16) argument
156 #define VIDOSDxC_ALPHA0_G_F(_x) (((_x) & 0xFF) << 8) argument
157 #define VIDOSDxC_ALPHA0_B_F(_x) (((_x) & 0xFF) << 0) argument
159 #define VIDOSDxD_ALPHA1_R_F(_x) (((_x) & 0xFF) << 16) argument
160 #define VIDOSDxD_ALPHA1_G_F(_x) (((_x) & 0xFF) << 8) argument
[all …]
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ctrl.h297 #define NFP_NET_CFG_RSS_MASK_of(_x) ((_x) & 0x7f) argument
326 #define NFP_NET_CFG_TXR_ADDR(_x) (NFP_NET_CFG_TXR_BASE + ((_x) * 0x8)) argument
327 #define NFP_NET_CFG_TXR_WB_ADDR(_x) (NFP_NET_CFG_TXR_BASE + 0x200 + \ argument
329 #define NFP_NET_CFG_TXR_SZ(_x) (NFP_NET_CFG_TXR_BASE + 0x400 + (_x)) argument
330 #define NFP_NET_CFG_TXR_VEC(_x) (NFP_NET_CFG_TXR_BASE + 0x440 + (_x)) argument
331 #define NFP_NET_CFG_TXR_PRIO(_x) (NFP_NET_CFG_TXR_BASE + 0x480 + (_x)) argument
332 #define NFP_NET_CFG_TXR_IRQ_MOD(_x) (NFP_NET_CFG_TXR_BASE + 0x500 + \ argument
345 #define NFP_NET_CFG_RXR_ADDR(_x) (NFP_NET_CFG_RXR_BASE + ((_x) * 0x8)) argument
346 #define NFP_NET_CFG_RXR_SZ(_x) (NFP_NET_CFG_RXR_BASE + 0x200 + (_x)) argument
347 #define NFP_NET_CFG_RXR_VEC(_x) (NFP_NET_CFG_RXR_BASE + 0x240 + (_x)) argument
[all …]
/Linux-v4.19/arch/arm/kvm/
Dcoproc.h130 #define CRn(_x) .CRn = _x argument
131 #define CRm(_x) .CRm = _x argument
132 #define CRm64(_x) .CRn = _x, .CRm = 0 argument
133 #define Op1(_x) .Op1 = _x argument
134 #define Op2(_x) .Op2 = _x argument
/Linux-v4.19/arch/arm64/kvm/
Dsys_regs.h126 #define Op0(_x) .Op0 = _x argument
127 #define Op1(_x) .Op1 = _x argument
128 #define CRn(_x) .CRn = _x argument
129 #define CRm(_x) .CRm = _x argument
130 #define Op2(_x) .Op2 = _x argument
/Linux-v4.19/include/xen/interface/io/
Dring.h18 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) argument
19 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) argument
20 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) argument
21 #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) argument
22 #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) argument
/Linux-v4.19/arch/x86/include/asm/
Ddmi.h19 #define dmi_remap(_x, _l) memremap(_x, _l, MEMREMAP_WB) argument
20 #define dmi_unmap(_x) memunmap(_x) argument
/Linux-v4.19/arch/mips/pci/
Dpci-rt3883.c44 #define RT3883_PCI_REG_BASE(_x) (0x1000 + (_x) * 0x1000) argument
45 #define RT3883_PCI_REG_BAR0SETUP(_x) (RT3883_PCI_REG_BASE((_x)) + 0x10) argument
46 #define RT3883_PCI_REG_IMBASEBAR0(_x) (RT3883_PCI_REG_BASE((_x)) + 0x18) argument
47 #define RT3883_PCI_REG_ID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x30) argument
48 #define RT3883_PCI_REG_CLASS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x34) argument
49 #define RT3883_PCI_REG_SUBID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x38) argument
50 #define RT3883_PCI_REG_STATUS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x50) argument
/Linux-v4.19/arch/ia64/include/asm/sn/
Dbte.h102 #define BTE_LNSTAT_STORE(_bte, _x) \ argument
104 #define BTE_SRC_STORE(_bte, _x) \ argument
111 #define BTE_DEST_STORE(_bte, _x) \ argument
118 #define BTE_CTRL_STORE(_bte, _x) \ argument
120 #define BTE_NOTIF_STORE(_bte, _x) \ argument
/Linux-v4.19/arch/mips/include/asm/sn/
Daddrs.h71 #define TO_NODE(_n, _x) (NODE_OFFSET(_n) | ((_x) )) argument
72 #define TO_NODE_CAC(_n, _x) (NODE_CAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
73 #define TO_NODE_UNCAC(_n, _x) (NODE_UNCAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
74 #define TO_NODE_MSPEC(_n, _x) (NODE_MSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
75 #define TO_NODE_HSPEC(_n, _x) (NODE_HSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
143 #define UALIAS_FLIP_ADDR(_x) (cputoslice(smp_processor_id()) ? \ argument
259 #define LOCAL_HUB_ADDR(_x) (HUBREG_CAST (IALIAS_BASE + (_x))) argument
260 #define REMOTE_HUB_ADDR(_n, _x) (HUBREG_CAST (NODE_SWIN_BASE(_n, 1) + \ argument
263 #define REMOTE_HUB_PI_ADDR(_n, _sn, _x) (HUBREG_CAST (NODE_SWIN_BASE(_n, 1) + \ argument
Dio.h55 #define IIO_IOPRB(_x) (IIO_IOPRB_0 + ( ( (_x) < HUB_WIDGET_ID_MIN ? \ argument
/Linux-v4.19/drivers/mmc/host/
Dsdhci-s3c.c47 #define S3C_SDHCI_CTRL2_FLTCLKSEL(_x) ((_x) << 24) argument
51 #define S3C_SDHCI_CTRL2_LVLDAT(_x) ((_x) << 16) argument
83 #define S3C_SDHCI_CTRL3_FIA3(_x) ((_x) << 24) argument
87 #define S3C_SDHCI_CTRL3_FIA2(_x) ((_x) << 16) argument
91 #define S3C_SDHCI_CTRL3_FIA1(_x) ((_x) << 8) argument
95 #define S3C_SDHCI_CTRL3_FIA0(_x) ((_x) << 0) argument
/Linux-v4.19/drivers/usb/dwc2/
Dhw.h118 #define GUSBCFG_TOUTCAL(_x) ((_x) << 0) argument
126 #define GRSTCTL_TXFNUM(_x) ((_x) << 6) argument
418 #define FIFOSIZE_DEPTH_GET(_x) (((_x) >> 16) & 0xffff) argument
427 #define DCFG_EPMISCNT(_x) ((_x) << 18) argument
432 #define DCFG_PERFRINT(_x) ((_x) << 11) argument
436 #define DCFG_DEVADDR(_x) ((_x) << 4) argument
462 #define DSTS_SOFFN(_x) ((_x) << 8) argument
498 #define DAINT_OUTEP(_x) (1 << ((_x) + 16)) argument
499 #define DAINT_INEP(_x) (1 << (_x)) argument
539 #define DXEPCTL_TXFNUM(_x) ((_x) << 22) argument
[all …]
/Linux-v4.19/drivers/phy/samsung/
Dphy-exynos5-usbdrd.c43 #define LINKSYSTEM_FLADJ(_x) ((_x) << 1) argument
59 #define PHYCLKRST_SSC_REFCLKSEL(_x) ((_x) << 23) argument
62 #define PHYCLKRST_SSC_RANGE(_x) ((_x) << 21) argument
77 #define PHYCLKRST_FSEL(_x) ((_x) << 5) argument
97 #define PHYREG0_CR_DATA_IN(_x) ((_x) << 2) argument
102 #define PHYREG1_CR_DATA_OUT(_x) ((_x) << 1) argument
/Linux-v4.19/arch/powerpc/kernel/
Dmodule_32.c59 static int relacmp(const void *_x, const void *_y) in relacmp()
82 static void relaswap(void *_x, void *_y, int size) in relaswap()
/Linux-v4.19/drivers/staging/mt7621-eth/
Dmtk_eth_soc.h255 #define TX_QDMA_SDL(_x) (((_x) & 0x3fff) << 16) argument
332 #define RX_DMA_PLEN0(_x) (((_x) & 0x3fff) << 16) argument
333 #define RX_DMA_GET_PLEN0(_x) (((_x) >> 16) & 0x3fff) argument
337 #define RX_DMA_TPID(_x) (((_x) >> 16) & 0xffff) argument
338 #define RX_DMA_VID(_x) ((_x) & 0xfff) argument
355 #define TX_DMA_PLEN0(_x) (((_x) & TX_DMA_BUF_LEN) << 16) argument
356 #define TX_DMA_PLEN1(_x) ((_x) & TX_DMA_BUF_LEN) argument
357 #define TX_DMA_GET_PLEN0(_x) (((_x) >> 16) & TX_DMA_BUF_LEN) argument
358 #define TX_DMA_GET_PLEN1(_x) ((_x) & TX_DMA_BUF_LEN) argument
369 #define TX_DMA_QN(_x) ((_x) << 16) argument
[all …]
/Linux-v4.19/drivers/scsi/bfa/
Dbfa_cs.h321 #define bfa_swap_3b(_x) \ argument
327 #define bfa_hton3b(_x) bfa_swap_3b(_x) argument
329 #define bfa_hton3b(_x) (_x) argument
332 #define bfa_ntoh3b(_x) bfa_hton3b(_x) argument
/Linux-v4.19/drivers/scsi/cxlflash/
Dcommon.h36 #define CHAN2PORTBANK(_x) ((_x) >> ilog2(CXLFLASH_NUM_FC_PORTS_PER_BANK)) argument
37 #define CHAN2BANKPORT(_x) ((_x) & (CXLFLASH_NUM_FC_PORTS_PER_BANK - 1)) argument
39 #define CHAN2PORTMASK(_x) (1 << (_x)) /* channel to port mask */ argument
40 #define PORTMASK2CHAN(_x) (ilog2((_x))) /* port mask to channel */ argument
41 #define PORTNUM2CHAN(_x) ((_x) - 1) /* port number to channel */ argument
/Linux-v4.19/drivers/thermal/
Drcar_gen3_thermal.c118 #define FIXPT_INT(_x) ((_x) << FIXPT_SHIFT) argument
119 #define INT_FIXPT(_x) ((_x) >> FIXPT_SHIFT) argument
121 #define FIXPT_TO_MCELSIUS(_x) ((_x) * 1000 >> FIXPT_SHIFT) argument
/Linux-v4.19/include/linux/platform_data/
Dvideo-pxafb.h31 #define LCD_CONN_TYPE(_x) ((_x) & 0x0f) argument
32 #define LCD_CONN_WIDTH(_x) (((_x) >> 4) & 0x1f) argument
/Linux-v4.19/drivers/tty/serial/
Dioc3_serial.c34 #define GET_PORT_FROM_SIO_IR(_x) (_x & SIO_IR_SA) ? 0 : 1 argument
41 #define GET_PHYSICAL_PORT(_x) ((_x) >> 1) argument
42 #define GET_LOGICAL_PORT(_x) ((_x) & 1) argument
43 #define IS_PHYSICAL_PORT(_x) !((_x) & 1) argument
44 #define IS_RS232(_x) !((_x) & 1) argument
51 #define DPRINT_CONFIG(_x...) ; argument
/Linux-v4.19/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h280 #define TX_DMA_PLEN0(_x) (((_x) & MTK_TX_DMA_BUF_LEN) << 16) argument
282 #define TX_DMA_SDL(_x) (((_x) & 0x3fff) << 16) argument
286 #define RX_DMA_PLEN0(_x) (((_x) & 0x3fff) << 16) argument
287 #define RX_DMA_GET_PLEN0(_x) (((_x) >> 16) & 0x3fff) argument
290 #define RX_DMA_VID(_x) ((_x) & 0xfff) argument
570 #define MTK_HAS_CAPS(caps, _x) (((caps) & (_x)) == (_x)) argument

123