Home
last modified time | relevance | path

Searched refs:pins_gpio (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c82 struct pinctrl_state *pins_gpio; member
727 if (dpi->pinctrl && dpi->pins_gpio) in mtk_dpi_bridge_disable()
728 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_bridge_disable()
1011 dpi->pins_gpio = pinctrl_lookup_state(dpi->pinctrl, "sleep"); in mtk_dpi_probe()
1012 if (IS_ERR(dpi->pins_gpio)) { in mtk_dpi_probe()
1013 dpi->pins_gpio = NULL; in mtk_dpi_probe()
1016 if (dpi->pins_gpio) in mtk_dpi_probe()
1017 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_probe()
/openbmc/linux/drivers/i2c/
H A Di2c-core-base.c231 pinctrl_select_state(bri->pinctrl, bri->pins_gpio); in i2c_generic_scl_recovery()
318 bri->pins_gpio = NULL; in i2c_gpio_init_pinctrl_recovery()
330 if (!bri->pins_gpio) { in i2c_gpio_init_pinctrl_recovery()
331 bri->pins_gpio = pinctrl_lookup_state(p, "gpio"); in i2c_gpio_init_pinctrl_recovery()
332 if (IS_ERR(bri->pins_gpio)) in i2c_gpio_init_pinctrl_recovery()
333 bri->pins_gpio = pinctrl_lookup_state(p, "recovery"); in i2c_gpio_init_pinctrl_recovery()
335 if (IS_ERR(bri->pins_gpio)) { in i2c_gpio_init_pinctrl_recovery()
337 bri->pins_gpio = NULL; in i2c_gpio_init_pinctrl_recovery()
342 if (bri->pins_default && bri->pins_gpio) { in i2c_gpio_init_pinctrl_recovery()
347 bri->pins_gpio = NULL; in i2c_gpio_init_pinctrl_recovery()
[all …]
/openbmc/linux/include/linux/
H A Di2c.h677 struct pinctrl_state *pins_gpio; member