Searched refs:block_shift (Results 1 – 9 of 9) sorted by relevance
154 u64 block_shift) in mlx4_ib_umem_calc_block_mtt() argument160 if ((next_block_start & ((1ULL << block_shift) - 1ULL)) != 0) in mlx4_ib_umem_calc_block_mtt()166 block_shift = alignment_of(next_block_start); in mlx4_ib_umem_calc_block_mtt()172 if (((current_block_end) & ((1ULL << block_shift) - 1ULL)) != 0) in mlx4_ib_umem_calc_block_mtt()177 block_shift = alignment_of(current_block_end); in mlx4_ib_umem_calc_block_mtt()179 return block_shift; in mlx4_ib_umem_calc_block_mtt()260 u64 block_shift = MLX4_MAX_MTT_SHIFT; in mlx4_ib_umem_calc_optimal_mtt_size() local302 block_shift = min(alignment_of(misalignment_bits), in mlx4_ib_umem_calc_optimal_mtt_size()303 block_shift); in mlx4_ib_umem_calc_optimal_mtt_size()314 block_shift = mlx4_ib_umem_calc_block_mtt in mlx4_ib_umem_calc_optimal_mtt_size()[all …]
576 xd_card->block_shift = 4; in reset_xd()584 xd_card->block_shift = 4; in reset_xd()657 xd_card->block_shift = 0; in reset_xd()680 page_addr = (u32)i << xd_card->block_shift; in reset_xd()963 xd_card->block_shift = 0; in reset_xd_card()1011 page_addr = phy_blk << xd_card->block_shift; in xd_mark_bad_block()1060 page_addr = (phy_blk << xd_card->block_shift) + start_page; in xd_init_page()1108 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page()1109 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page()1242 page_addr = phy_blk << xd_card->block_shift; in xd_erase_block()[all …]
104 (xd_card)->block_shift = 5; \
532 u8 block_shift; member583 u8 block_shift; member
2019 ms_card->block_shift = 5;2023 ms_card->block_shift = 4;2033 if (ms_card->block_shift == 4) { /* 4MB or 8MB */2054 ms_card->capacity = ((u32)eblock_cnt - 2) << ms_card->block_shift;3418 log_blk = (u16)(start_sector >> ms_card->block_shift);
33 unsigned char block_shift; /* bitshift sectors -> blocks used in dm-bufio API. */ member39 return sector >> ec->block_shift; in __sector_to_block()333 ec->block_shift = __ffs(ec->u_bs); in ebs_ctr()
61 u32 block_shift; member
87 u32 block_shift; member
385 data = ((values->block_id << local_cac_reg->block_shift) &