Home
last modified time | relevance | path

Searched refs:datbuf (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/mtd/tests/
H A Doobtest.c71 ops.datbuf = NULL; in write_eraseblock()
181 ops.datbuf = NULL; in verify_eraseblock()
218 ops.datbuf = NULL; in verify_eraseblock()
278 ops.datbuf = NULL; in verify_eraseblock_in_one_go()
502 ops.datbuf = NULL; in mtd_oobtest_init()
522 ops.datbuf = NULL; in mtd_oobtest_init()
549 ops.datbuf = NULL; in mtd_oobtest_init()
569 ops.datbuf = NULL; in mtd_oobtest_init()
596 ops.datbuf = NULL; in mtd_oobtest_init()
616 ops.datbuf in mtd_oobtest_init()
[all...]
H A Dreadtest.c58 ops.datbuf = NULL; in read_eraseblock_by_page()
H A Dnandbiterrs.c113 ops.datbuf = wbuffer; in rewrite_page()
/kernel/linux/linux-6.6/drivers/mtd/tests/
H A Doobtest.c71 ops.datbuf = NULL; in write_eraseblock()
181 ops.datbuf = NULL; in verify_eraseblock()
218 ops.datbuf = NULL; in verify_eraseblock()
278 ops.datbuf = NULL; in verify_eraseblock_in_one_go()
502 ops.datbuf = NULL; in mtd_oobtest_init()
521 ops.datbuf = NULL; in mtd_oobtest_init()
547 ops.datbuf = NULL; in mtd_oobtest_init()
566 ops.datbuf = NULL; in mtd_oobtest_init()
592 ops.datbuf = NULL; in mtd_oobtest_init()
611 ops.datbuf in mtd_oobtest_init()
[all...]
H A Dreadtest.c58 ops.datbuf = NULL; in read_eraseblock_by_page()
H A Dnandbiterrs.c113 ops.datbuf = wbuffer; in rewrite_page()
/kernel/linux/linux-6.6/drivers/mtd/
H A Dmtdchar.c172 ops.datbuf = kbuf; in mtdchar_read()
266 ops.datbuf = kbuf; in mtdchar_write()
358 ops.datbuf = NULL; in mtdchar_writeoob()
395 ops.datbuf = NULL; in mtdchar_readoob()
599 uint8_t *datbuf = NULL, *oobbuf = NULL; in mtdchar_write_ioctl() local
626 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_write_ioctl()
627 if (!datbuf) in mtdchar_write_ioctl()
635 kvfree(datbuf); in mtdchar_write_ioctl()
645 .datbuf = datbuf, in mtdchar_write_ioctl()
697 uint8_t *datbuf = NULL, *oobbuf = NULL; mtdchar_read_ioctl() local
[all...]
H A Dmtdconcat.c298 if (devops.datbuf) { in concat_read_oob()
302 devops.datbuf += devops.retlen; in concat_read_oob()
346 if (devops.datbuf) { in concat_write_oob()
350 devops.datbuf += devops.retlen; in concat_write_oob()
H A Dnftlcore.c134 ops.datbuf = NULL; in nftl_read_oob()
155 ops.datbuf = NULL; in nftl_write_oob()
178 ops.datbuf = buf; in nftl_write()
H A Dinftlcore.c146 ops.datbuf = NULL; in inftl_read_oob()
166 ops.datbuf = NULL; in inftl_write_oob()
186 ops.datbuf = buf; in inftl_write()
H A Dmtdcore.c1501 .datbuf = buf, in mtd_read()
1517 .datbuf = (u8 *)buf, in mtd_write()
1561 * Some users are setting ->datbuf or ->oobbuf to NULL, but are leaving in mtd_check_oob_ops()
1565 if (!ops->datbuf) in mtd_check_oob_ops()
1601 ops->datbuf); in mtd_read_oob_std()
1617 ops->datbuf); in mtd_write_oob_std()
1675 adjops.datbuf += adjops.retlen; in mtd_io_emulated_slc()
1714 * In cases where ops->datbuf != NULL, mtd->_read_oob() has semantics in mtd_read_oob()
H A Dssfdc.c173 ops.datbuf = NULL; in read_raw_oob()
/kernel/linux/linux-5.10/drivers/mtd/
H A Dmtdchar.c180 ops.datbuf = kbuf; in mtdchar_read()
274 ops.datbuf = kbuf; in mtdchar_write()
366 ops.datbuf = NULL; in mtdchar_writeoob()
403 ops.datbuf = NULL; in mtdchar_readoob()
607 ops.datbuf = memdup_user(usr_data, ops.len); in mtdchar_write_ioctl()
608 if (IS_ERR(ops.datbuf)) in mtdchar_write_ioctl()
609 return PTR_ERR(ops.datbuf); in mtdchar_write_ioctl()
611 ops.datbuf = NULL; in mtdchar_write_ioctl()
617 kfree(ops.datbuf); in mtdchar_write_ioctl()
626 kfree(ops.datbuf); in mtdchar_write_ioctl()
[all...]
H A Dmtdconcat.c298 if (devops.datbuf) { in concat_read_oob()
302 devops.datbuf += devops.retlen; in concat_read_oob()
346 if (devops.datbuf) { in concat_write_oob()
350 devops.datbuf += devops.retlen; in concat_write_oob()
H A Dnftlcore.c134 ops.datbuf = NULL; in nftl_read_oob()
155 ops.datbuf = NULL; in nftl_write_oob()
178 ops.datbuf = buf; in nftl_write()
H A Dinftlcore.c146 ops.datbuf = NULL; in inftl_read_oob()
166 ops.datbuf = NULL; in inftl_write_oob()
186 ops.datbuf = buf; in inftl_write()
H A Dmtdcore.c1252 .datbuf = buf, in mtd_read()
1268 .datbuf = (u8 *)buf, in mtd_write()
1312 * Some users are setting ->datbuf or ->oobbuf to NULL, but are leaving in mtd_check_oob_ops()
1316 if (!ops->datbuf) in mtd_check_oob_ops()
1352 ops->datbuf); in mtd_read_oob_std()
1368 ops->datbuf); in mtd_write_oob_std()
1426 adjops.datbuf += adjops.retlen; in mtd_io_emulated_slc()
1462 * In cases where ops->datbuf != NULL, mtd->_read_oob() has semantics in mtd_read_oob()
H A Dssfdc.c173 ops.datbuf = NULL; in read_raw_oob()
H A Dmtdswap.c337 ops.datbuf = NULL; in mtdswap_read_markers()
378 ops.datbuf = NULL; in mtdswap_write_marker()
889 ops.datbuf = d->page_buf; in mtdswap_eblk_passes()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dsm_common.c115 ops.datbuf = NULL; in sm_block_markbad()
H A Dnand_bbt.c324 ops.datbuf = buf; in scan_read_oob()
362 ops.datbuf = buf; in scan_write_bbt()
425 ops.datbuf = NULL; in scan_block_fast()
730 ops.datbuf = NULL; in write_bbt()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dsm_common.c115 ops.datbuf = NULL; in sm_block_markbad()
H A Dnand_bbt.c324 ops.datbuf = buf; in scan_read_oob()
362 ops.datbuf = buf; in scan_write_bbt()
425 ops.datbuf = NULL; in scan_block_fast()
763 ops.datbuf = NULL; in write_bbt()
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/
H A Donenand_base.c1121 u_char *buf = ops->datbuf; in onenand_mlc_read_ops_nolock()
1222 u_char *buf = ops->datbuf; in onenand_read_ops_nolock()
1456 if (ops->datbuf) in onenand_read_oob()
1794 const u_char *buf = ops->datbuf; in onenand_write_ops_nolock()
2093 if (ops->datbuf) in onenand_write_oob()
2907 .datbuf = buf, in do_otp_read()
2959 ops.datbuf = pbuf; in do_otp_write()
2999 ops.datbuf = buf; in do_otp_lock()
3517 .datbuf = NULL, in flexonenand_check_blocks_erased()
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/
H A Donenand_base.c1121 u_char *buf = ops->datbuf; in onenand_mlc_read_ops_nolock()
1222 u_char *buf = ops->datbuf; in onenand_read_ops_nolock()
1460 if (ops->datbuf) in onenand_read_oob()
1806 const u_char *buf = ops->datbuf; in onenand_write_ops_nolock()
2102 if (ops->datbuf) in onenand_write_oob()
2914 .datbuf = buf, in do_otp_read()
2966 ops.datbuf = pbuf; in do_otp_write()
3006 ops.datbuf = buf; in do_otp_lock()
3525 .datbuf = NULL, in flexonenand_check_blocks_erased()

Completed in 43 milliseconds

12