Lines Matching defs:read

10  *	auto-placement support, read-while load support, various fixes
195 * @addr: address to read
392 * @addr: offset to read from or write to
393 * @len: number of bytes to read or write
580 * power off recovery (POR) test, it should read ECC status first
597 printk(KERN_ERR "%s: read timeout! ctrl=0x%04x intr=0x%04x\n",
695 * 1. polling - read interrupt status register
753 * @offset: offset to read from or write to
754 * @count: number of bytes to read/write
789 * @offset: offset to read from or write to
790 * @count: number of bytes to read/write
829 * @offset: offset to read from or write to
830 * @count: number of bytes to read/write
1048 * @column: oob offset to read from
1049 * @thislen: oob length to read
1071 * become corrupt. LSB page recovery read is a way to read LSB page though page
1073 * read after power up, issue LSB page recovery read.
1094 * which was incremented by onenand_wait due to read failure
1096 printk(KERN_INFO "%s: Attempting to recover from uncorrectable read\n",
1106 * onenand_mlc_read_ops_nolock - MLC OneNAND read main and/or out-of-band
1108 * @from: offset to read from
1112 * So, read-while-load is not present.
1123 int read = 0, column, thislen;
1136 printk(KERN_ERR "%s: Attempt read beyond end of device\n",
1145 while (read < len) {
1148 thislen = min_t(int, writesize, len - read);
1181 read += thislen;
1182 if (read == len)
1194 ops->retlen = read;
1208 * onenand_read_ops_nolock - [OneNAND Interface] OneNAND read main and/or out-of-band
1210 * @from: offset to read from
1213 * OneNAND read main and/or out-of-band data
1224 int read = 0, column, thislen;
1237 printk(KERN_ERR "%s: Attempt read beyond end of device\n",
1249 if (read < len) {
1259 thislen = min_t(int, writesize, len - read);
1267 if (read + thislen < len) {
1271 * Now we issued chip 1 read and pointed chip 1
1282 /* While load is going, read from last bufferRAM */
1300 read += thislen;
1301 if (read == len)
1303 /* Set up for next read from bufferRAM */
1308 thislen = min_t(int, writesize, len - read);
1323 ops->retlen = read;
1337 * onenand_read_oob_nolock - [MTD Interface] OneNAND read out-of-band
1339 * @from: offset to read from
1342 * OneNAND read out-of-band data from the spare area
1349 int read = 0, thislen, column, oobsize;
1371 printk(KERN_ERR "%s: Attempted to start read outside oob\n",
1380 while (read < len) {
1395 printk(KERN_ERR "%s: read failed = 0x%x\n",
1405 read += thislen;
1407 if (read == len)
1413 if (read < len) {
1420 ops->oobretlen = read;
1434 * @from: offset to read from
1514 printk(KERN_ERR "%s: read timeout! ctrl 0x%04x "
1531 * onenand_bbt_read_oob - [MTD Interface] OneNAND read out-of-band for bbt scan
1533 * @from: offset to read from
1536 * OneNAND read out-of-band data from the spare area for bbt scan
1542 int read = 0, thislen, column;
1555 printk(KERN_ERR "%s: Attempt read beyond end of device\n",
1567 while (read < len) {
1585 read += thislen;
1586 if (read == len)
1592 if (read < len) {
1602 ops->oobretlen = read;
1611 * @to: offset to read from
1639 * @addr: offset to read from
1640 * @len: number of bytes to read and compare
2697 * @addr: offset to read from or write to
2698 * @len: number of bytes to read or write
2900 * @from: The offset to read
2901 * @len: number of bytes to read
3029 * @from: The offset to read/write
3030 * @len: number of bytes to read/write
3031 * @retlen: pointer to variable to store the number of read bytes
3110 * @len: number of bytes to read
3111 * @retlen: pointer to variable to store the number of read bytes
3126 * @from: The offset to read
3127 * @len: number of bytes to read
3128 * @retlen: pointer to variable to store the number of read bytes
3142 * @retlen: pointer to variable to store the number of read bytes
3143 * @len: number of bytes to read
3158 * @from: The offset to read
3159 * @len: number of bytes to read
3160 * @retlen: pointer to variable to store the number of read bytes
3663 /* Clear Sync. Burst Read mode to read BootRAM */
3673 /* Reset OneNAND to read default register values */
3822 * The flash ID is read and the mtd/chip structures are