Lines Matching refs:column

1051 static int onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column,  in onenand_transfer_auto_oob()  argument
1059 column, thislen); in onenand_transfer_auto_oob()
1123 int read = 0, column, thislen; in onenand_mlc_read_ops_nolock() local
1150 column = from & (writesize - 1); in onenand_mlc_read_ops_nolock()
1151 if (column + thislen > writesize) in onenand_mlc_read_ops_nolock()
1152 thislen = writesize - column; in onenand_mlc_read_ops_nolock()
1167 this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen); in onenand_mlc_read_ops_nolock()
1224 int read = 0, column, thislen; in onenand_read_ops_nolock() local
1260 column = from & (writesize - 1); in onenand_read_ops_nolock()
1261 if (column + thislen > writesize) in onenand_read_ops_nolock()
1262 thislen = writesize - column; in onenand_read_ops_nolock()
1283 this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen); in onenand_read_ops_nolock()
1309 column = 0; in onenand_read_ops_nolock()
1349 int read = 0, thislen, column, oobsize; in onenand_read_oob_nolock() local
1368 column = from & (mtd->oobsize - 1); in onenand_read_oob_nolock()
1370 if (unlikely(column >= oobsize)) { in onenand_read_oob_nolock()
1383 thislen = oobsize - column; in onenand_read_oob_nolock()
1401 onenand_transfer_auto_oob(mtd, buf, column, thislen); in onenand_read_oob_nolock()
1403 this->read_bufferram(mtd, ONENAND_SPARERAM, buf, column, thislen); in onenand_read_oob_nolock()
1416 column = 0; in onenand_read_oob_nolock()
1542 int read = 0, thislen, column; in onenand_bbt_read_oob() local
1563 column = from & (mtd->oobsize - 1); in onenand_bbt_read_oob()
1570 thislen = mtd->oobsize - column; in onenand_bbt_read_oob()
1584 this->read_bufferram(mtd, ONENAND_SPARERAM, buf, column, thislen); in onenand_bbt_read_oob()
1595 column = 0; in onenand_bbt_read_oob()
1646 int thislen, column; in onenand_verify() local
1648 column = addr & (this->writesize - 1); in onenand_verify()
1651 thislen = min_t(int, this->writesize - column, len); in onenand_verify()
1665 if (memcmp(buf, this->verify_buf + column, thislen)) in onenand_verify()
1671 column = 0; in onenand_verify()
1711 int column, subpage; in onenand_panic_write() local
1730 column = to & (mtd->writesize - 1); in onenand_panic_write()
1734 int thislen = min_t(int, mtd->writesize - column, len - written); in onenand_panic_write()
1743 memcpy(this->page_buf + column, buf, thislen); in onenand_panic_write()
1766 column = 0; in onenand_panic_write()
1784 const u_char *buf, int column, int thislen) in onenand_fill_auto_oob() argument
1786 return mtd_ooblayout_set_databytes(mtd, buf, oob_buf, column, thislen); in onenand_fill_auto_oob()
1801 int written = 0, column, thislen = 0, subpage = 0; in onenand_write_ops_nolock() local
1831 column = to & (mtd->writesize - 1); in onenand_write_ops_nolock()
1838 thislen = min_t(int, mtd->writesize - column, len - written); in onenand_write_ops_nolock()
1849 memcpy(this->page_buf + column, buf, thislen); in onenand_write_ops_nolock()
1950 column = 0; in onenand_write_ops_nolock()
1982 int column, ret = 0, oobsize; in onenand_write_oob_nolock() local
2002 column = to & (mtd->oobsize - 1); in onenand_write_oob_nolock()
2004 if (unlikely(column >= oobsize)) { in onenand_write_oob_nolock()
2011 if (unlikely(column + len > oobsize)) { in onenand_write_oob_nolock()
2033 onenand_fill_auto_oob(mtd, oobbuf, buf, column, thislen); in onenand_write_oob_nolock()
2035 memcpy(oobbuf + column, buf, thislen); in onenand_write_oob_nolock()
2072 column = 0; in onenand_write_oob_nolock()
2780 int column, ret = 0, oobsize; in onenand_otp_write_oob_nolock() local
2794 column = to & (mtd->oobsize - 1); in onenand_otp_write_oob_nolock()
2832 memcpy(oobbuf + column, buf, thislen); in onenand_otp_write_oob_nolock()
2885 column = 0; in onenand_otp_write_oob_nolock()