Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 246) sorted by relevance

12345678910

/include/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-l64.h49 #define S8_C(x) x argument
50 #define U8_C(x) x ## U argument
51 #define S16_C(x) x argument
52 #define U16_C(x) x ## U argument
53 #define S32_C(x) x argument
54 #define U32_C(x) x ## U argument
55 #define S64_C(x) x ## L argument
56 #define U64_C(x) x ## UL argument
60 #define S8_C(x) x argument
61 #define U8_C(x) x argument
[all …]
Dint-ll64.h54 #define S8_C(x) x argument
55 #define U8_C(x) x ## U argument
56 #define S16_C(x) x argument
57 #define U16_C(x) x ## U argument
58 #define S32_C(x) x argument
59 #define U32_C(x) x ## U argument
60 #define S64_C(x) x ## LL argument
61 #define U64_C(x) x ## ULL argument
65 #define S8_C(x) x argument
66 #define U8_C(x) x argument
[all …]
Dpage.h53 #define pte_val(x) ((x).pte) argument
54 #define pmd_val(x) ((&x)->pmd[0]) argument
55 #define pgd_val(x) ((x).pgd) argument
56 #define pgprot_val(x) ((x).pgprot) argument
58 #define __pte(x) ((pte_t) { (x) } ) argument
59 #define __pmd(x) ((pmd_t) { (x) } ) argument
60 #define __pgd(x) ((pgd_t) { (x) } ) argument
61 #define __pgprot(x) ((pgprot_t) { (x) } ) argument
80 #define __va(x) ((void *)((unsigned long) (x))) argument
81 #define __pa(x) ((unsigned long) (x)) argument
Dvga.h18 #define VGA_MAP_MEM(x, s) (unsigned long)phys_to_virt(x) argument
21 #define vga_readb(x) (*(x)) argument
22 #define vga_writeb(x, y) (*(y) = (x)) argument
Dcmpxchg.h25 unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() argument
32 return __xchg_u8(x, ptr); in __xchg()
36 *(volatile u8 *)ptr = x; in __xchg()
43 return __xchg_u16(x, ptr); in __xchg()
47 *(volatile u16 *)ptr = x; in __xchg()
54 return __xchg_u32(x, ptr); in __xchg()
58 *(volatile u32 *)ptr = x; in __xchg()
66 return __xchg_u64(x, ptr); in __xchg()
70 *(volatile u64 *)ptr = x; in __xchg()
78 return x; in __xchg()
[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/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 …]
Dscsi_transport_fc.h389 #define fc_starget_node_name(x) \ argument
390 (((struct fc_starget_attrs *)&(x)->starget_data)->node_name)
391 #define fc_starget_port_name(x) \ argument
392 (((struct fc_starget_attrs *)&(x)->starget_data)->port_name)
393 #define fc_starget_port_id(x) \ argument
394 (((struct fc_starget_attrs *)&(x)->starget_data)->port_id)
530 #define shost_to_fc_host(x) \ argument
531 ((struct fc_host_attrs *)(x)->shost_data)
533 #define fc_host_node_name(x) \ argument
534 (((struct fc_host_attrs *)(x)->shost_data)->node_name)
[all …]
/include/asm-generic/bitops/
Dffs.h12 static inline int ffs(int x) in ffs() argument
16 if (!x) in ffs()
18 if (!(x & 0xffff)) { in ffs()
19 x >>= 16; in ffs()
22 if (!(x & 0xff)) { in ffs()
23 x >>= 8; in ffs()
26 if (!(x & 0xf)) { in ffs()
27 x >>= 4; in ffs()
30 if (!(x & 3)) { in ffs()
31 x >>= 2; in ffs()
[all …]
Dfls.h12 static __always_inline int fls(int x) in fls() argument
16 if (!x) in fls()
18 if (!(x & 0xffff0000u)) { in fls()
19 x <<= 16; in fls()
22 if (!(x & 0xff000000u)) { in fls()
23 x <<= 8; in fls()
26 if (!(x & 0xf0000000u)) { in fls()
27 x <<= 4; in fls()
30 if (!(x & 0xc0000000u)) { in fls()
31 x <<= 2; in fls()
[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/linux/
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
91 #define SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..16] */ argument
93 #define SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..16] */ argument
104 #define SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..4] */ argument
106 #define SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..4] */ argument
138 #define SSPSP_SCMODE(x) ((x) << 0) /* Serial Bit Rate Clock Mode */ argument
141 #define SSPSP_STRTDLY(x) ((x) << 4) /* Start Delay */ argument
142 #define SSPSP_DMYSTRT(x) ((x) << 7) /* Dummy Start */ argument
[all …]
Da.out.h76 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \ argument
77 && N_MAGIC(x) != NMAGIC \
78 && N_MAGIC(x) != ZMAGIC \
79 && N_MAGIC(x) != QMAGIC)
82 #define _N_HDROFF(x) (1024 - sizeof (struct exec)) argument
85 #define N_TXTOFF(x) \ argument
86 (N_MAGIC(x) == ZMAGIC ? _N_HDROFF((x)) + sizeof (struct exec) : \
87 (N_MAGIC(x) == QMAGIC ? 0 : sizeof (struct exec)))
91 #define N_DATOFF(x) (N_TXTOFF(x) + (x).a_text) argument
95 #define N_TRELOFF(x) (N_DATOFF(x) + (x).a_data) argument
[all …]
Dswab.h12 #define ___constant_swab16(x) ((__u16)( \ argument
13 (((__u16)(x) & (__u16)0x00ffU) << 8) | \
14 (((__u16)(x) & (__u16)0xff00U) >> 8)))
16 #define ___constant_swab32(x) ((__u32)( \ argument
17 (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \
18 (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \
19 (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \
20 (((__u32)(x) & (__u32)0xff000000UL) >> 24)))
22 #define ___constant_swab64(x) ((__u64)( \ argument
23 (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
[all …]
Drio_regs.h56 #define RIO_GET_TOTAL_PORTS(x) ((x & RIO_SWP_INFO_PORT_TOTAL_MASK) >> 8) argument
57 #define RIO_GET_PORT_NUM(x) (x & RIO_SWP_INFO_PORT_NUM_MASK) argument
193 #define RIO_GET_BLOCK_PTR(x) ((x & RIO_EFB_PTR_MASK) >> 16) argument
194 #define RIO_GET_BLOCK_ID(x) (x & RIO_EFB_ID_MASK) argument
229 #define RIO_PORT_N_MNT_REQ_CSR(x) (0x0040 + x*0x20) /* 0x0002 */ argument
232 #define RIO_PORT_N_MNT_RSP_CSR(x) (0x0044 + x*0x20) /* 0x0002 */ argument
236 #define RIO_PORT_N_ACK_STS_CSR(x) (0x0048 + x*0x20) /* 0x0002 */ argument
241 #define RIO_PORT_N_ERR_STS_CSR(x) (0x0058 + x*0x20) argument
248 #define RIO_PORT_N_CTL_CSR(x) (0x005c + x*0x20) argument
283 #define RIO_EM_PN_ERR_DETECT(x) (0x040 + x*0x40) /* Port N Error Detect CSR */ argument
[all …]
Dmtio.h139 #define GMT_EOF(x) ((x) & 0x80000000) argument
140 #define GMT_BOT(x) ((x) & 0x40000000) argument
141 #define GMT_EOT(x) ((x) & 0x20000000) argument
142 #define GMT_SM(x) ((x) & 0x10000000) /* DDS setmark */ argument
143 #define GMT_EOD(x) ((x) & 0x08000000) /* DDS EOD */ argument
144 #define GMT_WR_PROT(x) ((x) & 0x04000000) argument
146 #define GMT_ONLINE(x) ((x) & 0x01000000) argument
147 #define GMT_D_6250(x) ((x) & 0x00800000) argument
148 #define GMT_D_1600(x) ((x) & 0x00400000) argument
149 #define GMT_D_800(x) ((x) & 0x00200000) argument
[all …]
Dcompiler.h13 # define __acquires(x) __attribute__((context(x,0,1))) argument
14 # define __releases(x) __attribute__((context(x,1,0))) argument
15 # define __acquire(x) __context__(x,1) argument
16 # define __release(x) __context__(x,-1) argument
17 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) argument
33 # define __chk_user_ptr(x) (void)0 argument
34 # define __chk_io_ptr(x) (void)0 argument
35 # define __builtin_warning(x, y...) (1) argument
36 # define __acquires(x) argument
37 # define __releases(x) argument
[all …]
Dpfn.h8 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) argument
9 #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT) argument
10 #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) argument
11 #define PFN_PHYS(x) ((phys_addr_t)(x) << PAGE_SHIFT) argument
Dbootmem.h109 #define alloc_bootmem(x) \ argument
110 __alloc_bootmem(x, SMP_CACHE_BYTES, BOOTMEM_LOW_LIMIT)
111 #define alloc_bootmem_align(x, align) \ argument
112 __alloc_bootmem(x, align, BOOTMEM_LOW_LIMIT)
113 #define alloc_bootmem_nopanic(x) \ argument
114 __alloc_bootmem_nopanic(x, SMP_CACHE_BYTES, BOOTMEM_LOW_LIMIT)
115 #define alloc_bootmem_pages(x) \ argument
116 __alloc_bootmem(x, PAGE_SIZE, BOOTMEM_LOW_LIMIT)
117 #define alloc_bootmem_pages_nopanic(x) \ argument
118 __alloc_bootmem_nopanic(x, PAGE_SIZE, BOOTMEM_LOW_LIMIT)
[all …]
Dcompletion.h73 static inline void init_completion(struct completion *x) in init_completion() argument
75 x->done = 0; in init_completion()
76 init_waitqueue_head(&x->wait); in init_completion()
80 extern int wait_for_completion_interruptible(struct completion *x);
81 extern int wait_for_completion_killable(struct completion *x);
82 extern unsigned long wait_for_completion_timeout(struct completion *x,
85 struct completion *x, unsigned long timeout);
87 struct completion *x, unsigned long timeout);
88 extern bool try_wait_for_completion(struct completion *x);
89 extern bool completion_done(struct completion *x);
[all …]
/include/linux/usb/
Dotg.h52 int (*read)(struct usb_phy *x, u32 reg);
53 int (*write)(struct usb_phy *x, u32 val, u32 reg);
109 int (*init)(struct usb_phy *x);
110 void (*shutdown)(struct usb_phy *x);
113 int (*set_power)(struct usb_phy *x,
117 int (*set_suspend)(struct usb_phy *x,
141 static inline int usb_phy_io_read(struct usb_phy *x, u32 reg) in usb_phy_io_read() argument
143 if (x->io_ops && x->io_ops->read) in usb_phy_io_read()
144 return x->io_ops->read(x, reg); in usb_phy_io_read()
149 static inline int usb_phy_io_write(struct usb_phy *x, u32 val, u32 reg) in usb_phy_io_write() argument
[all …]
/include/linux/netfilter_bridge/
Debt_among.h45 #define ebt_mac_wormhash_size(x) ((x) ? sizeof(struct ebt_mac_wormhash) \ argument
46 + (x)->poolsize * sizeof(struct ebt_mac_wormhash_tuple) : 0)
57 #define ebt_among_wh_dst(x) ((x)->wh_dst_ofs ? \ argument
58 (struct ebt_mac_wormhash*)((char*)(x) + (x)->wh_dst_ofs) : NULL)
59 #define ebt_among_wh_src(x) ((x)->wh_src_ofs ? \ argument
60 (struct ebt_mac_wormhash*)((char*)(x) + (x)->wh_src_ofs) : NULL)
/include/linux/sunrpc/
Dgss_err.h94 #define GSS_CALLING_ERROR(x) \ argument
95 ((x) & (GSS_C_CALLING_ERROR_MASK << GSS_C_CALLING_ERROR_OFFSET))
96 #define GSS_ROUTINE_ERROR(x) \ argument
97 ((x) & (GSS_C_ROUTINE_ERROR_MASK << GSS_C_ROUTINE_ERROR_OFFSET))
98 #define GSS_SUPPLEMENTARY_INFO(x) \ argument
99 ((x) & (GSS_C_SUPPLEMENTARY_MASK << GSS_C_SUPPLEMENTARY_OFFSET))
100 #define GSS_ERROR(x) \ argument
101 ((x) & ((GSS_C_CALLING_ERROR_MASK << GSS_C_CALLING_ERROR_OFFSET) | \
156 #define GSS_CALLING_ERROR_FIELD(x) \ argument
157 (((x) >> GSS_C_CALLING_ERROR_OFFSET) & GSS_C_CALLING_ERROR_MASK)
[all …]

12345678910