Searched refs:bytes_in_page (Results 1 – 1 of 1) sorted by relevance
60 int bytes_in_page, int pos, in ds2502_read() argument99 ret = w1_read_buf(dev, pagebuf, bytes_in_page + 1); in ds2502_read()105 crc = ds2502_crc8(pagebuf, bytes_in_page); in ds2502_read()106 if (crc == pagebuf[bytes_in_page]) { in ds2502_read()112 pagebuf[bytes_in_page], crc, pos); in ds2502_read()189 int bytes_in_page; in ds2502_read_buf() local201 bytes_in_page = DS2502_PAGE_SIZE - (pos % DS2502_PAGE_SIZE); in ds2502_read_buf()206 bytes_for_user = bytes_in_page; in ds2502_read_buf()209 bytes_in_page, pos, in ds2502_read_buf()