Home
last modified time | relevance | path

Searched refs:parent_dev (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/linux/drivers/acpi/
H A Dpfr_update.c83 struct device *parent_dev; member
122 acpi_handle handle = ACPI_HANDLE(pfru_dev->parent_dev); in query_capability()
189 acpi_handle handle = ACPI_HANDLE(pfru_dev->parent_dev); in query_buffer()
319 dev_dbg(pfru_dev->parent_dev, "Update result:\n"); in print_update_debug_info()
320 dev_dbg(pfru_dev->parent_dev, "Authentication Time Low:%lld\n", in print_update_debug_info()
322 dev_dbg(pfru_dev->parent_dev, "Authentication Time High:%lld\n", in print_update_debug_info()
324 dev_dbg(pfru_dev->parent_dev, "Execution Time Low:%lld\n", in print_update_debug_info()
326 dev_dbg(pfru_dev->parent_dev, "Execution Time High:%lld\n", in print_update_debug_info()
345 handle = ACPI_HANDLE(pfru_dev->parent_dev); in start_update()
369 dev_dbg(pfru_dev->parent_dev, "Error Extended Status:%d\n", in start_update()
[all …]
H A Dpfr_telemetry.c63 struct device *parent_dev; member
82 acpi_handle handle = ACPI_HANDLE(pfrt_log_dev->parent_dev); in get_pfrt_log_data_info()
119 dev_dbg(pfrt_log_dev->parent_dev, "Error Status:%d\n", data_info->status); in get_pfrt_log_data_info()
120 dev_dbg(pfrt_log_dev->parent_dev, "Error Extend Status:%d\n", in get_pfrt_log_data_info()
154 acpi_handle handle = ACPI_HANDLE(pfrt_log_dev->parent_dev); in set_pfrt_log_level()
178 dev_dbg(pfrt_log_dev->parent_dev, "Error Status:%d\n", status); in set_pfrt_log_level()
179 dev_dbg(pfrt_log_dev->parent_dev, "Error Extend Status:%d\n", ext_status); in set_pfrt_log_level()
190 acpi_handle handle = ACPI_HANDLE(pfrt_log_dev->parent_dev); in get_pfrt_log_level()
209 dev_dbg(pfrt_log_dev->parent_dev, "Error Status:%d\n", status); in get_pfrt_log_level()
210 dev_dbg(pfrt_log_dev->parent_dev, "Error Extend Status:%d\n", ext_status); in get_pfrt_log_level()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib_vlan.c160 struct net_device *parent_dev; in mlx5i_pkey_dev_init() local
165 parent_dev = mlx5i_parent_get(dev); in mlx5i_pkey_dev_init()
166 if (!parent_dev) { in mlx5i_pkey_dev_init()
171 if (dev->num_rx_queues < parent_dev->real_num_rx_queues) { in mlx5i_pkey_dev_init()
175 parent_dev->real_num_rx_queues); in mlx5i_pkey_dev_init()
181 parent_ipriv = netdev_priv(parent_dev); in mlx5i_pkey_dev_init()
H A Dipoib.c166 struct net_device *parent_dev; in mlx5i_parent_get() local
172 parent_dev = dev_get_by_index(dev_net(netdev), parent_ifindex); in mlx5i_parent_get()
173 if (!parent_dev) in mlx5i_parent_get()
176 parent_ipriv = netdev_priv(parent_dev); in mlx5i_parent_get()
181 ipriv->parent_dev = parent_dev; in mlx5i_parent_get()
183 return parent_dev; in mlx5i_parent_get()
192 parent_ipriv = netdev_priv(ipriv->parent_dev); in mlx5i_parent_put()
197 dev_put(ipriv->parent_dev); in mlx5i_parent_put()
H A Dipoib.h61 struct net_device *parent_dev; member
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c29 phy = sas_phy_alloc(pqi_sas_port->parent_node->parent_dev, in pqi_alloc_sas_phy()
141 port = sas_port_alloc_num(pqi_sas_node->parent_dev); in pqi_alloc_sas_port()
179 static struct pqi_sas_node *pqi_alloc_sas_node(struct device *parent_dev) in pqi_alloc_sas_node() argument
185 pqi_sas_node->parent_dev = parent_dev; in pqi_alloc_sas_node()
226 struct device *parent_dev; in pqi_add_sas_host() local
231 parent_dev = &shost->shost_dev; in pqi_add_sas_host()
233 pqi_sas_node = pqi_alloc_sas_node(parent_dev); in pqi_add_sas_host()
/openbmc/qemu/ui/
H A Dutil.c38 if (bus->parent_dev != NULL) { in append_pci_address()
39 append_pci_address(buf, buf_size, bus->parent_dev); in append_pci_address()
/openbmc/linux/drivers/regulator/
H A Darizona-ldo1.c232 struct device *parent_dev = pdev->dev.parent; in arizona_ldo1_common_init() local
240 ldo1->supply.dev_name = dev_name(parent_dev); in arizona_ldo1_common_init()
242 config.dev = parent_dev; in arizona_ldo1_common_init()
247 if (!dev_get_platdata(parent_dev)) { in arizona_ldo1_common_init()
260 config.ena_gpiod = gpiod_get_optional(parent_dev, "wlf,ldoena", in arizona_ldo1_common_init()
/openbmc/linux/drivers/of/
H A Dirq.c663 struct device *parent_dev; in __of_msi_map_id() local
670 for (parent_dev = dev; parent_dev; parent_dev = parent_dev->parent) in __of_msi_map_id()
671 if (!of_map_id(parent_dev->of_node, id_in, "msi-map", in __of_msi_map_id()
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_host.c316 struct device *parent_dev = ssusb->dev; in ssusb_host_init() local
321 ret = of_platform_populate(parent_dn, NULL, NULL, parent_dev); in ssusb_host_init()
323 dev_dbg(parent_dev, "failed to create child devices at %pOF\n", in ssusb_host_init()
328 dev_info(parent_dev, "xHCI platform device register success...\n"); in ssusb_host_init()
/openbmc/qemu/hw/pci-bridge/
H A Dpci_expander_bridge.c76 PXBDev *pxb = PXB_DEV(bus->parent_dev); in pxb_bus_num()
83 PXBDev *pxb = PXB_DEV(bus->parent_dev); in pxb_bus_numa_node()
141 pxb_dev = PXB_DEV(pxb_bus->parent_dev); in pxb_host_ofw_unit_address()
246 if (bus->parent_dev) { in pxb_register_bus()
262 PCIDevice *pxb = pci_get_bus(pci_dev)->parent_dev; in pxb_map_irq_fn()
361 bus->parent_dev = dev; in pxb_dev_realize_common()
/openbmc/linux/drivers/bus/fsl-mc/
H A Dfsl-mc-bus.c667 struct device *parent_dev = mc_dev->dev.parent; in fsl_mc_device_get_mmio_regions() local
698 dev_err(parent_dev, in fsl_mc_device_get_mmio_regions()
732 dev_err(parent_dev, in fsl_mc_device_get_mmio_regions()
783 struct device *parent_dev, in fsl_mc_device_add() argument
791 if (dev_is_fsl_mc(parent_dev)) in fsl_mc_device_add()
792 parent_mc_dev = to_fsl_mc_device(parent_dev); in fsl_mc_device_add()
818 mc_dev->dev.parent = parent_dev; in fsl_mc_device_add()
824 dev_err(parent_dev, "unknown device type %s\n", obj_desc->type); in fsl_mc_device_add()
895 dev_err(parent_dev, in fsl_mc_device_add()
901 dev_dbg(parent_dev, "added %s\n", dev_name(&mc_dev->dev)); in fsl_mc_device_add()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dwmi.c510 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_remain_on_chnl_event_rx()
543 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_cancel_remain_on_chnl_event_rx()
1092 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_bssinfo_event_rx()
1219 ath6kl_wakeup_event(wmi->parent_dev); in ath6kl_wmi_bitrate_reply_rx()
1236 ath6kl_wakeup_event(wmi->parent_dev); in ath6kl_wmi_ratemask_reply_rx()
1246 ath6kl_wakeup_event(wmi->parent_dev); in ath6kl_wmi_ch_list_reply_rx()
1269 ath6kl_wakeup_event(wmi->parent_dev); in ath6kl_wmi_keepalive_reply_rx()
2004 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_beginscan_cmd()
2858 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_set_bitrate_mask()
2903 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx()
[all …]
/openbmc/qemu/hw/pci/
H A Dpci.c195 return bus->parent_dev->config[PCI_SECONDARY_BUS]; in pcibus_num()
319 pci_dev = bus->parent_dev; in pci_change_irq_level()
467 d = bus->parent_dev; in pci_device_root_bus()
1083 parent = pci_get_bus(dev)->parent_dev; in pci_req_id_cache_get()
1157 bus->parent_dev->name); in do_pci_register_device()
1682 dev = bus->parent_dev; in pci_device_route_intx_to_irq()
2561 for (t = d; t; t = pci_get_bus(t)->parent_dev) { in pcibus_get_dev_path()
2576 for (t = d; t; t = pci_get_bus(t)->parent_dev) { in pcibus_get_dev_path()
2860 return parent_dev && in pcie_has_upstream_port()
2861 pci_is_express(parent_dev) && in pcie_has_upstream_port()
[all …]
H A Dpci_bridge.c68 return bus->parent_dev; in pci_bridge_get_device()
379 sec_bus->parent_dev = dev; in pci_bridge_initfn()
/openbmc/qemu/include/hw/isa/
H A Dpc87312.h37 ISASuperIODevice parent_dev; member
/openbmc/qemu/include/hw/remote/
H A Dproxy.h29 PCIDevice parent_dev; member
/openbmc/linux/drivers/tty/serial/
H A Dserial_base_bus.c63 struct device *parent_dev, in serial_base_device_init() argument
71 dev->parent = parent_dev; in serial_base_device_init()
/openbmc/linux/net/batman-adv/
H A Dhard-interface.c152 struct net_device *parent_dev; in batadv_is_on_batman_iface() local
172 parent_dev = __dev_get_by_index((struct net *)parent_net, iflink); in batadv_is_on_batman_iface()
173 if (!parent_dev) { in batadv_is_on_batman_iface()
179 if (batadv_mutual_parents(net_dev, net, parent_dev, parent_net)) in batadv_is_on_batman_iface()
182 ret = batadv_is_on_batman_iface(parent_dev); in batadv_is_on_batman_iface()
/openbmc/qemu/include/hw/pci/
H A Dpci_bus.h45 PCIDevice *parent_dev; member
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_sas.c641 struct domain_device *parent_dev = dev->parent; in pm8001_dev_found_notify() local
657 if (parent_dev && dev_is_expander(parent_dev->dev_type)) { in pm8001_dev_found_notify()
660 phy_id = sas_find_attached_phy_id(&parent_dev->ex_dev, dev); in pm8001_dev_found_notify()
665 SAS_ADDR(parent_dev->sas_addr)); in pm8001_dev_found_notify()
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-ssp-clk.c353 struct device *parent_dev = dev->parent; in skl_clk_dev_probe() local
371 ret = skl_register_parent_clks(parent_dev, data->parent, parent_clks); in skl_clk_dev_probe()
/openbmc/linux/drivers/iommu/
H A Dmtk_iommu.c246 struct device *parent_dev; member
507 if (!dom || report_iommu_fault(&dom->domain, bank->parent_dev, fault_iova, in mtk_iommu_isr()
510 bank->parent_dev, in mtk_iommu_isr()
1095 if (devm_request_irq(bankx->parent_dev, bankx->irq, mtk_iommu_isr, 0, in mtk_iommu_hw_init()
1096 dev_name(bankx->parent_dev), (void *)bankx)) { in mtk_iommu_hw_init()
1098 dev_err(bankx->parent_dev, "Failed @ IRQ-%d Request\n", bankx->irq); in mtk_iommu_hw_init()
1317 bank->parent_dev = dev; in mtk_iommu_probe()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c863 struct device *parent_dev) in mpi3mr_add_host_phy() argument
870 phy = sas_phy_alloc(parent_dev, phy_index); in mpi3mr_add_host_phy()
934 struct device *parent_dev) in mpi3mr_add_expander_phy() argument
940 phy = sas_phy_alloc(parent_dev, phy_index); in mpi3mr_add_expander_phy()
1200 mrioc->sas_hba.parent_dev = &mrioc->shost->shost_gendev; in mpi3mr_sas_host_add()
1253 phy_pg0, mrioc->sas_hba.parent_dev); in mpi3mr_sas_host_add()
1400 if (!mr_sas_node->parent_dev) { in mpi3mr_sas_port_add()
1406 port = sas_port_alloc_num(mr_sas_node->parent_dev); in mpi3mr_sas_port_add()
2104 sas_expander->parent_dev = &mr_sas_port->rphy->dev; in mpi3mr_expander_add()
2131 expander_pg1, sas_expander->parent_dev))) { in mpi3mr_expander_add()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dpci-sriov.c487 if (pe->parent_dev != pdev) in pnv_ioda_release_vf_PE()
640 pe->parent_dev = pdev; in pnv_ioda_setup_vf_PE()

123