Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/storage/
Dsddr55.c100 int blockshift; /* log2 of blocksize */ member
248 address = (pba << info->blockshift) + page; in sddr55_read_data()
423 address = (pba << info->blockshift) + page; in sddr55_write_data()
479 >> info->blockshift; in sddr55_write_data()
589 info->blockshift = 4; in sddr55_get_capacity()
620 info->blockshift = 5; in sddr55_get_capacity()
626 info->blockshift = 5; in sddr55_get_capacity()
632 info->blockshift = 5; in sddr55_get_capacity()
638 info->blockshift = 5; in sddr55_get_capacity()
662 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map()
[all …]
Dalauda.c103 unsigned char blockshift; member
180 unsigned char blockshift; /* 1<<bs pages per block */ member
295 + media_info->blockshift + media_info->pageshift; in alauda_free_maps()
439 MEDIA_INFO(us).blockshift = media_info->blockshift; in alauda_init_media()
443 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift; in alauda_init_media()
450 + MEDIA_INFO(us).blockshift + MEDIA_INFO(us).pageshift); in alauda_init_media()
926 unsigned int blockshift = MEDIA_INFO(us).blockshift; in alauda_read_data() local
950 lba = address >> blockshift; in alauda_read_data()
952 max_lba = MEDIA_INFO(us).capacity >> (blockshift + pageshift); in alauda_read_data()
1021 unsigned int blockshift = MEDIA_INFO(us).blockshift; in alauda_write_data() local
[all …]
Dsddr09.c121 char blockshift; /* 1<<bs pages in an erase block */ member
266 int blockshift; /* log2 of blocksize */ member
760 lba = address >> info->blockshift; in sddr09_read_data()
762 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_read_data()
818 address = ((pba << info->blockshift) + page) << in sddr09_read_data()
846 end = info->capacity >> (info->blockshift + info->pageshift); in sddr09_find_unused_pba()
907 address = (pba << (info->pageshift + info->blockshift)); in sddr09_write_lba()
989 lba = address >> info->blockshift; in sddr09_write_data()
991 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_write_data()
1002 blocklen = (pagelen << info->blockshift); in sddr09_write_data()
[all …]
/linux-3.4.99/drivers/mtd/nand/
Dalauda.c63 u8 blockshift; /* 1<<blockshift block size */ member
208 u32 pba = from >> al->card->blockshift; in __alauda_read_page()
273 u32 pba = to >> al->card->blockshift; in alauda_write_page()
324 u32 pba = ofs >> al->card->blockshift; in alauda_erase_block()
575 1<<card->pageshift, 1<<card->blockshift, in alauda_init_media()
578 al->pagemask = (1 << (card->blockshift - card->pageshift)) - 1; in alauda_init_media()
580 al->blockmask = (1 << card->blockshift) - 1; in alauda_init_media()
584 mtd->erasesize = 1<<card->blockshift; in alauda_init_media()
/linux-3.4.99/fs/xfs/
Dxfs_super.c563 unsigned int blockshift) in xfs_max_file_offset() argument
588 pagefactor = PAGE_CACHE_SIZE >> (PAGE_CACHE_SHIFT - blockshift); in xfs_max_file_offset()