Home
last modified time | relevance | path

Searched refs:dobj (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_gem.c41 struct armada_gem_object *dobj = drm_to_armada_gem(obj); in armada_gem_free_object() local
44 DRM_DEBUG_DRIVER("release obj %p\n", dobj); in armada_gem_free_object()
46 drm_gem_free_mmap_offset(&dobj->obj); in armada_gem_free_object()
50 if (dobj->page) { in armada_gem_free_object()
52 unsigned int order = get_order(dobj->obj.size); in armada_gem_free_object()
53 __free_pages(dobj->page, order); in armada_gem_free_object()
54 } else if (dobj->linear) { in armada_gem_free_object()
57 drm_mm_remove_node(dobj->linear); in armada_gem_free_object()
59 kfree(dobj->linear); in armada_gem_free_object()
60 if (dobj->addr) in armada_gem_free_object()
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-topology.c360 struct snd_soc_dobj *dobj, int pass) in remove_mixer() argument
364 container_of(dobj, struct soc_mixer_control, dobj); in remove_mixer()
370 if (dobj->ops && dobj->ops->control_unload) in remove_mixer()
371 dobj->ops->control_unload(comp, dobj); in remove_mixer()
373 if (dobj->control.kcontrol->tlv.p) in remove_mixer()
374 p = dobj->control.kcontrol->tlv.p; in remove_mixer()
375 snd_ctl_remove(card, dobj->control.kcontrol); in remove_mixer()
376 list_del(&dobj->list); in remove_mixer()
383 struct snd_soc_dobj *dobj, int pass) in remove_enum() argument
386 struct soc_enum *se = container_of(dobj, struct soc_enum, dobj); in remove_enum()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c74 struct amdgpu_bo *dobj = NULL; in amdgpu_benchmark_move() local
108 r = amdgpu_bo_create(adev, &bp, &dobj); in amdgpu_benchmark_move()
112 r = amdgpu_bo_reserve(dobj, false); in amdgpu_benchmark_move()
115 r = amdgpu_bo_pin(dobj, ddomain); in amdgpu_benchmark_move()
120 r = amdgpu_ttm_alloc_gart(&dobj->tbo); in amdgpu_benchmark_move()
121 amdgpu_bo_unreserve(dobj); in amdgpu_benchmark_move()
125 daddr = amdgpu_bo_gpu_offset(dobj); in amdgpu_benchmark_move()
150 if (dobj) { in amdgpu_benchmark_move()
151 r = amdgpu_bo_reserve(dobj, true); in amdgpu_benchmark_move()
153 amdgpu_bo_unpin(dobj); in amdgpu_benchmark_move()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_benchmark.c90 struct radeon_bo *dobj = NULL; in radeon_benchmark_move() local
109 r = radeon_bo_create(rdev, size, PAGE_SIZE, true, ddomain, 0, NULL, NULL, &dobj); in radeon_benchmark_move()
113 r = radeon_bo_reserve(dobj, false); in radeon_benchmark_move()
116 r = radeon_bo_pin(dobj, ddomain, &daddr); in radeon_benchmark_move()
117 radeon_bo_unreserve(dobj); in radeon_benchmark_move()
125 dobj->tbo.base.resv); in radeon_benchmark_move()
136 dobj->tbo.base.resv); in radeon_benchmark_move()
153 if (dobj) { in radeon_benchmark_move()
154 r = radeon_bo_reserve(dobj, false); in radeon_benchmark_move()
156 radeon_bo_unpin(dobj); in radeon_benchmark_move()
[all …]
/kernel/linux/linux-5.10/sound/soc/sof/
Dcontrol.c73 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_get()
91 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_put()
122 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_get()
138 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_put()
172 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_get()
188 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_put()
219 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_get()
253 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_put()
296 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_ext_put()
374 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_ext_volatile_get()
[all …]
Dtopology.c144 struct snd_sof_widget *swidget = w->dobj.private; in sof_keyword_dapm_event()
1230 struct snd_soc_dobj *dobj; in sof_control_load() local
1248 dobj = &sm->dobj; in sof_control_load()
1253 dobj = &sbe->dobj; in sof_control_load()
1259 dobj = &se->dobj; in sof_control_load()
1283 dobj->private = scontrol; in sof_control_load()
1289 struct snd_soc_dobj *dobj) in sof_control_unload() argument
1293 struct snd_sof_control *scontrol = dobj->private; in sof_control_unload()
2131 switch (widget->dobj.widget.kcontrol_type) { in sof_get_control_data()
2134 wdata[i].control = sm->dobj.private; in sof_get_control_data()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl-topology.c403 bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_set_module_params()
436 bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_set_module_init_data()
818 bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_set_module_bind_params()
857 struct skl_algo_data *bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_find_moduleid_from_uuid()
1377 pipe_id = ec->dobj.private; in skl_tplg_multi_config_set_get()
1425 struct skl_algo_data *bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_tlv_control_get()
1462 struct skl_algo_data *ac = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_tlv_control_set()
1488 u32 ch_type = *((u32 *)ec->dobj.private); in skl_tplg_mic_control_get()
1527 u32 ch_type = *((u32 *)ec->dobj.private); in skl_tplg_mic_control_set()
3076 be->dobj.private = ac; in skl_init_algo_data()
[all …]
/kernel/linux/linux-5.10/include/sound/
Dsoc.h837 struct snd_soc_dobj dobj; /* For topology */ member
1213 struct snd_soc_dobj dobj; member
1226 struct snd_soc_dobj dobj; member
1252 struct snd_soc_dobj dobj; member
Dsoc-dai.h327 struct snd_soc_dobj dobj; member
Dsoc-dapm.h582 struct snd_soc_dobj dobj; member
656 struct snd_soc_dobj dobj; member
/kernel/linux/linux-5.10/net/phonet/
Dpep.c630 u16 dobj = pn_sockaddr_get_object(dst); in pep_find_pipe() local
636 if (pnnode->pn_sk.sobject != dobj) in pep_find_pipe()