Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/armada/
Darmada_gem.c43 struct armada_gem_object *dobj = drm_to_armada_gem(obj); in armada_gem_free_object() local
46 DRM_DEBUG_DRIVER("release obj %p\n", dobj); in armada_gem_free_object()
48 drm_gem_free_mmap_offset(&dobj->obj); in armada_gem_free_object()
52 if (dobj->page) { in armada_gem_free_object()
54 unsigned int order = get_order(dobj->obj.size); in armada_gem_free_object()
55 __free_pages(dobj->page, order); in armada_gem_free_object()
56 } else if (dobj->linear) { in armada_gem_free_object()
59 drm_mm_remove_node(dobj->linear); in armada_gem_free_object()
61 kfree(dobj->linear); in armada_gem_free_object()
62 if (dobj->addr) in armada_gem_free_object()
[all …]
/linux-6.6.21/sound/soc/
Dsoc-topology.c354 static void soc_tplg_remove_kcontrol(struct snd_soc_component *comp, struct snd_soc_dobj *dobj, in soc_tplg_remove_kcontrol() argument
362 if (dobj->unload) in soc_tplg_remove_kcontrol()
363 dobj->unload(comp, dobj); in soc_tplg_remove_kcontrol()
365 snd_ctl_remove(card, dobj->control.kcontrol); in soc_tplg_remove_kcontrol()
366 list_del(&dobj->list); in soc_tplg_remove_kcontrol()
371 struct snd_soc_dobj *dobj, int pass) in soc_tplg_remove_route() argument
376 if (dobj->unload) in soc_tplg_remove_route()
377 dobj->unload(comp, dobj); in soc_tplg_remove_route()
379 list_del(&dobj->list); in soc_tplg_remove_route()
384 struct snd_soc_dobj *dobj, int pass) in soc_tplg_remove_widget() argument
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/sound/soc/qcom/qdsp6/
Dtopology.c577 struct snd_soc_dobj *dobj; in audioreach_widget_load_module_common() local
591 dobj = &w->dobj; in audioreach_widget_load_module_common()
592 dobj->private = mod; in audioreach_widget_load_module_common()
604 struct snd_soc_dobj *dobj; in audioreach_widget_load_enc_dec_cnv() local
612 dobj = &w->dobj; in audioreach_widget_load_enc_dec_cnv()
613 mod = dobj->private; in audioreach_widget_load_enc_dec_cnv()
738 struct snd_soc_dobj *dobj; in audioreach_widget_load_buffer() local
745 dobj = &w->dobj; in audioreach_widget_load_buffer()
746 mod = dobj->private; in audioreach_widget_load_buffer()
777 struct snd_soc_dobj *dobj; in audioreach_widget_load_mixer() local
[all …]
/linux-6.6.21/sound/soc/sof/
Dcontrol.c22 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_get()
37 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_put()
51 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_info()
74 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_get()
89 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_put()
104 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_get()
119 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_put()
134 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_get()
149 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_put()
165 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_ext_put()
[all …]
Dtopology.c955 struct snd_soc_dobj *dobj; in sof_control_load() local
982 dobj = &sm->dobj; in sof_control_load()
987 dobj = &sbe->dobj; in sof_control_load()
993 dobj = &se->dobj; in sof_control_load()
1019 dobj->private = scontrol; in sof_control_load()
1025 struct snd_soc_dobj *dobj) in sof_control_unload() argument
1029 struct snd_sof_control *scontrol = dobj->private; in sof_control_unload()
1577 w->dobj.private = swidget; in sof_widget_ready()
1589 struct snd_soc_dobj *dobj) in sof_route_unload() argument
1593 sroute = dobj->private; in sof_route_unload()
[all …]
Dsof-audio.c260 struct snd_sof_widget *src_widget = wsource->dobj.private; in sof_route_setup()
261 struct snd_sof_widget *sink_widget = wsink->dobj.private; in sof_route_setup()
316 if (!widget->dobj.private) in sof_setup_pipeline_connections()
323 if (p->sink->dobj.private) { in sof_setup_pipeline_connections()
332 if (!widget->dobj.private) in sof_setup_pipeline_connections()
339 if (p->source->dobj.private) { in sof_setup_pipeline_connections()
413 struct snd_sof_widget *swidget = widget->dobj.private; in sof_unprepare_widgets_in_path()
436 if (!p->walking && p->sink->dobj.private) { in sof_unprepare_widgets_in_path()
452 struct snd_sof_widget *swidget = widget->dobj.private; in sof_prepare_widgets_in_path()
482 if (!p->walking && p->sink->dobj.private) { in sof_prepare_widgets_in_path()
[all …]
Dipc3-control.c601 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc3_control_update()
615 scontrol = sm->dobj.private; in sof_ipc3_control_update()
619 scontrol = be->dobj.private; in sof_ipc3_control_update()
623 scontrol = se->dobj.private; in sof_ipc3_control_update()
Dipc3-topology.c790 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data()
793 wdata[i].control = sm->dobj.private; in sof_get_control_data()
797 wdata[i].control = sbe->dobj.private; in sof_get_control_data()
801 wdata[i].control = se->dobj.private; in sof_get_control_data()
805 widget->dobj.widget.kcontrol_type[i], widget->name); in sof_get_control_data()
816 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES) { in sof_get_control_data()
1876 struct snd_sof_widget *swidget = w->dobj.private; in sof_ipc3_keyword_dapm_event()
Dipc4-pcm.c543 struct snd_sof_widget *swidget = w->dobj.private; in sof_ipc4_pcm_dai_link_fixup()
640 struct snd_sof_widget *swidget = widget->dobj.private; in sof_ipc4_build_time_info()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c78 struct amdgpu_bo *dobj = NULL; in amdgpu_benchmark_move() local
95 &dobj, in amdgpu_benchmark_move()
117 if (dobj) in amdgpu_benchmark_move()
118 amdgpu_bo_free_kernel(&dobj, &daddr, NULL); in amdgpu_benchmark_move()
/linux-6.6.21/sound/soc/intel/avs/
Dcontrol.c50 struct avs_control_data *ctl_data = (struct avs_control_data *)mc->dobj.private; in avs_control_volume_get()
81 struct avs_control_data *ctl_data = (struct avs_control_data *)mc->dobj.private; in avs_control_volume_put()
Dpath.c283 ctl_data = (struct avs_control_data *)mc->dobj.private; in avs_get_module_control()
Dtopology.c1657 mc->dobj.private = ctl_data; in avs_control_load()
/linux-6.6.21/sound/soc/sof/intel/
Dhda-dai.c34 struct snd_sof_widget *swidget = w->dobj.private; in widget_to_sdev()
43 struct snd_sof_widget *swidget = w->dobj.private; in hda_dai_config()
80 struct snd_sof_widget *swidget = w->dobj.private; in hda_dai_get_ops()
336 struct snd_sof_widget *swidget = w->dobj.private; in widget_to_copier()
532 swidget = w->dobj.private; in hda_dai_suspend()
Dhda-dai-ops.c134 swidget = w->dobj.private; in hda_ipc4_get_hext_stream()
318 swidget = w->dobj.private; in hda_ipc4_pre_trigger()
384 swidget = w->dobj.private; in hda_ipc4_post_trigger()
442 struct snd_sof_widget *swidget = w->dobj.private; in sdw_hda_ipc4_get_hext_stream()
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-topology.c407 bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_set_module_params()
440 bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_set_module_init_data()
785 bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_set_module_bind_params()
824 struct skl_algo_data *bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_find_moduleid_from_uuid()
1344 pipe_id = ec->dobj.private; in skl_tplg_multi_config_set_get()
1392 struct skl_algo_data *bc = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_tlv_control_get()
1429 struct skl_algo_data *ac = (struct skl_algo_data *)sb->dobj.private; in skl_tplg_tlv_control_set()
1455 u32 ch_type = *((u32 *)ec->dobj.private); in skl_tplg_mic_control_get()
1495 u32 ch_type = *((u32 *)ec->dobj.private); in skl_tplg_mic_control_set()
3074 be->dobj.private = ac; in skl_init_algo_data()
[all …]
/linux-6.6.21/include/sound/
Dsoc-topology.h65 int (*unload)(struct snd_soc_component *comp, struct snd_soc_dobj *dobj);
Dsoc.h773 struct snd_soc_dobj dobj; /* For topology */ member
1194 struct snd_soc_dobj dobj; member
1207 struct snd_soc_dobj dobj; member
1233 struct snd_soc_dobj dobj; member
Dsoc-dai.h415 struct snd_soc_dobj dobj; member
Dsoc-dapm.h592 struct snd_soc_dobj dobj; member
667 struct snd_soc_dobj dobj; member
/linux-6.6.21/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()