Home
last modified time | relevance | path

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

1234

/openbmc/linux/Documentation/driver-api/
H A 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().
/openbmc/linux/drivers/irqchip/
H A 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()
/openbmc/linux/drivers/bus/fsl-mc/
H A Dmc-io.c217 dpmcp_dev->consumer_link = device_link_add(&mc_dev->dev, in fsl_mc_portal_allocate()
/openbmc/linux/drivers/phy/
H A Dphy-core.c767 link = device_link_add(dev, &phy->dev, DL_FLAG_STATELESS); in phy_get()
859 link = device_link_add(dev, &phy->dev, DL_FLAG_STATELESS); in devm_of_phy_get()
936 link = device_link_add(dev, &phy->dev, DL_FLAG_STATELESS); in devm_of_phy_get_by_index()
/openbmc/linux/drivers/thunderbolt/
H A Dacpi.c80 link = device_link_add(&pdev->dev, &nhi->pdev->dev, in tb_acpi_add_link()
/openbmc/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c159 link = device_link_add(dev, &domain->dev, DL_FLAG_SYNC_STATE_ONLY); in zynqmp_gpd_attach_dev()
/openbmc/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence.c220 link[i] = device_link_add(dev, &phy[i]->dev, DL_FLAG_STATELESS); in cdns_pcie_init_phy()
/openbmc/linux/drivers/input/mouse/
H A Dpsmouse-smbus.c279 if (!device_link_add(&smbdev->client->dev, in psmouse_smbus_init()
/openbmc/linux/drivers/iio/
H A Dindustrialio-backend.c260 link = device_link_add(dev, back->dev, DL_FLAG_AUTOREMOVE_CONSUMER); in __devm_iio_backend_get()
/openbmc/linux/drivers/soc/qcom/
H A Dice.c315 ice->link = device_link_add(dev, &pdev->dev, DL_FLAG_AUTOREMOVE_SUPPLIER); in of_qcom_ice_get()
/openbmc/linux/drivers/gpu/ipu-v3/
H A Dipu-pre.c124 device_link_add(dev, pre->dev, in ipu_pre_lookup_by_phandle()
H A Dipu-prg.c95 device_link_add(dev, prg->dev, in ipu_prg_lookup_by_phandle()
/openbmc/linux/drivers/platform/surface/
H A 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()
/openbmc/linux/drivers/soc/apple/
H A Dsart.c200 device_link_add(dev, &sart_pdev->dev, in devm_apple_sart_get()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-amd-mp2-plat.c290 device_link_add(&i2c_dev->pdev->dev, &mp2_dev->pci_dev->dev, in i2c_amd_probe()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c374 device_link_add(dev, d, DL_FLAG_STATELESS); in rockchip_drm_match_add()
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.c182 pfdev->pm_domain_links[i] = device_link_add(pfdev->dev, in panfrost_pm_domain_init()
/openbmc/linux/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_tee.c163 pxp->dev_link = device_link_add(i915_kdev, tee_kdev, DL_FLAG_STATELESS); in i915_pxp_tee_component_bind()
/openbmc/linux/drivers/media/pci/intel/ivsc/
H A Dmei_ace.c414 ace->csi_link = device_link_add(csi_dev, dev, DL_FLAG_PM_RUNTIME | in mei_ace_setup_dev_link()
/openbmc/linux/drivers/clk/imx/
H A Dclk-imx8-acm.c287 dev_pm->pd_dev_link[i] = device_link_add(dev, in clk_imx_acm_attach_pm_domains()
/openbmc/linux/drivers/net/pcs/
H A Dpcs-rzn1-miic.c330 device_link_add(dev, miic->dev, DL_FLAG_AUTOREMOVE_CONSUMER); in miic_create()
/openbmc/linux/drivers/pmdomain/imx/
H A Dgpc.c203 device_link_add(dev, dev->parent, DL_FLAG_AUTOREMOVE_CONSUMER); in imx_pgc_power_domain_probe()
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dcore.c146 link = device_link_add(client, ctrldev, flags); in ssam_client_link()
/openbmc/linux/net/dsa/
H A Dmaster.c370 consumer_link = device_link_add(ds->dev, dev->dev.parent, in dsa_master_setup()
/openbmc/linux/sound/soc/apple/
H A Dmca.c277 cl->pd_link = device_link_add(mca->dev, cl->pd_dev, in mca_fe_enable_clocks()
1055 mca->pd_link = device_link_add(&pdev->dev, mca->pd_dev, in apple_mca_probe()

1234