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()
1530 int read = 0, thislen, column; in onenand_bbt_read_oob() local
1551 column = from & (mtd->oobsize - 1); in onenand_bbt_read_oob()
1558 thislen = mtd->oobsize - column; in onenand_bbt_read_oob()
1572 this->read_bufferram(mtd, ONENAND_SPARERAM, buf, column, thislen); in onenand_bbt_read_oob()
1583 column = 0; in onenand_bbt_read_oob()
1634 int thislen, column; in onenand_verify() local
1636 column = addr & (this->writesize - 1); in onenand_verify()
1639 thislen = min_t(int, this->writesize - column, len); in onenand_verify()
1653 if (memcmp(buf, this->verify_buf + column, thislen)) in onenand_verify()
1659 column = 0; in onenand_verify()
1699 int column, subpage; in onenand_panic_write() local
1718 column = to & (mtd->writesize - 1); in onenand_panic_write()
1722 int thislen = min_t(int, mtd->writesize - column, len - written); in onenand_panic_write()
1731 memcpy(this->page_buf + column, buf, thislen); in onenand_panic_write()
1754 column = 0; in onenand_panic_write()
1772 const u_char *buf, int column, int thislen) in onenand_fill_auto_oob() argument
1774 return mtd_ooblayout_set_databytes(mtd, buf, oob_buf, column, thislen); in onenand_fill_auto_oob()
1789 int written = 0, column, thislen = 0, subpage = 0; in onenand_write_ops_nolock() local
1819 column = to & (mtd->writesize - 1); in onenand_write_ops_nolock()
1826 thislen = min_t(int, mtd->writesize - column, len - written); in onenand_write_ops_nolock()
1837 memcpy(this->page_buf + column, buf, thislen); in onenand_write_ops_nolock()
1938 column = 0; in onenand_write_ops_nolock()
1970 int column, ret = 0, oobsize; in onenand_write_oob_nolock() local
1990 column = to & (mtd->oobsize - 1); in onenand_write_oob_nolock()
1992 if (unlikely(column >= oobsize)) { in onenand_write_oob_nolock()
1999 if (unlikely(column + len > oobsize)) { in onenand_write_oob_nolock()
2021 onenand_fill_auto_oob(mtd, oobbuf, buf, column, thislen); in onenand_write_oob_nolock()
2023 memcpy(oobbuf + column, buf, thislen); in onenand_write_oob_nolock()
2060 column = 0; in onenand_write_oob_nolock()
2768 int column, ret = 0, oobsize; in onenand_otp_write_oob_nolock() local
2782 column = to & (mtd->oobsize - 1); in onenand_otp_write_oob_nolock()
2820 memcpy(oobbuf + column, buf, thislen); in onenand_otp_write_oob_nolock()
2873 column = 0; in onenand_otp_write_oob_nolock()