Lines Matching refs:read_op
284 nor_dev.read_op.addr.val = offset; in spi_nor_read()
285 nor_dev.read_op.data.buf = (void *)buffer; in spi_nor_read()
291 ret = spi_nor_write_bar(nor_dev.read_op.addr.val); in spi_nor_read()
297 nor_dev.read_op.addr.val; in spi_nor_read()
298 nor_dev.read_op.data.nbytes = MIN(length, remain_len); in spi_nor_read()
300 nor_dev.read_op.data.nbytes = length; in spi_nor_read()
303 ret = spi_mem_exec_op(&nor_dev.read_op); in spi_nor_read()
309 length -= nor_dev.read_op.data.nbytes; 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()
312 *length_read += nor_dev.read_op.data.nbytes; in spi_nor_read()
331 nor_dev.read_op.cmd.opcode = SPI_NOR_OP_READ; in spi_nor_init()
332 nor_dev.read_op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_init()
333 nor_dev.read_op.addr.nbytes = 3U; in spi_nor_init()
334 nor_dev.read_op.addr.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_init()
335 nor_dev.read_op.data.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_init()
336 nor_dev.read_op.data.dir = SPI_MEM_DATA_IN; in spi_nor_init()
368 if (nor_dev.read_op.data.buswidth == 4U) { in spi_nor_init()