Lines Matching refs:len256
610 int i, len256 = 0, ret=0; in doc_read_ecc() local
665 len256 = (from | 0xff) + 1 - from; in doc_read_ecc()
666 DoC_ReadBuf(this, buf, len256); in doc_read_ecc()
669 DoC_Address(this, ADDR_COLUMN_PAGE, from + len256, in doc_read_ecc()
673 DoC_ReadBuf(this, &buf[len256], len - len256); in doc_read_ecc()
758 int len256 = 0; in doc_write_ecc() local
816 len256 = (to | 0xff) + 1 - to; in doc_write_ecc()
817 DoC_WriteBuf(this, buf, len256); in doc_write_ecc()
836 DoC_Address(this, ADDR_COLUMN_PAGE, to + len256, 0, in doc_write_ecc()
840 DoC_WriteBuf(this, &buf[len256], len - len256); in doc_write_ecc()
915 int len256 = 0, ret; in doc_read_oob() local
950 len256 = (ofs | 0x7) + 1 - ofs; in doc_read_oob()
951 DoC_ReadBuf(this, buf, len256); in doc_read_oob()
958 DoC_ReadBuf(this, &buf[len256], len - len256); in doc_read_oob()
976 int len256 = 0; in doc_write_oob_nolock() local
1021 len256 = (ofs | 0x7) + 1 - ofs; in doc_write_oob_nolock()
1022 DoC_WriteBuf(this, buf, len256); in doc_write_oob_nolock()
1041 DoC_WriteBuf(this, &buf[len256], len - len256); in doc_write_oob_nolock()