Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/netronome/nfp/nfpcore/
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 …]
Dnfp6000_pcie.c37 #define NFP_PCIE_BAR_EXPLICIT_BAR0(_x, _y) \ argument
38 (0x00000080 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3)))
39 #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
43 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address(_x) (((_x) & 0xffffff) << 0) argument
44 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address_of(_x) (((_x) >> 0) & 0xffffff) argument
45 #define NFP_PCIE_BAR_EXPLICIT_BAR1(_x, _y) \ argument
46 (0x00000084 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3)))
[all …]
/drivers/gpu/drm/exynos/
Dregs-decon7.h89 #define VIDOSD_H(_x) (0x80 + ((_x) * 4)) argument
134 #define VIDOSDxA_TOPLEFT_X(_x) (((_x) & 0x1fff) << 13) argument
139 #define VIDOSDxA_TOPLEFT_Y(_x) (((_x) & 0x1fff) << 0) argument
144 #define VIDOSDxB_BOTRIGHT_X(_x) (((_x) & 0x1fff) << 13) argument
149 #define VIDOSDxB_BOTRIGHT_Y(_x) (((_x) & 0x1fff) << 0) argument
151 #define VIDOSDxC_ALPHA0_R_F(_x) (((_x) & 0xFF) << 16) argument
152 #define VIDOSDxC_ALPHA0_G_F(_x) (((_x) & 0xFF) << 8) argument
153 #define VIDOSDxC_ALPHA0_B_F(_x) (((_x) & 0xFF) << 0) argument
155 #define VIDOSDxD_ALPHA1_R_F(_x) (((_x) & 0xFF) << 16) argument
156 #define VIDOSDxD_ALPHA1_G_F(_x) (((_x) & 0xFF) << 8) argument
[all …]
/drivers/net/ethernet/netronome/nfp/
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
296 #define NFP_NET_CFG_TXR_WB_ADDR(_x) (NFP_NET_CFG_TXR_BASE + 0x200 + \ 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
301 #define NFP_NET_CFG_TXR_IRQ_MOD(_x) (NFP_NET_CFG_TXR_BASE + 0x500 + \ argument
302 ((_x) * 0x4))
314 #define NFP_NET_CFG_RXR_ADDR(_x) (NFP_NET_CFG_RXR_BASE + ((_x) * 0x8)) argument
[all …]
/drivers/usb/dwc2/
Dhw.h125 #define GUSBCFG_TOUTCAL(_x) ((_x) << 0) argument
134 #define GRSTCTL_TXFNUM(_x) ((_x) << 6) argument
444 #define FIFOSIZE_DEPTH_GET(_x) (((_x) >> 16) & 0xffff) 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
525 #define DAINT_OUTEP(_x) (1 << ((_x) + 16)) argument
526 #define DAINT_INEP(_x) (1 << (_x)) argument
566 #define DXEPCTL_TXFNUM(_x) ((_x) << 22) argument
[all …]
/drivers/iio/imu/inv_mpu6050/
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
/drivers/scsi/cxlflash/
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
/drivers/scsi/bfa/
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
Dbfa_plog.h17 #define BFA_PL_LOG_REC_INCR(_x) ((_x)++, (_x) %= BFA_PL_NLOG_ENTS) argument
Dbfa_ioc.h67 #define bfa_swap_words(_x) ( \ argument
68 ((u64)(_x) << 32) | ((u64)(_x) >> 32))
71 #define bfa_sge_to_be(_x) argument
72 #define bfa_sge_to_le(_x) bfa_sge_word_swap(_x) argument
73 #define bfa_sgaddr_le(_x) bfa_swap_words(_x) argument
75 #define bfa_sge_to_be(_x) bfa_sge_word_swap(_x) argument
76 #define bfa_sge_to_le(_x) argument
77 #define bfa_sgaddr_le(_x) (_x) argument
/drivers/net/ethernet/mediatek/
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
363 #define MAC_MCR_MAX_RX(_x) (MAC_MCR_MAX_RX_MASK & ((_x) << 24)) argument
815 #define MTK_HAS_CAPS(caps, _x) (((caps) & (_x)) == (_x)) argument
864 #define MTK_HAS_FLAGS(flags, _x) (((flags) & (_x)) == (_x)) argument
/drivers/pinctrl/ralink/
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
/drivers/mmc/host/
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
/drivers/phy/samsung/
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
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_log.h37 typeof(x) _x = (x); \
38 GUC_LOG_LEVEL_IS_VERBOSE(_x) ? _x - 2 : 0; \
/drivers/net/wireless/ath/ath9k/
Dreg_mci.h220 #define AR_BTCOEX_MAX_TXPWR(_x) (0x18c0 + ((_x) << 2)) argument
252 #define AR_BTCOEX_MAX_RFGAIN(_x) (0x1950 + ((_x) << 2)) argument
/drivers/net/arcnet/
Darcdevice.h101 unsigned long _x, _y; \
102 _x = get_cycles(); \
107 name, bytes, _y - _x, \
108 100000000 / 1024 * bytes / (_y - _x + 1)); \
/drivers/thermal/
Drcar_gen3_thermal.c126 #define FIXPT_INT(_x) ((_x) << FIXPT_SHIFT) argument
127 #define INT_FIXPT(_x) ((_x) >> FIXPT_SHIFT) argument
129 #define FIXPT_TO_MCELSIUS(_x) ((_x) * 1000 >> FIXPT_SHIFT) argument
/drivers/net/ethernet/amd/xgbe/
Dxgbe.h244 #define XGMAC_FIFO_ALIGN(_x) \ argument
245 (((_x) + XGMAC_FIFO_UNIT - 1) & ~(XGMAC_FIFO_UNIT - 1))
274 #define XGMAC_FLOW_CONTROL_ALIGN(_x) \ argument
275 (((_x) + XGMAC_FLOW_CONTROL_UNIT - 1) & ~(XGMAC_FLOW_CONTROL_UNIT - 1))
276 #define XGMAC_FLOW_CONTROL_VALUE(_x) \ argument
277 (((_x) < 1024) ? 0 : ((_x) / XGMAC_FLOW_CONTROL_UNIT) - 2)
/drivers/soc/mediatek/
Dmtk-pm-domains.h11 #define MTK_SCPD_CAPS(_scpd, _x) ((_scpd)->data->caps & (_x)) argument
/drivers/input/touchscreen/
Dda9034-ts.c83 uint8_t _x, _y, _v; in read_tsi() local
86 ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); in read_tsi()
98 touch->last_x = ((_x << 2) & 0x3fc) | (_v & 0x3); in read_tsi()
/drivers/crypto/cavium/nitrox/
Dnitrox_mbx.c9 #define RING_TO_VFNO(_x, _y) ((_x) / (_y)) argument
/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.h15 #define FIELD_GETX(_x, _name) ((_x) >> (_name##_SHIFT) & (_name##_MASK)) argument
16 #define FIELD_SETX(_x, _name, _v) \ argument
17 (((_x) & ~((_name##_MASK) << (_name##_SHIFT))) |\
/drivers/staging/mt7621-dma/
Dhsdma-mt7621.c114 #define HSDMA_DESC_PLEN0(_x) (((_x) & HSDMA_PLEN_MASK) << 16) argument
117 #define HSDMA_DESC_PLEN1(_x) ((_x) & HSDMA_PLEN_MASK) argument
/drivers/media/pci/ddbridge/
Dddbridge.h68 #define DDB_LINK_TAG(_x) (_x << DDB_LINK_SHIFT) argument

12