Searched refs:nor_dev (Results 1 – 1 of 1) sorted by relevance
30 static struct nor_device nor_dev; variable221 if (nor_dev.selected_bank == 0U) { in spi_nor_clean_bar()225 nor_dev.selected_bank = 0U; in spi_nor_clean_bar()232 return spi_nor_reg(nor_dev.bank_write_cmd, &nor_dev.selected_bank, in spi_nor_clean_bar()297 nor_dev.read_op.addr.val; in spi_nor_read()310 nor_dev.read_op.addr.val += nor_dev.read_op.data.nbytes; in spi_nor_read()311 nor_dev.read_op.data.buf += nor_dev.read_op.data.nbytes; in spi_nor_read()333 nor_dev.read_op.addr.nbytes = 3U; in spi_nor_init()342 assert(nor_dev.size != 0U); in spi_nor_init()344 if (nor_dev.size > BANK_SIZE) { in spi_nor_init()[all …]
Completed in 3 milliseconds