Lines Matching refs:cmd2
327 u32 cmd1, u32 cmd2, u32 trfr_sz) in vf610_nfc_run() argument
337 vf610_nfc_write(nfc, NFC_FLASH_CMD2, cmd2); in vf610_nfc_run()
341 col, row, cmd1, cmd2, trfr_sz); in vf610_nfc_run()
363 u32 col = 0, row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_cmd() local
377 cmd2 |= instr->ctx.cmd.opcode << CMD_BYTE1_SHIFT; in vf610_nfc_cmd()
441 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_cmd()
443 vf610_nfc_run(nfc, col, row, cmd1, cmd2, trfr_sz); in vf610_nfc_cmd()
554 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_read_page() local
559 cmd2 |= NAND_CMD_READ0 << CMD_BYTE1_SHIFT; in vf610_nfc_read_page()
567 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_read_page()
570 vf610_nfc_run(nfc, 0, row, cmd1, cmd2, trfr_sz); in vf610_nfc_read_page()
602 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_write_page() local
608 cmd2 |= NAND_CMD_SEQIN << CMD_BYTE1_SHIFT; in vf610_nfc_write_page()
624 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_write_page()
627 vf610_nfc_run(nfc, 0, row, cmd1, cmd2, trfr_sz); in vf610_nfc_write_page()