Home
last modified time | relevance | path

Searched refs:block_size_bits (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c765 int block_size_bits; in convert_tiling_flags_to_modifier() local
776 block_size_bits = 8; in convert_tiling_flags_to_modifier()
780 block_size_bits = 12; in convert_tiling_flags_to_modifier()
785 block_size_bits = 16; in convert_tiling_flags_to_modifier()
788 block_size_bits = 18; in convert_tiling_flags_to_modifier()
835 pipe_xor_bits = min(block_size_bits - 8, pipes); in convert_tiling_flags_to_modifier()
839 pipe_xor_bits = min(block_size_bits - 8, pipes); in convert_tiling_flags_to_modifier()
840 packers = min(block_size_bits - 8 - pipe_xor_bits, in convert_tiling_flags_to_modifier()
844 pipe_xor_bits = min(block_size_bits - 8, pipes); in convert_tiling_flags_to_modifier()
849 pipe_xor_bits = min(block_size_bits - 8, pipes + in convert_tiling_flags_to_modifier()
[all …]
/linux-6.12.1/drivers/md/
Ddm-writecache.c156 unsigned char block_size_bits; member
400 return (char *)wc->block_start + (e->index << wc->block_size_bits); in memory_data()
406 ((sector_t)e->index << (wc->block_size_bits - SECTOR_SHIFT)); in cache_sector()
1375 wc->stats.reads += (bio->bi_iter.bi_size - wc->block_size) >> wc->block_size_bits; in writecache_map_read()
1425 wc->stats.writes += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_bio_copy_ssd()
1426 wc->stats.writes_allocate += (bio->bi_iter.bi_size - wc->block_size) >> wc->block_size_bits; in writecache_bio_copy_ssd()
1445 wc->stats.writes += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_map_write()
1473 wc->stats.writes_around += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_map_write()
1474 wc->stats.writes += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_map_write()
1527 wc->stats.discards += bio->bi_iter.bi_size >> wc->block_size_bits; in writecache_map_discard()
[all …]