Lines Matching refs:opcode

68 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len)  in spi_nor_write_reg()  argument
70 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(opcode, 1), in spi_nor_write_reg()
238 static u8 spi_nor_convert_opcode(u8 opcode, const u8 table[][2], size_t size) in spi_nor_convert_opcode() argument
243 if (table[i][0] == opcode) in spi_nor_convert_opcode()
247 return opcode; in spi_nor_convert_opcode()
250 static u8 spi_nor_convert_3to4_read(u8 opcode) in spi_nor_convert_3to4_read() argument
267 return spi_nor_convert_opcode(opcode, spi_nor_3to4_read, in spi_nor_convert_3to4_read()
271 static u8 spi_nor_convert_3to4_program(u8 opcode) in spi_nor_convert_3to4_program() argument
281 return spi_nor_convert_opcode(opcode, spi_nor_3to4_program, in spi_nor_convert_3to4_program()
285 static u8 spi_nor_convert_3to4_erase(u8 opcode) in spi_nor_convert_3to4_erase() argument
293 return spi_nor_convert_opcode(opcode, spi_nor_3to4_erase, in spi_nor_convert_3to4_erase()
1457 u8 opcode; member
1462 u8 opcode; member
1523 u8 opcode, in spi_nor_set_read_settings() argument
1528 read->opcode = opcode; in spi_nor_set_read_settings()
1534 u8 opcode, in spi_nor_set_pp_settings() argument
1537 pp->opcode = opcode; in spi_nor_set_pp_settings()
1717 read->opcode = (half >> 8) & 0xff; in spi_nor_set_read_settings_from_bfpt()
1931 u8 opcode; in spi_nor_parse_bfpt() local
1941 opcode = (half >> 8) & 0xff; in spi_nor_parse_bfpt()
1944 nor->erase_opcode = opcode; in spi_nor_parse_bfpt()
1950 nor->erase_opcode = opcode; in spi_nor_parse_bfpt()
2317 nor->read_opcode = read->opcode; in spi_nor_select_read()
2349 nor->program_opcode = pp->opcode; in spi_nor_select_pp()