Home
last modified time | relevance | path

Searched refs:chunk2 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ring.h383 unsigned occupied, chunk1, chunk2; in amdgpu_ring_write_multiple() local
393 chunk2 = count_dw - chunk1; in amdgpu_ring_write_multiple()
395 chunk2 <<= 2; in amdgpu_ring_write_multiple()
400 if (chunk2) { in amdgpu_ring_write_multiple()
403 memcpy(dst, src, chunk2); in amdgpu_ring_write_multiple()
H A Damdgpu_ring_mux.c179 struct amdgpu_mux_chunk *chunk, *chunk2; in amdgpu_ring_mux_fini() local
184 list_for_each_entry_safe(chunk, chunk2, &e->list, entry) { in amdgpu_ring_mux_fini()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c176 struct mlxsw_sp_acl_tcam_chunk *chunk2; /* Used during migration */ member
1007 if (vchunk->chunk2) in mlxsw_sp_acl_tcam_vchunk_destroy()
1008 mlxsw_sp_acl_tcam_chunk_destroy(mlxsw_sp, vchunk->chunk2); in mlxsw_sp_acl_tcam_vchunk_destroy()
1218 WARN_ON(vchunk->chunk2); in mlxsw_sp_acl_tcam_vchunk_migrate_start()
1223 vchunk->chunk2 = vchunk->chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start()
1236 mlxsw_sp_acl_tcam_chunk_destroy(mlxsw_sp, vchunk->chunk2); in mlxsw_sp_acl_tcam_vchunk_migrate_end()
1237 vchunk->chunk2 = NULL; in mlxsw_sp_acl_tcam_vchunk_migrate_end()
1256 } else if (!vchunk->chunk2) { in mlxsw_sp_acl_tcam_vchunk_migrate_one()
1296 swap(vchunk->chunk, vchunk->chunk2); in mlxsw_sp_acl_tcam_vchunk_migrate_one()
/openbmc/qemu/block/
H A Ddmg.c612 uint32_t chunk1 = 0, chunk2 = s->n_chunks, chunk3; in search_chunk() local
613 while (chunk1 <= chunk2) { in search_chunk()
614 chunk3 = (chunk1 + chunk2) / 2; in search_chunk()
619 chunk2 = chunk3 - 1; in search_chunk()