| /rk3399_rockchip-uboot/arch/arm/cpu/armv7/ |
| H A D | cache_v7.c | 31 static void v7_dcache_clean_inval_range(u32 start, u32 stop, u32 line_len) in v7_dcache_clean_inval_range() argument 37 for (mva = start; mva < stop; mva = mva + line_len) { in v7_dcache_clean_inval_range() 43 static void v7_dcache_inval_range(u32 start, u32 stop, u32 line_len) in v7_dcache_inval_range() argument 48 check_cache_range(start, stop); in v7_dcache_inval_range() 58 if (stop & (line_len - 1)) { in v7_dcache_inval_range() 59 mva = stop & ~(line_len - 1); in v7_dcache_inval_range() 61 stop = mva; in v7_dcache_inval_range() 64 for (mva = start; mva < stop; mva = mva + line_len) { in v7_dcache_inval_range() 70 static void v7_dcache_maint_range(u32 start, u32 stop, u32 range_op) in v7_dcache_maint_range() argument 84 v7_dcache_clean_inval_range(start, stop, line_len); in v7_dcache_maint_range() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/ |
| H A D | cache.c | 27 void invalidate_dcache_range(unsigned long start, unsigned long stop) in invalidate_dcache_range() argument 29 if (!check_cache_range(start, stop)) in invalidate_dcache_range() 32 while (start < stop) { in invalidate_dcache_range() 38 void flush_dcache_range(unsigned long start, unsigned long stop) in flush_dcache_range() argument 40 if (!check_cache_range(start, stop)) in flush_dcache_range() 43 while (start < stop) { in flush_dcache_range()
|
| /rk3399_rockchip-uboot/arch/arm/cpu/arm11/ |
| H A D | cpu.c | 67 void invalidate_dcache_range(unsigned long start, unsigned long stop) in invalidate_dcache_range() argument 69 if (!check_cache_range(start, stop)) in invalidate_dcache_range() 72 while (start < stop) { in invalidate_dcache_range() 78 void flush_dcache_range(unsigned long start, unsigned long stop) in flush_dcache_range() argument 80 if (!check_cache_range(start, stop)) in flush_dcache_range() 83 while (start < stop) { in flush_dcache_range()
|
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | i2c-uniphier.c | 83 static int send_byte(struct uniphier_i2c_dev *dev, u32 dtrm, bool *stop) in send_byte() argument 92 *stop = false; in send_byte() 103 uint len, const u8 *buf, bool *stop) in uniphier_i2c_transmit() argument 109 ret = send_byte(dev, I2C_DTRM_STA | I2C_DTRM_NACK | addr << 1, stop); in uniphier_i2c_transmit() 114 ret = send_byte(dev, I2C_DTRM_NACK | *buf++, stop); in uniphier_i2c_transmit() 120 if (*stop) in uniphier_i2c_transmit() 127 uint len, u8 *buf, bool *stop) in uniphier_i2c_receive() argument 134 I2C_DTRM_RD | addr << 1, stop); in uniphier_i2c_receive() 142 if (*stop) in uniphier_i2c_receive() 153 bool stop; in uniphier_i2c_xfer() local [all …]
|
| H A D | i2c-uniphier-f.c | 128 bool *stop) in wait_for_irq() argument 142 *stop = false; in wait_for_irq() 169 uint len, const u8 *buf, bool *stop) in uniphier_fi2c_transmit() argument 185 ret = wait_for_irq(dev, irq_flags, stop); in uniphier_fi2c_transmit() 195 ret = wait_for_irq(dev, irq_flags, stop); in uniphier_fi2c_transmit() 203 if (*stop) in uniphier_fi2c_transmit() 210 uint len, u8 *buf, bool *stop) in uniphier_fi2c_receive() argument 223 return uniphier_fi2c_transmit(dev, addr, len, buf, stop); in uniphier_fi2c_receive() 236 ret = wait_for_irq(dev, irq_flags, stop); in uniphier_fi2c_receive() 252 if (*stop) in uniphier_fi2c_receive() [all …]
|
| H A D | mxs_i2c.c | 131 int alen, uchar *buf, int blen, int stop) in mxs_i2c_write() argument 143 if (stop) in mxs_i2c_write() 144 stop = I2C_QUEUECMD_POST_SEND_STOP; in mxs_i2c_write() 148 ((blen + alen + 1) << I2C_QUEUECMD_XFER_COUNT_OFFSET) | stop, in mxs_i2c_write()
|
| /rk3399_rockchip-uboot/arch/arm/cpu/pxa/ |
| H A D | cache.c | 24 void invalidate_dcache_range(unsigned long start, unsigned long stop) in invalidate_dcache_range() argument 27 stop &= ~(CONFIG_SYS_CACHELINE_SIZE - 1); in invalidate_dcache_range() 29 while (start <= stop) { in invalidate_dcache_range() 35 void flush_dcache_range(unsigned long start, unsigned long stop) in flush_dcache_range() argument 37 return invalidate_dcache_range(start, stop); in flush_dcache_range()
|
| /rk3399_rockchip-uboot/arch/arm/lib/ |
| H A D | cache-pl310.c | 53 void v7_outer_cache_flush_range(u32 start, u32 stop) in v7_outer_cache_flush_range() argument 64 for (pa = start; pa < stop; pa = pa + line_size) in v7_outer_cache_flush_range() 71 void v7_outer_cache_inval_range(u32 start, u32 stop) in v7_outer_cache_inval_range() argument 91 if (stop & (line_size - 1)) { in v7_outer_cache_inval_range() 93 __func__, stop); in v7_outer_cache_inval_range() 95 stop &= ~(line_size - 1); in v7_outer_cache_inval_range() 98 for (pa = start; pa < stop; pa = pa + line_size) in v7_outer_cache_inval_range()
|
| H A D | cache.c | 40 __weak void invalidate_dcache_range(unsigned long start, unsigned long stop) in invalidate_dcache_range() argument 44 __weak void flush_dcache_range(unsigned long start, unsigned long stop) in flush_dcache_range() argument 49 int check_cache_range(unsigned long start, unsigned long stop) in check_cache_range() argument 56 if (stop & (CONFIG_SYS_CACHELINE_SIZE - 1)) in check_cache_range() 61 start, stop); in check_cache_range()
|
| /rk3399_rockchip-uboot/arch/mips/lib/ |
| H A D | cache.c | 134 void flush_dcache_range(ulong start_addr, ulong stop) in flush_dcache_range() argument 140 if (start_addr == stop) in flush_dcache_range() 143 cache_loop(start_addr, stop, lsize, HIT_WRITEBACK_INV_D); in flush_dcache_range() 147 cache_loop(start_addr, stop, slsize, HIT_WRITEBACK_INV_SD); in flush_dcache_range() 150 void invalidate_dcache_range(ulong start_addr, ulong stop) in invalidate_dcache_range() argument 156 if (start_addr == stop) in invalidate_dcache_range() 161 cache_loop(start_addr, stop, slsize, HIT_INVALIDATE_SD); in invalidate_dcache_range() 163 cache_loop(start_addr, stop, lsize, HIT_INVALIDATE_D); in invalidate_dcache_range()
|
| /rk3399_rockchip-uboot/net/ |
| H A D | dns.c | 109 int found, stop, dlen; in dns_handler() local 151 for (found = stop = 0; !stop && &p[12] < e; ) { in dns_handler() 171 stop = 1; in dns_handler() 174 stop = 1; in dns_handler()
|
| /rk3399_rockchip-uboot/drivers/tpm/ |
| H A D | tpm_tis_st33zp24_i2c.c | 149 unsigned long start, stop; in st33zp24_i2c_request_locality() local 163 stop = chip->timeout_a; in st33zp24_i2c_request_locality() 168 } while (get_timer(start) < stop); in st33zp24_i2c_request_locality() 195 unsigned long start, stop; in st33zp24_i2c_get_burstcount() local 201 stop = chip->timeout_d; in st33zp24_i2c_get_burstcount() 218 } while (get_timer(start) < stop); in st33zp24_i2c_get_burstcount() 247 unsigned long start, stop; in st33zp24_i2c_wait_for_stat() local 255 stop = timeout; in st33zp24_i2c_wait_for_stat() 261 } while (get_timer(start) < stop); in st33zp24_i2c_wait_for_stat()
|
| H A D | tpm_tis_infineon.c | 231 unsigned long start, stop; in tpm_tis_i2c_request_locality() local 252 stop = chip->timeout_a; in tpm_tis_i2c_request_locality() 263 } while (get_timer(start) < stop); in tpm_tis_i2c_request_locality() 300 unsigned long start, stop; in tpm_tis_i2c_get_burstcount() local 307 stop = chip->timeout_d; in tpm_tis_i2c_get_burstcount() 319 } while (get_timer(start) < stop); in tpm_tis_i2c_get_burstcount() 327 unsigned long start, stop; in tpm_tis_i2c_wait_for_stat() local 335 stop = timeout; in tpm_tis_i2c_wait_for_stat() 341 } while (get_timer(start) < stop); in tpm_tis_i2c_wait_for_stat()
|
| H A D | tpm_tis_st33zp24_spi.c | 278 unsigned long start, stop; in st33zp24_spi_request_locality() local 293 stop = chip->timeout_a; in st33zp24_spi_request_locality() 298 } while (get_timer(start) < stop); in st33zp24_spi_request_locality() 324 unsigned long start, stop; in st33zp24_spi_get_burstcount() local 330 stop = chip->timeout_d; in st33zp24_spi_get_burstcount() 347 } while (get_timer(start) < stop); in st33zp24_spi_get_burstcount() 376 unsigned long start, stop; in st33zp24_spi_wait_for_stat() local 384 stop = timeout; in st33zp24_spi_wait_for_stat() 390 } while (get_timer(start) < stop); in st33zp24_spi_wait_for_stat()
|
| H A D | tpm-uclass.c | 73 ulong start, stop; in tpm_xfer() local 102 stop = tpm_tis_i2c_calc_ordinal_duration(priv, ordinal); in tpm_xfer() 117 if (get_timer(start) > stop) { in tpm_xfer()
|
| /rk3399_rockchip-uboot/arch/powerpc/include/asm/ |
| H A D | cache.h | 49 extern void flush_dcache_range(unsigned long start, unsigned long stop); 50 extern void clean_dcache_range(unsigned long start, unsigned long stop); 51 extern void invalidate_dcache_range(unsigned long start, unsigned long stop);
|
| /rk3399_rockchip-uboot/arch/xtensa/lib/ |
| H A D | cache.c | 47 void invalidate_dcache_range(ulong start, ulong stop) in invalidate_dcache_range() argument 49 __invalidate_dcache_range(start, stop - start); in invalidate_dcache_range()
|
| /rk3399_rockchip-uboot/drivers/input/ |
| H A D | keyboard-uclass.c | 27 if (ops->stop) in keyboard_stop() 28 return ops->stop(dev); in keyboard_stop() 74 sdev->stop = keyboard_stop; in keyboard_pre_probe()
|
| /rk3399_rockchip-uboot/drivers/watchdog/ |
| H A D | wdt-uclass.c | 30 if (!ops->stop) in wdt_stop() 33 return ops->stop(dev); in wdt_stop()
|
| /rk3399_rockchip-uboot/drivers/serial/ |
| H A D | serial.c | 170 if (dev->stop) in serial_register() 171 dev->stop += gd->reloc_off; in serial_register() 256 return dev->stop(); in serial_stub_stop() 306 dev.stop = serial_stub_stop; in serial_stdio_init() 596 if (s->stop) in uart_post_test() 597 s->stop(); in uart_post_test()
|
| /rk3399_rockchip-uboot/arch/arm/cpu/armv7m/ |
| H A D | cache.c | 241 void invalidate_dcache_range(unsigned long start, unsigned long stop) in invalidate_dcache_range() argument 243 if (action_cache_range(INVALIDATE_POC, start, stop - start)) { in invalidate_dcache_range() 249 void flush_dcache_range(unsigned long start, unsigned long stop) in flush_dcache_range() argument 251 if (action_cache_range(FLUSH_POC, start, stop - start)) { in flush_dcache_range()
|
| /rk3399_rockchip-uboot/board/keymile/common/ |
| H A D | ivm.c | 110 int stop = 0; /* stop on semicolon */ in ivm_findinventorystring() local 116 stop = 1; in ivm_findinventorystring() 120 stop = 0; in ivm_findinventorystring() 137 ((buf[addr] != ';') || (!stop)) && in ivm_findinventorystring()
|
| /rk3399_rockchip-uboot/drivers/timer/ |
| H A D | tsc_timer.c | 306 u64 stop; in __udelay() local 308 stop = now + usec * get_tbclk_mhz(); in __udelay() 310 while ((int64_t)(stop - get_ticks()) > 0) in __udelay()
|
| /rk3399_rockchip-uboot/arch/m68k/lib/ |
| H A D | cache.c | 137 __weak void invalidate_dcache_range(unsigned long start, unsigned long stop) in invalidate_dcache_range() argument 141 __weak void flush_dcache_range(unsigned long start, unsigned long stop) in flush_dcache_range() argument
|
| /rk3399_rockchip-uboot/arch/sandbox/cpu/ |
| H A D | cpu.c | 99 void flush_dcache_range(unsigned long start, unsigned long stop) in flush_dcache_range() argument 103 void invalidate_dcache_range(unsigned long start, unsigned long stop) in invalidate_dcache_range() argument
|