Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c723 int session_idx = -1; in amdgpu_vce_ring_parse_cs() local
808 session_idx = amdgpu_vce_validate_handle(p, handle, in amdgpu_vce_ring_parse_cs()
810 if (session_idx < 0) { in amdgpu_vce_ring_parse_cs()
811 r = session_idx; in amdgpu_vce_ring_parse_cs()
814 size = &p->adev->vce.img_size[session_idx]; in amdgpu_vce_ring_parse_cs()
823 created |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()
824 if (destroyed & (1 << session_idx)) { in amdgpu_vce_ring_parse_cs()
825 destroyed &= ~(1 << session_idx); in amdgpu_vce_ring_parse_cs()
826 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()
828 } else if (!(allocated & (1 << session_idx))) { in amdgpu_vce_ring_parse_cs()
[all …]
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_debugfs.c37 int session_idx; /* index of session within current tunnel */ member
58 pd->session = l2tp_session_get_nth(pd->tunnel, pd->session_idx); in l2tp_dfs_next_session()
59 pd->session_idx++; in l2tp_dfs_next_session()
62 pd->session_idx = 0; in l2tp_dfs_next_session()
Dl2tp_ppp.c1406 int session_idx; /* index of session within current tunnel */ member
1435 pd->session = l2tp_session_get_nth(pd->tunnel, pd->session_idx); in pppol2tp_next_session()
1436 pd->session_idx++; in pppol2tp_next_session()
1439 pd->session_idx = 0; in pppol2tp_next_session()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_vce.c559 int session_idx = -1; in radeon_vce_cs_parse() local
584 session_idx = radeon_vce_validate_handle(p, handle, in radeon_vce_cs_parse()
586 if (session_idx < 0) in radeon_vce_cs_parse()
587 return session_idx; in radeon_vce_cs_parse()
588 size = &p->rdev->vce.img_size[session_idx]; in radeon_vce_cs_parse()
659 if (session_idx == -1) { in radeon_vce_cs_parse()