Searched refs:instr_idx (Results 1 – 1 of 1) sorted by relevance
2454 unsigned int instr_idx) in nand_subop_instr_is_valid() argument2456 return subop && instr_idx < subop->ninstrs; in nand_subop_instr_is_valid()2460 unsigned int instr_idx) in nand_subop_get_start_off() argument2462 if (instr_idx) in nand_subop_get_start_off()2480 unsigned int instr_idx) in nand_subop_get_addr_start_off() argument2482 if (WARN_ON(!nand_subop_instr_is_valid(subop, instr_idx) || in nand_subop_get_addr_start_off()2483 subop->instrs[instr_idx].type != NAND_OP_ADDR_INSTR)) in nand_subop_get_addr_start_off()2486 return nand_subop_get_start_off(subop, instr_idx); in nand_subop_get_addr_start_off()2502 unsigned int instr_idx) in nand_subop_get_num_addr_cyc() argument2506 if (WARN_ON(!nand_subop_instr_is_valid(subop, instr_idx) || in nand_subop_get_num_addr_cyc()[all …]