Lines Matching defs:nr_of_pages
337 int nr_of_pages, int bulklen, unsigned char *buf,
353 command[10] = MSB_of(nr_of_pages);
354 command[11] = LSB_of(nr_of_pages);
382 * nr_of_pages counts pages of size (1 << pageshift).
386 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
387 int bulklen = nr_of_pages << pageshift;
390 return sddr09_readX(us, 0, fromaddress, nr_of_pages, bulklen,
423 * nr_of_pages counts pages of size (1 << pageshift) + (1 << controlshift).
427 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
429 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT);
431 nr_of_pages, bulklen);
432 return sddr09_readX(us, 2, fromaddress, nr_of_pages, bulklen,
498 int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) {
516 command[10] = MSB_of(nr_of_pages);
517 command[11] = LSB_of(nr_of_pages);
541 int nr_of_pages, int pageshift, unsigned char *buf,
543 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT);
544 return sddr09_writeX(us, address, address, nr_of_pages, bulklen,