Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring.h322 unsigned occupied, chunk1, chunk2; in amdgpu_ring_write_multiple() local
332 chunk2 = count_dw - chunk1; in amdgpu_ring_write_multiple()
334 chunk2 <<= 2; in amdgpu_ring_write_multiple()
339 if (chunk2) { in amdgpu_ring_write_multiple()
342 memcpy(dst, src, chunk2); in amdgpu_ring_write_multiple()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_tcam.c235 struct mlxsw_sp_acl_tcam_chunk *chunk2; /* Used during migration */ member
1084 if (vchunk->chunk2) in mlxsw_sp_acl_tcam_vchunk_destroy()
1085 mlxsw_sp_acl_tcam_chunk_destroy(mlxsw_sp, vchunk->chunk2); in mlxsw_sp_acl_tcam_vchunk_destroy()
1292 vchunk->chunk2 = vchunk->chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start()
1305 mlxsw_sp_acl_tcam_chunk_destroy(mlxsw_sp, vchunk->chunk2); in mlxsw_sp_acl_tcam_vchunk_migrate_end()
1306 vchunk->chunk2 = NULL; in mlxsw_sp_acl_tcam_vchunk_migrate_end()
1325 } else if (!vchunk->chunk2) { in mlxsw_sp_acl_tcam_vchunk_migrate_one()
1360 swap(vchunk->chunk, vchunk->chunk2); in mlxsw_sp_acl_tcam_vchunk_migrate_one()