Home
last modified time | relevance | path

Searched refs:block_shift (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dmr.c154 u64 block_shift) in mlx4_ib_umem_calc_block_mtt() argument
160 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() local
300 block_shift = min(alignment_of(misalignment_bits), in mlx4_ib_umem_calc_optimal_mtt_size()
301 block_shift); in mlx4_ib_umem_calc_optimal_mtt_size()
312 block_shift = mlx4_ib_umem_calc_block_mtt in mlx4_ib_umem_calc_optimal_mtt_size()
[all …]
/drivers/staging/rts5208/
Dxd.c583 xd_card->block_shift = 4; in reset_xd()
591 xd_card->block_shift = 4; in reset_xd()
664 xd_card->block_shift = 0; in reset_xd()
687 page_addr = (u32)i << xd_card->block_shift; in reset_xd()
970 xd_card->block_shift = 0; in reset_xd_card()
1018 page_addr = phy_blk << xd_card->block_shift; in xd_mark_bad_block()
1067 page_addr = (phy_blk << xd_card->block_shift) + start_page; in xd_init_page()
1115 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1116 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1249 page_addr = phy_blk << xd_card->block_shift; in xd_erase_block()
[all …]
Dxd.h104 (xd_card)->block_shift = 5; \
Drtsx_chip.h532 u8 block_shift; member
583 u8 block_shift; member
Dms.c2018 ms_card->block_shift = 5;
2022 ms_card->block_shift = 4;
2032 if (ms_card->block_shift == 4) { /* 4MB or 8MB */
2053 ms_card->capacity = ((u32)eblock_cnt - 2) << ms_card->block_shift;
3418 log_blk = (u16)(start_sector >> ms_card->block_shift);
/drivers/md/
Ddm-bow.c84 u32 block_shift; member
269 WARN_ON((sector & (((sector_t)1 << (bc->block_shift - SECTOR_SHIFT)) - 1)) in sector_to_page()
271 return sector >> (bc->block_shift - SECTOR_SHIFT); in sector_to_page()
288 for (i = 0; i < range_size(source) >> bc->block_shift; ++i) { in copy_data()
664 bc->block_shift = ilog2(bc->block_size); in dm_bow_ctr()
/drivers/gpu/drm/radeon/
Dkv_dpm.h61 u32 block_shift; member
Dkv_dpm.c269 data = ((values->block_id << local_cac_reg->block_shift) &
/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.h87 u32 block_shift; member
Dkv_dpm.c395 data = ((values->block_id << local_cac_reg->block_shift) &