Lines Matching refs:opcode

63 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len)  in spi_nor_write_reg()  argument
65 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(opcode, 1), in spi_nor_write_reg()
245 static u8 spi_nor_convert_opcode(u8 opcode, const u8 table[][2], size_t size) in spi_nor_convert_opcode() argument
250 if (table[i][0] == opcode) in spi_nor_convert_opcode()
254 return opcode; in spi_nor_convert_opcode()
257 static u8 spi_nor_convert_3to4_read(u8 opcode) in spi_nor_convert_3to4_read() argument
274 return spi_nor_convert_opcode(opcode, spi_nor_3to4_read, in spi_nor_convert_3to4_read()
278 static u8 spi_nor_convert_3to4_program(u8 opcode) in spi_nor_convert_3to4_program() argument
288 return spi_nor_convert_opcode(opcode, spi_nor_3to4_program, in spi_nor_convert_3to4_program()
292 static u8 spi_nor_convert_3to4_erase(u8 opcode) in spi_nor_convert_3to4_erase() argument
300 return spi_nor_convert_opcode(opcode, spi_nor_3to4_erase, in spi_nor_convert_3to4_erase()
1508 u8 opcode; member
1513 u8 opcode; member
1574 u8 opcode, in spi_nor_set_read_settings() argument
1579 read->opcode = opcode; in spi_nor_set_read_settings()
1585 u8 opcode, in spi_nor_set_pp_settings() argument
1588 pp->opcode = opcode; in spi_nor_set_pp_settings()
1774 read->opcode = (half >> 8) & 0xff; in spi_nor_set_read_settings_from_bfpt()
2028 u8 opcode; in spi_nor_parse_bfpt() local
2038 opcode = (half >> 8) & 0xff; in spi_nor_parse_bfpt()
2041 nor->erase_opcode = opcode; in spi_nor_parse_bfpt()
2047 nor->erase_opcode = opcode; in spi_nor_parse_bfpt()
2376 nor->read_opcode = read->opcode; in spi_nor_select_read()
2408 nor->program_opcode = pp->opcode; in spi_nor_select_pp()