Home
last modified time | relevance | path

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

/u-boot/drivers/spi/
A Dmtk_snfi_spi.c201 u8 gpram_cache[SNFI_GPRAM_SIZE]; in mtk_snfi_exec_op() local
213 gpram_cache[len++] = op->cmd.opcode; in mtk_snfi_exec_op()
218 gpram_cache[len++] = (op->addr.val >> addr_sh) & 0xff; in mtk_snfi_exec_op()
224 gpram_cache[len++] = 0; in mtk_snfi_exec_op()
228 memcpy(gpram_cache + len, op->data.buf.out, op->data.nbytes); in mtk_snfi_exec_op()
233 mtk_snfi_copy_to_gpram(priv, gpram_cache, len); in mtk_snfi_exec_op()
245 mtk_snfi_copy_from_gpram(priv, gpram_cache, op->data.buf.in, in mtk_snfi_exec_op()

Completed in 3 milliseconds