Lines Matching refs:num_cw
484 unsigned int num_cw = nandc->max_cwperpage; in alloc_bam_transaction() local
488 sizeof(*bam_txn) + num_cw * in alloc_bam_transaction()
502 sizeof(*bam_txn->bam_ce) * QPIC_PER_CW_CMD_ELEMENTS * num_cw; in alloc_bam_transaction()
506 sizeof(*bam_txn->cmd_sgl) * QPIC_PER_CW_CMD_SGL * num_cw; in alloc_bam_transaction()
679 static void update_rw_regs(struct qcom_nand_host *host, int num_cw, bool read) in update_rw_regs() argument
696 (num_cw - 1) << CW_PER_PAGE; in update_rw_regs()
702 (num_cw - 1) << CW_PER_PAGE; in update_rw_regs()
1391 int num_cw; in parse_erase_write_errors() local
1394 num_cw = command == NAND_CMD_PAGEPROG ? ecc->steps : 1; in parse_erase_write_errors()
1397 for (i = 0; i < num_cw; i++) { in parse_erase_write_errors()
1403 if (flash_status & FS_OP_ERR || (i == (num_cw - 1) && in parse_erase_write_errors()