Searched refs:cfg_cache (Results 1 – 4 of 4) sorted by relevance
67 uint8_t cfg = spinand_dev.cfg_cache; in spi_nand_update_cfg()72 if (cfg == spinand_dev.cfg_cache) { in spi_nand_update_cfg()78 spinand_dev.cfg_cache = cfg; in spi_nand_update_cfg()299 ret = spi_nand_read_reg(SPI_NAND_REG_CFG, &spinand_dev.cfg_cache); in spi_nand_init()
35 uint8_t cfg_cache; /* Cached value of SPI NAND device register CFG */ member
84 *cfg = spinand->cfg_cache[spinand->cur_target]; in spinand_get_cfg()97 if (spinand->cfg_cache[spinand->cur_target] == cfg) in spinand_set_cfg()104 spinand->cfg_cache[spinand->cur_target] = cfg; in spinand_set_cfg()173 spinand->cfg_cache = devm_kzalloc(dev, in spinand_init_cfg_cache()174 sizeof(*spinand->cfg_cache) * in spinand_init_cfg_cache()177 if (!spinand->cfg_cache) in spinand_init_cfg_cache()190 &spinand->cfg_cache[target]); in spinand_init_cfg_cache()
360 u8 *cfg_cache; member