Home
last modified time | relevance | path

Searched refs:of_xlate (Results 1 – 25 of 85) sorted by relevance

1234

/linux/include/linux/framer/
H A Dframer-provider.h94 struct framer * (*of_xlate)(struct device *dev, member
124 struct framer *(*of_xlate)(struct device *dev,
131 struct framer *(*of_xlate)(struct device *dev,
163 struct framer *(*of_xlate)(struct device *dev, in __framer_provider_of_register()
175 struct framer *(*of_xlate)(struct device *dev, in __devm_framer_provider_of_register()
/linux/Documentation/translations/zh_CN/driver-api/phy/
H A Dphy.rst36of_xlate 实现。如果 PHY provider 实现多个实例,则应提供其自己的
37 of_xlate 实现。of_xlate 仅用于 dt 启动情况。
49 可用于注册 phy_provider,它以 device 和 of_xlate 作为参数。对于 dt
/linux/include/linux/phy/
H A Dphy.h183 struct phy * (*of_xlate)(struct device *dev, member
284 struct phy * (*of_xlate)(struct device *dev,
288 struct phy * (*of_xlate)(struct device *dev,
532 struct phy * (*of_xlate)(struct device *dev, in __of_phy_provider_register()
540 struct phy * (*of_xlate)(struct device *dev, in __devm_of_phy_provider_register()
/linux/drivers/net/wan/framer/
H A Dframer-core.c404 framer = framer_provider->of_xlate(framer_provider->dev, args); in framer_of_get_from_provider()
776 struct framer *(*of_xlate)(struct device *dev, in __framer_provider_of_register()
787 framer_provider->of_xlate = of_xlate; in __framer_provider_of_register()
838 struct framer *(*of_xlate)(struct device *dev, in __devm_framer_provider_of_register()
847 framer_provider = __framer_provider_of_register(dev, owner, of_xlate); in __devm_framer_provider_of_register()
/linux/drivers/phy/
H A Dphy-core.c648 phy = phy_provider->of_xlate(phy_provider->dev, &args); in _of_phy_get()
1149 struct phy * (*of_xlate)(struct device *dev, in __of_phy_provider_register()
1186 phy_provider->of_xlate = of_xlate; in __of_phy_provider_register()
1212 struct phy * (*of_xlate)(struct device *dev, in __devm_of_phy_provider_register()
1222 of_xlate); in __devm_of_phy_provider_register()
/linux/drivers/gpio/
H A Dgpiolib-of.c127 chip->of_xlate && in of_gpiochip_match_node_and_xlate()
128 chip->of_xlate(chip, gpiospec, NULL) >= 0; in of_gpiochip_match_node_and_xlate()
146 ret = chip->of_xlate(chip, gpiospec, flags); in of_xlate_and_get_gpiod_flags()
1165 if (!chip->of_xlate) { in of_gpiochip_add()
1167 chip->of_xlate = of_gpio_simple_xlate; in of_gpiochip_add()
/linux/drivers/iommu/
H A Dof_iommu.c38 if (!ops->of_xlate || !try_module_get(ops->owner)) in of_iommu_xlate()
41 ret = ops->of_xlate(dev, iommu_spec); in of_iommu_xlate()
/linux/drivers/mailbox/
H A Dmailbox.c428 chan = mbox->of_xlate(mbox, &spec); in mbox_request_channel()
552 if (!mbox->of_xlate) in mbox_controller_register()
553 mbox->of_xlate = of_mbox_index_xlate; in mbox_controller_register()
/linux/include/linux/
H A Dmailbox_controller.h82 struct mbox_chan *(*of_xlate)(struct mbox_controller *mbox, member
H A Dreset-controller.h81 int (*of_xlate)(struct reset_controller_dev *rcdev, member
/linux/Documentation/driver-api/phy/
H A Dphy.rst33 the PHY, the framework provides its own implementation of of_xlate in
35 should provide its own implementation of of_xlate. of_xlate is used only for
48 register the phy_provider and it takes device and of_xlate as
/linux/drivers/reset/
H A Dreset-berlin.c88 priv->rcdev.of_xlate = berlin_reset_xlate; in berlin2_reset_probe()
H A Dreset-tps380x.c97 tps380x->rcdev.of_xlate = tps380x_reset_of_xlate; in tps380x_reset_probe()
H A Dreset-brcmstb-rescal.c82 data->rcdev.of_xlate = brcm_rescal_reset_xlate; in brcm_rescal_reset_probe()
H A Dreset-gpio.c96 priv->rc.of_xlate = reset_gpio_of_xlate; in reset_gpio_probe()
H A Dreset-k210.c114 ksr->rcdev.of_xlate = k210_rst_xlate; in k210_rst_probe()
H A Dreset-zynqmp.c120 priv->rcdev.of_xlate = zynqmp_reset_of_xlate; in zynqmp_reset_probe()
H A Dreset-eyeq.c452 priv->rcdev.of_xlate = eqr_of_xlate_onecell; in eqr_probe()
455 priv->rcdev.of_xlate = eqr_of_xlate_twocells; in eqr_probe()
/linux/drivers/clk/mmp/
H A Dreset.c97 unit->rcdev.of_xlate = mmp_of_reset_xlate; in mmp_clk_reset_register()
/linux/drivers/reset/hisilicon/
H A Dreset-hi3660.c100 rc->rst.of_xlate = hi3660_reset_xlate; in hi3660_reset_probe()
/linux/drivers/clk/hisilicon/
H A Dreset.c107 rstc->rcdev.of_xlate = hisi_reset_of_xlate; in hisi_reset_init()
/linux/drivers/clk/sunxi/
H A Dclk-a10-ve.c141 reset_data->rcdev.of_xlate = sunxi_ve_of_xlate; in sun4i_ve_clk_setup()
/linux/drivers/clk/ux500/
H A Dreset-prcc.c176 rcdev->of_xlate = u8500_prcc_reset_xlate; in u8500_prcc_reset_init()
/linux/drivers/clk/mediatek/
H A Dreset.c159 data->rcdev.of_xlate = reset_xlate; in mtk_register_reset_controller_with_dev()
/linux/drivers/pwm/
H A Dpwm-pxa.c185 chip->of_xlate = of_pwm_single_xlate; in pwm_probe()

1234