/include/linux/byteorder/ |
D | big_endian.h | 14 #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 …]
|
D | little_endian.h | 14 #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 …]
|
D | generic.h | 133 #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
|
/include/asm-generic/ |
D | int-l64.h | 49 #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 …]
|
D | int-ll64.h | 54 #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 …]
|
D | page.h | 53 #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
|
D | vga.h | 18 #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
|
/include/linux/mtd/ |
D | cfi_endian.h | 41 #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/ |
D | compiler.h | 13 # 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 …]
|
D | bootmem.h | 109 #define alloc_bootmem(x) \ argument 111 #define alloc_bootmem_align(x, align) \ argument 113 #define alloc_bootmem_nopanic(x) \ argument 115 #define alloc_bootmem_pages(x) \ argument 117 #define alloc_bootmem_pages_nopanic(x) \ argument 119 #define alloc_bootmem_node(pgdat, x) \ argument 121 #define alloc_bootmem_node_nopanic(pgdat, x) \ argument 123 #define alloc_bootmem_pages_node(pgdat, x) \ argument 125 #define alloc_bootmem_pages_node_nopanic(pgdat, x) \ argument 128 #define alloc_bootmem_low(x) \ argument [all …]
|
D | swab.h | 12 #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 99 #define __swab16(x) \ argument 108 #define __swab32(x) \ argument 117 #define __swab64(x) \ argument 128 #define __swahw32(x) \ argument 139 #define __swahb32(x) \ argument
|
D | pfn.h | 8 #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
|
D | pxa2xx_ssp.h | 47 #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 …]
|
D | a.out.h | 76 #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 151 #define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE) argument [all …]
|
D | kernel.h | 9 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) argument 10 #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) argument 41 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) argument 42 #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) argument 44 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) argument 54 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument 55 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument 56 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument 70 #define roundup(x, y) ( \ argument 76 #define rounddown(x, y) ( \ argument [all …]
|
D | mtio.h | 139 #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 …]
|
D | rio_regs.h | 56 #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 …]
|
D | compiler-gcc.h | 89 #define __aligned(x) __attribute__((aligned(x))) argument 97 #define __gcc_header(x) #x argument 98 #define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h) argument 99 #define gcc_header(x) _gcc_header(x) argument 110 #define uninitialized_var(x) x = x argument
|
D | prefetch.h | 38 #define prefetch(x) __builtin_prefetch(x) argument 42 #define prefetchw(x) __builtin_prefetch(x,1) argument 46 #define spin_lock_prefetch(x) prefetchw(x) argument
|
/include/scsi/ |
D | scsi_transport_spi.h | 75 #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 …]
|
D | scsi_transport_fc.h | 389 #define fc_starget_node_name(x) \ argument 391 #define fc_starget_port_name(x) \ argument 393 #define fc_starget_port_id(x) \ argument 530 #define shost_to_fc_host(x) \ argument 533 #define fc_host_node_name(x) \ argument 535 #define fc_host_port_name(x) \ argument 537 #define fc_host_permanent_port_name(x) \ argument 539 #define fc_host_supported_classes(x) \ argument 541 #define fc_host_supported_fc4s(x) \ argument 543 #define fc_host_supported_speeds(x) \ argument [all …]
|
/include/video/ |
D | ili9320.h | 15 #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/sunrpc/ |
D | gss_err.h | 94 #define GSS_CALLING_ERROR(x) \ argument 96 #define GSS_ROUTINE_ERROR(x) \ argument 98 #define GSS_SUPPLEMENTARY_INFO(x) \ argument 100 #define GSS_ERROR(x) \ argument 156 #define GSS_CALLING_ERROR_FIELD(x) \ argument 158 #define GSS_ROUTINE_ERROR_FIELD(x) \ argument 160 #define GSS_SUPPLEMENTARY_INFO_FIELD(x) \ argument
|
/include/linux/usb/ |
D | otg.h | 141 static inline int usb_phy_io_read(struct usb_phy *x, u32 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() 158 usb_phy_init(struct usb_phy *x) in usb_phy_init() 167 usb_phy_shutdown(struct usb_phy *x) in usb_phy_shutdown() 184 static inline void usb_put_transceiver(struct usb_phy *x) in usb_put_transceiver() 237 usb_phy_set_power(struct usb_phy *x, unsigned mA) in usb_phy_set_power() 246 usb_phy_set_suspend(struct usb_phy *x, int suspend) in usb_phy_set_suspend() 265 usb_register_notifier(struct usb_phy *x, struct notifier_block *nb) in usb_register_notifier() 271 usb_unregister_notifier(struct usb_phy *x, struct notifier_block *nb) in usb_unregister_notifier()
|
/include/linux/raid/ |
D | pq.h | 60 #define cpu_has_feature(x) 1 argument 68 #define subsys_initcall(x) argument 69 #define module_exit(x) argument 131 # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \ argument 135 # define free_pages(x, y) munmap((void *)(x), PAGE_SIZE << (y)) argument
|