Lines Matching refs:hda
608 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
618 schedule_work(&hda->irq_pending_work);
681 "hda-intel: zero azx_dev->period_bytes"))
714 struct hda_intel *hda = container_of(work, struct hda_intel, irq_pending_work);
715 struct azx *chip = &hda->chip;
720 if (!hda->irq_pending_warned) {
724 hda->irq_pending_warned = 1;
904 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
906 list_add(&hda->list, &card_list);
912 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
914 list_del_init(&hda->list);
921 struct hda_intel *hda;
930 list_for_each_entry(hda, &card_list, list) {
931 chip = &hda->chip;
932 if (!hda->probe_continued || chip->disabled)
946 struct hda_intel *hda;
951 hda = container_of(chip, struct hda_intel, chip);
952 if (chip->disabled || hda->init_failed || !chip->running)
959 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
965 if (hda->need_i915_power)
986 if (!hda->need_i915_power)
1140 struct hda_intel *hda;
1146 hda = container_of(chip, struct hda_intel, chip);
1147 if (chip->disabled || hda->init_failed)
1190 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
1194 wait_for_completion(&hda->probe_wait);
1195 if (hda->init_failed)
1202 if (!hda->probe_continued) {
1244 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
1246 wait_for_completion(&hda->probe_wait);
1247 if (hda->init_failed)
1249 if (chip->disabled || !hda->probe_continued)
1263 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
1266 if (hda->use_vga_switcheroo && !needs_eld_notify_link(chip)) {
1288 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
1294 hda->use_vga_switcheroo = 1;
1314 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
1318 if (!hda->use_vga_switcheroo)
1327 hda->vga_switcheroo_registered = 1;
1344 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
1347 if (hda->freed)
1360 hda->init_failed = 1; /* to be sure */
1361 complete_all(&hda->probe_wait);
1363 if (use_vga_switcheroo(hda)) {
1364 if (chip->disabled && hda->probe_continued)
1366 if (hda->vga_switcheroo_registered)
1391 hda->freed = 1;
1729 struct hda_intel *hda = container_of(work, struct hda_intel, probe_work.work);
1730 azx_probe_continue(&hda->chip);
1774 struct hda_intel *hda;
1784 hda = devm_kzalloc(&pci->dev, sizeof(*hda), GFP_KERNEL);
1785 if (!hda)
1788 chip = &hda->chip;
1800 INIT_WORK(&hda->irq_pending_work, azx_irq_pending_work);
1801 INIT_LIST_HEAD(&hda->list);
1803 init_completion(&hda->probe_wait);
1842 INIT_DELAYED_WORK(&hda->probe_work, azx_probe_work);
2093 struct hda_intel *hda;
2136 hda = container_of(chip, struct hda_intel, chip);
2173 schedule_delayed_work(&hda->probe_work, 0);
2177 complete_all(&hda->probe_wait);
2256 struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
2262 if (chip->disabled || hda->init_failed)
2264 if (hda->probe_retry)
2268 hda->probe_continued = 1;
2291 hda->need_i915_power = true;
2336 ++hda->probe_retry < 60) {
2337 schedule_delayed_work(&hda->probe_work,
2370 if (!hda->need_i915_power)
2372 complete_all(&hda->probe_wait);
2374 hda->probe_retry = 0;
2382 struct hda_intel *hda;
2387 hda = container_of(chip, struct hda_intel, chip);
2400 cancel_delayed_work_sync(&hda->probe_work);