Searched refs:oob_size2 (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 1598 int data_size1, data_size2, oob_size1, oob_size2; in qcom_nandc_read_cw_raw() local 1615 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw() 1619 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_read_cw_raw() 1632 nandc_set_read_loc(nandc, 3, read_loc, oob_size2, 1); in qcom_nandc_read_cw_raw() 1646 read_data_dma(nandc, reg_off, oob_buf + oob_size1, oob_size2, 0); in qcom_nandc_read_cw_raw() 2102 int data_size1, data_size2, oob_size1, oob_size2; in qcom_nandc_write_page_raw() local 2111 oob_size2 = (ecc->steps << 2) + host->ecc_bytes_hw + in qcom_nandc_write_page_raw() 2115 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_write_page_raw() 2133 write_data_dma(nandc, reg_off, oob_buf, oob_size2, 0); in qcom_nandc_write_page_raw() 2134 oob_buf += oob_size2; in qcom_nandc_write_page_raw()
|