Searched refs:block_shift (Results 1 – 9 of 9) sorted by relevance
528 xd_card->block_shift = 4; /* 16 pages per block */ in reset_xd()536 xd_card->block_shift = 4; in reset_xd()610 xd_card->block_shift = 0; in reset_xd()633 page_addr = (u32) i << xd_card->block_shift; in reset_xd()920 xd_card->block_shift = 0; in reset_xd_card()972 page_addr = phy_blk << xd_card->block_shift; in xd_mark_bad_block()1028 page_addr = (phy_blk << xd_card->block_shift) + start_page; in xd_init_page()1081 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page()1082 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page()1206 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_auto_copy_page()[all …]
121 (xd_card)->block_shift = 5; \
450 u8 block_shift; member659 u8 block_shift; member
2143 ms_card->block_shift = 5;2146 ms_card->block_shift = 4;2154 if (ms_card->block_shift == 4) {2172 ms_card->capacity = ((u32) eblock_cnt - 2) << ms_card->block_shift;3864 log_blk = (u16) (start_sector >> ms_card->block_shift);
575 xd_card->block_shift = 4; in reset_xd()583 xd_card->block_shift = 4; in reset_xd()656 xd_card->block_shift = 0; in reset_xd()679 page_addr = (u32)i << xd_card->block_shift; in reset_xd()955 xd_card->block_shift = 0; in reset_xd_card()1003 page_addr = phy_blk << xd_card->block_shift; in xd_mark_bad_block()1047 page_addr = (phy_blk << xd_card->block_shift) + start_page; in xd_init_page()1089 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page()1090 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page()1206 page_addr = phy_blk << xd_card->block_shift; in xd_erase_block()[all …]
116 (xd_card)->block_shift = 5; \
513 u8 block_shift; member561 u8 block_shift; member
1986 ms_card->block_shift = 5; in reset_ms()1990 ms_card->block_shift = 4; in reset_ms()2000 if (ms_card->block_shift == 4) { /* 4MB or 8MB */ in reset_ms()2021 ms_card->capacity = ((u32)eblock_cnt - 2) << ms_card->block_shift; in reset_ms()3365 log_blk = (u16)(start_sector >> ms_card->block_shift); in ms_rw_multi_sector()
511 unsigned block_shift; member678 return bio->bi_sector >> tc->pool->block_shift; in get_bio_block()686 bio->bi_sector = (block << pool->block_shift) + in remap()1238 sector_t offset = bio->bi_sector - (block << pool->block_shift); in process_discard()1718 pool->block_shift = ffs(block_size) - 1; in pool_create()2099 data_size = ti->len >> pool->block_shift; in pool_preresume()2718 blocks = tc->pool->ti->len >> tc->pool->block_shift; in thin_iterate_devices()