Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/storage/
H A Dsddr55.c92 int blockshift; /* log2 of blocksize */ member
239 address = (pba << info->blockshift) + page; in sddr55_read_data()
414 address = (pba << info->blockshift) + page; in sddr55_write_data()
470 >> info->blockshift; in sddr55_write_data()
579 info->blockshift = 4; in sddr55_get_capacity()
611 info->blockshift = 5; in sddr55_get_capacity()
617 info->blockshift = 5; in sddr55_get_capacity()
623 info->blockshift = 5; in sddr55_get_capacity()
629 info->blockshift = 5; in sddr55_get_capacity()
653 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map()
[all …]
H A Dalauda.c94 unsigned char blockshift; member
173 unsigned char blockshift; /* 1<<bs pages per block */ member
289 + media_info->blockshift + media_info->pageshift; in alauda_free_maps()
430 MEDIA_INFO(us).blockshift = media_info->blockshift; in alauda_init_media()
434 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift; in alauda_init_media()
441 + MEDIA_INFO(us).blockshift + MEDIA_INFO(us).pageshift); in alauda_init_media()
922 unsigned int blockshift = MEDIA_INFO(us).blockshift; in alauda_read_data() local
944 lba = address >> blockshift; in alauda_read_data()
1016 unsigned int blockshift = MEDIA_INFO(us).blockshift; in alauda_write_data() local
1046 lba = address >> blockshift; in alauda_write_data()
[all …]
H A Dsddr09.c111 char blockshift; /* 1<<bs pages in an erase block */ member
252 int blockshift; /* log2 of blocksize */ member
745 lba = address >> info->blockshift; in sddr09_read_data()
802 address = ((pba << info->blockshift) + page) << in sddr09_read_data()
891 address = (pba << (info->pageshift + info->blockshift)); in sddr09_write_lba()
972 lba = address >> info->blockshift; in sddr09_write_data()
989 blocklen = (pagelen << info->blockshift); in sddr09_write_data()
1257 address = i << (info->pageshift + info->blockshift); in sddr09_read_map()
1603 info->blockshift = cardinfo->blockshift; in sddr09_transport()
1604 info->blocksize = (1 << info->blockshift); in sddr09_transport()
[all …]