Searched refs:nr_of_pages (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/usb/storage/ |
D | sddr09.c | 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() [all …]
|
/linux-6.12.1/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 40 static int hw_queue_ctor(struct hw_queue *queue, const u32 nr_of_pages, in hw_queue_ctor() argument 52 queue->queue_length = nr_of_pages * pagesize; in hw_queue_ctor() 53 queue->queue_pages = kmalloc_array(nr_of_pages, sizeof(void *), in hw_queue_ctor() 64 while (i < nr_of_pages) { in hw_queue_ctor() 68 for (k = 0; k < pages_per_kpage && i < nr_of_pages; k++) { in hw_queue_ctor() 82 for (i = 0; i < nr_of_pages; i += pages_per_kpage) { in hw_queue_ctor()
|