Lines Matching defs:hdev
145 struct sof_intel_hda_dev *hdev;
147 hdev = sdev->pdata->hw_pdata;
149 if (!hdev->sdw)
173 struct sof_intel_hda_dev *hdev;
183 hdev = sdev->pdata->hw_pdata;
185 ret = sdw_intel_acpi_scan(handle, &hdev->info);
195 struct sof_intel_hda_dev *hdev;
199 hdev = sdev->pdata->hw_pdata;
207 res.shim_base = hdev->desc->sdw_shim_base;
208 res.alh_base = hdev->desc->sdw_alh_base;
232 res.handle = hdev->info.handle;
246 res.count = hdev->info.count;
247 res.link_mask = hdev->info.link_mask;
256 hdev->sdw = sdw;
263 struct sof_intel_hda_dev *hdev;
267 hdev = sdev->pdata->hw_pdata;
268 ctx = hdev->sdw;
286 struct sof_intel_hda_dev *hdev;
293 hdev = sdev->pdata->hw_pdata;
294 ctx = hdev->sdw;
322 struct sof_intel_hda_dev *hdev;
326 hdev = sdev->pdata->hw_pdata;
328 if (!hdev->sdw)
338 return sdw_intel_startup(hdev->sdw);
343 struct sof_intel_hda_dev *hdev;
345 hdev = sdev->pdata->hw_pdata;
349 if (hdev->sdw)
350 sdw_intel_exit(hdev->sdw);
351 hdev->sdw = NULL;
358 struct sof_intel_hda_dev *hdev;
362 hdev = sdev->pdata->hw_pdata;
364 if (!hdev->sdw)
404 struct sof_intel_hda_dev *hdev;
406 hdev = sdev->pdata->hw_pdata;
407 if (hdev->sdw &&
409 hdev->desc->sdw_shim_base + SDW_SHIM_WAKESTS))
433 struct sof_intel_hda_dev *hdev;
438 hdev = sdev->pdata->hw_pdata;
439 if (!hdev->sdw)
442 sdw_intel_process_wakeen_event(hdev->sdw);
864 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata;
868 nhlt = hdev->nhlt;
890 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata;
894 nhlt = hdev->nhlt;
909 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata;
912 nhlt = hdev->nhlt;
1000 struct sof_intel_hda_dev *hdev = pdata->hw_pdata;
1029 link_mask = hdev->info.link_mask;
1087 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata;
1102 hda_dsp_sdw_thread(irq, hdev->sdw);
1124 struct sof_intel_hda_dev *hdev;
1159 hdev = devm_kzalloc(sdev->dev, sizeof(*hdev), GFP_KERNEL);
1160 if (!hdev)
1162 sdev->pdata->hw_pdata = hdev;
1163 hdev->desc = chip;
1165 hdev->dmic_dev = platform_device_register_data(sdev->dev, "dmic-codec",
1168 if (IS_ERR(hdev->dmic_dev)) {
1170 return PTR_ERR(hdev->dmic_dev);
1178 hdev->no_ipc_position = 0;
1180 hdev->no_ipc_position = sof_ops(sdev)->pcm_pointer ? 1 : 0;
1184 hdev->no_ipc_position = 1;
1279 INIT_DELAYED_WORK(&hdev->d0i3_work, hda_dsp_d0i3_work);
1282 init_waitqueue_head(&hdev->waitq);
1284 hdev->nhlt = intel_nhlt_init(sdev->dev);
1299 platform_device_unregister(hdev->dmic_dev);
1454 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata;
1456 hda_mach->mach_params.link_mask = hdev->info.link_mask;
1484 struct sof_intel_hda_dev *hdev;
1488 hdev = pdata->hw_pdata;
1489 link_mask = hdev->info.link_mask;
1516 for (i = 0; i < hdev->info.count && link->num_adr;
1523 hdev->sdw->ids,
1524 hdev->sdw->num_slaves))
1528 if (i == hdev->info.count || !link->num_adr)