Home
last modified time | relevance | path

Searched refs:device_link_add (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.1.9/Documentation/driver-api/
Ddevice_link.rst120 set) are expected to be removed by whoever called :c:func:`device_link_add()`
125 :c:func:`device_link_add()` may cause the PM-runtime usage counter of the
128 device link returned by it. This happens if :c:func:`device_link_add()` is
135 it with PM-runtime disabled, between the :c:func:`device_link_add()` and
233 from :c:func:`device_link_add()`.)
238 (Call to :c:func:`device_is_dependent()` from :c:func:`device_link_add()`.)
239 If that constraint is violated, :c:func:`device_link_add()` will return
270 :c:func:`device_link_add()` based on the driver presence on the supplier
320 See device_link_add(), device_link_del() and device_link_remove().
/linux-6.1.9/drivers/irqchip/
Dirq-imx-mu-msi.c359 pd_link_a = device_link_add(dev, pd_a, in imx_mu_of_init()
369 pd_link_b = device_link_add(dev, pd_b, in imx_mu_of_init()
/linux-6.1.9/drivers/bus/fsl-mc/
Dmc-io.c217 dpmcp_dev->consumer_link = device_link_add(&mc_dev->dev, in fsl_mc_portal_allocate()
/linux-6.1.9/drivers/phy/
Dphy-core.c760 link = device_link_add(dev, &phy->dev, DL_FLAG_STATELESS); in phy_get()
873 link = device_link_add(dev, &phy->dev, DL_FLAG_STATELESS); in devm_of_phy_get()
920 link = device_link_add(dev, &phy->dev, DL_FLAG_STATELESS); in devm_of_phy_get_by_index()
/linux-6.1.9/drivers/soc/xilinx/
Dzynqmp_pm_domains.c159 link = device_link_add(dev, &domain->dev, DL_FLAG_SYNC_STATE_ONLY); in zynqmp_gpd_attach_dev()
/linux-6.1.9/drivers/thunderbolt/
Dacpi.c87 link = device_link_add(&pdev->dev, &nhi->pdev->dev, in tb_acpi_add_link()
/linux-6.1.9/drivers/pci/controller/cadence/
Dpcie-cadence.c219 link[i] = device_link_add(dev, &phy[i]->dev, DL_FLAG_STATELESS); in cdns_pcie_init_phy()
/linux-6.1.9/drivers/input/mouse/
Dpsmouse-smbus.c279 if (!device_link_add(&smbdev->client->dev, in psmouse_smbus_init()
/linux-6.1.9/drivers/firmware/arm_scmi/
Dbus.c223 link = device_link_add(consumer, supplier, DL_FLAG_AUTOREMOVE_CONSUMER); in scmi_device_link_add()
Doptee.c323 if (!device_link_add(dev, scmi_optee_private->dev, DL_FLAG_AUTOREMOVE_CONSUMER)) { in scmi_optee_link_supplier()
/linux-6.1.9/drivers/gpu/ipu-v3/
Dipu-pre.c124 device_link_add(dev, pre->dev, in ipu_pre_lookup_by_phandle()
Dipu-prg.c95 device_link_add(dev, prg->dev, in ipu_prg_lookup_by_phandle()
/linux-6.1.9/drivers/soc/apple/
Dsart.c200 device_link_add(dev, &sart_pdev->dev, in devm_apple_sart_get()
/linux-6.1.9/drivers/i2c/busses/
Di2c-amd-mp2-plat.c290 device_link_add(&i2c_dev->pdev->dev, &mp2_dev->pci_dev->dev, in i2c_amd_probe()
/linux-6.1.9/drivers/platform/surface/
Dsurface_acpi_notify.c98 link = device_link_add(client, san_rqsg_if.dev, flags); in san_client_link()
782 link = device_link_add(&adev->dev, &pdev->dev, flags); in san_consumer_setup()
/linux-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c376 device_link_add(dev, d, DL_FLAG_STATELESS); in rockchip_drm_match_add()
/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_device.c181 pfdev->pm_domain_links[i] = device_link_add(pfdev->dev, in panfrost_pm_domain_init()
/linux-6.1.9/drivers/net/pcs/
Dpcs-rzn1-miic.c328 device_link_add(dev, miic->dev, DL_FLAG_AUTOREMOVE_CONSUMER); in miic_create()
/linux-6.1.9/drivers/soc/imx/
Dgpc.c203 device_link_add(dev, dev->parent, DL_FLAG_AUTOREMOVE_CONSUMER); in imx_pgc_power_domain_probe()
/linux-6.1.9/drivers/platform/surface/aggregator/
Dcore.c146 link = device_link_add(client, ctrldev, flags); in ssam_client_link()
/linux-6.1.9/net/dsa/
Dmaster.c367 consumer_link = device_link_add(ds->dev, dev->dev.parent, in dsa_master_setup()
/linux-6.1.9/drivers/gpu/drm/tegra/
Dgr3d.c436 link = device_link_add(dev, pd_dev, link_flags); in gr3d_init_power()
/linux-6.1.9/drivers/acpi/
Dacpi_lpss.c597 device_link_add(dev2, dev1, link->flags); in acpi_lpss_link_consumer()
613 device_link_add(dev1, dev2, link->flags); in acpi_lpss_link_supplier()
/linux-6.1.9/drivers/pci/controller/dwc/
Dpci-imx6.c503 link = device_link_add(dev, imx6_pcie->pd_pcie, in imx6_pcie_attach_pd()
516 link = device_link_add(dev, imx6_pcie->pd_pcie_phy, in imx6_pcie_attach_pd()
/linux-6.1.9/sound/soc/apple/
Dmca.c269 cl->pd_link = device_link_add(mca->dev, cl->pd_dev, in mca_fe_enable_clocks()
1040 mca->pd_link = device_link_add(&pdev->dev, mca->pd_dev, in apple_mca_probe()

123