Lines Matching refs:nr_of_pages
390 int nr_of_pages, int bulklen, unsigned char *buf, in sddr09_readX() argument
406 command[10] = MSB_of(nr_of_pages); in sddr09_readX()
407 command[11] = LSB_of(nr_of_pages); in sddr09_readX()
439 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument
440 int bulklen = nr_of_pages << pageshift; in sddr09_read20()
443 return sddr09_readX(us, 0, fromaddress, nr_of_pages, bulklen, in sddr09_read20()
480 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument
482 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_read22()
483 usb_stor_dbg(us, "reading %d pages, %d bytes\n", nr_of_pages, bulklen); in sddr09_read22()
484 return sddr09_readX(us, 2, fromaddress, nr_of_pages, bulklen, in sddr09_read22()
573 int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) { in sddr09_writeX() argument
591 command[10] = MSB_of(nr_of_pages); in sddr09_writeX()
592 command[11] = LSB_of(nr_of_pages); in sddr09_writeX()
616 int nr_of_pages, int pageshift, unsigned char *buf, in sddr09_write_inplace() argument
618 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_write_inplace()
619 return sddr09_writeX(us, address, address, nr_of_pages, bulklen, in sddr09_write_inplace()