Lines Matching refs:cmd

48 	op->cmd.buswidth = spi_nor_get_protocol_inst_nbits(proto);  in spi_nor_setup_op()
142 op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->read_proto); in spi_nor_read_data()
180 op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->write_proto); in spi_nor_write_data()
400 u8 cmd; in set_4byte() local
415 cmd = enable ? SPINOR_OP_EN4B : SPINOR_OP_EX4B; in set_4byte()
416 status = nor->write_reg(nor, cmd, NULL, 0); in set_4byte()
543 u8 cmd, bank_sel = 0; in clean_bar() local
547 cmd = nor->bank_write_cmd; in clean_bar()
551 return nor->write_reg(nor, cmd, &bank_sel, 1); in clean_bar()
556 u8 cmd, bank_sel; in write_bar() local
563 cmd = nor->bank_write_cmd; in write_bar()
565 ret = nor->write_reg(nor, cmd, &bank_sel, 1); in write_bar()
712 op.cmd.opcode = opcode_4k; in spansion_erase_non_uniform()
717 op.cmd.opcode = nor->erase_opcode; in spansion_erase_non_uniform()
722 op.cmd.opcode = nor->erase_opcode; in spansion_erase_non_uniform()
727 op.cmd.opcode = nor->erase_opcode; in spansion_erase_non_uniform()
2156 int i, cmd, err; in spi_nor_parse_bfpt() local
2221 cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps); in spi_nor_parse_bfpt()
2222 read = &params->reads[cmd]; in spi_nor_parse_bfpt()
2600 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local
2606 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()
2607 if (cmd < 0) in spi_nor_select_read()
2610 read = &params->reads[cmd]; in spi_nor_select_read()
2632 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local
2638 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
2639 if (cmd < 0) in spi_nor_select_pp()
2642 pp = &params->page_programs[cmd]; in spi_nor_select_pp()