/sound/soc/codecs/ |
D | hdac_hdmi.c | 81 struct hdac_device *hdev; member 125 struct hdac_device *hdev; member 160 struct hdac_device *hdev = port->pin->hdev; in hdac_hdmi_jack_report() local 170 dev_dbg(&hdev->dev, in hdac_hdmi_jack_report() 218 static int hdac_hdmi_get_port_len(struct hdac_device *hdev, hda_nid_t nid) in hdac_hdmi_get_port_len() argument 223 caps = get_wcaps(hdev, nid); in hdac_hdmi_get_port_len() 229 param = snd_hdac_read_parm_uncached(hdev, nid, AC_PAR_DEVLIST_LEN); in hdac_hdmi_get_port_len() 241 static int hdac_hdmi_port_select_get(struct hdac_device *hdev, in hdac_hdmi_port_select_get() argument 244 return snd_hdac_codec_read(hdev, port->pin->nid, in hdac_hdmi_port_select_get() 252 static int hdac_hdmi_port_select_set(struct hdac_device *hdev, in hdac_hdmi_port_select_set() argument [all …]
|
D | hdac_hda.c | 260 struct hdac_device *hdev; in hdac_hda_dai_prepare() local 267 hdev = &hda_pvt->codec.core; in hdac_hda_dai_prepare() 280 dev_err(&hdev->dev, "codec prepare failed %d\n", ret); in hdac_hda_dai_prepare() 392 struct hdac_device *hdev = &hda_pvt->codec.core; in hdac_hda_codec_probe() local 398 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hda_codec_probe() 400 dev_err(&hdev->dev, "hdac link not found\n"); in hdac_hda_codec_probe() 404 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hda_codec_probe() 412 snd_hdac_display_power(hdev->bus, in hdac_hda_codec_probe() 416 hdev->addr, hcodec); in hdac_hda_codec_probe() 418 dev_err(&hdev->dev, "failed to create hda codec %d\n", ret); in hdac_hda_codec_probe() [all …]
|
/sound/soc/sof/intel/ |
D | hda.c | 142 struct sof_intel_hda_dev *hdev; in hda_sdw_acpi_scan() local 149 hdev = sdev->pdata->hw_pdata; in hda_sdw_acpi_scan() 151 ret = sdw_intel_acpi_scan(handle, &hdev->info); in hda_sdw_acpi_scan() 160 struct sof_intel_hda_dev *hdev; in hda_sdw_probe() local 164 hdev = sdev->pdata->hw_pdata; in hda_sdw_probe() 169 res.shim_base = hdev->desc->sdw_shim_base; in hda_sdw_probe() 170 res.alh_base = hdev->desc->sdw_alh_base; in hda_sdw_probe() 172 res.handle = hdev->info.handle; in hda_sdw_probe() 185 res.count = hdev->info.count; in hda_sdw_probe() 186 res.link_mask = hdev->info.link_mask; in hda_sdw_probe() [all …]
|
D | hda-codec.c | 120 struct hdac_device *hdev; in hda_codec_probe() local 141 hdev = &hda_priv->codec.core; in hda_codec_probe() 148 ret = snd_hdac_ext_bus_device_init(&hbus->core, address, hdev, type); in hda_codec_probe() 153 if (!hdev->bus->audio_component) { in hda_codec_probe() 179 snd_hdac_device_unregister(hdev); in hda_codec_probe() 180 put_device(&hdev->dev); in hda_codec_probe() 183 hdev = devm_kzalloc(sdev->dev, sizeof(*hdev), GFP_KERNEL); in hda_codec_probe() 184 if (!hdev) in hda_codec_probe() 187 ret = snd_hdac_ext_bus_device_init(&hbus->core, address, hdev, HDA_DEV_ASOC); in hda_codec_probe()
|
D | cnl.c | 168 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in cnl_ipc_send_msg() local 207 mod_delayed_work(system_wq, &hdev->d0i3_work, in cnl_ipc_send_msg()
|
D | hda-dsp.c | 943 struct sof_intel_hda_dev *hdev = container_of(work, in hda_dsp_d0i3_work() local 946 struct hdac_bus *bus = &hdev->hbus.core; in hda_dsp_d0i3_work()
|
/sound/hda/ext/ |
D | hdac_ext_bus.c | 78 struct hdac_device *hdev, int type) in snd_hdac_ext_bus_device_init() argument 83 hdev->bus = bus; in snd_hdac_ext_bus_device_init() 87 ret = snd_hdac_device_init(hdev, bus, name, addr); in snd_hdac_ext_bus_device_init() 92 hdev->type = type; in snd_hdac_ext_bus_device_init() 93 hdev->dev.release = default_release; in snd_hdac_ext_bus_device_init() 95 ret = snd_hdac_device_register(hdev); in snd_hdac_ext_bus_device_init() 98 snd_hdac_ext_bus_device_exit(hdev); in snd_hdac_ext_bus_device_init() 110 void snd_hdac_ext_bus_device_exit(struct hdac_device *hdev) in snd_hdac_ext_bus_device_exit() argument 112 snd_hdac_device_exit(hdev); in snd_hdac_ext_bus_device_exit() 145 struct hdac_device *hdev = dev_to_hdac_dev(dev); in get_hdev() local [all …]
|
/sound/hda/ |
D | hda_bus_type.c | 24 hdac_get_device_id(struct hdac_device *hdev, 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/skylake/ |
D | skl.c | 705 struct hdac_device *hdev; in probe_codec() local 722 hdev = &hda_codec->codec.core; in probe_codec() 724 err = snd_hdac_ext_bus_device_init(bus, addr, hdev, HDA_DEV_ASOC); in probe_codec() 730 hdev->type = HDA_DEV_LEGACY; in probe_codec() 735 hdev = devm_kzalloc(&skl->pci->dev, sizeof(*hdev), GFP_KERNEL); in probe_codec() 736 if (!hdev) in probe_codec() 739 return snd_hdac_ext_bus_device_init(bus, addr, hdev, HDA_DEV_ASOC); in probe_codec()
|