Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/onenand/
H A Donenand_omap2.c369 int bram_offset, err; in omap2_onenand_read_bufferram() local
372 bram_offset = omap2_onenand_bufferram_offset(mtd, area) + area + offset; in omap2_onenand_read_bufferram()
378 if (!virt_addr_valid(buf) || bram_offset & 3 || (size_t)buf & 3 || in omap2_onenand_read_bufferram()
385 memcpy(buf + count, this->base + bram_offset + count, xtra); in omap2_onenand_read_bufferram()
389 dma_src = c->phys_base + bram_offset; in omap2_onenand_read_bufferram()
404 memcpy(buf, this->base + bram_offset, count); in omap2_onenand_read_bufferram()
417 int bram_offset, err; in omap2_onenand_write_bufferram() local
419 bram_offset = omap2_onenand_bufferram_offset(mtd, area) + area + offset; in omap2_onenand_write_bufferram()
425 if (!virt_addr_valid(buf) || bram_offset & 3 || (size_t)buf & 3 || in omap2_onenand_write_bufferram()
430 dma_dst = c->phys_base + bram_offset; in omap2_onenand_write_bufferram()
[all …]