Lines Matching refs:cw
1587 u8 *data_buf, u8 *oob_buf, int page, int cw) in qcom_nandc_read_cw_raw() argument
1599 set_address(host, host->cw_size * cw, page); in qcom_nandc_read_cw_raw()
1606 if (cw == (ecc->steps - 1)) { in qcom_nandc_read_cw_raw()
1645 dev_err(nandc->dev, "failure to read raw cw %d\n", cw); in qcom_nandc_read_cw_raw()
1676 int cw, data_size, oob_size, ret = 0; in check_for_erased_page() local
1686 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page()
1687 if (cw == (ecc->steps - 1)) { in check_for_erased_page()
1696 cw_data_buf = data_buf + (cw * host->cw_data); in check_for_erased_page()
1697 cw_oob_buf = oob_buf + (cw * ecc->bytes); in check_for_erased_page()
1700 cw_oob_buf, page, cw); in check_for_erased_page()
1967 int cw, ret; in qcom_nandc_read_page_raw() local
1970 for (cw = 0; cw < ecc->steps; cw++) { in qcom_nandc_read_page_raw()
1972 page, cw); in qcom_nandc_read_page_raw()