Home
last modified time | relevance | path

Searched refs:oob_size2 (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/mtd/nand/raw/
Dqcom_nandc.c1469 int data_size1, data_size2, oob_size1, oob_size2; in qcom_nandc_read_cw_raw() local
1493 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw()
1497 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_read_cw_raw()
1510 nandc_set_read_loc(chip, cw, 3, read_loc, oob_size2, 1); in qcom_nandc_read_cw_raw()
1524 read_data_dma(nandc, reg_off, oob_buf + oob_size1, oob_size2, 0); in qcom_nandc_read_cw_raw()
2057 int data_size1, data_size2, oob_size1, oob_size2; in qcom_nandc_write_page_raw() local
2066 oob_size2 = (ecc->steps << 2) + host->ecc_bytes_hw + in qcom_nandc_write_page_raw()
2070 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_write_page_raw()
2088 write_data_dma(nandc, reg_off, oob_buf, oob_size2, 0); in qcom_nandc_write_page_raw()
2089 oob_buf += oob_size2; in qcom_nandc_write_page_raw()