• Home
  • Raw
  • Download

Lines Matching refs:oob_buf

1671 		       u8 *data_buf, u8 *oob_buf, int page, int cw)  in qcom_nandc_read_cw_raw()  argument
1722 read_data_dma(nandc, reg_off, oob_buf, oob_size1, 0); in qcom_nandc_read_cw_raw()
1728 read_data_dma(nandc, reg_off, oob_buf + oob_size1, oob_size2, 0); in qcom_nandc_read_cw_raw()
1757 u8 *oob_buf, unsigned long uncorrectable_cws, in check_for_erased_page() argument
1769 if (!oob_buf) { in check_for_erased_page()
1771 oob_buf = chip->oob_poi; in check_for_erased_page()
1785 cw_oob_buf = oob_buf + (cw * ecc->bytes); in check_for_erased_page()
1816 u8 *oob_buf, int page) in parse_read_errors() argument
1826 u8 *data_buf_start = data_buf, *oob_buf_start = oob_buf; in parse_read_errors()
1899 if (oob_buf) in parse_read_errors()
1900 oob_buf += oob_len + ecc->bytes; in parse_read_errors()
1919 u8 *oob_buf, int page) in read_page_ecc() argument
1924 u8 *data_buf_start = data_buf, *oob_buf_start = oob_buf; in read_page_ecc()
1943 if (data_buf && oob_buf) { in read_page_ecc()
1968 if (oob_buf) { in read_page_ecc()
1972 *oob_buf++ = 0xff; in read_page_ecc()
1975 oob_buf, oob_size, 0); in read_page_ecc()
1980 if (oob_buf) in read_page_ecc()
1981 oob_buf += oob_size; in read_page_ecc()
2036 u8 *data_buf, *oob_buf = NULL; in qcom_nandc_read_page() local
2040 oob_buf = oob_required ? chip->oob_poi : NULL; in qcom_nandc_read_page()
2044 return read_page_ecc(host, data_buf, oob_buf, page); in qcom_nandc_read_page()
2055 u8 *data_buf = buf, *oob_buf = chip->oob_poi; in qcom_nandc_read_page_raw() local
2058 ret = qcom_nandc_read_cw_raw(mtd, chip, data_buf, oob_buf, in qcom_nandc_read_page_raw()
2064 oob_buf += ecc->bytes; in qcom_nandc_read_page_raw()
2094 u8 *data_buf, *oob_buf; in qcom_nandc_write_page() local
2103 oob_buf = chip->oob_poi; in qcom_nandc_write_page()
2133 oob_buf += host->bbm_size; in qcom_nandc_write_page()
2136 oob_buf, oob_size, 0); in qcom_nandc_write_page()
2142 oob_buf += oob_size; in qcom_nandc_write_page()
2166 u8 *data_buf, *oob_buf; in qcom_nandc_write_page_raw() local
2174 oob_buf = chip->oob_poi; in qcom_nandc_write_page_raw()
2202 write_data_dma(nandc, reg_off, oob_buf, oob_size1, in qcom_nandc_write_page_raw()
2205 oob_buf += oob_size1; in qcom_nandc_write_page_raw()
2212 write_data_dma(nandc, reg_off, oob_buf, oob_size2, 0); in qcom_nandc_write_page_raw()
2213 oob_buf += oob_size2; in qcom_nandc_write_page_raw()