Searched refs:blockshift (Results 1 – 3 of 3) sorted by relevance
92 int blockshift; /* log2 of blocksize */ member239 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 …]
94 unsigned char blockshift; member171 unsigned char blockshift; /* 1<<bs pages per block */ member287 + media_info->blockshift + media_info->pageshift; in alauda_free_maps()427 MEDIA_INFO(us).blockshift = media_info->blockshift; in alauda_init_media()431 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift; in alauda_init_media()438 + MEDIA_INFO(us).blockshift + MEDIA_INFO(us).pageshift); in alauda_init_media()913 unsigned int blockshift = MEDIA_INFO(us).blockshift; in alauda_read_data() local935 lba = address >> blockshift; in alauda_read_data()937 max_lba = MEDIA_INFO(us).capacity >> (blockshift + pageshift); in alauda_read_data()1007 unsigned int blockshift = MEDIA_INFO(us).blockshift; in alauda_write_data() local[all …]
111 char blockshift; /* 1<<bs pages in an erase block */ member252 int blockshift; /* log2 of blocksize */ member745 lba = address >> info->blockshift; in sddr09_read_data()747 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_read_data()802 address = ((pba << info->blockshift) + page) << in sddr09_read_data()830 end = info->capacity >> (info->blockshift + info->pageshift); in sddr09_find_unused_pba()891 address = (pba << (info->pageshift + info->blockshift)); in sddr09_write_lba()972 lba = address >> info->blockshift; in sddr09_write_data()974 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_write_data()989 blocklen = (pagelen << info->blockshift); in sddr09_write_data()[all …]