Lines Matching refs:cmd

311 	__le32 cmd;  member
701 return &regs->cmd; in offset_to_nandc_reg()
814 u32 cmd, cfg0, cfg1, ecc_bch_cfg; in update_rw_regs() local
819 cmd = OP_PAGE_READ_WITH_ECC | PAGE_ACC | LAST_PAGE; in update_rw_regs()
821 cmd = OP_PAGE_READ | PAGE_ACC | LAST_PAGE; in update_rw_regs()
823 cmd = OP_PROGRAM_PAGE | PAGE_ACC | LAST_PAGE; in update_rw_regs()
840 nandc_set_reg(chip, NAND_FLASH_CMD, cmd); in update_rw_regs()
2549 int cmd; in qcom_op_cmd_mapping() local
2553 cmd = OP_RESET_DEVICE; in qcom_op_cmd_mapping()
2556 cmd = OP_FETCH_ID; in qcom_op_cmd_mapping()
2560 cmd = OP_PAGE_READ_ONFI_READ; in qcom_op_cmd_mapping()
2562 cmd = OP_PAGE_READ; in qcom_op_cmd_mapping()
2566 cmd = OP_BLOCK_ERASE; in qcom_op_cmd_mapping()
2569 cmd = OP_CHECK_STATUS; in qcom_op_cmd_mapping()
2572 cmd = OP_PROGRAM_PAGE; in qcom_op_cmd_mapping()
2579 cmd = OP_PAGE_READ_WITH_ECC; in qcom_op_cmd_mapping()
2581 cmd = OP_PAGE_READ; in qcom_op_cmd_mapping()
2588 return cmd; in qcom_op_cmd_mapping()
2608 ret = qcom_op_cmd_mapping(chip, instr->ctx.cmd.opcode, q_op); in qcom_parse_instructions()
2985 if (instr->ctx.cmd.opcode != NAND_CMD_RESET && in qcom_check_op()
2986 instr->ctx.cmd.opcode != NAND_CMD_READID && in qcom_check_op()
2987 instr->ctx.cmd.opcode != NAND_CMD_PARAM && in qcom_check_op()
2988 instr->ctx.cmd.opcode != NAND_CMD_ERASE1 && in qcom_check_op()
2989 instr->ctx.cmd.opcode != NAND_CMD_ERASE2 && in qcom_check_op()
2990 instr->ctx.cmd.opcode != NAND_CMD_STATUS && in qcom_check_op()
2991 instr->ctx.cmd.opcode != NAND_CMD_PAGEPROG && in qcom_check_op()
2992 instr->ctx.cmd.opcode != NAND_CMD_READ0 && in qcom_check_op()
2993 instr->ctx.cmd.opcode != NAND_CMD_READSTART) in qcom_check_op()