Lines Matching refs:pageshift
53 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()
892 pages, info->pageshift, ptr, 0); in sddr09_read_data()
900 ptr += (pages << info->pageshift); in sddr09_read_data()
929 int numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr09_find_unused_pba()
976 pagelen = (1 << info->pageshift) + (1 << CONTROL_SHIFT); in sddr09_write_lba()
985 address = (pba << (info->pageshift + info->blockshift)); in sddr09_write_lba()
987 info->pageshift, blockbuffer, 0); in sddr09_write_lba()
1027 info->pageshift, blockbuffer, 0); in sddr09_write_lba()
1123 ptr += (pages << info->pageshift); in sddr09_write_data()
1296 (info->blockshift + info->pageshift - CONTROL_SHIFT); in sddr09_read_map()
1330 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr09_read_map()
1628 info->pageshift = cardinfo->pageshift; in sddr09_transport()
1629 info->pagesize = (1 << info->pageshift); in sddr09_transport()