Home
last modified time | relevance | path

Searched refs:hdev (Results 1 – 15 of 15) sorted by relevance

/sound/soc/codecs/
A Dhdac_hdmi.c159 struct hdac_device *hdev = port->pin->hdev; in hdac_hdmi_jack_report() local
442 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_set_stream() local
592 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_pcm_open() local
1255 struct hdac_device *hdev = pin->hdev; in hdac_hdmi_present_sense() local
1377 pin->hdev = hdev; in hdac_hdmi_add_pin()
1525 num_nodes = snd_hdac_get_sub_nodes(hdev, hdev->afg, &nid); in hdac_hdmi_parse_and_map_nid()
1668 struct hdac_device *hdev = hdmi->hdev; in hdmi_codec_probe() local
1728 struct hdac_device *hdev = hdmi->hdev; in hdmi_codec_remove() local
1870 hdmi_priv->hdev = hdev; in hdac_hdmi_dev_probe()
1892 snd_hdac_display_power(hdev->bus, hdev->addr, true); in hdac_hdmi_dev_probe()
[all …]
A Dhda.c148 struct hdac_device *hdev = &codec->core; in hda_codec_probe_complete() local
149 struct hdac_bus *bus = hdev->bus; in hda_codec_probe_complete()
159 pm_runtime_set_active(&hdev->dev); in hda_codec_probe_complete()
176 struct hdac_device *hdev = &codec->core; in hda_codec_probe() local
177 struct hdac_bus *bus = hdev->bus; in hda_codec_probe()
272 struct hdac_bus *bus = hdev->bus; in hda_codec_remove()
277 pm_runtime_forbid(&hdev->dev); in hda_codec_remove()
285 pm_runtime_put_noidle(&hdev->dev); in hda_codec_remove()
287 pm_runtime_set_suspended(&hdev->dev); in hda_codec_remove()
350 dev_dbg(&hdev->dev, "no i915, skip registration for 0x%08x\n", hdev->vendor_id); in hda_hdev_attach()
[all …]
A Dhdac_hda.c416 hlink = snd_hdac_ext_bus_get_hlink_by_name(hdev->bus, dev_name(&hdev->dev)); in hdac_hda_codec_probe()
447 &hdev->dev); in hdac_hda_codec_probe()
465 hdev->type = HDA_DEV_ASOC; in hdac_hda_codec_probe()
521 pm_runtime_allow(&hdev->dev); in hdac_hda_codec_probe()
528 pm_runtime_put(&hdev->dev); in hdac_hda_codec_probe()
529 pm_runtime_suspend(&hdev->dev); in hdac_hda_codec_probe()
537 snd_hdac_regmap_exit(hdev); in hdac_hda_codec_probe()
539 pm_runtime_put(&hdev->dev); in hdac_hda_codec_probe()
554 hlink = snd_hdac_ext_bus_get_hlink_by_name(hdev->bus, dev_name(&hdev->dev)); in hdac_hda_codec_remove()
560 pm_runtime_disable(&hdev->dev); in hdac_hda_codec_remove()
[all …]
/sound/soc/sof/intel/
A Dhda.c224 hdev->sdw = sdw; in hda_sdw_probe()
237 if (!hdev->sdw) in hda_sdw_startup()
257 if (hdev->sdw) in hda_sdw_exit()
259 hdev->sdw = NULL; in hda_sdw_exit()
274 if (!hdev->sdw) in hda_common_check_sdw_irq()
318 if (hdev->sdw && in hda_sdw_check_wakeen_irq_common()
351 if (!hdev->sdw) in hda_sdw_process_wakeen_common()
550 nhlt = hdev->nhlt; in check_dmic_num()
779 hdev = devm_kzalloc(sdev->dev, sizeof(*hdev), GFP_KERNEL); in hda_dsp_probe_early()
780 if (!hdev) in hda_dsp_probe_early()
[all …]
A Dptl.c32 struct sof_intel_hda_dev *hdev = container_of(work, in sof_ptl_mic_privacy_work() local
35 struct hdac_bus *bus = &hdev->hbus.core; in sof_ptl_mic_privacy_work()
52 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in sof_ptl_process_mic_privacy() local
61 schedule_work(&hdev->mic_privacy.work); in sof_ptl_process_mic_privacy()
67 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in sof_ptl_set_mic_privacy() local
84 INIT_WORK(&hdev->mic_privacy.work, sof_ptl_mic_privacy_work); in sof_ptl_set_mic_privacy()
85 hdev->mic_privacy.active = true; in sof_ptl_set_mic_privacy()
A Dcnl.c105 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in cnl_ipc4_irq_thread() local
107 if (hdev->delayed_ipc_tx_msg) in cnl_ipc4_irq_thread()
108 cnl_ipc4_send_msg(sdev, hdev->delayed_ipc_tx_msg); in cnl_ipc4_irq_thread()
266 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in cnl_ipc4_send_msg() local
270 hdev->delayed_ipc_tx_msg = msg; in cnl_ipc4_send_msg()
274 hdev->delayed_ipc_tx_msg = NULL; in cnl_ipc4_send_msg()
285 hda_dsp_ipc4_schedule_d0i3_work(hdev, msg); in cnl_ipc4_send_msg()
293 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in cnl_ipc_send_msg() local
332 mod_delayed_work(system_wq, &hdev->d0i3_work, in cnl_ipc_send_msg()
A Dmtl.c101 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in mtl_ipc_send_msg() local
105 hdev->delayed_ipc_tx_msg = msg; in mtl_ipc_send_msg()
109 hdev->delayed_ipc_tx_msg = NULL; in mtl_ipc_send_msg()
121 hda_dsp_ipc4_schedule_d0i3_work(hdev, msg); in mtl_ipc_send_msg()
242 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in mtl_dsp_pre_fw_run() local
294 if (hdev->info.handle && hdev->info.link_mask > 0) in mtl_dsp_pre_fw_run()
306 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in mtl_dsp_post_fw_run() local
316 hdev->imrboot_supported = true; in mtl_dsp_post_fw_run()
319 &hdev->skip_imr_boot); in mtl_dsp_post_fw_run()
634 if (hdev->delayed_ipc_tx_msg) in mtl_ipc_irq_thread()
[all …]
A Dhda-ipc.c90 void hda_dsp_ipc4_schedule_d0i3_work(struct sof_intel_hda_dev *hdev, in hda_dsp_ipc4_schedule_d0i3_work() argument
99 mod_delayed_work(system_wq, &hdev->d0i3_work, in hda_dsp_ipc4_schedule_d0i3_work()
106 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in hda_dsp_ipc4_send_msg() local
110 hdev->delayed_ipc_tx_msg = msg; in hda_dsp_ipc4_send_msg()
114 hdev->delayed_ipc_tx_msg = NULL; in hda_dsp_ipc4_send_msg()
125 hda_dsp_ipc4_schedule_d0i3_work(hdev, msg); in hda_dsp_ipc4_send_msg()
240 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in hda_dsp_ipc4_irq_thread() local
242 if (hdev->delayed_ipc_tx_msg) in hda_dsp_ipc4_irq_thread()
243 hda_dsp_ipc4_send_msg(sdev, hdev->delayed_ipc_tx_msg); in hda_dsp_ipc4_irq_thread()
A Dhda-dsp.c1169 struct sof_intel_hda_dev *hdev = container_of(work, in hda_dsp_d0i3_work() local
1172 struct hdac_bus *bus = &hdev->hbus.core; in hda_dsp_d0i3_work()
1238 struct sof_intel_hda_dev *hdev; in hda_common_enable_sdw_irq() local
1240 hdev = sdev->pdata->hw_pdata; in hda_common_enable_sdw_irq()
1242 if (!hdev->sdw) in hda_common_enable_sdw_irq()
1267 struct sof_intel_hda_dev *hdev; in hda_sdw_check_lcount_common() local
1271 hdev = sdev->pdata->hw_pdata; in hda_sdw_check_lcount_common()
1272 ctx = hdev->sdw; in hda_sdw_check_lcount_common()
1291 struct sof_intel_hda_dev *hdev; in hda_sdw_check_lcount_ext() local
1298 hdev = sdev->pdata->hw_pdata; in hda_sdw_check_lcount_ext()
[all …]
A Dicl.c60 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in icl_dsp_post_fw_run() local
71 hdev->imrboot_supported = true; in icl_dsp_post_fw_run()
A Dhda.h988 void hda_dsp_ipc4_schedule_d0i3_work(struct sof_intel_hda_dev *hdev,
/sound/hda/core/
A Dhda_bus_type.c24 hdac_get_device_id(struct hdac_device *hdev, const struct hdac_driver *drv) in hdac_get_device_id() argument
30 if (hdev->vendor_id == id->vendor_id && in hdac_get_device_id()
31 (!id->rev_id || id->rev_id == hdev->revision_id)) in hdac_get_device_id()
51 struct hdac_device *hdev = dev_to_hdac_dev(dev); in hda_bus_match() local
54 if (hdev->type != hdrv->type) in hda_bus_match()
62 return hdrv->match(hdev, hdrv); in hda_bus_match()
64 return hdac_codec_match(hdev, hdrv); in hda_bus_match()
/sound/soc/intel/avs/
A Dboard_selection.c643 struct hdac_device *hdev = &codec->core; in avs_register_hda_board() local
647 pname = devm_kasprintf(adev->dev, GFP_KERNEL, "%s-platform", dev_name(&hdev->dev)); in avs_register_hda_board()
664 hdev->vendor_id); in avs_register_hda_board()
668 id = adev->base.core.idx * HDA_MAX_CODECS + hdev->addr; in avs_register_hda_board()
688 struct hdac_device *hdev; in avs_register_hda_boards() local
696 list_for_each_entry(hdev, &bus->codec_list, list) { in avs_register_hda_boards()
699 codec = dev_to_hda_codec(&hdev->dev); in avs_register_hda_boards()
A Dcore.c547 struct hdac_device *hdev, *save; in avs_pci_remove() local
567 list_for_each_entry_safe(hdev, save, &bus->codec_list, list) in avs_pci_remove()
568 snd_hda_codec_unregister(hdac_to_hda_codec(hdev)); in avs_pci_remove()
/sound/hda/core/ext/
A Dbus.c92 struct hdac_device *hdev = dev_to_hdac_dev(dev); in get_hdev() local
93 return hdev; in get_hdev()

Completed in 43 milliseconds