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
73 list_for_each_codec(codec, hbus) in hda_codec_jack_wake_enable()
83 struct hda_bus *hbus = sof_to_hbus(sdev); in hda_codec_jack_check() local
90 list_for_each_codec(codec, hbus) in hda_codec_jack_check()
121 struct hda_bus *hbus = sof_to_hbus(sdev); in hda_codec_probe() local
128 mutex_lock(&hbus->core.cmd_mutex); in hda_codec_probe()
129 snd_hdac_bus_send_cmd(&hbus->core, hda_cmd); in hda_codec_probe()
130 snd_hdac_bus_get_response(&hbus->core, address, &resp); in hda_codec_probe()
131 mutex_unlock(&hbus->core.cmd_mutex); in hda_codec_probe()
142 hda_priv->codec.bus = hbus; in hda_codec_probe()
[all …]
Dhda.h422 struct hda_bus hbus; member
456 return &hda->hbus.core; in sof_to_bus()
463 return &hda->hbus; in sof_to_hbus()
477 container_of(bus, struct sof_intel_hda_dev, hbus.core)
Dhda.c525 struct hda_bus *hbus; in hda_init() local
530 hbus = sof_to_hbus(sdev); in hda_init()
540 mutex_init(&hbus->prepare_mutex); in hda_init()
541 hbus->pci = pci; in hda_init()
542 hbus->mixer_assigned = -1; in hda_init()
543 hbus->modelname = hda_model; in hda_init()
Dhda-dsp.c798 struct hdac_bus *hbus = sof_to_bus(sdev); in hda_dsp_runtime_idle() local
800 if (hbus->codec_powered) { in hda_dsp_runtime_idle()
802 (unsigned int)hbus->codec_powered); in hda_dsp_runtime_idle()
941 struct hdac_bus *bus = &hdev->hbus.core; in hda_dsp_d0i3_work()
/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.c780 struct hda_bus *hbus = &chip->bus; in azx_rirb_get_response() local
788 if (hbus->no_response_fallback) in azx_rirb_get_response()
824 if (hbus->allow_bus_reset && !hbus->response_reset && !hbus->in_reset) { in azx_rirb_get_response()
825 hbus->response_reset = 1; in azx_rirb_get_response()
836 hbus->response_reset = 0; in azx_rirb_get_response()