Home
last modified time | relevance | path

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

12345678910>>...13

/include/uapi/linux/byteorder/
Dbig_endian.h14 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) argument
15 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) argument
16 #define __constant_htons(x) ((__force __be16)(__u16)(x)) argument
17 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) argument
18 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) argument
19 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) argument
20 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) argument
21 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) argument
22 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) argument
23 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) argument
[all …]
Dlittle_endian.h14 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) argument
15 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) argument
16 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) argument
17 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) argument
18 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument
19 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument
20 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument
21 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument
22 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument
23 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) argument
[all …]
/include/asm-generic/
Dint-ll64.h27 #define S8_C(x) x argument
28 #define U8_C(x) x ## U argument
29 #define S16_C(x) x argument
30 #define U16_C(x) x ## U argument
31 #define S32_C(x) x argument
32 #define U32_C(x) x ## U argument
33 #define S64_C(x) x ## LL argument
34 #define U64_C(x) x ## ULL argument
38 #define S8_C(x) x argument
39 #define U8_C(x) x argument
[all …]
Dpage.h50 #define pte_val(x) ((x).pte) argument
51 #define pmd_val(x) ((&x)->pmd[0]) argument
52 #define pgd_val(x) ((x).pgd) argument
53 #define pgprot_val(x) ((x).pgprot) argument
55 #define __pte(x) ((pte_t) { (x) } ) argument
56 #define __pmd(x) ((pmd_t) { (x) } ) argument
57 #define __pgd(x) ((pgd_t) { (x) } ) argument
58 #define __pgprot(x) ((pgprot_t) { (x) } ) argument
77 #define __va(x) ((void *)((unsigned long) (x))) argument
78 #define __pa(x) ((unsigned long) (x)) argument
/include/uapi/linux/
Dswab.h12 #define ___constant_swab16(x) ((__u16)( \ argument
16 #define ___constant_swab32(x) ((__u32)( \ argument
22 #define ___constant_swab64(x) ((__u64)( \ argument
32 #define ___constant_swahw32(x) ((__u32)( \ argument
36 #define ___constant_swahb32(x) ((__u32)( \ argument
100 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) argument
102 #define __swab16(x) \ argument
113 #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) argument
115 #define __swab32(x) \ argument
126 #define __swab64(x) (__u64)__builtin_bswap64((__u64)(x)) argument
[all …]
Da.out.h76 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \ argument
82 #define _N_HDROFF(x) (1024 - sizeof (struct exec)) argument
85 #define N_TXTOFF(x) \ argument
91 #define N_DATOFF(x) (N_TXTOFF(x) + (x).a_text) argument
95 #define N_TRELOFF(x) (N_DATOFF(x) + (x).a_data) argument
99 #define N_DRELOFF(x) (N_TRELOFF(x) + N_TRSIZE(x)) argument
103 #define N_SYMOFF(x) (N_DRELOFF(x) + N_DRSIZE(x)) argument
107 #define N_STROFF(x) (N_SYMOFF(x) + N_SYMSIZE(x)) argument
112 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0) argument
147 #define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE) argument
[all …]
/include/linux/
Dbitrev.h20 static inline u16 __bitrev16(u16 x) in __bitrev16()
25 static inline u32 __bitrev32(u32 x) in __bitrev32()
32 #define __constant_bitrev32(x) \ argument
43 #define __constant_bitrev16(x) \ argument
53 #define __constant_bitrev8(x) \ argument
62 #define bitrev32(x) \ argument
70 #define bitrev16(x) \ argument
78 #define bitrev8(x) \ argument
Dcompiler.h13 # define __must_hold(x) __attribute__((context(x,1,1))) argument
14 # define __acquires(x) __attribute__((context(x,0,1))) argument
15 # define __releases(x) __attribute__((context(x,1,0))) argument
16 # define __acquire(x) __context__(x,1) argument
17 # define __release(x) __context__(x,-1) argument
18 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) argument
36 # define __chk_user_ptr(x) (void)0 argument
37 # define __chk_io_ptr(x) (void)0 argument
38 # define __builtin_warning(x, y...) (1) argument
39 # define __must_hold(x) argument
[all …]
Dpfn.h17 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) argument
18 #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT) argument
19 #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) argument
20 #define PFN_PHYS(x) ((phys_addr_t)(x) << PAGE_SHIFT) argument
21 #define PHYS_PFN(x) ((unsigned long)((x) >> PAGE_SHIFT)) argument
Dpxa2xx_ssp.h50 #define SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..16] */ argument
57 #define SSCR0_SCR(x) ((x) << 8) /* Serial Clock Rate (mask) */ argument
65 #define SSCR0_SlotsPerFrm(x) (((x) - 1) << 24) /* Time slots per frame [1..8] */ argument
93 #define SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..16] */ argument
95 #define SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..16] */ argument
104 #define CE4100_SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..4] */ argument
106 #define CE4100_SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..4] */ argument
110 #define QUARK_X1000_SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..32] */ argument
121 #define QUARK_X1000_SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..32] */ argument
123 #define QUARK_X1000_SSCR1_RxTresh(x) (((x) - 1) << 11) /* level [1..32] */ argument
[all …]
Dbcd.h6 #define bcd2bin(x) \ argument
11 #define bin2bcd(x) \ argument
16 #define const_bcd2bin(x) (((x) & 0x0f) + ((x) >> 4) * 10) argument
17 #define const_bin2bcd(x) ((((x) / 10) << 4) + (x) % 10) argument
Dvmstat.h83 #define count_vm_numa_event(x) count_vm_event(x) argument
84 #define count_vm_numa_events(x, y) count_vm_events(x, y) argument
86 #define count_vm_numa_event(x) do {} while (0) argument
87 #define count_vm_numa_events(x, y) do { (void)(y); } while (0) argument
91 #define count_vm_tlb_event(x) count_vm_event(x) argument
92 #define count_vm_tlb_events(x, y) count_vm_events(x, y) argument
94 #define count_vm_tlb_event(x) do {} while (0) argument
95 #define count_vm_tlb_events(x, y) do { (void)(y); } while (0) argument
99 #define count_vm_vmacache_event(x) count_vm_event(x) argument
101 #define count_vm_vmacache_event(x) do {} while (0) argument
[all …]
Dlibfdt_env.h12 #define fdt32_to_cpu(x) be32_to_cpu(x) argument
13 #define cpu_to_fdt32(x) cpu_to_be32(x) argument
14 #define fdt64_to_cpu(x) be64_to_cpu(x) argument
15 #define cpu_to_fdt64(x) cpu_to_be64(x) argument
Dkernel.h46 #define REPEAT_BYTE(x) ((~0ul / 0xff) * (x)) argument
48 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) argument
49 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) argument
50 #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) argument
52 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) argument
56 #define u64_to_user_ptr(x) ( \ argument
69 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
70 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument
71 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
85 #define roundup(x, y) ( \ argument
[all …]
/include/linux/mtd/
Dcfi_endian.h41 #define cpu_to_cfi8(map, x) (x) argument
42 #define cfi8_to_cpu(map, x) (x) argument
43 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) argument
44 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) argument
45 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) argument
46 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) argument
47 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) argument
48 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x)) argument
50 #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) argument
51 #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.h28 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument
32 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument
33 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument
36 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument
42 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument
44 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument
46 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument
48 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument
51 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument
53 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument
[all …]
/include/scsi/
Dscsi_transport_spi.h75 #define spi_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->period) argument
76 #define spi_min_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->min_period) argument
77 #define spi_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->offset) argument
78 #define spi_max_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_offset) argument
79 #define spi_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->width) argument
80 #define spi_max_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_width) argument
81 #define spi_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->iu) argument
82 #define spi_max_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_iu) argument
83 #define spi_dt(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dt) argument
84 #define spi_qas(x) (((struct spi_transport_attrs *)&(x)->starget_data)->qas) argument
[all …]
/include/linux/mfd/
Dmc13xxx.h135 #define MC13783_LED_C0_ABMODE(x) (((x) & 0x7) << 11) argument
136 #define MC13783_LED_C0_ABREF(x) (((x) & 0x3) << 14) argument
141 #define MC13783_LED_C2_CURRENT_MD(x) (((x) & 0x7) << 0) argument
142 #define MC13783_LED_C2_CURRENT_AD(x) (((x) & 0x7) << 3) argument
143 #define MC13783_LED_C2_CURRENT_KP(x) (((x) & 0x7) << 6) argument
144 #define MC13783_LED_C2_PERIOD(x) (((x) & 0x3) << 21) argument
147 #define MC13783_LED_C3_CURRENT_R1(x) (((x) & 0x3) << 0) argument
148 #define MC13783_LED_C3_CURRENT_G1(x) (((x) & 0x3) << 2) argument
149 #define MC13783_LED_C3_CURRENT_B1(x) (((x) & 0x3) << 4) argument
150 #define MC13783_LED_C3_PERIOD(x) (((x) & 0x3) << 21) argument
[all …]
Dimx25-tsadc.h29 #define MX25_TGCR_PDBTIME(x) ((x) << 25) argument
33 #define MX25_TGCR_ADCCLKCFG(x) ((x) << 16) argument
34 #define MX25_TGCR_GET_ADCCLK(x) (((x) >> 16) & 0x1f) argument
51 #define _MX25_ADCQ_ITEM(item, x) ((x) << ((item) * 4)) argument
52 #define MX25_ADCQ_ITEM(item, x) ((item) >= 8 ? \ argument
56 #define MX25_ADCQ_FIFO_DATA(x) (((x) >> 4) & 0xfff) argument
57 #define MX25_ADCQ_FIFO_ID(x) ((x) & 0xf) argument
65 #define MX25_ADCQ_CR_RWAIT(x) ((x) << 12) argument
67 #define MX25_ADCQ_CR_WMRK(x) ((x) << 8) argument
69 #define MX25_ADCQ_CR_LITEMID(x) ((x) << 4) argument
[all …]
/include/video/
Dili9320.h15 #define ILI9320_REG(x) (x) argument
87 #define ILI9320_ENTRYMODE_ID(x) ((x) << 4) argument
95 #define ILI9320_RESIZING_RSZ(x) ((x) << 0) argument
96 #define ILI9320_RESIZING_RCH(x) ((x) << 4) argument
97 #define ILI9320_RESIZING_RCV(x) ((x) << 8) argument
100 #define ILI9320_DISPLAY1_D(x) ((x) << 0) argument
105 #define ILI9320_DISPLAY1_PTDE(x) ((x) << 12) argument
108 #define ILI9320_DISPLAY2_BP(x) ((x) << 0) argument
109 #define ILI9320_DISPLAY2_FP(x) ((x) << 8) argument
122 #define ILI9320_RGBIF1_ENC_FRAMES(x) (((x) - 1)<< 13) argument
[all …]
/include/linux/iio/frequency/
Dadf4350.h21 #define ADF4350_REG0_FRACT(x) (((x) & 0xFFF) << 3) argument
22 #define ADF4350_REG0_INT(x) (((x) & 0xFFFF) << 15) argument
25 #define ADF4350_REG1_MOD(x) (((x) & 0xFFF) << 3) argument
26 #define ADF4350_REG1_PHASE(x) (((x) & 0xFFF) << 15) argument
38 #define ADF4350_REG2_CHARGE_PUMP_CURR_uA(x) (((((x)-312) / 312) & 0xF) << 9) argument
40 #define ADF4350_REG2_10BIT_R_CNT(x) ((x) << 14) argument
43 #define ADF4350_REG2_MUXOUT(x) ((x) << 26) argument
44 #define ADF4350_REG2_NOISE_MODE(x) (((unsigned)(x)) << 29) argument
54 #define ADF4350_REG3_12BIT_CLKDIV(x) ((x) << 3) argument
55 #define ADF4350_REG3_12BIT_CLKDIV_MODE(x) ((x) << 16) argument
[all …]
/include/linux/platform_data/
Dvideo-imxfb.h32 #define PCR_ACD(x) (((x) & 0x7f) << 8) argument
35 #define PCR_PCD(x) ((x) & 0x3f) argument
37 #define PWMR_CLS(x) (((x) & 0x1ff) << 16) argument
42 #define PWMR_PW(x) ((x) & 0xff) argument
44 #define LSCR1_PS_RISE_DELAY(x) (((x) & 0x7f) << 26) argument
45 #define LSCR1_CLS_RISE_DELAY(x) (((x) & 0x3f) << 16) argument
46 #define LSCR1_REV_TOGGLE_DELAY(x) (((x) & 0xf) << 8) argument
47 #define LSCR1_GRAY2(x) (((x) & 0xf) << 4) argument
48 #define LSCR1_GRAY1(x) (((x) & 0xf)) argument
51 #define DMACR_HM(x) (((x) & 0xf) << 16) argument
[all …]
/include/linux/mfd/syscon/
Datmel-smc.h27 #define AT91SAM9_SMC_NWESETUP(x) (x) argument
28 #define AT91SAM9_SMC_NCS_WRSETUP(x) ((x) << 8) argument
29 #define AT91SAM9_SMC_NRDSETUP(x) ((x) << 16) argument
30 #define AT91SAM9_SMC_NCS_NRDSETUP(x) ((x) << 24) argument
33 #define AT91SAM9_SMC_NWEPULSE(x) (x) argument
34 #define AT91SAM9_SMC_NCS_WRPULSE(x) ((x) << 8) argument
35 #define AT91SAM9_SMC_NRDPULSE(x) ((x) << 16) argument
36 #define AT91SAM9_SMC_NCS_NRDPULSE(x) ((x) << 24) argument
39 #define AT91SAM9_SMC_NWECYCLE(x) (x) argument
40 #define AT91SAM9_SMC_NRDCYCLE(x) ((x) << 16) argument
[all …]
/include/linux/usb/
Dphy.h149 static inline int usb_phy_io_read(struct usb_phy *x, u32 reg) in usb_phy_io_read()
157 static inline int usb_phy_io_write(struct usb_phy *x, u32 val, u32 reg) in usb_phy_io_write()
166 usb_phy_init(struct usb_phy *x) in usb_phy_init()
175 usb_phy_shutdown(struct usb_phy *x) in usb_phy_shutdown()
182 usb_phy_vbus_on(struct usb_phy *x) in usb_phy_vbus_on()
191 usb_phy_vbus_off(struct usb_phy *x) in usb_phy_vbus_off()
249 static inline void usb_put_phy(struct usb_phy *x) in usb_put_phy()
253 static inline void devm_usb_put_phy(struct device *dev, struct usb_phy *x) in devm_usb_put_phy()
263 static inline void usb_phy_set_event(struct usb_phy *x, unsigned long event) in usb_phy_set_event()
269 usb_phy_set_power(struct usb_phy *x, unsigned mA) in usb_phy_set_power()
[all …]
/include/linux/byteorder/
Dgeneric.h133 #define ___htonl(x) __cpu_to_be32(x) argument
134 #define ___htons(x) __cpu_to_be16(x) argument
135 #define ___ntohl(x) __be32_to_cpu(x) argument
136 #define ___ntohs(x) __be16_to_cpu(x) argument
138 #define htonl(x) ___htonl(x) argument
139 #define ntohl(x) ___ntohl(x) argument
140 #define htons(x) ___htons(x) argument
141 #define ntohs(x) ___ntohs(x) argument

12345678910>>...13