hbus 94 drivers/clk/mxs/clk-imx23.c cpu, hbus, xbus, emi, uart, hbus 127 drivers/clk/mxs/clk-imx23.c clks[hbus] = mxs_clk_div("hbus", "cpu", HBUS, 0, 5, 29); hbus 149 drivers/clk/mxs/clk-imx28.c cpu, hbus, xbus, emi, uart, hbus 192 drivers/clk/mxs/clk-imx28.c clks[hbus] = mxs_clk_div("hbus", "cpu", HBUS, 0, 5, 31); hbus 532 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus; hbus 575 drivers/pci/controller/pci-hyperv.c static struct hv_pci_dev *get_pcichild_wslot(struct hv_pcibus_device *hbus, hbus 666 drivers/pci/controller/pci-hyperv.c void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + where; hbus 694 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hpdev->hbus->config_lock, flags); hbus 696 drivers/pci/controller/pci-hyperv.c writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr); hbus 716 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); hbus 718 drivers/pci/controller/pci-hyperv.c dev_err(&hpdev->hbus->hdev->device, hbus 727 drivers/pci/controller/pci-hyperv.c void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + hbus 730 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hpdev->hbus->config_lock, flags); hbus 733 drivers/pci/controller/pci-hyperv.c writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr); hbus 743 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); hbus 759 drivers/pci/controller/pci-hyperv.c void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + where; hbus 765 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hpdev->hbus->config_lock, flags); hbus 767 drivers/pci/controller/pci-hyperv.c writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr); hbus 787 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); hbus 789 drivers/pci/controller/pci-hyperv.c dev_err(&hpdev->hbus->hdev->device, hbus 808 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hbus 812 drivers/pci/controller/pci-hyperv.c hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(devfn)); hbus 836 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hbus 840 drivers/pci/controller/pci-hyperv.c hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(devfn)); hbus 936 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hbus 963 drivers/pci/controller/pci-hyperv.c ret = vmbus_sendpacket(hbus->hdev->channel, read_blk, hbus 970 drivers/pci/controller/pci-hyperv.c ret = wait_for_response(hbus->hdev, &comp_pkt.comp_pkt.host_event); hbus 976 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 1016 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hbus 1053 drivers/pci/controller/pci-hyperv.c ret = vmbus_sendpacket(hbus->hdev->channel, write_blk, pkt_size, hbus 1059 drivers/pci/controller/pci-hyperv.c ret = wait_for_response(hbus->hdev, &comp_pkt.host_event); hbus 1064 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 1086 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hbus 1091 drivers/pci/controller/pci-hyperv.c hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(pdev->devfn)); hbus 1119 drivers/pci/controller/pci-hyperv.c vmbus_sendpacket(hpdev->hbus->hdev->channel, int_pkt, sizeof(*int_pkt), hbus 1138 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus; hbus 1146 drivers/pci/controller/pci-hyperv.c hbus = info->data; hbus 1152 drivers/pci/controller/pci-hyperv.c hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(pdev->devfn)); hbus 1190 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus; hbus 1203 drivers/pci/controller/pci-hyperv.c hbus = container_of(pbus->sysdata, struct hv_pcibus_device, sysdata); hbus 1205 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->retarget_msi_interrupt_lock, flags); hbus 1207 drivers/pci/controller/pci-hyperv.c params = &hbus->retarget_msi_interrupt_params; hbus 1213 drivers/pci/controller/pci-hyperv.c params->device_id = (hbus->hdev->dev_instance.b[5] << 24) | hbus 1214 drivers/pci/controller/pci-hyperv.c (hbus->hdev->dev_instance.b[4] << 16) | hbus 1215 drivers/pci/controller/pci-hyperv.c (hbus->hdev->dev_instance.b[7] << 8) | hbus 1216 drivers/pci/controller/pci-hyperv.c (hbus->hdev->dev_instance.b[6] & 0xf8) | hbus 1269 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->retarget_msi_interrupt_lock, flags); hbus 1272 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 1354 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus; hbus 1376 drivers/pci/controller/pci-hyperv.c hbus = container_of(pbus->sysdata, struct hv_pcibus_device, sysdata); hbus 1377 drivers/pci/controller/pci-hyperv.c hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(pdev->devfn)); hbus 1417 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 1422 drivers/pci/controller/pci-hyperv.c ret = vmbus_sendpacket(hpdev->hbus->hdev->channel, &ctxt.int_pkts, hbus 1427 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 1440 drivers/pci/controller/pci-hyperv.c dev_err_once(&hbus->hdev->device, hbus 1456 drivers/pci/controller/pci-hyperv.c if (hbus->hdev->channel->target_cpu == smp_processor_id()) hbus 1457 drivers/pci/controller/pci-hyperv.c hv_pci_onchannelcallback(hbus); hbus 1462 drivers/pci/controller/pci-hyperv.c dev_err_once(&hbus->hdev->device, hbus 1471 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 1539 drivers/pci/controller/pci-hyperv.c static int hv_pcie_init_irq_domain(struct hv_pcibus_device *hbus) hbus 1541 drivers/pci/controller/pci-hyperv.c hbus->msi_info.chip = &hv_msi_irq_chip; hbus 1542 drivers/pci/controller/pci-hyperv.c hbus->msi_info.ops = &hv_msi_ops; hbus 1543 drivers/pci/controller/pci-hyperv.c hbus->msi_info.flags = (MSI_FLAG_USE_DEF_DOM_OPS | hbus 1546 drivers/pci/controller/pci-hyperv.c hbus->msi_info.handler = handle_edge_irq; hbus 1547 drivers/pci/controller/pci-hyperv.c hbus->msi_info.handler_name = "edge"; hbus 1548 drivers/pci/controller/pci-hyperv.c hbus->msi_info.data = hbus; hbus 1549 drivers/pci/controller/pci-hyperv.c hbus->irq_domain = pci_msi_create_irq_domain(hbus->sysdata.fwnode, hbus 1550 drivers/pci/controller/pci-hyperv.c &hbus->msi_info, hbus 1552 drivers/pci/controller/pci-hyperv.c if (!hbus->irq_domain) { hbus 1553 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 1585 drivers/pci/controller/pci-hyperv.c static void survey_child_resources(struct hv_pcibus_device *hbus) hbus 1595 drivers/pci/controller/pci-hyperv.c event = xchg(&hbus->survey_event, NULL); hbus 1600 drivers/pci/controller/pci-hyperv.c if (hbus->low_mmio_space || hbus->high_mmio_space) { hbus 1605 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 1612 drivers/pci/controller/pci-hyperv.c list_for_each_entry(hpdev, &hbus->children, list_entry) { hbus 1615 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 1634 drivers/pci/controller/pci-hyperv.c hbus->high_mmio_space += bar_size; hbus 1636 drivers/pci/controller/pci-hyperv.c hbus->low_mmio_space += bar_size; hbus 1641 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 1657 drivers/pci/controller/pci-hyperv.c static void prepopulate_bars(struct hv_pcibus_device *hbus) hbus 1671 drivers/pci/controller/pci-hyperv.c if (hbus->low_mmio_space) { hbus 1672 drivers/pci/controller/pci-hyperv.c low_size = 1ULL << (63 - __builtin_clzll(hbus->low_mmio_space)); hbus 1673 drivers/pci/controller/pci-hyperv.c low_base = hbus->low_mmio_res->start; hbus 1676 drivers/pci/controller/pci-hyperv.c if (hbus->high_mmio_space) { hbus 1678 drivers/pci/controller/pci-hyperv.c (63 - __builtin_clzll(hbus->high_mmio_space)); hbus 1679 drivers/pci/controller/pci-hyperv.c high_base = hbus->high_mmio_res->start; hbus 1682 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 1686 drivers/pci/controller/pci-hyperv.c list_for_each_entry(hpdev, &hbus->children, list_entry) { hbus 1739 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 1751 drivers/pci/controller/pci-hyperv.c static void hv_pci_assign_slots(struct hv_pcibus_device *hbus) hbus 1757 drivers/pci/controller/pci-hyperv.c list_for_each_entry(hpdev, &hbus->children, list_entry) { hbus 1763 drivers/pci/controller/pci-hyperv.c hpdev->pci_slot = pci_create_slot(hbus->pci_bus, slot_nr, hbus 1775 drivers/pci/controller/pci-hyperv.c static void hv_pci_remove_slots(struct hv_pcibus_device *hbus) hbus 1779 drivers/pci/controller/pci-hyperv.c list_for_each_entry(hpdev, &hbus->children, list_entry) { hbus 1793 drivers/pci/controller/pci-hyperv.c static int create_root_hv_pci_bus(struct hv_pcibus_device *hbus) hbus 1796 drivers/pci/controller/pci-hyperv.c hbus->pci_bus = pci_create_root_bus(&hbus->hdev->device, hbus 1799 drivers/pci/controller/pci-hyperv.c &hbus->sysdata, hbus 1800 drivers/pci/controller/pci-hyperv.c &hbus->resources_for_children); hbus 1801 drivers/pci/controller/pci-hyperv.c if (!hbus->pci_bus) hbus 1804 drivers/pci/controller/pci-hyperv.c hbus->pci_bus->msi = &hbus->msi_chip; hbus 1805 drivers/pci/controller/pci-hyperv.c hbus->pci_bus->msi->dev = &hbus->hdev->device; hbus 1808 drivers/pci/controller/pci-hyperv.c pci_scan_child_bus(hbus->pci_bus); hbus 1809 drivers/pci/controller/pci-hyperv.c pci_bus_assign_resources(hbus->pci_bus); hbus 1810 drivers/pci/controller/pci-hyperv.c hv_pci_assign_slots(hbus); hbus 1811 drivers/pci/controller/pci-hyperv.c pci_bus_add_devices(hbus->pci_bus); hbus 1813 drivers/pci/controller/pci-hyperv.c hbus->state = hv_pcibus_installed; hbus 1840 drivers/pci/controller/pci-hyperv.c dev_err(&completion->hpdev->hbus->hdev->device, hbus 1864 drivers/pci/controller/pci-hyperv.c static struct hv_pci_dev *new_pcichild_device(struct hv_pcibus_device *hbus, hbus 1881 drivers/pci/controller/pci-hyperv.c hpdev->hbus = hbus; hbus 1892 drivers/pci/controller/pci-hyperv.c ret = vmbus_sendpacket(hbus->hdev->channel, res_req, hbus 1900 drivers/pci/controller/pci-hyperv.c if (wait_for_response(hbus->hdev, &comp_pkt.host_event)) hbus 1906 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 1908 drivers/pci/controller/pci-hyperv.c list_add_tail(&hpdev->list_entry, &hbus->children); hbus 1909 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 1930 drivers/pci/controller/pci-hyperv.c static struct hv_pci_dev *get_pcichild_wslot(struct hv_pcibus_device *hbus, hbus 1936 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 1937 drivers/pci/controller/pci-hyperv.c list_for_each_entry(iter, &hbus->children, list_entry) { hbus 1944 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 1978 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus; hbus 1985 drivers/pci/controller/pci-hyperv.c hbus = dr_wrk->bus; hbus 1991 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 1992 drivers/pci/controller/pci-hyperv.c while (!list_empty(&hbus->dr_list)) { hbus 1993 drivers/pci/controller/pci-hyperv.c dr = list_first_entry(&hbus->dr_list, struct hv_dr_state, hbus 1998 drivers/pci/controller/pci-hyperv.c if (!list_empty(&hbus->dr_list)) { hbus 2003 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 2006 drivers/pci/controller/pci-hyperv.c put_hvpcibus(hbus); hbus 2011 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 2012 drivers/pci/controller/pci-hyperv.c list_for_each_entry(hpdev, &hbus->children, list_entry) { hbus 2015 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 2022 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 2023 drivers/pci/controller/pci-hyperv.c list_for_each_entry(hpdev, &hbus->children, list_entry) { hbus 2032 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 2035 drivers/pci/controller/pci-hyperv.c hpdev = new_pcichild_device(hbus, new_desc); hbus 2037 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 2043 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 2046 drivers/pci/controller/pci-hyperv.c list_for_each_entry(hpdev, &hbus->children, list_entry) { hbus 2055 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 2069 drivers/pci/controller/pci-hyperv.c switch (hbus->state) { hbus 2076 drivers/pci/controller/pci-hyperv.c pci_scan_child_bus(hbus->pci_bus); hbus 2077 drivers/pci/controller/pci-hyperv.c hv_pci_assign_slots(hbus); hbus 2083 drivers/pci/controller/pci-hyperv.c survey_child_resources(hbus); hbus 2090 drivers/pci/controller/pci-hyperv.c put_hvpcibus(hbus); hbus 2102 drivers/pci/controller/pci-hyperv.c static void hv_pci_devices_present(struct hv_pcibus_device *hbus, hbus 2123 drivers/pci/controller/pci-hyperv.c dr_wrk->bus = hbus; hbus 2131 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 2137 drivers/pci/controller/pci-hyperv.c pending_dr = !list_empty(&hbus->dr_list); hbus 2138 drivers/pci/controller/pci-hyperv.c list_add_tail(&dr->list_entry, &hbus->dr_list); hbus 2139 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 2144 drivers/pci/controller/pci-hyperv.c get_hvpcibus(hbus); hbus 2145 drivers/pci/controller/pci-hyperv.c queue_work(hbus->wq, &dr_wrk->wrk); hbus 2161 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus; hbus 2172 drivers/pci/controller/pci-hyperv.c hbus = hpdev->hbus; hbus 2183 drivers/pci/controller/pci-hyperv.c pdev = pci_get_domain_bus_and_slot(hbus->sysdata.domain, 0, wslot); hbus 2191 drivers/pci/controller/pci-hyperv.c spin_lock_irqsave(&hbus->device_list_lock, flags); hbus 2193 drivers/pci/controller/pci-hyperv.c spin_unlock_irqrestore(&hbus->device_list_lock, flags); hbus 2202 drivers/pci/controller/pci-hyperv.c vmbus_sendpacket(hbus->hdev->channel, ejct_pkt, hbus 2213 drivers/pci/controller/pci-hyperv.c put_hvpcibus(hbus); hbus 2229 drivers/pci/controller/pci-hyperv.c get_hvpcibus(hpdev->hbus); hbus 2230 drivers/pci/controller/pci-hyperv.c queue_work(hpdev->hbus->wq, &hpdev->wrk); hbus 2244 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = context; hbus 2263 drivers/pci/controller/pci-hyperv.c ret = vmbus_recvpacket_raw(hbus->hdev->channel, buffer, hbus 2313 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 2318 drivers/pci/controller/pci-hyperv.c hv_pci_devices_present(hbus, bus_rel); hbus 2324 drivers/pci/controller/pci-hyperv.c hpdev = get_pcichild_wslot(hbus, hbus 2335 drivers/pci/controller/pci-hyperv.c hpdev = get_pcichild_wslot(hbus, hbus 2348 drivers/pci/controller/pci-hyperv.c dev_warn(&hbus->hdev->device, hbus 2356 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 2455 drivers/pci/controller/pci-hyperv.c static void hv_pci_free_bridge_windows(struct hv_pcibus_device *hbus) hbus 2462 drivers/pci/controller/pci-hyperv.c if (hbus->low_mmio_space && hbus->low_mmio_res) { hbus 2463 drivers/pci/controller/pci-hyperv.c hbus->low_mmio_res->flags |= IORESOURCE_BUSY; hbus 2464 drivers/pci/controller/pci-hyperv.c vmbus_free_mmio(hbus->low_mmio_res->start, hbus 2465 drivers/pci/controller/pci-hyperv.c resource_size(hbus->low_mmio_res)); hbus 2468 drivers/pci/controller/pci-hyperv.c if (hbus->high_mmio_space && hbus->high_mmio_res) { hbus 2469 drivers/pci/controller/pci-hyperv.c hbus->high_mmio_res->flags |= IORESOURCE_BUSY; hbus 2470 drivers/pci/controller/pci-hyperv.c vmbus_free_mmio(hbus->high_mmio_res->start, hbus 2471 drivers/pci/controller/pci-hyperv.c resource_size(hbus->high_mmio_res)); hbus 2500 drivers/pci/controller/pci-hyperv.c static int hv_pci_allocate_bridge_windows(struct hv_pcibus_device *hbus) hbus 2505 drivers/pci/controller/pci-hyperv.c if (hbus->low_mmio_space) { hbus 2506 drivers/pci/controller/pci-hyperv.c align = 1ULL << (63 - __builtin_clzll(hbus->low_mmio_space)); hbus 2507 drivers/pci/controller/pci-hyperv.c ret = vmbus_allocate_mmio(&hbus->low_mmio_res, hbus->hdev, 0, hbus 2509 drivers/pci/controller/pci-hyperv.c hbus->low_mmio_space, hbus 2512 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 2514 drivers/pci/controller/pci-hyperv.c hbus->low_mmio_space); hbus 2519 drivers/pci/controller/pci-hyperv.c hbus->low_mmio_res->flags |= IORESOURCE_WINDOW; hbus 2520 drivers/pci/controller/pci-hyperv.c hbus->low_mmio_res->flags &= ~IORESOURCE_BUSY; hbus 2521 drivers/pci/controller/pci-hyperv.c pci_add_resource(&hbus->resources_for_children, hbus 2522 drivers/pci/controller/pci-hyperv.c hbus->low_mmio_res); hbus 2525 drivers/pci/controller/pci-hyperv.c if (hbus->high_mmio_space) { hbus 2526 drivers/pci/controller/pci-hyperv.c align = 1ULL << (63 - __builtin_clzll(hbus->high_mmio_space)); hbus 2527 drivers/pci/controller/pci-hyperv.c ret = vmbus_allocate_mmio(&hbus->high_mmio_res, hbus->hdev, hbus 2529 drivers/pci/controller/pci-hyperv.c hbus->high_mmio_space, align, hbus 2532 drivers/pci/controller/pci-hyperv.c dev_err(&hbus->hdev->device, hbus 2534 drivers/pci/controller/pci-hyperv.c hbus->high_mmio_space); hbus 2539 drivers/pci/controller/pci-hyperv.c hbus->high_mmio_res->flags |= IORESOURCE_WINDOW; hbus 2540 drivers/pci/controller/pci-hyperv.c hbus->high_mmio_res->flags &= ~IORESOURCE_BUSY; hbus 2541 drivers/pci/controller/pci-hyperv.c pci_add_resource(&hbus->resources_for_children, hbus 2542 drivers/pci/controller/pci-hyperv.c hbus->high_mmio_res); hbus 2548 drivers/pci/controller/pci-hyperv.c if (hbus->low_mmio_res) { hbus 2549 drivers/pci/controller/pci-hyperv.c vmbus_free_mmio(hbus->low_mmio_res->start, hbus 2550 drivers/pci/controller/pci-hyperv.c resource_size(hbus->low_mmio_res)); hbus 2565 drivers/pci/controller/pci-hyperv.c static int hv_allocate_config_window(struct hv_pcibus_device *hbus) hbus 2573 drivers/pci/controller/pci-hyperv.c ret = vmbus_allocate_mmio(&hbus->mem_config, hbus->hdev, 0, -1, hbus 2586 drivers/pci/controller/pci-hyperv.c hbus->mem_config->flags |= IORESOURCE_BUSY; hbus 2591 drivers/pci/controller/pci-hyperv.c static void hv_free_config_window(struct hv_pcibus_device *hbus) hbus 2593 drivers/pci/controller/pci-hyperv.c vmbus_free_mmio(hbus->mem_config->start, PCI_CONFIG_MMIO_LENGTH); hbus 2604 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hbus 2625 drivers/pci/controller/pci-hyperv.c d0_entry->mmio_base = hbus->mem_config->start; hbus 2660 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hbus 2667 drivers/pci/controller/pci-hyperv.c if (cmpxchg(&hbus->survey_event, NULL, &comp)) hbus 2700 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hbus 2720 drivers/pci/controller/pci-hyperv.c hpdev = get_pcichild_wslot(hbus, wslot); hbus 2775 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hbus 2782 drivers/pci/controller/pci-hyperv.c hpdev = get_pcichild_wslot(hbus, wslot); hbus 2801 drivers/pci/controller/pci-hyperv.c static void get_hvpcibus(struct hv_pcibus_device *hbus) hbus 2803 drivers/pci/controller/pci-hyperv.c refcount_inc(&hbus->remove_lock); hbus 2806 drivers/pci/controller/pci-hyperv.c static void put_hvpcibus(struct hv_pcibus_device *hbus) hbus 2808 drivers/pci/controller/pci-hyperv.c if (refcount_dec_and_test(&hbus->remove_lock)) hbus 2809 drivers/pci/controller/pci-hyperv.c complete(&hbus->remove_event); hbus 2864 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus; hbus 2873 drivers/pci/controller/pci-hyperv.c BUILD_BUG_ON(sizeof(*hbus) > PAGE_SIZE); hbus 2875 drivers/pci/controller/pci-hyperv.c hbus = (struct hv_pcibus_device *)get_zeroed_page(GFP_KERNEL); hbus 2876 drivers/pci/controller/pci-hyperv.c if (!hbus) hbus 2878 drivers/pci/controller/pci-hyperv.c hbus->state = hv_pcibus_init; hbus 2908 drivers/pci/controller/pci-hyperv.c hbus->sysdata.domain = dom; hbus 2910 drivers/pci/controller/pci-hyperv.c hbus->hdev = hdev; hbus 2911 drivers/pci/controller/pci-hyperv.c refcount_set(&hbus->remove_lock, 1); hbus 2912 drivers/pci/controller/pci-hyperv.c INIT_LIST_HEAD(&hbus->children); hbus 2913 drivers/pci/controller/pci-hyperv.c INIT_LIST_HEAD(&hbus->dr_list); hbus 2914 drivers/pci/controller/pci-hyperv.c INIT_LIST_HEAD(&hbus->resources_for_children); hbus 2915 drivers/pci/controller/pci-hyperv.c spin_lock_init(&hbus->config_lock); hbus 2916 drivers/pci/controller/pci-hyperv.c spin_lock_init(&hbus->device_list_lock); hbus 2917 drivers/pci/controller/pci-hyperv.c spin_lock_init(&hbus->retarget_msi_interrupt_lock); hbus 2918 drivers/pci/controller/pci-hyperv.c init_completion(&hbus->remove_event); hbus 2919 drivers/pci/controller/pci-hyperv.c hbus->wq = alloc_ordered_workqueue("hv_pci_%x", 0, hbus 2920 drivers/pci/controller/pci-hyperv.c hbus->sysdata.domain); hbus 2921 drivers/pci/controller/pci-hyperv.c if (!hbus->wq) { hbus 2927 drivers/pci/controller/pci-hyperv.c hv_pci_onchannelcallback, hbus); hbus 2931 drivers/pci/controller/pci-hyperv.c hv_set_drvdata(hdev, hbus); hbus 2937 drivers/pci/controller/pci-hyperv.c ret = hv_allocate_config_window(hbus); hbus 2941 drivers/pci/controller/pci-hyperv.c hbus->cfg_addr = ioremap(hbus->mem_config->start, hbus 2943 drivers/pci/controller/pci-hyperv.c if (!hbus->cfg_addr) { hbus 2956 drivers/pci/controller/pci-hyperv.c hbus->sysdata.fwnode = irq_domain_alloc_named_fwnode(name); hbus 2958 drivers/pci/controller/pci-hyperv.c if (!hbus->sysdata.fwnode) { hbus 2963 drivers/pci/controller/pci-hyperv.c ret = hv_pcie_init_irq_domain(hbus); hbus 2975 drivers/pci/controller/pci-hyperv.c ret = hv_pci_allocate_bridge_windows(hbus); hbus 2983 drivers/pci/controller/pci-hyperv.c prepopulate_bars(hbus); hbus 2985 drivers/pci/controller/pci-hyperv.c hbus->state = hv_pcibus_probed; hbus 2987 drivers/pci/controller/pci-hyperv.c ret = create_root_hv_pci_bus(hbus); hbus 2994 drivers/pci/controller/pci-hyperv.c hv_pci_free_bridge_windows(hbus); hbus 2996 drivers/pci/controller/pci-hyperv.c irq_domain_remove(hbus->irq_domain); hbus 2998 drivers/pci/controller/pci-hyperv.c irq_domain_free_fwnode(hbus->sysdata.fwnode); hbus 3000 drivers/pci/controller/pci-hyperv.c iounmap(hbus->cfg_addr); hbus 3002 drivers/pci/controller/pci-hyperv.c hv_free_config_window(hbus); hbus 3006 drivers/pci/controller/pci-hyperv.c destroy_workqueue(hbus->wq); hbus 3008 drivers/pci/controller/pci-hyperv.c hv_put_dom_num(hbus->sysdata.domain); hbus 3010 drivers/pci/controller/pci-hyperv.c free_page((unsigned long)hbus); hbus 3016 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus = hv_get_drvdata(hdev); hbus 3034 drivers/pci/controller/pci-hyperv.c hv_pci_devices_present(hbus, &relations); hbus 3064 drivers/pci/controller/pci-hyperv.c struct hv_pcibus_device *hbus; hbus 3066 drivers/pci/controller/pci-hyperv.c hbus = hv_get_drvdata(hdev); hbus 3067 drivers/pci/controller/pci-hyperv.c if (hbus->state == hv_pcibus_installed) { hbus 3070 drivers/pci/controller/pci-hyperv.c pci_stop_root_bus(hbus->pci_bus); hbus 3071 drivers/pci/controller/pci-hyperv.c hv_pci_remove_slots(hbus); hbus 3072 drivers/pci/controller/pci-hyperv.c pci_remove_root_bus(hbus->pci_bus); hbus 3074 drivers/pci/controller/pci-hyperv.c hbus->state = hv_pcibus_removed; hbus 3081 drivers/pci/controller/pci-hyperv.c iounmap(hbus->cfg_addr); hbus 3082 drivers/pci/controller/pci-hyperv.c hv_free_config_window(hbus); hbus 3083 drivers/pci/controller/pci-hyperv.c pci_free_resource_list(&hbus->resources_for_children); hbus 3084 drivers/pci/controller/pci-hyperv.c hv_pci_free_bridge_windows(hbus); hbus 3085 drivers/pci/controller/pci-hyperv.c irq_domain_remove(hbus->irq_domain); hbus 3086 drivers/pci/controller/pci-hyperv.c irq_domain_free_fwnode(hbus->sysdata.fwnode); hbus 3087 drivers/pci/controller/pci-hyperv.c put_hvpcibus(hbus); hbus 3088 drivers/pci/controller/pci-hyperv.c wait_for_completion(&hbus->remove_event); hbus 3089 drivers/pci/controller/pci-hyperv.c destroy_workqueue(hbus->wq); hbus 3091 drivers/pci/controller/pci-hyperv.c hv_put_dom_num(hbus->sysdata.domain); hbus 3093 drivers/pci/controller/pci-hyperv.c free_page((unsigned long)hbus); hbus 793 sound/pci/hda/hda_controller.c struct hda_bus *hbus = &chip->bus; hbus 818 sound/pci/hda/hda_controller.c if (hbus->needs_damn_long_delay || hbus 833 sound/pci/hda/hda_controller.c if (hbus->no_response_fallback) hbus 879 sound/pci/hda/hda_controller.c if (hbus->allow_bus_reset && !hbus->response_reset && !hbus->in_reset) { hbus 880 sound/pci/hda/hda_controller.c hbus->response_reset = 1; hbus 891 sound/pci/hda/hda_controller.c hbus->response_reset = 0; hbus 866 sound/soc/intel/skylake/skl.c struct hda_bus *hbus; hbus 881 sound/soc/intel/skylake/skl.c hbus = skl_to_hbus(skl); hbus 896 sound/soc/intel/skylake/skl.c mutex_init(&hbus->prepare_mutex); hbus 897 sound/soc/intel/skylake/skl.c hbus->pci = pci; hbus 898 sound/soc/intel/skylake/skl.c hbus->mixer_assigned = -1; hbus 899 sound/soc/intel/skylake/skl.c hbus->modelname = "sklbus"; hbus 60 sound/soc/intel/skylake/skl.h struct hda_bus hbus; hbus 137 sound/soc/intel/skylake/skl.h #define skl_to_bus(s) (&(s)->hbus.core) hbus 138 sound/soc/intel/skylake/skl.h #define bus_to_skl(bus) container_of(bus, struct skl_dev, hbus.core) hbus 140 sound/soc/intel/skylake/skl.h #define skl_to_hbus(s) (&(s)->hbus) hbus 141 sound/soc/intel/skylake/skl.h #define hbus_to_skl(hbus) container_of((hbus), struct skl_dev, (hbus)) hbus 43 sound/soc/sof/intel/hda-codec.c struct hda_bus *hbus = sof_to_hbus(sdev); hbus 48 sound/soc/sof/intel/hda-codec.c list_for_each_codec(codec, hbus) hbus 58 sound/soc/sof/intel/hda-codec.c struct hda_bus *hbus = sof_to_hbus(sdev); hbus 65 sound/soc/sof/intel/hda-codec.c list_for_each_codec(codec, hbus) hbus 87 sound/soc/sof/intel/hda-codec.c struct hda_bus *hbus = sof_to_hbus(sdev); hbus 94 sound/soc/sof/intel/hda-codec.c mutex_lock(&hbus->core.cmd_mutex); hbus 95 sound/soc/sof/intel/hda-codec.c snd_hdac_bus_send_cmd(&hbus->core, hda_cmd); hbus 96 sound/soc/sof/intel/hda-codec.c snd_hdac_bus_get_response(&hbus->core, address, &resp); hbus 97 sound/soc/sof/intel/hda-codec.c mutex_unlock(&hbus->core.cmd_mutex); hbus 108 sound/soc/sof/intel/hda-codec.c hda_priv->codec.bus = hbus; hbus 111 sound/soc/sof/intel/hda-codec.c ret = snd_hdac_ext_bus_device_init(&hbus->core, address, hdev); hbus 133 sound/soc/sof/intel/hda-codec.c ret = snd_hdac_ext_bus_device_init(&hbus->core, address, hdev); hbus 394 sound/soc/sof/intel/hda-dsp.c struct hdac_bus *hbus = sof_to_bus(sdev); hbus 396 sound/soc/sof/intel/hda-dsp.c if (hbus->codec_powered) { hbus 398 sound/soc/sof/intel/hda-dsp.c (unsigned int)hbus->codec_powered); hbus 254 sound/soc/sof/intel/hda.c struct hda_bus *hbus; hbus 259 sound/soc/sof/intel/hda.c hbus = sof_to_hbus(sdev); hbus 273 sound/soc/sof/intel/hda.c mutex_init(&hbus->prepare_mutex); hbus 274 sound/soc/sof/intel/hda.c hbus->pci = pci; hbus 275 sound/soc/sof/intel/hda.c hbus->mixer_assigned = -1; hbus 276 sound/soc/sof/intel/hda.c hbus->modelname = "sofbus"; hbus 386 sound/soc/sof/intel/hda.h struct hda_bus hbus; hbus 410 sound/soc/sof/intel/hda.h return &hda->hbus.core; hbus 417 sound/soc/sof/intel/hda.h return &hda->hbus; hbus 431 sound/soc/sof/intel/hda.h container_of(bus, struct sof_intel_hda_dev, hbus.core)