Home
last modified time | relevance | path

Searched refs:hbus (Results 1 – 7 of 7) sorted by relevance

/sound/soc/sof/intel/
Dhda-codec.c68 struct hda_bus *hbus = sof_to_hbus(sdev); in hda_codec_jack_wake_enable() local
74 list_for_each_codec(codec, hbus) in hda_codec_jack_wake_enable()
85 struct hda_bus *hbus = sof_to_hbus(sdev); in hda_codec_jack_check() local
88 list_for_each_codec(codec, hbus) in hda_codec_jack_check()
119 struct hda_bus *hbus = sof_to_hbus(sdev); in hda_codec_probe() local
126 mutex_lock(&hbus->core.cmd_mutex); in hda_codec_probe()
127 snd_hdac_bus_send_cmd(&hbus->core, hda_cmd); in hda_codec_probe()
128 snd_hdac_bus_get_response(&hbus->core, address, &resp); in hda_codec_probe()
129 mutex_unlock(&hbus->core.cmd_mutex); in hda_codec_probe()
140 hda_priv->codec.bus = hbus; in hda_codec_probe()
[all …]
Dhda.h425 struct hda_bus hbus; member
462 return &hda->hbus.core; in sof_to_bus()
469 return &hda->hbus; in sof_to_hbus()
484 container_of(bus, struct sof_intel_hda_dev, hbus.core)
Dhda-dsp.c800 struct hdac_bus *hbus = sof_to_bus(sdev); in hda_dsp_runtime_idle() local
802 if (hbus->codec_powered) { in hda_dsp_runtime_idle()
804 (unsigned int)hbus->codec_powered); in hda_dsp_runtime_idle()
946 struct hdac_bus *bus = &hdev->hbus.core; in hda_dsp_d0i3_work()
Dhda.c493 struct hda_bus *hbus; in hda_init() local
498 hbus = sof_to_hbus(sdev); in hda_init()
508 mutex_init(&hbus->prepare_mutex); in hda_init()
509 hbus->pci = pci; in hda_init()
510 hbus->mixer_assigned = -1; in hda_init()
511 hbus->modelname = hda_model; in hda_init()
/sound/soc/intel/skylake/
Dskl.h60 struct hda_bus hbus; member
137 #define skl_to_bus(s) (&(s)->hbus.core)
138 #define bus_to_skl(bus) container_of(bus, struct skl_dev, hbus.core)
140 #define skl_to_hbus(s) (&(s)->hbus)
141 #define hbus_to_skl(hbus) container_of((hbus), struct skl_dev, (hbus)) argument
Dskl.c865 struct hda_bus *hbus; in skl_create() local
880 hbus = skl_to_hbus(skl); in skl_create()
895 mutex_init(&hbus->prepare_mutex); in skl_create()
896 hbus->pci = pci; in skl_create()
897 hbus->mixer_assigned = -1; in skl_create()
898 hbus->modelname = "sklbus"; in skl_create()
/sound/pci/hda/
Dhda_controller.c768 struct hda_bus *hbus = &chip->bus; in azx_rirb_get_response() local
776 if (hbus->no_response_fallback) in azx_rirb_get_response()
812 if (hbus->allow_bus_reset && !hbus->response_reset && !hbus->in_reset) { in azx_rirb_get_response()
813 hbus->response_reset = 1; in azx_rirb_get_response()
824 hbus->response_reset = 0; in azx_rirb_get_response()