Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/acpi/
Dpfr_update.c83 struct device *parent_dev; member
122 acpi_handle handle = ACPI_HANDLE(pfru_dev->parent_dev); in query_capability()
150 dev_dbg(pfru_dev->parent_dev, "Error Status:%d\n", cap_hdr->status); in query_capability()
189 acpi_handle handle = ACPI_HANDLE(pfru_dev->parent_dev); in query_buffer()
212 dev_dbg(pfru_dev->parent_dev, "Error Status:%d\n", info->status); in query_buffer()
213 dev_dbg(pfru_dev->parent_dev, "Error Extended Status:%d\n", info->ext_status); 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()
[all …]
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 …]
/linux-5.19.10/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c29 phy = sas_phy_alloc(pqi_sas_port->parent_node->parent_dev, in pqi_alloc_sas_phy()
143 port = sas_port_alloc_num(pqi_sas_node->parent_dev); in pqi_alloc_sas_port()
181 static struct pqi_sas_node *pqi_alloc_sas_node(struct device *parent_dev) in pqi_alloc_sas_node() argument
187 pqi_sas_node->parent_dev = parent_dev; in pqi_alloc_sas_node()
228 struct device *parent_dev; in pqi_add_sas_host() local
233 parent_dev = &shost->shost_dev; in pqi_add_sas_host()
235 pqi_sas_node = pqi_alloc_sas_node(parent_dev); in pqi_add_sas_host()
/linux-5.19.10/drivers/regulator/
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()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib_vlan.c160 struct net_device *parent_dev; in mlx5i_pkey_dev_init() local
167 parent_dev = dev_get_by_index(dev_net(dev), parent_ifindex); in mlx5i_pkey_dev_init()
168 if (!parent_dev) { in mlx5i_pkey_dev_init()
173 parent_ipriv = netdev_priv(parent_dev); in mlx5i_pkey_dev_init()
175 dev_put(parent_dev); in mlx5i_pkey_dev_init()
/linux-5.19.10/drivers/of/
Dirq.c634 struct device *parent_dev; in __of_msi_map_id() local
641 for (parent_dev = dev; parent_dev; parent_dev = parent_dev->parent) in __of_msi_map_id()
642 if (!of_map_id(parent_dev->of_node, id_in, "msi-map", in __of_msi_map_id()
/linux-5.19.10/drivers/usb/mtu3/
Dmtu3_host.c315 struct device *parent_dev = ssusb->dev; in ssusb_host_init() local
320 ret = of_platform_populate(parent_dn, NULL, NULL, parent_dev); in ssusb_host_init()
322 dev_dbg(parent_dev, "failed to create child devices at %pOF\n", in ssusb_host_init()
327 dev_info(parent_dev, "xHCI platform device register success...\n"); in ssusb_host_init()
/linux-5.19.10/drivers/bus/fsl-mc/
Dfsl-mc-bus.c672 struct device *parent_dev = mc_dev->dev.parent; in fsl_mc_device_get_mmio_regions() local
703 dev_err(parent_dev, in fsl_mc_device_get_mmio_regions()
737 dev_err(parent_dev, in fsl_mc_device_get_mmio_regions()
788 struct device *parent_dev, in fsl_mc_device_add() argument
796 if (dev_is_fsl_mc(parent_dev)) in fsl_mc_device_add()
797 parent_mc_dev = to_fsl_mc_device(parent_dev); in fsl_mc_device_add()
823 mc_dev->dev.parent = parent_dev; in fsl_mc_device_add()
829 dev_err(parent_dev, "unknown device type %s\n", obj_desc->type); in fsl_mc_device_add()
900 dev_err(parent_dev, in fsl_mc_device_add()
906 dev_dbg(parent_dev, "added %s\n", dev_name(&mc_dev->dev)); in fsl_mc_device_add()
Ddprc-driver.c616 struct device *parent_dev = mc_dev->dev.parent; in dprc_setup() local
636 if (!dev_is_fsl_mc(parent_dev)) in dprc_setup()
Dfsl-mc-private.h620 struct device *parent_dev,
/linux-5.19.10/drivers/net/wireless/ath/ath6kl/
Dwmi.c242 if (WARN_ON(skb == NULL || (if_idx > wmi->parent_dev->vif_max - 1))) in ath6kl_wmi_data_hdr_add()
510 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()
748 ath6kl_ready_event(wmi->parent_dev, ev->mac_addr, in ath6kl_wmi_ready_event_rx()
1009 if (country && wmi->parent_dev->wiphy_registered) { in ath6kl_wmi_regdomain_event()
1013 regulatory_hint(wmi->parent_dev->wiphy, alpha2); in ath6kl_wmi_regdomain_event()
1092 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_bssinfo_event_rx()
1196 ath6kl_indicate_tx_activity(wmi->parent_dev, ev->traffic_class, false); in ath6kl_wmi_pstream_timeout_event_rx()
1219 ath6kl_wakeup_event(wmi->parent_dev); in ath6kl_wmi_bitrate_reply_rx()
1226 ath6kl_tm_rx_event(wmi->parent_dev, datap, len); in ath6kl_wmi_test_rx()
[all …]
/linux-5.19.10/net/batman-adv/
Dhard-interface.c150 struct net_device *parent_dev; in batadv_is_on_batman_iface() local
170 parent_dev = __dev_get_by_index((struct net *)parent_net, iflink); in batadv_is_on_batman_iface()
171 if (!parent_dev) { in batadv_is_on_batman_iface()
177 if (batadv_mutual_parents(net_dev, net, parent_dev, parent_net)) in batadv_is_on_batman_iface()
180 ret = batadv_is_on_batman_iface(parent_dev); in batadv_is_on_batman_iface()
/linux-5.19.10/drivers/scsi/pm8001/
Dpm8001_sas.c626 struct domain_device *parent_dev = dev->parent; in pm8001_dev_found_notify() local
642 if (parent_dev && dev_is_expander(parent_dev->dev_type)) { in pm8001_dev_found_notify()
645 for (phy_id = 0; phy_id < parent_dev->ex_dev.num_phys; in pm8001_dev_found_notify()
647 phy = &parent_dev->ex_dev.ex_phy[phy_id]; in pm8001_dev_found_notify()
654 if (phy_id == parent_dev->ex_dev.num_phys) { in pm8001_dev_found_notify()
658 SAS_ADDR(parent_dev->sas_addr)); in pm8001_dev_found_notify()
/linux-5.19.10/drivers/iommu/
Dmtk_iommu.c205 struct device *parent_dev; member
455 if (report_iommu_fault(&dom->domain, bank->parent_dev, fault_iova, in mtk_iommu_isr()
458 bank->parent_dev, in mtk_iommu_isr()
1029 if (devm_request_irq(bankx->parent_dev, bankx->irq, mtk_iommu_isr, 0, in mtk_iommu_hw_init()
1030 dev_name(bankx->parent_dev), (void *)bankx)) { in mtk_iommu_hw_init()
1032 dev_err(bankx->parent_dev, "Failed @ IRQ-%d Request\n", bankx->irq); in mtk_iommu_hw_init()
1191 bank->parent_dev = dev; in mtk_iommu_probe()
/linux-5.19.10/sound/soc/intel/skylake/
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()
/linux-5.19.10/arch/powerpc/platforms/powernv/
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()
Dpci.h66 struct pci_dev *parent_dev; member
Dpci-ioda.c77 pci_domain_nr(pe->parent_dev->bus), in pe_level_printk()
776 pdev = pe->parent_dev; in pnv_ioda_set_peltv()
859 parent = pe->parent_dev; in pnv_ioda_deconfigure_pe()
888 pe->parent_dev = NULL; in pnv_ioda_deconfigure_pe()
1484 if ((pe->flags & PNV_IODA_PE_VF) && pe->parent_dev) { in pnv_pci_ioda_pe_dma_weight()
1485 pnv_pci_ioda_dev_dma_weight(pe->parent_dev, &weight); in pnv_pci_ioda_pe_dma_weight()
/linux-5.19.10/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c782 if (!sas_node->parent_dev) { in mpt3sas_transport_port_add()
787 port = sas_port_alloc_num(sas_node->parent_dev); in mpt3sas_transport_port_add()
1011 *mpt3sas_phy, Mpi2SasPhyPage0_t phy_pg0, struct device *parent_dev) in mpt3sas_transport_add_host_phy() argument
1018 phy = sas_phy_alloc(parent_dev, phy_index); in mpt3sas_transport_add_host_phy()
1081 struct device *parent_dev) in mpt3sas_transport_add_expander_phy() argument
1087 phy = sas_phy_alloc(parent_dev, phy_index); in mpt3sas_transport_add_expander_phy()
Dmpt3sas_base.h811 struct device *parent_dev; member
1974 *mpt3sas_phy, Mpi2SasPhyPage0_t phy_pg0, struct device *parent_dev);
1977 struct device *parent_dev);
/linux-5.19.10/drivers/scsi/mvsas/
Dmv_sas.c1173 struct domain_device *parent_dev = dev->parent; in mvs_dev_found_notify() local
1191 if (parent_dev && dev_is_expander(parent_dev->dev_type)) { in mvs_dev_found_notify()
1193 u8 phy_num = parent_dev->ex_dev.num_phys; in mvs_dev_found_notify()
1196 phy = &parent_dev->ex_dev.ex_phy[phy_id]; in mvs_dev_found_notify()
1208 SAS_ADDR(parent_dev->sas_addr)); in mvs_dev_found_notify()
/linux-5.19.10/drivers/scsi/hisi_sas/
Dhisi_sas_main.c778 struct domain_device *parent_dev = device->parent; in hisi_sas_dev_found() local
796 if (parent_dev && dev_is_expander(parent_dev->dev_type)) { in hisi_sas_dev_found()
798 u8 phy_num = parent_dev->ex_dev.num_phys; in hisi_sas_dev_found()
802 phy = &parent_dev->ex_dev.ex_phy[phy_no]; in hisi_sas_dev_found()
812 SAS_ADDR(parent_dev->sas_addr)); in hisi_sas_dev_found()
Dhisi_sas_v2_hw.c928 struct domain_device *parent_dev = device->parent; in setup_itct_v2_hw() local
945 if (parent_dev && dev_is_expander(parent_dev->dev_type)) in setup_itct_v2_hw()
2489 struct domain_device *parent_dev = device->parent; in prep_ata_v2_hw() local
2503 if (parent_dev && dev_is_expander(parent_dev->dev_type)) in prep_ata_v2_hw()
/linux-5.19.10/drivers/block/mtip32xx/
Dmtip32xx.c3783 struct pci_dev *parent_dev = pdev->bus->self; in mtip_fix_ero_nosnoop() local
3784 if (parent_dev->bus && in mtip_fix_ero_nosnoop()
3785 parent_dev->bus->parent && in mtip_fix_ero_nosnoop()
3786 parent_dev->bus->parent->self && in mtip_fix_ero_nosnoop()
3787 parent_dev->bus->parent->self->vendor == in mtip_fix_ero_nosnoop()
3789 (parent_dev->bus->parent->self->device & in mtip_fix_ero_nosnoop()
3792 parent_dev->bus->parent->self); in mtip_fix_ero_nosnoop()
/linux-5.19.10/drivers/usb/core/
Dhcd.c984 struct device *parent_dev = hcd->self.controller; in register_root_hub() local
1000 dev_dbg (parent_dev, "can't read %s device descriptor %d\n", in register_root_hub()
1011 dev_dbg(parent_dev, "can't read %s bos descriptor %d\n", in register_root_hub()
1019 dev_err (parent_dev, "can't register root hub for %s, %d\n", in register_root_hub()

12