• Home
  • Raw
  • Download

Lines Matching refs:hda

653 	struct hda_intel *hda = container_of(chip, struct hda_intel, chip);  in azx_position_check()  local
663 schedule_work(&hda->irq_pending_work); in azx_position_check()
752 struct hda_intel *hda = container_of(work, struct hda_intel, irq_pending_work); in azx_irq_pending_work() local
753 struct azx *chip = &hda->chip; in azx_irq_pending_work()
758 if (!hda->irq_pending_warned) { in azx_irq_pending_work()
762 hda->irq_pending_warned = 1; in azx_irq_pending_work()
948 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_add_card_list() local
950 list_add(&hda->list, &card_list); in azx_add_card_list()
956 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_del_card_list() local
958 list_del_init(&hda->list); in azx_del_card_list()
965 struct hda_intel *hda; in param_set_xint() local
974 list_for_each_entry(hda, &card_list, list) { in param_set_xint()
975 chip = &hda->chip; in param_set_xint()
976 if (!hda->probe_continued || chip->disabled) in param_set_xint()
990 struct hda_intel *hda; in azx_is_pm_ready() local
995 hda = container_of(chip, struct hda_intel, chip); in azx_is_pm_ready()
996 if (chip->disabled || hda->init_failed || !chip->running) in azx_is_pm_ready()
1011 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in __azx_runtime_resume() local
1017 if (hda->need_i915_power) in __azx_runtime_resume()
1038 if (!hda->need_i915_power) in __azx_runtime_resume()
1191 struct hda_intel *hda; in azx_runtime_idle() local
1197 hda = container_of(chip, struct hda_intel, chip); in azx_runtime_idle()
1198 if (chip->disabled || hda->init_failed) in azx_runtime_idle()
1241 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_vs_set_state() local
1245 wait_for_completion(&hda->probe_wait); in azx_vs_set_state()
1246 if (hda->init_failed) in azx_vs_set_state()
1253 if (!hda->probe_continued) { in azx_vs_set_state()
1295 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_vs_can_switch() local
1297 wait_for_completion(&hda->probe_wait); in azx_vs_can_switch()
1298 if (hda->init_failed) in azx_vs_can_switch()
1300 if (chip->disabled || !hda->probe_continued) in azx_vs_can_switch()
1314 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in setup_vga_switcheroo_runtime_pm() local
1317 if (hda->use_vga_switcheroo && !needs_eld_notify_link(chip)) { in setup_vga_switcheroo_runtime_pm()
1339 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in init_vga_switcheroo() local
1345 hda->use_vga_switcheroo = 1; in init_vga_switcheroo()
1365 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in register_vga_switcheroo() local
1369 if (!hda->use_vga_switcheroo) in register_vga_switcheroo()
1378 hda->vga_switcheroo_registered = 1; in register_vga_switcheroo()
1395 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_free() local
1398 if (hda->freed) in azx_free()
1407 hda->init_failed = 1; /* to be sure */ in azx_free()
1408 complete_all(&hda->probe_wait); in azx_free()
1410 if (use_vga_switcheroo(hda)) { in azx_free()
1411 if (chip->disabled && hda->probe_continued) in azx_free()
1413 if (hda->vga_switcheroo_registered) in azx_free()
1445 hda->freed = 1; in azx_free()
1730 struct hda_intel *hda = container_of(work, struct hda_intel, probe_work); in azx_probe_work() local
1731 azx_probe_continue(&hda->chip); in azx_probe_work()
1767 struct hda_intel *hda; in azx_create() local
1777 hda = devm_kzalloc(&pci->dev, sizeof(*hda), GFP_KERNEL); in azx_create()
1778 if (!hda) { in azx_create()
1783 chip = &hda->chip; in azx_create()
1795 INIT_WORK(&hda->irq_pending_work, azx_irq_pending_work); in azx_create()
1796 INIT_LIST_HEAD(&hda->list); in azx_create()
1798 init_completion(&hda->probe_wait); in azx_create()
1843 INIT_WORK(&hda->probe_work, azx_probe_work); in azx_create()
2119 struct hda_intel *hda; in azx_probe() local
2147 hda = container_of(chip, struct hda_intel, chip); in azx_probe()
2195 schedule_work(&hda->probe_work); in azx_probe()
2199 complete_all(&hda->probe_wait); in azx_probe()
2280 struct hda_intel *hda = container_of(chip, struct hda_intel, chip); in azx_probe_continue() local
2287 hda->probe_continued = 1; in azx_probe_continue()
2310 hda->need_i915_power = 1; in azx_probe_continue()
2376 if (!hda->need_i915_power) in azx_probe_continue()
2378 complete_all(&hda->probe_wait); in azx_probe_continue()
2387 struct hda_intel *hda; in azx_remove() local
2392 hda = container_of(chip, struct hda_intel, chip); in azx_remove()
2405 cancel_work_sync(&hda->probe_work); in azx_remove()