Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/include/uapi/linux/byteorder/
Dbig_endian.h15 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) argument
16 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) argument
17 #define __constant_htons(x) ((__force __be16)(__u16)(x)) argument
18 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) argument
19 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) argument
20 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) argument
21 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) argument
22 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) argument
23 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) argument
24 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) argument
[all …]
Dlittle_endian.h15 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) argument
16 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) argument
17 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) argument
18 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) argument
19 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument
20 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument
21 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument
22 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument
23 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument
24 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) argument
[all …]
/include/soc/mscc/
Docelot_hsio.h90 #define HSIO_PLL5G_CFG0_SELBGV820(x) (((x) << 23) & GENMASK(26, 23)) argument
92 #define HSIO_PLL5G_CFG0_SELBGV820_X(x) (((x) & GENMASK(26, 23)) >> 23) argument
93 #define HSIO_PLL5G_CFG0_LOOP_BW_RES(x) (((x) << 18) & GENMASK(22, 18)) argument
95 #define HSIO_PLL5G_CFG0_LOOP_BW_RES_X(x) (((x) & GENMASK(22, 18)) >> 18) argument
96 #define HSIO_PLL5G_CFG0_SELCPI(x) (((x) << 16) & GENMASK(17, 16)) argument
98 #define HSIO_PLL5G_CFG0_SELCPI_X(x) (((x) & GENMASK(17, 16)) >> 16) argument
103 #define HSIO_PLL5G_CFG0_CPU_CLK_DIV(x) (((x) << 6) & GENMASK(11, 6)) argument
105 #define HSIO_PLL5G_CFG0_CPU_CLK_DIV_X(x) (((x) & GENMASK(11, 6)) >> 6) argument
106 #define HSIO_PLL5G_CFG0_CORE_CLK_DIV(x) ((x) & GENMASK(5, 0)) argument
114 #define HSIO_PLL5G_CFG1_RC_CTRL_DATA(x) (((x) << 6) & GENMASK(13, 6)) argument
[all …]
/include/trace/events/
Drdma.h35 #define ib_event(x) TRACE_DEFINE_ENUM(IB_EVENT_##x); argument
36 #define ib_event_end(x) TRACE_DEFINE_ENUM(IB_EVENT_##x); argument
43 #define ib_event(x) { IB_EVENT_##x, #x }, argument
44 #define ib_event_end(x) { IB_EVENT_##x, #x } argument
46 #define rdma_show_ib_event(x) \ argument
79 #define ib_wc_status(x) TRACE_DEFINE_ENUM(IB_WC_##x); argument
80 #define ib_wc_status_end(x) TRACE_DEFINE_ENUM(IB_WC_##x); argument
87 #define ib_wc_status(x) { IB_WC_##x, #x }, argument
88 #define ib_wc_status_end(x) { IB_WC_##x, #x } argument
90 #define rdma_show_wc_status(x) \ argument
[all …]
/include/asm-generic/
Dint-ll64.h25 #define S8_C(x) x argument
26 #define U8_C(x) x ## U argument
27 #define S16_C(x) x argument
28 #define U16_C(x) x ## U argument
29 #define S32_C(x) x argument
30 #define U32_C(x) x ## U argument
31 #define S64_C(x) x ## LL argument
32 #define U64_C(x) x ## ULL argument
36 #define S8_C(x) x argument
37 #define U8_C(x) x argument
[all …]
Dpage.h51 #define pte_val(x) ((x).pte) argument
52 #define pmd_val(x) ((&x)->pmd[0]) argument
53 #define pgd_val(x) ((x).pgd) argument
54 #define pgprot_val(x) ((x).pgprot) argument
56 #define __pte(x) ((pte_t) { (x) } ) argument
57 #define __pmd(x) ((pmd_t) { (x) } ) argument
58 #define __pgd(x) ((pgd_t) { (x) } ) argument
59 #define __pgprot(x) ((pgprot_t) { (x) } ) argument
78 #define __va(x) ((void *)((unsigned long) (x))) argument
79 #define __pa(x) ((unsigned long) (x)) argument
/include/linux/
Dbitrev.h21 static inline u16 __bitrev16(u16 x) in __bitrev16()
26 static inline u32 __bitrev32(u32 x) in __bitrev32()
33 #define __bitrev8x4(x) (__bitrev32(swab32(x))) argument
35 #define __constant_bitrev32(x) \ argument
46 #define __constant_bitrev16(x) \ argument
56 #define __constant_bitrev8x4(x) \ argument
65 #define __constant_bitrev8(x) \ argument
74 #define bitrev32(x) \ argument
82 #define bitrev16(x) \ argument
90 #define bitrev8x4(x) \ argument
[all …]
Dinterconnect.h14 #define Bps_to_icc(x) ((x) / 1000) argument
15 #define kBps_to_icc(x) (x) argument
16 #define MBps_to_icc(x) ((x) * 1000) argument
17 #define GBps_to_icc(x) ((x) * 1000 * 1000) argument
18 #define bps_to_icc(x) (1) argument
19 #define kbps_to_icc(x) ((x) / 8 + ((x) % 8 ? 1 : 0)) argument
20 #define Mbps_to_icc(x) ((x) * 1000 / 8) argument
21 #define Gbps_to_icc(x) ((x) * 1000 * 1000 / 8) argument
Dpfn.h18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) argument
19 #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT) argument
20 #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) argument
21 #define PFN_PHYS(x) ((phys_addr_t)(x) << PAGE_SHIFT) argument
22 #define PHYS_PFN(x) ((unsigned long)((x) >> PAGE_SHIFT)) argument
Dpxa2xx_ssp.h47 #define SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..16] */ argument
54 #define SSCR0_SCR(x) ((x) << 8) /* Serial Clock Rate (mask) */ argument
62 #define SSCR0_SlotsPerFrm(x) (((x) - 1) << 24) /* Time slots per frame [1..8] */ argument
90 #define SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..16] */ argument
92 #define SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..16] */ argument
101 #define CE4100_SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..4] */ argument
103 #define CE4100_SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..4] */ argument
107 #define QUARK_X1000_SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..32] */ argument
118 #define QUARK_X1000_SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..32] */ argument
120 #define QUARK_X1000_SSCR1_RxTresh(x) (((x) - 1) << 11) /* level [1..32] */ argument
[all …]
Dvmstat.h104 #define count_vm_numa_event(x) count_vm_event(x) argument
105 #define count_vm_numa_events(x, y) count_vm_events(x, y) argument
107 #define count_vm_numa_event(x) do {} while (0) argument
108 #define count_vm_numa_events(x, y) do { (void)(y); } while (0) argument
112 #define count_vm_tlb_event(x) count_vm_event(x) argument
113 #define count_vm_tlb_events(x, y) count_vm_events(x, y) argument
115 #define count_vm_tlb_event(x) do {} while (0) argument
116 #define count_vm_tlb_events(x, y) do { (void)(y); } while (0) argument
120 #define count_vm_vmacache_event(x) count_vm_event(x) argument
122 #define count_vm_vmacache_event(x) do {} while (0) argument
[all …]
Dkernel.h30 #define REPEAT_BYTE(x) ((~0ul / 0xff) * (x)) argument
33 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) argument
34 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) argument
35 #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) argument
37 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) argument
49 #define u64_to_user_ptr(x) ( \ argument
62 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
71 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument
80 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
115 #define roundup(x, y) ( \ argument
[all …]
Dbcd.h7 #define bcd2bin(x) \ argument
12 #define bin2bcd(x) \ argument
17 #define const_bcd2bin(x) (((x) & 0x0f) + ((x) >> 4) * 10) argument
18 #define const_bin2bcd(x) ((((x) / 10) << 4) + (x) % 10) argument
Dcompiler_types.h14 # define __must_hold(x) __attribute__((context(x,1,1))) argument
15 # define __acquires(x) __attribute__((context(x,0,1))) argument
16 # define __releases(x) __attribute__((context(x,1,0))) argument
17 # define __acquire(x) __context__(x,1) argument
18 # define __release(x) __context__(x,-1) argument
19 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) argument
37 # define __chk_user_ptr(x) (void)0 argument
38 # define __chk_io_ptr(x) (void)0 argument
39 # define __builtin_warning(x, y...) (1) argument
40 # define __must_hold(x) argument
[all …]
Dmem_encrypt.h31 #define __sme_set(x) ((x) | sme_me_mask) argument
32 #define __sme_clr(x) ((x) & ~sme_me_mask) argument
34 #define __sme_set(x) (x) argument
35 #define __sme_clr(x) (x) argument
/include/uapi/linux/
Dswab.h13 #define ___constant_swab16(x) ((__u16)( \ argument
17 #define ___constant_swab32(x) ((__u32)( \ argument
23 #define ___constant_swab64(x) ((__u64)( \ argument
33 #define ___constant_swahw32(x) ((__u32)( \ argument
37 #define ___constant_swahb32(x) ((__u32)( \ argument
101 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) argument
103 #define __swab16(x) \ argument
114 #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) argument
116 #define __swab32(x) \ argument
127 #define __swab64(x) (__u64)__builtin_bswap64((__u64)(x)) argument
[all …]
Da.out.h77 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \ argument
83 #define _N_HDROFF(x) (1024 - sizeof (struct exec)) argument
86 #define N_TXTOFF(x) \ argument
92 #define N_DATOFF(x) (N_TXTOFF(x) + (x).a_text) argument
96 #define N_TRELOFF(x) (N_DATOFF(x) + (x).a_data) argument
100 #define N_DRELOFF(x) (N_TRELOFF(x) + N_TRSIZE(x)) argument
104 #define N_SYMOFF(x) (N_DRELOFF(x) + N_DRSIZE(x)) argument
108 #define N_STROFF(x) (N_SYMOFF(x) + N_SYMSIZE(x)) argument
113 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0) argument
130 #define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE) argument
[all …]
/include/linux/mtd/
Dcfi_endian.h27 #define cpu_to_cfi8(map, x) (x) argument
28 #define cfi8_to_cpu(map, x) (x) argument
29 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) argument
30 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) argument
31 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) argument
32 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) argument
33 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) argument
34 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x)) argument
36 #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) argument
37 #define _cfi_to_cpu(w, s, x) (cfi_host(s)?(x):_swap_to_cpu(w, s, x)) argument
[all …]
/include/dt-bindings/sound/
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 …]
/include/scsi/
Dscsi_transport_spi.h62 #define spi_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->period) argument
63 #define spi_min_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->min_period) argument
64 #define spi_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->offset) argument
65 #define spi_max_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_offset) argument
66 #define spi_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->width) argument
67 #define spi_max_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_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
[all …]
/include/linux/mfd/
Dsun4i-gpadc.h12 #define SUN4I_GPADC_CTRL0_ADC_FIRST_DLY(x) ((GENMASK(7, 0) & (x)) << 24) argument
15 #define SUN4I_GPADC_CTRL0_ADC_CLK_DIVIDER(x) ((GENMASK(1, 0) & (x)) << 20) argument
16 #define SUN4I_GPADC_CTRL0_FS_DIV(x) ((GENMASK(3, 0) & (x)) << 16) argument
17 #define SUN4I_GPADC_CTRL0_T_ACQ(x) (GENMASK(15, 0) & (x)) argument
21 #define SUN4I_GPADC_CTRL1_STYLUS_UP_DEBOUNCE(x) ((GENMASK(7, 0) & (x)) << 12) argument
27 #define SUN4I_GPADC_CTRL1_ADC_CHAN_SELECT(x) (GENMASK(2, 0) & (x)) argument
35 #define SUN6I_GPADC_CTRL1_ADC_CHAN_SELECT(x) (GENMASK(3, 0) & BIT(x)) argument
44 #define SUN4I_GPADC_CTRL2_TP_SENSITIVE_ADJUST(x) ((GENMASK(3, 0) & (x)) << 28) argument
45 #define SUN4I_GPADC_CTRL2_TP_MODE_SELECT(x) ((GENMASK(1, 0) & (x)) << 26) argument
47 #define SUN4I_GPADC_CTRL2_PRE_MEA_THRE_CNT(x) (GENMASK(23, 0) & (x)) argument
[all …]
Dmc13xxx.h132 #define MC13783_LED_C0_ABMODE(x) (((x) & 0x7) << 11) argument
133 #define MC13783_LED_C0_ABREF(x) (((x) & 0x3) << 14) argument
138 #define MC13783_LED_C2_CURRENT_MD(x) (((x) & 0x7) << 0) argument
139 #define MC13783_LED_C2_CURRENT_AD(x) (((x) & 0x7) << 3) argument
140 #define MC13783_LED_C2_CURRENT_KP(x) (((x) & 0x7) << 6) argument
141 #define MC13783_LED_C2_PERIOD(x) (((x) & 0x3) << 21) argument
144 #define MC13783_LED_C3_CURRENT_R1(x) (((x) & 0x3) << 0) argument
145 #define MC13783_LED_C3_CURRENT_G1(x) (((x) & 0x3) << 2) argument
146 #define MC13783_LED_C3_CURRENT_B1(x) (((x) & 0x3) << 4) argument
147 #define MC13783_LED_C3_PERIOD(x) (((x) & 0x3) << 21) argument
[all …]
/include/video/
Dili9320.h12 #define ILI9320_REG(x) (x) argument
84 #define ILI9320_ENTRYMODE_ID(x) ((x) << 4) argument
92 #define ILI9320_RESIZING_RSZ(x) ((x) << 0) argument
93 #define ILI9320_RESIZING_RCH(x) ((x) << 4) argument
94 #define ILI9320_RESIZING_RCV(x) ((x) << 8) argument
97 #define ILI9320_DISPLAY1_D(x) ((x) << 0) argument
102 #define ILI9320_DISPLAY1_PTDE(x) ((x) << 12) argument
105 #define ILI9320_DISPLAY2_BP(x) ((x) << 0) argument
106 #define ILI9320_DISPLAY2_FP(x) ((x) << 8) argument
119 #define ILI9320_RGBIF1_ENC_FRAMES(x) (((x) - 1)<< 13) argument
[all …]
/include/linux/iio/frequency/
Dadf4350.h20 #define ADF4350_REG0_FRACT(x) (((x) & 0xFFF) << 3) argument
21 #define ADF4350_REG0_INT(x) (((x) & 0xFFFF) << 15) argument
24 #define ADF4350_REG1_MOD(x) (((x) & 0xFFF) << 3) argument
25 #define ADF4350_REG1_PHASE(x) (((x) & 0xFFF) << 15) argument
37 #define ADF4350_REG2_CHARGE_PUMP_CURR_uA(x) (((((x)-312) / 312) & 0xF) << 9) argument
39 #define ADF4350_REG2_10BIT_R_CNT(x) ((x) << 14) argument
42 #define ADF4350_REG2_MUXOUT(x) ((x) << 26) argument
43 #define ADF4350_REG2_NOISE_MODE(x) (((unsigned)(x)) << 29) argument
53 #define ADF4350_REG3_12BIT_CLKDIV(x) ((x) << 3) argument
54 #define ADF4350_REG3_12BIT_CLKDIV_MODE(x) ((x) << 16) argument
[all …]
/include/linux/platform_data/
Dvideo-imxfb.h33 #define PCR_ACD(x) (((x) & 0x7f) << 8) argument
36 #define PCR_PCD(x) ((x) & 0x3f) argument
38 #define PWMR_CLS(x) (((x) & 0x1ff) << 16) argument
43 #define PWMR_PW(x) ((x) & 0xff) argument
45 #define LSCR1_PS_RISE_DELAY(x) (((x) & 0x7f) << 26) argument
46 #define LSCR1_CLS_RISE_DELAY(x) (((x) & 0x3f) << 16) argument
47 #define LSCR1_REV_TOGGLE_DELAY(x) (((x) & 0xf) << 8) argument
48 #define LSCR1_GRAY2(x) (((x) & 0xf) << 4) argument
49 #define LSCR1_GRAY1(x) (((x) & 0xf)) argument

12345678910>>...15