Searched refs:flash_mmio (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/arch/mips/netlogic/xlr/ |
D | platform-flash.c | 89 uint64_t flash_mmio; member 98 nlm_write_reg(nand_priv.flash_mmio, in xlr_nand_ctrl() 101 nlm_write_reg(nand_priv.flash_mmio, in xlr_nand_ctrl() 142 static void setup_flash_resource(uint64_t flash_mmio, in setup_flash_resource() argument 147 base = nlm_read_reg(flash_mmio, FLASH_CSBASE_ADDR(cs)); in setup_flash_resource() 148 mask = nlm_read_reg(flash_mmio, FLASH_CSADDR_MASK(cs)); in setup_flash_resource() 156 uint64_t gpio_mmio, flash_mmio, flash_map_base; in xlr_flash_init() local 165 flash_mmio = nlm_mmio_base(NETLOGIC_IO_FLASH_OFFSET); in xlr_flash_init() 191 nand_priv.flash_mmio = flash_mmio; in xlr_flash_init() 192 setup_flash_resource(flash_mmio, flash_map_base, cs, in xlr_flash_init() [all …]
|