Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbcmbca_nand.c35 static inline bool bcmbca_nand_is_buf_aligned(void *flash_cache, void *buffer) in bcmbca_nand_is_buf_aligned() argument
38 IS_ALIGNED((uintptr_t)flash_cache, ALIGN_REQ); in bcmbca_nand_is_buf_aligned()
72 void __iomem *flash_cache, u32 *buffer, int fc_words) in bcmbca_read_data_bus() argument
79 if (bcmbca_nand_is_buf_aligned((void __force *)flash_cache, buffer)) in bcmbca_read_data_bus()
80 memcpy((void *)buffer, (void __force *)flash_cache, fc_words * 4); in bcmbca_read_data_bus()
82 memcpy_fromio((void *)buffer, flash_cache, fc_words * 4); in bcmbca_read_data_bus()
H A Dbrcmnand.h27 void (*read_data_bus)(struct brcmnand_soc *soc, void __iomem *flash_cache,
H A Dbrcmnand.c294 u8 flash_cache[FC_BYTES]; member
891 void __iomem *flash_cache, u32 *buffer, int fc_words) in brcmnand_read_data_bus() argument
897 soc->read_data_bus(soc, flash_cache, buffer, fc_words); in brcmnand_read_data_bus()
2638 u32 *flash_cache = (u32 *)ctrl->flash_cache; in brcmnand_exec_instructions_legacy() local
2651 flash_cache[j] = be32_to_cpu(brcmnand_read_fc(ctrl, j)); in brcmnand_exec_instructions_legacy()
2689 in[j] = ctrl->flash_cache[offs]; in brcmnand_exec_instructions_legacy()