Lines Matching refs:cmd
168 struct spi_nor_read_command *cmd) in spi_nor_print_read_cmd() argument
170 seq_printf(s, " %s%s\n", spi_nor_protocol_name(cmd->proto), in spi_nor_print_read_cmd()
172 seq_printf(s, " opcode\t0x%02x\n", cmd->opcode); in spi_nor_print_read_cmd()
173 seq_printf(s, " mode cycles\t%u\n", cmd->num_mode_clocks); in spi_nor_print_read_cmd()
174 seq_printf(s, " dummy cycles\t%u\n", cmd->num_wait_states); in spi_nor_print_read_cmd()
178 struct spi_nor_pp_command *cmd) in spi_nor_print_pp_cmd() argument
180 seq_printf(s, " %s\n", spi_nor_protocol_name(cmd->proto)); in spi_nor_print_pp_cmd()
181 seq_printf(s, " opcode\t0x%02x\n", cmd->opcode); in spi_nor_print_pp_cmd()
189 int i, cmd; in spi_nor_capabilities_show() local
196 cmd = spi_nor_hwcaps_read2cmd(BIT(i)); in spi_nor_capabilities_show()
197 if (cmd < 0) in spi_nor_capabilities_show()
200 spi_nor_print_read_cmd(s, BIT(i), ¶ms->reads[cmd]); in spi_nor_capabilities_show()
209 cmd = spi_nor_hwcaps_pp2cmd(BIT(i)); in spi_nor_capabilities_show()
210 if (cmd < 0) in spi_nor_capabilities_show()
213 spi_nor_print_pp_cmd(s, ¶ms->page_programs[cmd]); in spi_nor_capabilities_show()