/u-boot/lib/ |
A D | membuff.c | 18 mb->head = mb->start; in membuff_purge() 19 mb->tail = mb->start; in membuff_purge() 40 if (mb->head >= mb->tail) { in membuff_putrawflex() 57 mb->head = mb->start; in membuff_putrawflex() 110 if (mb->head > mb->tail) { in membuff_getraw() 138 mb->tail = mb->start; in membuff_getraw() 239 (int)(mb->head - mb->start), (int)(mb->tail - mb->start), in membuff_makecontig() 275 mb->tail = mb->start; in membuff_makecontig() 288 (mb->end - mb->start) - 1 - membuff_avail(mb); in membuff_free() 298 end = mb->head >= mb->tail ? mb->head : mb->end; in membuff_readline() [all …]
|
/u-boot/include/ |
A D | membuff.h | 46 void membuff_purge(struct membuff *mb); 101 int membuff_getbyte(struct membuff *mb); 112 int membuff_peekbyte(struct membuff *mb); 146 bool membuff_isempty(struct membuff *mb); 154 int membuff_avail(struct membuff *mb); 164 int membuff_size(struct membuff *mb); 175 bool membuff_makecontig(struct membuff *mb); 183 int membuff_free(struct membuff *mb); 227 void membuff_uninit(struct membuff *mb); 236 int membuff_new(struct membuff *mb, int size); [all …]
|
/u-boot/arch/powerpc/cpu/mpc83xx/lblaw/ |
A D | Kconfig | 80 bool "1 mb" 83 bool "2 mb" 86 bool "4 mb" 89 bool "8 mb" 92 bool "16 mb" 95 bool "32 mb" 98 bool "64 mb" 203 bool "1 mb" 206 bool "2 mb" 209 bool "4 mb" [all …]
|
/u-boot/disk/ |
A D | part_mac.c | 75 ldiv_t mb, gb; in part_print_mac() local 87 mb = ldiv(n, ((1024 * 1024) / ddesc->blk_size)); /* MB */ in part_print_mac() 89 mb.rem *= 10 * ddesc->blk_size; in part_print_mac() 90 mb.rem += 512 * 1024; in part_print_mac() 91 mb.rem /= 1024 * 1024; in part_print_mac() 93 gb = ldiv(10 * mb.quot + mb.rem, 10240); in part_print_mac() 105 mb.quot, mb.rem, gb.quot, gb.rem, in part_print_mac()
|
A D | part.c | 194 ulong mb, mb_quot, mb_rem, gb, gb_quot, gb_rem; in dev_print() local 202 mb = lba512_muldiv(lba512, 10, 11); in dev_print() 204 mb_quot = mb / 10; in dev_print() 205 mb_rem = mb - (10 * mb_quot); in dev_print() 207 gb = mb / 1024; in dev_print()
|
/u-boot/arch/microblaze/include/asm/ |
A D | system.h | 114 #define mb() __asm__ __volatile__ ("nop" ::: "memory") macro 115 #define rmb() mb () 116 #define wmb() mb () 117 #define set_mb(var, value) do { var = value; mb(); } while (0) 121 #define smp_mb() mb ()
|
/u-boot/arch/powerpc/cpu/mpc83xx/bats/ |
A D | Kconfig | 27 bool "1 mb" 30 bool "2 mb" 33 bool "4 mb" 36 bool "8 mb" 39 bool "16 mb" 42 bool "32 mb" 45 bool "64 mb" 48 bool "128 mb" 51 bool "256 mb" 190 bool "1 mb" [all …]
|
/u-boot/arch/mips/include/asm/ |
A D | system.h | 154 #define mb() wbflush() macro 158 #define mb() \ macro 168 #define rmb() mb() 169 #define wmb() mb() 174 #define smp_mb() mb() 184 do { var = value; mb(); } while (0)
|
/u-boot/drivers/serial/ |
A D | serial_xen.c | 89 mb(); /* wait */ in xen_serial_getc() 92 mb(); /* get pointers before reading ring */ in xen_serial_getc() 96 mb(); /* read ring before consuming */ in xen_serial_getc() 113 mb(); /* Update pointer */ in __write_console() 120 mb(); /* Update data before pointer */ in __write_console()
|
/u-boot/arch/riscv/cpu/fu540/ |
A D | cache.c | 50 mb(); in cache_enable_ways() 53 mb(); in cache_enable_ways()
|
/u-boot/board/freescale/m5253demo/ |
A D | m5253demo.c | 56 mb(); in dram_init() 61 mb(); in dram_init() 78 mb(); in dram_init()
|
/u-boot/arch/arm/mach-tegra/ |
A D | ivc.c | 248 mb(); in tegra_ivc_read_get_next_frame() 277 mb(); in tegra_ivc_read_advance() 314 mb(); in tegra_ivc_write_advance() 323 mb(); in tegra_ivc_write_advance() 368 mb(); in tegra_ivc_channel_notified() 385 mb(); in tegra_ivc_channel_notified() 405 mb(); in tegra_ivc_channel_notified() 422 mb(); in tegra_ivc_channel_notified() 443 mb(); in tegra_ivc_channel_notified()
|
/u-boot/post/lib_powerpc/ |
A D | rlwinm.c | 32 uchar mb; member 71 ASM_113(test->cmd, reg1, reg0, test->op2, test->mb, test->me), in cpu_post_test_rlwinm() 88 ASM_113(test->cmd, reg1, reg0, test->op2, test->mb, in cpu_post_test_rlwinm()
|
A D | rlwnm.c | 33 uchar mb; member 76 ASM_122(test->cmd, reg2, reg1, reg0, test->mb, test->me), in cpu_post_test_rlwnm() 97 ASM_122(test->cmd, reg2, reg1, reg0, test->mb, test->me) | in cpu_post_test_rlwnm()
|
A D | rlwimi.c | 34 uchar mb; member 76 ASM_113(test->cmd, reg1, reg0, test->op2, test->mb, test->me), in cpu_post_test_rlwimi() 95 ASM_113(test->cmd, reg1, reg0, test->op2, test->mb, test->me) | in cpu_post_test_rlwimi()
|
/u-boot/arch/sh/include/asm/ |
A D | system.h | 94 #define mb() __asm__ __volatile__ ("": : :"memory") macro 95 #define rmb() mb() 101 #define smp_mb() mb()
|
/u-boot/arch/nds32/include/asm/ |
A D | system.h | 67 #define mb() asm volatile ("" : : : "memory") macro
|
/u-boot/drivers/net/ |
A D | fsl_mdio.c | 30 mb(); in tsec_local_mdio_write() 48 mb(); in tsec_local_mdio_read() 53 mb(); in tsec_local_mdio_read()
|
/u-boot/arch/powerpc/cpu/mpc83xx/elbc/ |
A D | Kconfig.elbc1 | 122 bool "1 mb" 125 bool "2 mb" 128 bool "4 mb" 131 bool "8 mb" 134 bool "16 mb" 137 bool "32 mb" 140 bool "64 mb" 145 bool "128 mb" 150 bool "256 mb" 154 bool "512 mb"
|
A D | Kconfig.elbc4 | 122 bool "1 mb" 125 bool "2 mb" 128 bool "4 mb" 131 bool "8 mb" 134 bool "16 mb" 137 bool "32 mb" 140 bool "64 mb" 145 bool "128 mb" 150 bool "256 mb" 154 bool "512 mb"
|
A D | Kconfig.elbc0 | 122 bool "1 mb" 125 bool "2 mb" 128 bool "4 mb" 131 bool "8 mb" 134 bool "16 mb" 137 bool "32 mb" 140 bool "64 mb" 145 bool "128 mb" 150 bool "256 mb" 154 bool "512 mb"
|
A D | Kconfig.elbc2 | 122 bool "1 mb" 125 bool "2 mb" 128 bool "4 mb" 131 bool "8 mb" 134 bool "16 mb" 137 bool "32 mb" 140 bool "64 mb" 145 bool "128 mb" 150 bool "256 mb" 154 bool "512 mb"
|
A D | Kconfig.elbc3 | 122 bool "1 mb" 125 bool "2 mb" 128 bool "4 mb" 131 bool "8 mb" 134 bool "16 mb" 137 bool "32 mb" 140 bool "64 mb" 145 bool "128 mb" 150 bool "256 mb" 154 bool "512 mb"
|
/u-boot/arch/riscv/include/asm/ |
A D | barrier.h | 22 #define mb() RISCV_FENCE(iorw,iorw) macro
|
/u-boot/arch/arm/include/asm/xen/ |
A D | system.h | 71 #define xen_mb() mb()
|