Lines Matching refs:pdata
45 *get_chip_info(struct snd_sof_pdata *pdata) in get_chip_info() argument
47 const struct sof_dev_desc *desc = pdata->desc; in get_chip_info()
149 hdev = sdev->pdata->hw_pdata; in hda_sdw_acpi_scan()
164 hdev = sdev->pdata->hw_pdata; in hda_sdw_probe()
203 struct snd_sof_pdata *pdata = sdev->pdata; in hda_sdw_startup() local
205 hdev = sdev->pdata->hw_pdata; in hda_sdw_startup()
210 if (pdata->machine && !pdata->machine->mach_params.link_mask) in hda_sdw_startup()
220 hdev = sdev->pdata->hw_pdata; in hda_sdw_exit()
237 hdev = sdev->pdata->hw_pdata; in hda_common_check_sdw_irq()
261 chip = get_chip_info(sdev->pdata); in hda_dsp_check_sdw_irq()
277 hdev = sdev->pdata->hw_pdata; in hda_sdw_check_wakeen_irq()
290 hdev = sdev->pdata->hw_pdata; in hda_sdw_process_wakeen()
360 chip = get_chip_info(sdev->pdata); in hda_dsp_get_status()
413 chip = get_chip_info(sdev->pdata); in hda_dsp_dump_ext_rom_status()
636 struct snd_sof_pdata *pdata = sdev->pdata; in hda_init_caps() local
640 struct sof_intel_hda_dev *hdev = pdata->hw_pdata; in hda_init_caps()
743 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in hda_dsp_interrupt_thread()
793 chip = get_chip_info(sdev->pdata); in hda_dsp_probe()
804 sdev->pdata->hw_pdata = hdev; in hda_dsp_probe()
935 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_remove()
995 struct snd_sof_pdata *pdata = sdev->pdata; in hda_generic_machine_select() local
1022 if (!pdata->machine && codec_num <= 2) { in hda_generic_machine_select()
1040 pdata->machine = hda_mach; in hda_generic_machine_select()
1041 pdata->tplg_filename = tplg_filename; in hda_generic_machine_select()
1056 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in hda_generic_machine_select()
1064 if (pdata->machine) { in hda_generic_machine_select()
1066 &pdata->machine->mach_params; in hda_generic_machine_select()
1166 struct snd_sof_pdata *pdata = sdev->pdata; in hda_sdw_machine_select() local
1173 hdev = pdata->hw_pdata; in hda_sdw_machine_select()
1182 if (link_mask && !pdata->machine) { in hda_sdw_machine_select()
1183 for (mach = pdata->desc->alt_machines; in hda_sdw_machine_select()
1217 pdata->machine = mach; in hda_sdw_machine_select()
1222 pdata->fw_filename = mach->sof_fw_filename; in hda_sdw_machine_select()
1224 pdata->fw_filename = pdata->desc->default_fw_filename; in hda_sdw_machine_select()
1225 pdata->tplg_filename = mach->sof_tplg_filename; in hda_sdw_machine_select()
1243 pdata->tplg_filename = tplg_filename; in hda_sdw_machine_select()
1250 pdata->tplg_filename); in hda_sdw_machine_select()
1269 struct snd_sof_pdata *pdata = sdev->pdata; in hda_set_mach_params() local
1270 const struct sof_dev_desc *desc = pdata->desc; in hda_set_mach_params()
1281 struct snd_sof_pdata *sof_pdata = sdev->pdata; in hda_machine_select()