Home
last modified time | relevance | path

Searched refs:devm_clk_get_optional (Results 1 – 25 of 146) sorted by relevance

123456

/openbmc/linux/sound/soc/fsl/
H A Dfsl_rpmsg.c216 rpmsg->ipg = devm_clk_get_optional(&pdev->dev, "ipg"); in fsl_rpmsg_probe()
220 rpmsg->mclk = devm_clk_get_optional(&pdev->dev, "mclk"); in fsl_rpmsg_probe()
224 rpmsg->dma = devm_clk_get_optional(&pdev->dev, "dma"); in fsl_rpmsg_probe()
228 rpmsg->pll8k = devm_clk_get_optional(&pdev->dev, "pll8k"); in fsl_rpmsg_probe()
232 rpmsg->pll11k = devm_clk_get_optional(&pdev->dev, "pll11k"); in fsl_rpmsg_probe()
/openbmc/linux/drivers/crypto/qce/
H A Dcore.c212 qce->core = devm_clk_get_optional(qce->dev, "core"); in qce_crypto_probe()
216 qce->iface = devm_clk_get_optional(qce->dev, "iface"); in qce_crypto_probe()
220 qce->bus = devm_clk_get_optional(qce->dev, "bus"); in qce_crypto_probe()
/openbmc/linux/drivers/clk/
H A Dclk-devres.c82 struct clk *devm_clk_get_optional(struct device *dev, const char *id) in devm_clk_get_optional() function
86 EXPORT_SYMBOL(devm_clk_get_optional);
/openbmc/linux/drivers/usb/chipidea/
H A Dci_hdrc_npcm.c50 ci->core_clk = devm_clk_get_optional(dev, NULL); in npcm_udc_probe()
H A Dci_hdrc_usb2.c74 priv->clk = devm_clk_get_optional(dev, NULL); in ci_hdrc_usb2_probe()
/openbmc/linux/include/linux/
H A Dclk.h564 struct clk *devm_clk_get_optional(struct device *dev, const char *id);
934 static inline struct clk *devm_clk_get_optional(struct device *dev, in devm_clk_get_optional() function
/openbmc/linux/drivers/i2c/busses/
H A Di2c-designware-platdrv.c331 dev->pclk = devm_clk_get_optional(&pdev->dev, "pclk"); in dw_i2c_plat_probe()
337 dev->clk = devm_clk_get_optional(&pdev->dev, NULL); in dw_i2c_plat_probe()
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-bcm63xx-usbh.c406 usbh->usbh_clk = devm_clk_get_optional(dev, "usbh"); in bcm63xx_usbh_phy_probe()
410 usbh->usb_ref_clk = devm_clk_get_optional(dev, "usb_ref"); in bcm63xx_usbh_phy_probe()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-mediatek.c947 port->ahb_ck = devm_clk_get_optional(dev, name); in mtk_pcie_parse_port()
952 port->axi_ck = devm_clk_get_optional(dev, name); in mtk_pcie_parse_port()
957 port->aux_ck = devm_clk_get_optional(dev, name); in mtk_pcie_parse_port()
962 port->obff_ck = devm_clk_get_optional(dev, name); in mtk_pcie_parse_port()
967 port->pipe_ck = devm_clk_get_optional(dev, name); in mtk_pcie_parse_port()
/openbmc/linux/drivers/pwm/
H A Dpwm-sun4i.c414 sun4ichip->clk = devm_clk_get_optional(&pdev->dev, "mod"); in sun4i_pwm_probe()
426 sun4ichip->bus_clk = devm_clk_get_optional(&pdev->dev, "bus"); in sun4i_pwm_probe()
/openbmc/linux/drivers/crypto/
H A Dqcom-rng.c176 rng->clk = devm_clk_get_optional(&pdev->dev, "core"); in qcom_rng_probe()
/openbmc/linux/drivers/regulator/
H A Draa215300.c56 clk = devm_clk_get_optional(&client->dev, name); in raa215300_clk_present()
/openbmc/linux/drivers/dma/dw/
H A Dplatform.c69 chip->clk = devm_clk_get_optional(chip->dev, "hclk"); in dw_probe()
/openbmc/linux/drivers/char/hw_random/
H A Dbcm2835-rng.c162 priv->clk = devm_clk_get_optional(dev, NULL); in bcm2835_rng_probe()
/openbmc/linux/drivers/usb/host/
H A Dxhci-plat.c198 xhci->reg_clk = devm_clk_get_optional(&pdev->dev, "reg"); in xhci_plat_probe()
204 xhci->clk = devm_clk_get_optional(&pdev->dev, NULL); in xhci_plat_probe()
H A Dehci-brcm.c157 priv->clk = devm_clk_get_optional(dev, NULL); in ehci_brcm_probe()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_dw.c616 data->clk = devm_clk_get_optional(dev, "baudclk"); in dw8250_probe()
618 data->clk = devm_clk_get_optional(dev, NULL); in dw8250_probe()
640 data->pclk = devm_clk_get_optional(dev, "apb_pclk"); in dw8250_probe()
H A D8250_bcm2835aux.c121 data->clk = devm_clk_get_optional(&pdev->dev, NULL); in bcm2835aux_serial_probe()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Ddw_hdmi-rockchip.c220 hdmi->ref_clk = devm_clk_get_optional(hdmi->dev, "ref"); in rockchip_hdmi_parse_dt()
222 hdmi->ref_clk = devm_clk_get_optional(hdmi->dev, "vpll"); in rockchip_hdmi_parse_dt()
/openbmc/linux/drivers/input/keyboard/
H A Dsnvs_pwrkey.c144 clk = devm_clk_get_optional(&pdev->dev, NULL); in imx_snvs_pwrkey_probe()
/openbmc/linux/drivers/watchdog/
H A Dnpcm_wdt.c206 wdt->clk = devm_clk_get_optional(&pdev->dev, NULL); in npcm_wdt_probe()
/openbmc/linux/drivers/usb/dwc3/
H A Dcore.c1845 dwc->bus_clk = devm_clk_get_optional(dev, "bus_early"); in dwc3_get_clocks()
1852 dwc->bus_clk = devm_clk_get_optional(dev, "bus_clk"); in dwc3_get_clocks()
1859 dwc->ref_clk = devm_clk_get_optional(dev, "ref"); in dwc3_get_clocks()
1866 dwc->ref_clk = devm_clk_get_optional(dev, "ref_clk"); in dwc3_get_clocks()
1873 dwc->susp_clk = devm_clk_get_optional(dev, "suspend"); in dwc3_get_clocks()
1880 dwc->susp_clk = devm_clk_get_optional(dev, "suspend_clk"); in dwc3_get_clocks()
/openbmc/linux/drivers/usb/dwc2/
H A Dplatform.c272 hsotg->clk = devm_clk_get_optional(hsotg->dev, "otg"); in dwc2_lowlevel_hw_init()
276 hsotg->utmi_clk = devm_clk_get_optional(hsotg->dev, "utmi"); in dwc2_lowlevel_hw_init()
/openbmc/linux/drivers/net/mdio/
H A Dmdio-ipq4019.c251 priv->mdio_clk = devm_clk_get_optional(&pdev->dev, "gcc_mdio_ahb_clk"); in ipq4019_mdio_probe()
/openbmc/linux/drivers/phy/amlogic/
H A Dphy-meson-gxl-usb2.c260 priv->clk = devm_clk_get_optional(dev, "phy"); in phy_meson_gxl_usb2_probe()

123456