Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/phy/
Dphy.h82 struct phy * (*of_xlate)(struct device *dev, member
148 struct module *owner, struct phy * (*of_xlate)(struct device *dev,
151 struct module *owner, struct phy * (*of_xlate)(struct device *dev,
306 struct device *dev, struct module *owner, struct phy * (*of_xlate)( in __of_phy_provider_register()
313 *dev, struct module *owner, struct phy * (*of_xlate)(struct device *dev, in __devm_of_phy_provider_register()
/linux-4.1.27/drivers/gpio/
Dgpiolib-of.c45 (!gc->of_xlate)) in of_gpiochip_find_and_xlate()
48 ret = gc->of_xlate(gc, &gg_data->gpiospec, gg_data->flags); in of_gpiochip_find_and_xlate()
431 if (!chip->of_xlate) { in of_gpiochip_add()
433 chip->of_xlate = of_gpio_simple_xlate; in of_gpiochip_add()
Dgpio-lpc32xx.c552 lpc32xx_gpiochip[i].chip.of_xlate = lpc32xx_of_xlate; in lpc32xx_gpio_probe()
Dgpio-davinci.c256 chips[i].chip.of_xlate = davinci_gpio_of_xlate; in davinci_gpio_probe()
Dgpio-pxa.c331 c->of_xlate = pxa_gpio_of_xlate; in pxa_init_gpio_chip()
/linux-4.1.27/drivers/reset/
Dcore.c64 if (!rcdev->of_xlate) { in reset_controller_register()
66 rcdev->of_xlate = of_reset_simple_xlate; in reset_controller_register()
185 rstc_id = rcdev->of_xlate(rcdev, &args); in of_reset_control_get()
Dreset-berlin.c100 priv->rcdev.of_xlate = berlin_reset_xlate; in __berlin_reset_init()
/linux-4.1.27/drivers/phy/
Dphy-core.c375 phy = phy_provider->of_xlate(phy_provider->dev, &args); in _of_phy_get()
776 struct module *owner, struct phy * (*of_xlate)(struct device *dev, in __of_phy_provider_register()
787 phy_provider->of_xlate = of_xlate; in __of_phy_provider_register()
811 struct module *owner, struct phy * (*of_xlate)(struct device *dev, in __devm_of_phy_provider_register()
820 phy_provider = __of_phy_provider_register(dev, owner, of_xlate); in __devm_of_phy_provider_register()
/linux-4.1.27/drivers/iommu/
Dof_iommu.c160 if (!ops || !ops->of_xlate || ops->of_xlate(dev, &iommu_spec)) in of_iommu_configure()
/linux-4.1.27/include/linux/
Dreset-controller.h46 int (*of_xlate)(struct reset_controller_dev *rcdev, member
Dmailbox_controller.h81 struct mbox_chan *(*of_xlate)(struct mbox_controller *mbox, member
Dpwm.h175 struct pwm_device * (*of_xlate)(struct pwm_chip *pc, member
Diommu.h172 int (*of_xlate)(struct device *dev, struct of_phandle_args *args); member
/linux-4.1.27/drivers/mailbox/
Dmailbox.c324 chan = mbox->of_xlate(mbox, &spec); in mbox_request_channel()
434 if (!mbox->of_xlate) in mbox_controller_register()
435 mbox->of_xlate = of_mbox_index_xlate; in mbox_controller_register()
Domap-mailbox.c818 mdev->controller.of_xlate = omap_mbox_of_xlate; in omap_mbox_probe()
/linux-4.1.27/Documentation/
Dphy.txt28 the PHY, the framework provides its own implementation of of_xlate in
30 should provide its own implementation of of_xlate. of_xlate is used only for
40 register the phy_provider and it takes device and of_xlate as
/linux-4.1.27/drivers/clk/mmp/
Dreset.c96 unit->rcdev.of_xlate = mmp_of_reset_xlate; in mmp_clk_reset_register()
/linux-4.1.27/include/linux/gpio/
Ddriver.h133 int (*of_xlate)(struct gpio_chip *gc, member
/linux-4.1.27/drivers/pwm/
Dcore.c185 if (!chip->of_xlate) { in of_pwmchip_add()
186 chip->of_xlate = of_pwm_simple_xlate; in of_pwmchip_add()
546 pwm = pc->of_xlate(pc, &args); in of_pwm_get()
Dpwm-clps711x.c140 priv->chip.of_xlate = clps711x_pwm_xlate; in clps711x_pwm_probe()
Dpwm-pxa.c195 pwm->chip.of_xlate = pxa_pwm_of_xlate; in pwm_probe()
Dpwm-atmel-hlcdc.c262 chip->chip.of_xlate = of_pwm_xlate_with_flags; in atmel_hlcdc_pwm_probe()
Dpwm-rockchip.c269 pc->chip.of_xlate = of_pwm_xlate_with_flags; in rockchip_pwm_probe()
Dpwm-vt8500.c219 chip->chip.of_xlate = of_pwm_xlate_with_flags; in vt8500_pwm_probe()
Dpwm-bcm-kona.c247 kp->chip.of_xlate = of_pwm_xlate_with_flags; in kona_pwmc_probe()
Dpwm-tiecap.c229 pc->chip.of_xlate = of_pwm_xlate_with_flags; in ecap_pwm_probe()
Dpwm-atmel.c352 atmel_pwm->chip.of_xlate = of_pwm_xlate_with_flags; in atmel_pwm_probe()
Dpwm-sun4i.c313 pwm->chip.of_xlate = of_pwm_xlate_with_flags; in sun4i_pwm_probe()
Dpwm-renesas-tpu.c421 tpu->chip.of_xlate = of_pwm_xlate_with_flags; in tpu_probe()
Dpwm-atmel-tcb.c397 tcbpwm->chip.of_xlate = of_pwm_xlate_with_flags; in atmel_tcb_pwm_probe()
Dpwm-fsl-ftm.c467 fpc->chip.of_xlate = of_pwm_xlate_with_flags; in fsl_pwm_probe()
Dpwm-tiehrpwm.c460 pc->chip.of_xlate = of_pwm_xlate_with_flags; in ehrpwm_pwm_probe()
Dpwm-samsung.c516 chip->chip.of_xlate = of_pwm_xlate_with_flags; in pwm_samsung_probe()
/linux-4.1.27/drivers/iio/
Dinkern.c150 if (indio_dev->info->of_xlate) in __of_iio_channel_get()
151 index = indio_dev->info->of_xlate(indio_dev, &iiospec); in __of_iio_channel_get()
/linux-4.1.27/include/linux/iio/
Diio.h410 int (*of_xlate)(struct iio_dev *indio_dev, member
/linux-4.1.27/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c600 .of_xlate = pmic_gpio_of_xlate,
Dpinctrl-spmi-mpp.c703 .of_xlate = pmic_mpp_of_xlate,
/linux-4.1.27/drivers/iio/adc/
Dqcom-spmi-vadc.c596 .of_xlate = vadc_of_xlate,
/linux-4.1.27/drivers/pinctrl/sirf/
Dpinctrl-sirf.c811 sgpio->chip.gc.of_xlate = sirfsoc_gpio_of_xlate; in sirfsoc_gpio_probe()
/linux-4.1.27/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c933 pctl->chip->of_xlate = sunxi_pinctrl_gpio_of_xlate, in sunxi_pinctrl_init()
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-st.c1502 .of_xlate = st_gpio_xlate,