Home
last modified time | relevance | path

Searched refs:hbus (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-hyperv.c530 struct hv_pcibus_device *hbus; member
573 static struct hv_pci_dev *get_pcichild_wslot(struct hv_pcibus_device *hbus,
664 void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + where; in _hv_pcifront_read_config()
692 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config()
694 writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr); in _hv_pcifront_read_config()
714 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config()
716 dev_err(&hpdev->hbus->hdev->device, in _hv_pcifront_read_config()
725 void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + in hv_pcifront_get_vendor_id()
728 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in hv_pcifront_get_vendor_id()
731 writel(hpdev->desc.win_slot.slot, hpdev->hbus in hv_pcifront_get_vendor_id()
806 struct hv_pcibus_device *hbus = hv_pcifront_read_config() local
834 struct hv_pcibus_device *hbus = hv_pcifront_write_config() local
935 struct hv_pcibus_device *hbus = hv_read_config_block() local
1015 struct hv_pcibus_device *hbus = hv_write_config_block() local
1085 struct hv_pcibus_device *hbus = hv_register_block_invalidate() local
1141 struct hv_pcibus_device *hbus; hv_msi_free() local
1216 struct hv_pcibus_device *hbus; hv_irq_unmask() local
1399 struct hv_pcibus_device *hbus; hv_compose_msi_msg() local
1620 hv_pcie_init_irq_domain(struct hv_pcibus_device *hbus) hv_pcie_init_irq_domain() argument
1666 survey_child_resources(struct hv_pcibus_device *hbus) survey_child_resources() argument
1738 prepopulate_bars(struct hv_pcibus_device *hbus) prepopulate_bars() argument
1849 hv_pci_assign_slots(struct hv_pcibus_device *hbus) hv_pci_assign_slots() argument
1873 hv_pci_remove_slots(struct hv_pcibus_device *hbus) hv_pci_remove_slots() argument
1888 hv_pci_assign_numa_node(struct hv_pcibus_device *hbus) hv_pci_assign_numa_node() argument
1921 create_root_hv_pci_bus(struct hv_pcibus_device *hbus) create_root_hv_pci_bus() argument
1993 new_pcichild_device(struct hv_pcibus_device *hbus, struct hv_pcidev_description *desc) new_pcichild_device() argument
2059 get_pcichild_wslot(struct hv_pcibus_device *hbus, u32 wslot) get_pcichild_wslot() argument
2107 struct hv_pcibus_device *hbus; pci_devices_present_work() local
2231 hv_pci_start_relations_work(struct hv_pcibus_device *hbus, struct hv_dr_state *dr) hv_pci_start_relations_work() argument
2280 hv_pci_devices_present(struct hv_pcibus_device *hbus, struct pci_bus_relations *relations) hv_pci_devices_present() argument
2315 hv_pci_devices_present2(struct hv_pcibus_device *hbus, struct pci_bus_relations2 *relations) hv_pci_devices_present2() argument
2358 struct hv_pcibus_device *hbus; hv_eject_device_work() local
2421 struct hv_pcibus_device *hbus = hpdev->hbus; hv_pci_eject_device() local
2446 struct hv_pcibus_device *hbus = context; hv_pci_onchannelcallback() local
2605 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_protocol_negotiation() local
2677 hv_pci_free_bridge_windows(struct hv_pcibus_device *hbus) hv_pci_free_bridge_windows() argument
2722 hv_pci_allocate_bridge_windows(struct hv_pcibus_device *hbus) hv_pci_allocate_bridge_windows() argument
2787 hv_allocate_config_window(struct hv_pcibus_device *hbus) hv_allocate_config_window() argument
2813 hv_free_config_window(struct hv_pcibus_device *hbus) hv_free_config_window() argument
2828 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_enter_d0() local
2918 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_query_relations() local
2976 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_send_resources_allocated() local
3053 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_send_resources_released() local
3083 get_hvpcibus(struct hv_pcibus_device *hbus) get_hvpcibus() argument
3088 put_hvpcibus(struct hv_pcibus_device *hbus) put_hvpcibus() argument
3146 struct hv_pcibus_device *hbus; hv_pci_probe() local
3320 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_bus_exit() local
3393 struct hv_pcibus_device *hbus; hv_pci_remove() local
3438 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_suspend() local
3506 hv_pci_restore_msi_state(struct hv_pcibus_device *hbus) hv_pci_restore_msi_state() argument
3513 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpci-hyperv.c559 struct hv_pcibus_device *hbus; member
618 struct hv_pcibus_device *hbus; in hv_arch_irq_unmask() local
631 hbus = container_of(pbus->sysdata, struct hv_pcibus_device, sysdata); in hv_arch_irq_unmask()
634 dev_warn(&hbus->hdev->device, "%s() can not unmask irq %u\n", in hv_arch_irq_unmask()
647 params->device_id = (hbus->hdev->dev_instance.b[5] << 24) | in hv_arch_irq_unmask()
648 (hbus->hdev->dev_instance.b[4] << 16) | in hv_arch_irq_unmask()
649 (hbus->hdev->dev_instance.b[7] << 8) | in hv_arch_irq_unmask()
650 (hbus->hdev->dev_instance.b[6] & 0xf8) | in hv_arch_irq_unmask()
661 if (hbus->protocol_version >= PCI_PROTOCOL_VERSION_1_2) { in hv_arch_irq_unmask()
721 if (!hv_result_success(res) && hbus in hv_arch_irq_unmask()
1118 struct hv_pcibus_device *hbus = hpdev->hbus; _hv_pcifront_read_config() local
1190 struct hv_pcibus_device *hbus = hpdev->hbus; hv_pcifront_get_vendor_id() local
1236 struct hv_pcibus_device *hbus = hpdev->hbus; _hv_pcifront_write_config() local
1298 struct hv_pcibus_device *hbus = hv_pcifront_read_config() local
1326 struct hv_pcibus_device *hbus = hv_pcifront_write_config() local
1427 struct hv_pcibus_device *hbus = hv_read_config_block() local
1507 struct hv_pcibus_device *hbus = hv_write_config_block() local
1577 struct hv_pcibus_device *hbus = hv_register_block_invalidate() local
1633 struct hv_pcibus_device *hbus; hv_msi_free() local
1822 struct hv_pcibus_device *hbus; hv_compose_msi_msg() local
2088 hv_pcie_init_irq_domain(struct hv_pcibus_device *hbus) hv_pcie_init_irq_domain() argument
2136 survey_child_resources(struct hv_pcibus_device *hbus) survey_child_resources() argument
2208 prepopulate_bars(struct hv_pcibus_device *hbus) prepopulate_bars() argument
2324 hv_pci_assign_slots(struct hv_pcibus_device *hbus) hv_pci_assign_slots() argument
2348 hv_pci_remove_slots(struct hv_pcibus_device *hbus) hv_pci_remove_slots() argument
2363 hv_pci_assign_numa_node(struct hv_pcibus_device *hbus) hv_pci_assign_numa_node() argument
2396 create_root_hv_pci_bus(struct hv_pcibus_device *hbus) create_root_hv_pci_bus() argument
2468 new_pcichild_device(struct hv_pcibus_device *hbus, struct hv_pcidev_description *desc) new_pcichild_device() argument
2534 get_pcichild_wslot(struct hv_pcibus_device *hbus, u32 wslot) get_pcichild_wslot() argument
2582 struct hv_pcibus_device *hbus; pci_devices_present_work() local
2707 hv_pci_start_relations_work(struct hv_pcibus_device *hbus, struct hv_dr_state *dr) hv_pci_start_relations_work() argument
2754 hv_pci_devices_present(struct hv_pcibus_device *hbus, struct pci_bus_relations *relations) hv_pci_devices_present() argument
2789 hv_pci_devices_present2(struct hv_pcibus_device *hbus, struct pci_bus_relations2 *relations) hv_pci_devices_present2() argument
2832 struct hv_pcibus_device *hbus; hv_eject_device_work() local
2897 struct hv_pcibus_device *hbus = hpdev->hbus; hv_pci_eject_device() local
2921 struct hv_pcibus_device *hbus = context; hv_pci_onchannelcallback() local
3108 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_protocol_negotiation() local
3180 hv_pci_free_bridge_windows(struct hv_pcibus_device *hbus) hv_pci_free_bridge_windows() argument
3225 hv_pci_allocate_bridge_windows(struct hv_pcibus_device *hbus) hv_pci_allocate_bridge_windows() argument
3288 hv_allocate_config_window(struct hv_pcibus_device *hbus) hv_allocate_config_window() argument
3314 hv_free_config_window(struct hv_pcibus_device *hbus) hv_free_config_window() argument
3329 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_enter_d0() local
3419 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_query_relations() local
3477 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_send_resources_allocated() local
3554 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_send_resources_released() local
3637 struct hv_pcibus_device *hbus; hv_pci_probe() local
3813 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_bus_exit() local
3896 struct hv_pcibus_device *hbus; hv_pci_remove() local
3936 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_suspend() local
4012 hv_pci_restore_msi_state(struct hv_pcibus_device *hbus) hv_pci_restore_msi_state() argument
4019 struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hv_pci_resume() local
[all...]
/kernel/linux/linux-5.10/sound/soc/sof/intel/
H A 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...]
H A 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)
H A 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()
H A 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()
/kernel/linux/linux-6.6/sound/soc/sof/intel/
H A Dhda-codec.c78 struct hda_bus *hbus = sof_to_hbus(sdev); in hda_codec_jack_wake_enable() local
88 list_for_each_codec(codec, hbus) in hda_codec_jack_wake_enable()
100 struct hda_bus *hbus = sof_to_hbus(sdev); in hda_codec_jack_check() local
107 list_for_each_codec(codec, hbus) in hda_codec_jack_check()
143 struct hda_bus *hbus = sof_to_hbus(sdev); in hda_codec_probe() local
151 mutex_lock(&hbus->core.cmd_mutex); in hda_codec_probe()
152 snd_hdac_bus_send_cmd(&hbus->core, hda_cmd); in hda_codec_probe()
153 snd_hdac_bus_get_response(&hbus->core, address, &resp); in hda_codec_probe()
154 mutex_unlock(&hbus->core.cmd_mutex); in hda_codec_probe()
166 codec = hda_codec_device_init(&hbus in hda_codec_probe()
[all...]
H A Dhda-dsp.c856 struct hdac_bus *hbus = sof_to_bus(sdev); in hda_dsp_runtime_idle() local
858 if (hbus->codec_powered) { in hda_dsp_runtime_idle()
860 (unsigned int)hbus->codec_powered); in hda_dsp_runtime_idle()
1043 struct hdac_bus *bus = &hdev->hbus.core; in hda_dsp_d0i3_work()
H A Dhda.c237 res.hbus = sof_to_bus(sdev); in hda_sdw_probe()
815 struct hda_bus *hbus; in hda_init() local
820 hbus = sof_to_hbus(sdev); in hda_init()
833 mutex_init(&hbus->prepare_mutex); in hda_init()
834 hbus->pci = pci; in hda_init()
835 hbus->mixer_assigned = -1; in hda_init()
836 hbus->modelname = hda_model; in hda_init()
H A Dhda.h492 struct hda_bus hbus; member
543 return &hda->hbus.core; in sof_to_bus()
550 return &hda->hbus; in sof_to_hbus()
565 container_of(bus, struct sof_intel_hda_dev, hbus.core)
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A 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))
H A 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()
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A 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))
H A Dskl.c875 struct hda_bus *hbus; in skl_create() local
890 hbus = skl_to_hbus(skl); in skl_create()
905 mutex_init(&hbus->prepare_mutex); in skl_create()
906 hbus->pci = pci; in skl_create()
907 hbus->mixer_assigned = -1; in skl_create()
908 hbus->modelname = "sklbus"; in skl_create()
/kernel/linux/linux-6.6/drivers/soundwire/
H A Dintel_ace2x.c91 ret = hdac_bus_eml_sdw_set_syncprd_unlocked(sdw->link_res->hbus, syncprd); in intel_link_power_up()
99 ret = hdac_bus_eml_sdw_power_up_unlocked(sdw->link_res->hbus, link_id); in intel_link_power_up()
108 ret = hdac_bus_eml_sdw_wait_syncpu_unlocked(sdw->link_res->hbus); in intel_link_power_up()
140 ret = hdac_bus_eml_sdw_power_down_unlocked(sdw->link_res->hbus, link_id); in intel_link_power_down()
162 hdac_bus_eml_sdw_sync_arm_unlocked(sdw->link_res->hbus, link_id); in intel_sync_arm()
171 ret = hdac_bus_eml_sdw_sync_go_unlocked(sdw->link_res->hbus); in intel_sync_go_unlocked()
193 return hdac_bus_eml_sdw_check_cmdsync_unlocked(sdw->link_res->hbus); in intel_check_cmdsync_unlocked()
641 ret = hdac_bus_eml_sdw_set_lsdiid(sdw->link_res->hbus, sdw->instance, dev_num); in intel_program_sdi()
H A Dintel_init.c88 link->hbus = res->hbus; in intel_link_dev_register()
H A Dintel.h28 * @hbus: hdac_bus pointer, needed for power management
48 struct hdac_bus *hbus; member
/kernel/linux/linux-5.10/drivers/clk/mxs/
H A Dclk-imx23.c83 cpu_xtal, hbus, xbus, lcdif_div, ssp_div, gpmi_div, emi_pll, enumerator
94 cpu, hbus, xbus, emi, uart,
127 clks[hbus] = mxs_clk_div("hbus", "cpu", HBUS, 0, 5, 29); in mx23_clocks_init()
H A Dclk-imx28.c136 lcdif_sel, cpu, ptp_sel, cpu_pll, cpu_xtal, hbus, xbus, enumerator
149 cpu, hbus, xbus, emi, uart,
192 clks[hbus] = mxs_clk_div("hbus", "cpu", HBUS, 0, 5, 31); in mx28_clocks_init()
224 clks[fec] = mxs_clk_gate("fec", "hbus", ENET, 30); in mx28_clocks_init()
/kernel/linux/linux-6.6/drivers/clk/mxs/
H A Dclk-imx23.c83 cpu_xtal, hbus, xbus, lcdif_div, ssp_div, gpmi_div, emi_pll, enumerator
94 cpu, hbus, xbus, emi, uart,
127 clks[hbus] = mxs_clk_div("hbus", "cpu", HBUS, 0, 5, 29); in mx23_clocks_init()
H A Dclk-imx28.c136 lcdif_sel, cpu, ptp_sel, cpu_pll, cpu_xtal, hbus, xbus, enumerator
149 cpu, hbus, xbus, emi, uart,
192 clks[hbus] = mxs_clk_div("hbus", "cpu", HBUS, 0, 5, 31); in mx28_clocks_init()
224 clks[fec] = mxs_clk_gate("fec", "hbus", ENET, 30); in mx28_clocks_init()
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_controller.c797 struct hda_bus *hbus = &chip->bus; in azx_rirb_get_response() local
805 if (hbus->no_response_fallback) in azx_rirb_get_response()
841 if (hbus->allow_bus_reset && !hbus->response_reset && !hbus->in_reset) { in azx_rirb_get_response()
842 hbus->response_reset = 1; in azx_rirb_get_response()
853 hbus->response_reset = 0; in azx_rirb_get_response()
/kernel/linux/linux-6.6/sound/pci/hda/
H A 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()
/kernel/linux/linux-6.6/include/linux/soundwire/
H A Dsdw_intel.h324 * @hbus: hdac_bus pointer, needed for power management
342 struct hdac_bus *hbus; member

Completed in 30 milliseconds