Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/pci/controller/
Dpci-hyperv.c566 struct hv_pcibus_device *hbus; member
609 static struct hv_pci_dev *get_pcichild_wslot(struct hv_pcibus_device *hbus,
697 void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + where; in _hv_pcifront_read_config()
725 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config()
727 writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr); in _hv_pcifront_read_config()
747 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config()
749 dev_err(&hpdev->hbus->hdev->device, in _hv_pcifront_read_config()
758 void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + in hv_pcifront_get_vendor_id()
761 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in hv_pcifront_get_vendor_id()
764 writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr); in hv_pcifront_get_vendor_id()
[all …]
/Linux-v5.15/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.c801 struct hdac_bus *hbus = sof_to_bus(sdev); in hda_dsp_runtime_idle() local
803 if (hbus->codec_powered) { in hda_dsp_runtime_idle()
805 (unsigned int)hbus->codec_powered); in hda_dsp_runtime_idle()
947 struct hdac_bus *bus = &hdev->hbus.core; in hda_dsp_d0i3_work()
Dhda.c489 struct hda_bus *hbus; in hda_init() local
494 hbus = sof_to_hbus(sdev); in hda_init()
504 mutex_init(&hbus->prepare_mutex); in hda_init()
505 hbus->pci = pci; in hda_init()
506 hbus->mixer_assigned = -1; in hda_init()
507 hbus->modelname = hda_model; in hda_init()
/Linux-v5.15/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()
/Linux-v5.15/drivers/clk/mxs/
Dclk-imx23.c83 cpu_xtal, hbus, xbus, lcdif_div, ssp_div, gpmi_div, emi_pll, enumerator
94 cpu, hbus, xbus, emi, uart, enumerator
127 clks[hbus] = mxs_clk_div("hbus", "cpu", HBUS, 0, 5, 29); in mx23_clocks_init()
Dclk-imx28.c136 lcdif_sel, cpu, ptp_sel, cpu_pll, cpu_xtal, hbus, xbus, enumerator
149 cpu, hbus, xbus, emi, uart, enumerator
192 clks[hbus] = mxs_clk_div("hbus", "cpu", HBUS, 0, 5, 31); in mx28_clocks_init()
/Linux-v5.15/sound/pci/hda/
Dhda_controller.c769 struct hda_bus *hbus = &chip->bus; in azx_rirb_get_response() local
777 if (hbus->no_response_fallback) in azx_rirb_get_response()
813 if (hbus->allow_bus_reset && !hbus->response_reset && !hbus->in_reset) { in azx_rirb_get_response()
814 hbus->response_reset = 1; in azx_rirb_get_response()
825 hbus->response_reset = 0; in azx_rirb_get_response()