Lines Matching refs:mach
486 struct snd_soc_acpi_mach *mach; in skl_find_hda_machine() local
489 mach = snd_soc_acpi_intel_hda_machines; in skl_find_hda_machine()
492 mach->fw_filename = machines->fw_filename; in skl_find_hda_machine()
494 return mach; in skl_find_hda_machine()
500 struct snd_soc_acpi_mach *mach = driver_data; in skl_find_machine() local
503 mach = snd_soc_acpi_find_machine(mach); in skl_find_machine()
504 if (!mach) { in skl_find_machine()
506 mach = skl_find_hda_machine(skl, driver_data); in skl_find_machine()
507 if (!mach) { in skl_find_machine()
513 skl->mach = mach; in skl_find_machine()
514 skl->fw_name = mach->fw_filename; in skl_find_machine()
515 pdata = mach->pdata; in skl_find_machine()
519 mach->mach_params.dmic_num = in skl_find_machine()
529 struct snd_soc_acpi_mach *mach = skl->mach; in skl_machine_device_register() local
534 pdev = platform_device_alloc(mach->drv_name, -1); in skl_machine_device_register()
540 mach->mach_params.platform = dev_name(bus->dev); in skl_machine_device_register()
541 mach->mach_params.codec_mask = bus->codec_mask; in skl_machine_device_register()
543 ret = platform_device_add_data(pdev, (const void *)mach, sizeof(*mach)); in skl_machine_device_register()