Home
last modified time | relevance | path

Searched defs:x (Results 201 – 225 of 5848) sorted by relevance

12345678910>>...234

/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii-qdf2400.c48 #define UCDR_xO_GAIN_MODE(x) ((x) & 0x7f) argument
61 #define TX_MARGINING(x) ((x) & 0x3f) argument
67 #define CML_GEAR_MODE(x) (((x) & 7) << 3) argument
68 #define CML2CMOS_IBOOST_MODE(x) ((x) & 7) argument
70 #define RESCODE_OFFSET(x) ((x) & 0x1f) argument
73 #define MIXER_DATARATE_MODE(x) ((x) & 3) argument
75 #define VGA_THRESH_DFE(x) ((x) & 0x3f) argument
80 #define SIGDET_LVL(x) (((x) & 0xf) << 4) argument
91 #define BAND_MODE0(x) ((x) & 0x3) argument
93 #define LANE_MODE(x) ((x) & 0x1f) argument
[all …]
H A Demac-sgmii-qdf2432.c46 #define UCDR_xO_GAIN_MODE(x) ((x) & 0x7f) argument
59 #define TX_MARGINING(x) ((x) & 0x3f) argument
65 #define CML_GEAR_MODE(x) (((x) & 7) << 3) argument
66 #define CML2CMOS_IBOOST_MODE(x) ((x) & 7) argument
69 #define MIXER_DATARATE_MODE(x) ((x) & 3) argument
71 #define VGA_THRESH_DFE(x) ((x) & 0x3f) argument
76 #define SIGDET_LVL(x) (((x) & 0xf) << 4) argument
81 #define DRVR_LOGIC_CLK_DIV(x) ((x) & 0xf) argument
85 #define BAND_MODE0(x) ((x) & 0x3) argument
87 #define LANE_MODE(x) ((x) & 0x1f) argument
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Delmer0.h49 #define V_MI1_MDI_ENABLE(x) ((x) << S_MI1_MDI_ENABLE) argument
53 #define V_MI1_MDI_INVERT(x) ((x) << S_MI1_MDI_INVERT) argument
62 #define V_MI1_SOF(x) ((x) << S_MI1_SOF) argument
63 #define G_MI1_SOF(x) (((x) >> S_MI1_SOF) & M_MI1_SOF) argument
67 #define V_MI1_CLK_DIV(x) ((x) << S_MI1_CLK_DIV) argument
74 #define V_MI1_REG_ADDR(x) ((x) << S_MI1_REG_ADDR) argument
79 #define V_MI1_PHY_ADDR(x) ((x) << S_MI1_PHY_ADDR) argument
86 #define V_MI1_DATA(x) ((x) << S_MI1_DATA) argument
93 #define V_MI1_OP(x) ((x) << S_MI1_OP) argument
94 #define G_MI1_OP(x) (((x) >> S_MI1_OP) & M_MI1_OP) argument
[all …]
/openbmc/linux/include/trace/misc/
H A Dfs.h12 #define show_fs_dirent_type(x) \ argument
24 #define show_fs_fcntl_open_flags(x) \ argument
42 #define __fmode_flag(x) { (__force unsigned long)FMODE_##x, #x } argument
43 #define show_fs_fmode_flags(x) \ argument
50 #define show_fs_fcntl_cmd(x) \ argument
71 #define show_fs_fcntl_cmd(x) \ argument
96 #define show_fs_fcntl_lock_type(x) \ argument
/openbmc/linux/arch/powerpc/include/asm/
H A Duaccess.h36 #define __put_user(x, ptr) \ argument
61 #define put_user(x, ptr) \ argument
103 #define __put_user_asm2_goto(x, ptr, label) \ argument
225 #define __get_user_asm(x, addr, err, op) \ argument
239 #define __get_user_asm2(x, addr, err) \ argument
242 #define __get_user_asm2(x, addr, err) \ argument
287 #define __long_type(x) \ argument
290 #define __get_user(x, ptr) \ argument
306 #define get_user(x, ptr) \ argument
448 #define unsafe_get_user(x, p, e) do { \ argument
[all …]
H A Dpgtable-types.h20 #define __pte(x) ((pte_t) { (x) }) argument
21 static inline pte_basic_t pte_val(pte_t x) in pte_val()
26 #define __pte(x) ((pte_t)(x)) argument
27 static inline pte_basic_t pte_val(pte_t x) in pte_val()
36 #define __pmd(x) ((pmd_t) { (x) }) argument
37 static inline unsigned long pmd_val(pmd_t x) in pmd_val()
44 #define __pud(x) ((pud_t) { (x) }) argument
53 #define __pgd(x) ((pgd_t) { (x) }) argument
61 #define pgprot_val(x) ((x).pgprot) argument
62 #define __pgprot(x) ((pgprot_t) { (x) }) argument
[all …]
/openbmc/linux/arch/arm/mach-pxa/
H A Dpxa-regs.h31 #define io_v2p(x) (0x3c000000 + ((x) & 0x01ffffff) + (((x) & 0x0e000000) << 1)) argument
32 #define io_p2v(x) IOMEM(0xf2000000 + ((x) & 0x01ffffff) + (((x) & 0x1c000000) >> 1)) argument
35 # define __REG(x) (*((volatile u32 __iomem *)io_p2v(x))) argument
39 # define __REG2(x,y) \ argument
42 # define __PREG(x) (io_v2p((u32)&(x))) argument
46 # define __REG(x) io_p2v(x) argument
47 # define __PREG(x) io_v2p(x) argument
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_mg_phy_regs.h98 #define CRI_LOADGEN_SEL(x) ((x) << 12) argument
215 #define MG_PLL_DIV1_FBPREDIV(x) ((x) << 0) argument
224 #define MG_PLL_LF_GAINCTRL(x) ((x) << 16) argument
225 #define MG_PLL_LF_INT_COEFF(x) ((x) << 8) argument
226 #define MG_PLL_LF_PROP_COEFF(x) ((x) << 0) argument
245 #define MG_PLL_SSC_TYPE(x) ((x) << 26) argument
247 #define MG_PLL_SSC_STEPNUM(x) ((x) << 10) argument
249 #define MG_PLL_SSC_STEPSIZE(x) ((x) << 0) argument
262 #define MG_PLL_BIAS_CTRIM(x) ((x) << 8) argument
266 #define MG_PLL_BIAS_IREFTRIM(x) ((x) << 0) argument
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-ipq806x.c36 #define NSS_COMMON_CLK_GATE_PTP_EN(x) BIT(0x10 + x) argument
37 #define NSS_COMMON_CLK_GATE_RGMII_RX_EN(x) BIT(0x9 + (x * 2)) argument
39 #define NSS_COMMON_CLK_GATE_GMII_RX_EN(x) BIT(0x4 + x) argument
40 #define NSS_COMMON_CLK_GATE_GMII_TX_EN(x) BIT(0x0 + x) argument
43 #define NSS_COMMON_CLK_DIV_OFFSET(x) (x * 8) argument
47 #define NSS_COMMON_CLK_SRC_CTRL_OFFSET(x) (x) argument
53 #define NSS_COMMON_CLK_SRC_CTRL_RGMII(x) 1 argument
54 #define NSS_COMMON_CLK_SRC_CTRL_SGMII(x) ((x >= 2) ? 1 : 0) argument
56 #define NSS_COMMON_GMAC_CTL(x) (0x30 + (x * 4)) argument
78 #define QSGMII_PCS_CH_SPEED_SHIFT(x) ((x) * 4) argument
[all …]
/openbmc/linux/arch/arm64/include/asm/
H A Dpgtable-types.h24 #define pte_val(x) ((x).pte) argument
25 #define __pte(x) ((pte_t) { (x) } ) argument
29 #define pmd_val(x) ((x).pmd) argument
30 #define __pmd(x) ((pmd_t) { (x) } ) argument
35 #define pud_val(x) ((x).pud) argument
36 #define __pud(x) ((pud_t) { (x) } ) argument
40 #define pgd_val(x) ((x).pgd) argument
41 #define __pgd(x) ((pgd_t) { (x) } ) argument
44 #define pgprot_val(x) ((x).pgprot) argument
45 #define __pgprot(x) ((pgprot_t) { (x) } ) argument
/openbmc/linux/drivers/comedi/drivers/
H A Dmite.c94 #define CHCR_FIFO(x) (((x) & 0x1) << 15) argument
102 #define CHCR_DIR(x) (((x) & 0x1) << 3) argument
105 #define CHCR_MODE(x) (((x) & 0x7) << 0) argument
147 #define CHSR_LERR(x) (((x) & 0x3) << 4) argument
152 #define CHSR_MERR(x) (((x) & 0x3) << 2) argument
157 #define CHSR_DERR(x) (((x) & 0x3) << 0) argument
165 #define CR_RL(x) (((x) & 0x7) << 21) argument
166 #define CR_REQS(x) (((x) & 0x7) << 16) argument
168 #define CR_ASEQ(x) (((x) & 0x3) << 10) argument
173 #define CR_PSIZE(x) (((x) & 0x3) << 8) argument
[all …]
/openbmc/linux/include/sound/sof/ipc4/
H A Dheader.h144 #define SOF_IPC4_MSG_TARGET(x) ((x) << SOF_IPC4_MSG_TARGET_SHIFT) argument
150 #define SOF_IPC4_MSG_DIR(x) ((x) << SOF_IPC4_MSG_DIR_SHIFT) argument
155 #define SOF_IPC4_MSG_TYPE_SET(x) (((x) << SOF_IPC4_MSG_TYPE_SHIFT) & \ argument
157 #define SOF_IPC4_MSG_TYPE_GET(x) (((x) & SOF_IPC4_MSG_TYPE_MASK) >> \ argument
224 #define SOF_IPC4_GLB_EXT_CHAIN_DMA_FIFO_SIZE(x) (((x) << \ argument
278 #define SOF_IPC4_AUDIO_FORMAT_CFG_CHANNELS_COUNT(x) \ argument
282 #define SOF_IPC4_AUDIO_FORMAT_CFG_V_BIT_DEPTH(x) \ argument
287 #define SOF_IPC4_AUDIO_FORMAT_CFG_SAMPLE_TYPE(x) \ argument
321 #define SOF_IPC4_MOD_INSTANCE(x) ((x) << SOF_IPC4_MOD_INSTANCE_SHIFT) argument
325 #define SOF_IPC4_MOD_ID(x) ((x) << SOF_IPC4_MOD_ID_SHIFT) argument
[all …]
/openbmc/linux/include/scsi/
H A Dscsi_transport_spi.h62 #define spi_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->period) argument
64 #define spi_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->offset) argument
66 #define spi_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->width) argument
68 #define spi_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->iu) argument
69 #define spi_max_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_iu) argument
70 #define spi_dt(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dt) argument
71 #define spi_qas(x) (((struct spi_transport_attrs *)&(x)->starget_data)->qas) argument
72 #define spi_max_qas(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_qas) argument
73 #define spi_wr_flow(x) (((struct spi_transport_attrs *)&(x)->starget_data)->wr_flow) argument
75 #define spi_rti(x) (((struct spi_transport_attrs *)&(x)->starget_data)->rti) argument
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Duaccess.h49 #define __inttype(x) __typeof__( \ argument
55 #define __typefits(x,type,not) \ argument
76 #define do_get_user_call(fn,x,ptr) \ argument
135 #define __put_user_goto_u64(x, addr, label) \ argument
145 #define __put_user_goto_u64(x, ptr, label) \ argument
170 #define do_put_user_call(fn,x,ptr) \ argument
268 #define __get_user_asm_u64(x, ptr, label) \ argument
308 #define __get_user_asm_u64(x, ptr, retval) \ argument
329 #define __get_user_asm_u64(x, ptr, retval) \ argument
530 #define user_access_restore(x) smap_restore(x) argument
[all …]
/openbmc/qemu/target/loongarch/
H A Dvec.h13 #define H(x) H[(x) ^ 7] argument
20 #define Q(x) Q[x] argument
22 #define B(x) B[x] argument
23 #define H(x) H[x] argument
24 #define W(x) W[x] argument
25 #define D(x) D[x] argument
26 #define UB(x) UB[x] argument
27 #define UH(x) UH[x] argument
28 #define UW(x) UW[x] argument
29 #define UD(x) UD[x] argument
[all …]
/openbmc/linux/arch/riscv/include/asm/
H A Dpage.h78 #define pte_val(x) ((x).pte) argument
79 #define pgd_val(x) ((x).pgd) argument
80 #define pgprot_val(x) ((x).pgprot) argument
82 #define __pte(x) ((pte_t) { (x) }) argument
83 #define __pgd(x) ((pgd_t) { (x) }) argument
84 #define __pgprot(x) ((pgprot_t) { (x) }) argument
126 #define is_kernel_mapping(x) \ argument
129 #define is_linear_mapping(x) \ argument
157 #define __va_to_pa_nodebug(x) ({ \ argument
167 #define __virt_to_phys(x) __va_to_pa_nodebug(x) argument
[all …]
/openbmc/linux/arch/parisc/include/asm/
H A Dpage.h55 #define pmd_val(x) ((x).pmd + 0) argument
58 #define pte_val(x) ((x).pte) argument
59 #define pgd_val(x) ((x).pgd + 0) argument
74 #define pmd_val(x) (x) argument
75 #define __pmd(x) (x) argument
81 #define pte_val(x) (x) argument
82 #define pgd_val(x) (x) argument
83 #define pgprot_val(x) (x) argument
85 #define __pte(x) (x) argument
86 #define __pgd(x) (x) argument
[all …]
/openbmc/linux/arch/mips/tools/
H A Delf-entry.c14 # define be32toh(x) bswap_32(x) argument
15 # define le32toh(x) (x) argument
16 # define be64toh(x) bswap_64(x) argument
17 # define le64toh(x) (x) argument
19 # define be32toh(x) (x) argument
20 # define le32toh(x) bswap_32(x) argument
21 # define be64toh(x) (x) argument
22 # define le64toh(x) bswap_64(x) argument
/openbmc/linux/arch/arm/mach-sa1100/include/mach/
H A Dhardware.h35 #define io_p2v( x ) \ argument
37 #define io_v2p( x ) \ argument
40 #define __MREG(x) IOMEM(io_p2v(x)) argument
44 # define __REG(x) (*((volatile unsigned long __iomem *)io_p2v(x))) argument
45 # define __PREG(x) (io_v2p((unsigned long)&(x))) argument
49 # define __REG(x) io_p2v(x) argument
50 # define __PREG(x) io_v2p(x) argument
/openbmc/linux/include/dt-bindings/sound/
H A Dfsl-imx-audmux.h36 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument
40 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument
41 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument
44 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument
50 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument
52 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument
54 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument
56 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument
59 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument
61 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dbarrier.h29 #define isb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c5, 4" \ argument
31 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ argument
33 #define dmb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \ argument
36 #define isb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c5, 4" \ argument
38 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ argument
40 #define dmb(x) __asm__ __volatile__ ("" : : : "memory") argument
42 #define isb(x) __asm__ __volatile__ ("" : : : "memory") argument
43 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ argument
45 #define dmb(x) __asm__ __volatile__ ("" : : : "memory") argument
58 #define __arm_heavy_mb(x...) do { dsb(x); arm_heavy_mb(); } while (0) argument
[all …]
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dregs-rotator.h34 #define ROT_STATUS_IRQ_PENDING(x) (1 << (x)) argument
35 #define ROT_STATUS_IRQ(x) (((x) >> 8) & 0x3) argument
46 #define ROT_SET_BUF_SIZE_H(x) ((x) << 16) argument
47 #define ROT_SET_BUF_SIZE_W(x) ((x) << 0) argument
48 #define ROT_GET_BUF_SIZE_H(x) ((x) >> 16) argument
49 #define ROT_GET_BUF_SIZE_W(x) ((x) & 0xffff) argument
54 #define ROT_CROP_POS_Y(x) ((x) << 16) argument
55 #define ROT_CROP_POS_X(x) ((x) << 0) argument
59 #define ROT_SRC_CROP_SIZE_H(x) ((x) << 16) argument
60 #define ROT_SRC_CROP_SIZE_W(x) ((x) << 0) argument
[all …]
/openbmc/u-boot/arch/arm/mach-at91/include/mach/
H A Dat91sam9_smc.h41 #define AT91_SMC_SETUP_NWE(x) (x & 0x3f) argument
42 #define AT91_SMC_SETUP_NCS_WR(x) ((x & 0x3f) << 8) argument
43 #define AT91_SMC_SETUP_NRD(x) ((x & 0x3f) << 16) argument
44 #define AT91_SMC_SETUP_NCS_RD(x) ((x & 0x3f) << 24) argument
46 #define AT91_SMC_PULSE_NWE(x) (x & 0x7f) argument
47 #define AT91_SMC_PULSE_NCS_WR(x) ((x & 0x7f) << 8) argument
48 #define AT91_SMC_PULSE_NRD(x) ((x & 0x7f) << 16) argument
49 #define AT91_SMC_PULSE_NCS_RD(x) ((x & 0x7f) << 24) argument
51 #define AT91_SMC_CYCLE_NWE(x) (x & 0x1ff) argument
52 #define AT91_SMC_CYCLE_NRD(x) ((x & 0x1ff) << 16) argument
[all …]
/openbmc/linux/include/linux/
H A Dmath.h15 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
25 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument
35 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
59 #define roundup(x, y) ( \ argument
73 #define rounddown(x, y) ( \ argument
86 #define DIV_ROUND_CLOSEST(x, divisor)( \ argument
101 #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ argument
122 #define mult_frac(x, n, d) \ in __STRUCT_FRACT() argument
143 #define abs(x) __abs_choose_expr(x, long long, \ argument
153 #define __abs_choose_expr(x, type, other) __builtin_choose_expr( \ argument
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Ddram_sunxi_dw.h148 #define PTR3_TDINIT1(x) ((x) << 20) argument
149 #define PTR3_TDINIT0(x) ((x) << 0) argument
151 #define PTR4_TDINIT3(x) ((x) << 20) argument
152 #define PTR4_TDINIT2(x) ((x) << 0) argument
154 #define DRAMTMG0_TWTP(x) ((x) << 24) argument
155 #define DRAMTMG0_TFAW(x) ((x) << 16) argument
157 #define DRAMTMG0_TRAS(x) ((x) << 0) argument
159 #define DRAMTMG1_TXP(x) ((x) << 16) argument
160 #define DRAMTMG1_TRTP(x) ((x) << 8) argument
161 #define DRAMTMG1_TRC(x) ((x) << 0) argument
[all …]

12345678910>>...234