Lines Matching refs:ppos
150 loff_t *ppos) in mtdchar_read() argument
163 if (*ppos + count > mtd->size) in mtdchar_read()
164 count = mtd->size - *ppos; in mtdchar_read()
178 ret = mtd_read_fact_prot_reg(mtd, *ppos, len, in mtdchar_read()
182 ret = mtd_read_user_prot_reg(mtd, *ppos, len, in mtdchar_read()
194 ret = mtd_read_oob(mtd, *ppos, &ops); in mtdchar_read()
199 ret = mtd_read(mtd, *ppos, len, &retlen, kbuf); in mtdchar_read()
211 *ppos += retlen; in mtdchar_read()
236 loff_t *ppos) in mtdchar_write() argument
249 if (*ppos == mtd->size) in mtdchar_write()
252 if (*ppos + count > mtd->size) in mtdchar_write()
253 count = mtd->size - *ppos; in mtdchar_write()
275 ret = mtd_write_user_prot_reg(mtd, *ppos, len, in mtdchar_write()
289 ret = mtd_write_oob(mtd, *ppos, &ops); in mtdchar_write()
295 ret = mtd_write(mtd, *ppos, len, &retlen, kbuf); in mtdchar_write()
307 *ppos += retlen; in mtdchar_write()