Home
last modified time | relevance | path

Searched refs:scratch_addr (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/arch/arm/mach-uniphier/
Dmicro-support-card.c86 u32 *scratch_addr; in mem_is_flash() local
92 scratch_addr = map_physmem(mem->base + mem->size - sizeof(u32) * loop, in mem_is_flash()
95 for (i = 0; i < loop; i++, scratch_addr++) { in mem_is_flash()
96 saved_value = readl(scratch_addr); in mem_is_flash()
97 writel(~saved_value, scratch_addr); in mem_is_flash()
98 if (readl(scratch_addr) != saved_value) { in mem_is_flash()
100 writel(saved_value, scratch_addr); in mem_is_flash()
106 unmap_physmem(scratch_addr, MAP_NOCACHE); in mem_is_flash()
/external/u-boot/drivers/usb/dwc3/
Dcore.c249 dma_addr_t scratch_addr; in dwc3_setup_scratch_buffers() local
259 scratch_addr = dma_map_single(dwc->scratchbuf, in dwc3_setup_scratch_buffers()
262 if (dma_mapping_error(dwc->dev, scratch_addr)) { in dwc3_setup_scratch_buffers()
268 dwc->scratch_addr = scratch_addr; in dwc3_setup_scratch_buffers()
270 param = lower_32_bits(scratch_addr); in dwc3_setup_scratch_buffers()
277 param = upper_32_bits(scratch_addr); in dwc3_setup_scratch_buffers()
287 dma_unmap_single((void *)(uintptr_t)dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers()
302 dma_unmap_single((void *)(uintptr_t)dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers()
Dcore.h709 dma_addr_t scratch_addr; member