Lines Matching refs:num_cw
502 unsigned int num_cw = nandc->max_cwperpage; in alloc_bam_transaction() local
506 sizeof(*bam_txn) + num_cw * in alloc_bam_transaction()
520 sizeof(*bam_txn->bam_ce) * QPIC_PER_CW_CMD_ELEMENTS * num_cw; in alloc_bam_transaction()
524 sizeof(*bam_txn->cmd_sgl) * QPIC_PER_CW_CMD_SGL * num_cw; in alloc_bam_transaction()
733 static void update_rw_regs(struct qcom_nand_host *host, int num_cw, bool read, int cw) in update_rw_regs() argument
750 (num_cw - 1) << CW_PER_PAGE; in update_rw_regs()
756 (num_cw - 1) << CW_PER_PAGE; in update_rw_regs()
1477 int num_cw; in parse_erase_write_errors() local
1480 num_cw = command == NAND_CMD_PAGEPROG ? ecc->steps : 1; in parse_erase_write_errors()
1483 for (i = 0; i < num_cw; i++) { in parse_erase_write_errors()
1489 if (flash_status & FS_OP_ERR || (i == (num_cw - 1) && in parse_erase_write_errors()