Lines Matching defs:first
1108 * @first: offset of the first register in the contiguous block
1112 static int read_reg_dma(struct qcom_nand_controller *nandc, int first,
1121 if (first == NAND_DEV_CMD_VLD || first == NAND_DEV_CMD1)
1122 first = dev_cmd_reg_addr(nandc, first);
1125 return prep_bam_dma_desc_cmd(nandc, true, first, vaddr,
1128 if (first == NAND_READ_ID || first == NAND_FLASH_STATUS)
1131 return prep_adm_dma_desc(nandc, true, first, vaddr,
1139 * @first: offset of the first register in the contiguous block
1143 static int write_reg_dma(struct qcom_nand_controller *nandc, int first,
1150 vaddr = offset_to_nandc_reg(regs, first);
1152 if (first == NAND_ERASED_CW_DETECT_CFG) {
1159 if (first == NAND_EXEC_CMD)
1162 if (first == NAND_DEV_CMD1_RESTORE || first == NAND_DEV_CMD1)
1163 first = dev_cmd_reg_addr(nandc, NAND_DEV_CMD1);
1165 if (first == NAND_DEV_CMD_VLD_RESTORE || first == NAND_DEV_CMD_VLD)
1166 first = dev_cmd_reg_addr(nandc, NAND_DEV_CMD_VLD);
1169 return prep_bam_dma_desc_cmd(nandc, false, first, vaddr,
1172 if (first == NAND_FLASH_CMD)
1175 return prep_adm_dma_desc(nandc, false, first, vaddr,
2003 * to oob for the first n - 1 codewords since these oob regions
2165 * portion of oob. we just want the first few bytes from this codeword
2256 * the first n - 1 codewords contains 516 bytes of user data, the remaining
2285 * width) is now accessible. For the first n - 1 codewords, these are dummy Bad
2297 * first n - 1 nth OOB region