Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_dpi.c76 struct pinctrl_state *pins_gpio; member
523 if (dpi->pinctrl && dpi->pins_gpio) in mtk_dpi_bridge_disable()
524 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_bridge_disable()
691 dpi->pins_gpio = pinctrl_lookup_state(dpi->pinctrl, "sleep"); in mtk_dpi_probe()
692 if (IS_ERR(dpi->pins_gpio)) { in mtk_dpi_probe()
693 dpi->pins_gpio = NULL; in mtk_dpi_probe()
696 if (dpi->pins_gpio) in mtk_dpi_probe()
697 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_probe()
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-base.c187 pinctrl_select_state(bri->pinctrl, bri->pins_gpio); in i2c_generic_scl_recovery()
272 bri->pins_gpio = NULL; in i2c_gpio_init_pinctrl_recovery()
284 if (!bri->pins_gpio) { in i2c_gpio_init_pinctrl_recovery()
285 bri->pins_gpio = pinctrl_lookup_state(p, "gpio"); in i2c_gpio_init_pinctrl_recovery()
286 if (IS_ERR(bri->pins_gpio)) in i2c_gpio_init_pinctrl_recovery()
287 bri->pins_gpio = pinctrl_lookup_state(p, "recovery"); in i2c_gpio_init_pinctrl_recovery()
289 if (IS_ERR(bri->pins_gpio)) { in i2c_gpio_init_pinctrl_recovery()
291 bri->pins_gpio = NULL; in i2c_gpio_init_pinctrl_recovery()
296 if (bri->pins_default && bri->pins_gpio) { in i2c_gpio_init_pinctrl_recovery()
301 bri->pins_gpio = NULL; in i2c_gpio_init_pinctrl_recovery()
[all …]
/kernel/linux/linux-5.10/include/linux/
Di2c.h635 struct pinctrl_state *pins_gpio; member