Lines Matching refs:blockshift
54 char blockshift; /* 1<<bs pages in an erase block */ member
844 lba = address >> info->blockshift; in sddr09_read_data()
846 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_read_data()
888 address = ((pba << info->blockshift) + page) << in sddr09_read_data()
929 int numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr09_find_unused_pba()
977 blocklen = (pagelen << info->blockshift); in sddr09_write_lba()
985 address = (pba << (info->pageshift + info->blockshift)); in sddr09_write_lba()
992 for (i = 0; i < info->blockshift; i++) { in sddr09_write_lba()
1100 lba = address >> info->blockshift; 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()
1630 info->blockshift = cardinfo->blockshift; in sddr09_transport()
1631 info->blocksize = (1 << info->blockshift); in sddr09_transport()
1639 capacity = (info->lbact << info->blockshift) - 1; in sddr09_transport()