Lines Matching refs:num_cw
486 unsigned int num_cw = nandc->max_cwperpage; in alloc_bam_transaction() local
490 sizeof(*bam_txn) + num_cw * in alloc_bam_transaction()
504 sizeof(*bam_txn->bam_ce) * QPIC_PER_CW_CMD_ELEMENTS * num_cw; in alloc_bam_transaction()
508 sizeof(*bam_txn->cmd_sgl) * QPIC_PER_CW_CMD_SGL * num_cw; in alloc_bam_transaction()
681 static void update_rw_regs(struct qcom_nand_host *host, int num_cw, bool read) in update_rw_regs() argument
698 (num_cw - 1) << CW_PER_PAGE; in update_rw_regs()
704 (num_cw - 1) << CW_PER_PAGE; in update_rw_regs()
1393 int num_cw; in parse_erase_write_errors() local
1396 num_cw = command == NAND_CMD_PAGEPROG ? ecc->steps : 1; in parse_erase_write_errors()
1399 for (i = 0; i < num_cw; i++) { in parse_erase_write_errors()
1405 if (flash_status & FS_OP_ERR || (i == (num_cw - 1) && in parse_erase_write_errors()