Home
last modified time | relevance | path

Searched refs:pageshift (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/usb/storage/
Dsddr09.c53 char pageshift; /* 1<<ps bytes in a page */ member
539 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument
540 int bulklen = nr_of_pages << pageshift; in sddr09_read20()
580 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument
582 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_read22()
699 int nr_of_pages, int pageshift, unsigned char *buf, in sddr09_write_inplace() argument
701 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_write_inplace()
846 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_read_data()
881 memset(ptr, 0, pages << info->pageshift); in sddr09_read_data()
889 info->pageshift; in sddr09_read_data()
[all …]
Dsddr55.c53 int pageshift; /* log2 of pagesize */ member
340 memset (ptr, 0, pages << info->pageshift); in sddr55_read_data()
367 pages<<info->pageshift); in sddr55_read_data()
399 ptr += (pages << info->pageshift); in sddr55_read_data()
572 pages<<info->pageshift); in sddr55_write_data()
638 ptr += (pages << info->pageshift); in sddr55_write_data()
711 info->pageshift = 9; in sddr55_get_capacity()
722 info->pageshift = 8; in sddr55_get_capacity()
728 info->pageshift = 8; in sddr55_get_capacity()
787 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map()
[all …]
Dsddr09.h37 int pageshift; /* log2 of pagesize */ member