Lines Matching refs:opcode
386 uint8_t opcode, unsigned int access, in spi_nor_access() argument
394 uint8_t buf[6] = {opcode}; in spi_nor_access()
461 #define spi_nor_cmd_read(dev, opcode, dest, length) \ argument
462 spi_nor_access(dev, opcode, 0, 0, dest, length)
463 #define spi_nor_cmd_addr_read(dev, opcode, addr, dest, length) \ argument
464 spi_nor_access(dev, opcode, NOR_ACCESS_ADDRESSED, addr, dest, length)
465 #define spi_nor_cmd_addr_read_3b(dev, opcode, addr, dest, length) \ argument
466 spi_nor_access(dev, opcode, NOR_ACCESS_24BIT_ADDR | NOR_ACCESS_ADDRESSED, addr, dest, \
468 #define spi_nor_cmd_addr_read_4b(dev, opcode, addr, dest, length) \ argument
469 spi_nor_access(dev, opcode, NOR_ACCESS_32BIT_ADDR | NOR_ACCESS_ADDRESSED, addr, dest, \
471 #define spi_nor_cmd_addr_fast_read(dev, opcode, addr, dest, length) \ argument
472 spi_nor_access(dev, opcode, NOR_ACCESS_ADDRESSED | NOR_ACCESS_DUMMY_BYTE, addr, dest, \
474 #define spi_nor_cmd_addr_fast_read_3b(dev, opcode, addr, dest, length) \ argument
475 spi_nor_access(dev, opcode, \
478 #define spi_nor_cmd_addr_fast_read_4b(dev, opcode, addr, dest, length) \ argument
479 spi_nor_access(dev, opcode, \
482 #define spi_nor_cmd_write(dev, opcode) \ argument
483 spi_nor_access(dev, opcode, NOR_ACCESS_WRITE, 0, NULL, 0)
484 #define spi_nor_cmd_addr_write(dev, opcode, addr, src, length) \ argument
485 spi_nor_access(dev, opcode, NOR_ACCESS_WRITE | NOR_ACCESS_ADDRESSED, \
487 #define spi_nor_cmd_addr_write_3b(dev, opcode, addr, src, length) \ argument
488 spi_nor_access(dev, opcode, \
491 #define spi_nor_cmd_addr_write_4b(dev, opcode, addr, src, length) \ argument
492 spi_nor_access(dev, opcode, \