| /rk3399_rockchip-uboot/drivers/usb/cdns3/ |
| H A D | trace.h | 3 #define trace_cdns3_prepare_trb(a, b) argument 4 #define trace_cdns3_doorbell_ep0(a, b) argument 5 #define trace_cdns3_ctrl_req(a) argument 6 #define trace_cdns3_complete_trb(a, b) argument 7 #define trace_cdns3_ep0_irq(a, b) argument 8 #define trace_cdns3_gadget_giveback(a) argument 9 #define trace_cdns3_free_aligned_request(a) argument 10 #define trace_cdns3_prepare_aligned_request(a) argument 11 #define trace_cdns3_ring(a) argument 12 #define trace_cdns3_doorbell_epx(a, b) argument [all …]
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/mach-generic/ |
| H A D | mangle-port.h | 28 # define ioswabb(a, x) (x) argument 29 # define __mem_ioswabb(a, x) (x) argument 30 # define ioswabw(a, x) le16_to_cpu(x) argument 31 # define __mem_ioswabw(a, x) (x) argument 32 # define ioswabl(a, x) le32_to_cpu(x) argument 33 # define __mem_ioswabl(a, x) (x) argument 34 # define ioswabq(a, x) le64_to_cpu(x) argument 35 # define __mem_ioswabq(a, x) (x) argument 39 # define ioswabb(a, x) (x) argument 40 # define __mem_ioswabb(a, x) (x) argument [all …]
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/ |
| H A D | addrspace.h | 46 #define KSEGX(a) ((_ACAST32_ (a)) & 0xe0000000) argument 51 #define CPHYSADDR(a) ((_ACAST32_(a)) & 0x1fffffff) argument 52 #define XPHYSADDR(a) ((_ACAST64_(a)) & \ argument 71 #define CKSEG0ADDR(a) (CPHYSADDR(a) | CKSEG0) argument 72 #define CKSEG1ADDR(a) (CPHYSADDR(a) | CKSEG1) argument 73 #define CKSEG2ADDR(a) (CPHYSADDR(a) | CKSEG2) argument 74 #define CKSEG3ADDR(a) (CPHYSADDR(a) | CKSEG3) argument 78 #define CKSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 79 #define CKSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 80 #define CKSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument [all …]
|
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | stubs.c | 18 #define EXPORT_FUNC(f, a, x, ...) \ argument 31 #define EXPORT_FUNC(f, a, x, ...) \ argument 46 #define EXPORT_FUNC(f, a, x, ...) \ argument 59 #define EXPORT_FUNC(f, a, x, ...) \ argument 76 #define EXPORT_FUNC(f, a, x, ...) \ argument 92 #define EXPORT_FUNC(f, a, x, ...) \ argument 105 #define EXPORT_FUNC(f, a, x, ...) \ argument 121 #define EXPORT_FUNC(f, a, x, ...) \ argument 136 #define EXPORT_FUNC(f, a, x, ...) \ argument 148 #define EXPORT_FUNC(f, a, x, ...) \ argument [all …]
|
| /rk3399_rockchip-uboot/include/ |
| H A D | time.h | 31 #define time_after(a,b) \ argument 35 #define time_before(a,b) time_after(b,a) argument 37 #define time_after_eq(a,b) \ argument 41 #define time_before_eq(a,b) time_after_eq(b,a) argument 46 #define time_in_range(a,b,c) \ argument 53 #define time_in_range_open(a,b,c) \ argument
|
| H A D | fsl_ddr.h | 22 #define ddr_in32(a) in_le32(a) argument 23 #define ddr_out32(a, v) out_le32(a, v) argument 24 #define ddr_setbits32(a, v) setbits_le32(a, v) argument 25 #define ddr_clrbits32(a, v) clrbits_le32(a, v) argument 26 #define ddr_clrsetbits32(a, clear, set) clrsetbits_le32(a, clear, set) argument 28 #define ddr_in32(a) in_be32(a) argument 29 #define ddr_out32(a, v) out_be32(a, v) argument 30 #define ddr_setbits32(a, v) setbits_be32(a, v) argument 31 #define ddr_clrbits32(a, v) clrbits_be32(a, v) argument 32 #define ddr_clrsetbits32(a, clear, set) clrsetbits_be32(a, clear, set) argument
|
| H A D | fsl_sec_mon.h | 15 #define sec_mon_in32(a) in_le32(a) argument 16 #define sec_mon_out32(a, v) out_le32(a, v) argument 17 #define sec_mon_in16(a) in_le16(a) argument 21 #define sec_mon_in32(a) in_be32(a) argument 22 #define sec_mon_out32(a, v) out_be32(a, v) argument 23 #define sec_mon_in16(a) in_be16(a) argument
|
| H A D | zfs_common.h | 37 #define zfs_to_cpu16(x, a) (((a) == BIG_ENDIAN) ? be16_to_cpu(x) \ argument 39 #define cpu_to_zfs16(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be16(x) \ argument 42 #define zfs_to_cpu32(x, a) (((a) == BIG_ENDIAN) ? be32_to_cpu(x) \ argument 44 #define cpu_to_zfs32(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be32(x) \ argument 47 #define zfs_to_cpu64(x, a) (((a) == BIG_ENDIAN) ? be64_to_cpu(x) \ argument 49 #define cpu_to_zfs64(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be64(x) \ argument
|
| /rk3399_rockchip-uboot/arch/arc/lib/ |
| H A D | libgcc2.h | 62 #define __NW(a,b) __gnu_ ## a ## di ## b argument 63 #define __NDW(a,b) __gnu_ ## a ## ti ## b argument 65 #define __NW(a,b) __ ## a ## di ## b argument 66 #define __NDW(a,b) __ ## a ## ti ## b argument 77 #define __NW(a,b) __gnu_ ## a ## si ## b argument 78 #define __NDW(a,b) __gnu_ ## a ## di ## b argument 80 #define __NW(a,b) __ ## a ## si ## b argument 81 #define __NDW(a,b) __ ## a ## di ## b argument 92 #define __NW(a,b) __gnu_ ## a ## hi ## b argument 93 #define __NDW(a,b) __gnu_ ## a ## si ## b argument [all …]
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | smc91111.h | 72 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+((r)<<1)))) argument 73 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1)))) argument 74 #define SMC_inb(a,p) ({ \ argument 81 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r)))) argument 82 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+(r)))) argument 83 #define SMC_inb(a,p) ({ \ argument 92 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d) argument 93 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r<<1))) = d) argument 95 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d) argument 96 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d) argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | io.h | 42 #define __arch_getb(a) (*(volatile unsigned char *)(a)) argument 43 #define __arch_getw(a) (*(volatile unsigned short *)(a)) argument 44 #define __arch_getl(a) (*(volatile unsigned int *)(a)) argument 45 #define __arch_getq(a) (*(volatile unsigned long long *)(a)) argument 47 #define __arch_putb(v,a) (*(volatile unsigned char *)(a) = (v)) argument 48 #define __arch_putw(v,a) (*(volatile unsigned short *)(a) = (v)) argument 49 #define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v)) argument 50 #define __arch_putq(v,a) (*(volatile unsigned long long *)(a) = (v)) argument 97 #define __raw_writeb(v,a) __arch_putb(v,a) argument 98 #define __raw_writew(v,a) __arch_putw(v,a) argument [all …]
|
| /rk3399_rockchip-uboot/fs/yaffs2/ |
| H A D | yaffs_qsort.c | 25 #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \ argument 29 swapfunc(char *a, char *b, int n, int swaptype) in swapfunc() 37 #define yswap(a, b) do { \ argument 46 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument 49 med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *)) in med3() 57 #define min(a, b) (((a) < (b)) ? (a) : (b)) argument 66 register char *a = aa; in yaffs_qsort() local
|
| H A D | ydirectenv.h | 37 #define yaffs_strcat(a, b) strcat(a, b) argument 38 #define yaffs_strcpy(a, b) strcpy(a, b) argument 39 #define yaffs_strncpy(a, b, c) strncpy(a, b, c) argument 42 #define yaffs_strcmp(a, b) strcasecmp(a, b) argument 43 #define yaffs_strncmp(a, b, c) strncasecmp(a, b, c) argument 45 #define yaffs_strcmp(a, b) strcmp(a, b) argument 46 #define yaffs_strncmp(a, b, c) strncmp(a, b, c) argument
|
| /rk3399_rockchip-uboot/arch/nios2/include/asm/ |
| H A D | io.h | 50 #define __raw_writeb(v,a) (*(volatile unsigned char *)(a) = (v)) argument 51 #define __raw_writew(v,a) (*(volatile unsigned short *)(a) = (v)) argument 52 #define __raw_writel(v,a) (*(volatile unsigned int *)(a) = (v)) argument 54 #define __raw_readb(a) (*(volatile unsigned char *)(a)) argument 55 #define __raw_readw(a) (*(volatile unsigned short *)(a)) argument 56 #define __raw_readl(a) (*(volatile unsigned int *)(a)) argument 123 #define out_arch(type,endian,a,v) __raw_write##type(cpu_to_##endian(v),a) argument 124 #define in_arch(type,endian,a) endian##_to_cpu(__raw_read##type(a)) argument 126 #define out_le32(a,v) out_arch(l,le32,a,v) argument 127 #define out_le16(a,v) out_arch(w,le16,a,v) argument [all …]
|
| /rk3399_rockchip-uboot/drivers/net/fm/ |
| H A D | memac_phy.c | 17 #define memac_out_32(a, v) out_le32(a, v) argument 18 #define memac_clrbits_32(a, v) clrbits_le32(a, v) argument 19 #define memac_setbits_32(a, v) setbits_le32(a, v) argument 21 #define memac_out_32(a, v) out_be32(a, v) argument 22 #define memac_clrbits_32(a, v) clrbits_be32(a, v) argument 23 #define memac_setbits_32(a, v) setbits_be32(a, v) argument
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-fsl-layerscape/ |
| H A D | soc.h | 22 #define gur_in32(a) in_le32(a) argument 23 #define gur_out32(a, v) out_le32(a, v) argument 25 #define gur_in32(a) in_be32(a) argument 26 #define gur_out32(a, v) out_be32(a, v) argument 30 #define scfg_in32(a) in_le32(a) argument 31 #define scfg_out32(a, v) out_le32(a, v) argument 33 #define scfg_in32(a) in_be32(a) argument 34 #define scfg_out32(a, v) out_be32(a, v) argument 38 #define pex_lut_in32(a) in_le32(a) argument 39 #define pex_lut_out32(a, v) out_le32(a, v) argument [all …]
|
| /rk3399_rockchip-uboot/fs/jffs2/ |
| H A D | compr_lzo.c | 136 #define PTR(a) ((lzo_ptr_t) (a)) argument 137 #define PTR_LINEAR(a) PTR(a) argument 138 #define PTR_ALIGNED_4(a) ((PTR_LINEAR(a) & 3) == 0) argument 139 #define PTR_ALIGNED_8(a) ((PTR_LINEAR(a) & 7) == 0) argument 140 #define PTR_ALIGNED2_4(a,b) (((PTR_LINEAR(a) | PTR_LINEAR(b)) & 3) == 0) argument 141 #define PTR_ALIGNED2_8(a,b) (((PTR_LINEAR(a) | PTR_LINEAR(b)) & 7) == 0) argument 142 #define PTR_LT(a,b) (PTR(a) < PTR(b)) argument 143 #define PTR_GE(a,b) (PTR(a) >= PTR(b)) argument 144 #define PTR_DIFF(a,b) ((lzo_ptrdiff_t) (PTR(a) - PTR(b))) argument 145 #define pd(a,b) ((lzo_uint) ((a)-(b))) argument
|
| /rk3399_rockchip-uboot/arch/sh/include/asm/ |
| H A D | bitops.h | 17 volatile unsigned int *a = addr; in set_bit() local 35 volatile unsigned int *a = addr; in clear_bit() local 48 volatile unsigned int *a = addr; in change_bit() local 61 volatile unsigned int *a = addr; in test_and_set_bit() local 77 volatile unsigned int *a = addr; in test_and_clear_bit() local 93 volatile unsigned int *a = addr; in test_and_change_bit() local
|
| /rk3399_rockchip-uboot/arch/nds32/include/asm/ |
| H A D | io.h | 75 #define __arch_getb(a) (*(unsigned char *)(a)) argument 76 #define __arch_getw(a) (*(unsigned short *)(a)) argument 77 #define __arch_getl(a) (*(unsigned int *)(a)) argument 79 #define __arch_putb(v, a) (*(unsigned char *)(a) = (v)) argument 80 #define __arch_putw(v, a) (*(unsigned short *)(a) = (v)) argument 81 #define __arch_putl(v, a) (*(unsigned int *)(a) = (v)) argument 91 #define __raw_writeb(v, a) __arch_putb(v, a) argument 92 #define __raw_writew(v, a) __arch_putw(v, a) argument 93 #define __raw_writel(v, a) __arch_putl(v, a) argument 95 #define __raw_readb(a) __arch_getb(a) argument [all …]
|
| /rk3399_rockchip-uboot/post/lib_powerpc/fpu/ |
| H A D | compare-fp-1.c | 24 #define ORD(a, b) (!__builtin_isunordered ((a), (b))) argument 25 #define UNORD(a, b) (__builtin_isunordered ((a), (b))) argument 26 #define UNEQ(a, b) (__builtin_isunordered ((a), (b)) || ((a) == (b))) argument 27 #define UNLT(a, b) (__builtin_isunordered ((a), (b)) || ((a) < (b))) argument 28 #define UNLE(a, b) (__builtin_isunordered ((a), (b)) || ((a) <= (b))) argument 29 #define UNGT(a, b) (__builtin_isunordered ((a), (b)) || ((a) > (b))) argument 30 #define UNGE(a, b) (__builtin_isunordered ((a), (b)) || ((a) >= (b))) argument 31 #define LTGT(a, b) (__builtin_islessgreater ((a), (b))) argument
|
| /rk3399_rockchip-uboot/arch/sandbox/include/asm/ |
| H A D | io.h | 59 #define out_arch(type,endian,a,v) write##type(cpu_to_##endian(v),a) argument 60 #define in_arch(type,endian,a) endian##_to_cpu(read##type(a)) argument 62 #define out_le32(a,v) out_arch(l,le32,a,v) argument 63 #define out_le16(a,v) out_arch(w,le16,a,v) argument 65 #define in_le32(a) in_arch(l,le32,a) argument 66 #define in_le16(a) in_arch(w,le16,a) argument 68 #define out_be32(a,v) out_arch(l,be32,a,v) argument 69 #define out_be16(a,v) out_arch(w,be16,a,v) argument 71 #define in_be32(a) in_arch(l,be32,a) argument 72 #define in_be16(a) in_arch(w,be16,a) argument [all …]
|
| /rk3399_rockchip-uboot/arch/powerpc/include/asm/ |
| H A D | atomic.h | 22 static __inline__ int atomic_add_return(int a, atomic_t *v) in atomic_add_return() 38 static __inline__ int atomic_sub_return(int a, atomic_t *v) in atomic_sub_return() 86 #define atomic_add(a, v) ((void) atomic_add_return((a), (v))) argument 87 #define atomic_sub(a, v) ((void) atomic_sub_return((a), (v))) argument 88 #define atomic_sub_and_test(a, v) (atomic_sub_return((a), (v)) == 0) argument
|
| /rk3399_rockchip-uboot/lib/zlib/ |
| H A D | adler32.c | 23 # define MOD(a) \ argument 43 # define MOD4(a) \ argument 52 # define MOD(a) a %= BASE argument 53 # define MOD4(a) a %= BASE argument
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | list_sort.c | 21 int (*cmp)(void *priv, struct list_head *a, in merge() 50 int (*cmp)(void *priv, struct list_head *a, in merge_and_restore_back_links() 104 int (*cmp)(void *priv, struct list_head *a, in list_sort() 203 static int __init cmp(void *priv, struct list_head *a, struct list_head *b) in cmp()
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | io.h | 75 #define memset_io(a,b,c) memset((a),(b),(c)) argument 76 #define memcpy_fromio(a,b,c) memcpy((a),(b),(c)) argument 77 #define memcpy_toio(a,b,c) memcpy((a),(b),(c)) argument 79 #define write_arch(type, endian, a, v) __raw_write##type(cpu_to_##endian(v), a) argument 80 #define read_arch(type, endian, a) endian##_to_cpu(__raw_read##type(a)) argument 82 #define write_le64(a, v) write_arch(q, le64, a, v) argument 83 #define write_le32(a, v) write_arch(l, le32, a, v) argument 84 #define write_le16(a, v) write_arch(w, le16, a, v) argument 86 #define read_le64(a) read_arch(q, le64, a) argument 87 #define read_le32(a) read_arch(l, le32, a) argument [all …]
|