Home
last modified time | relevance | path

Searched refs:pinctrl_select_state (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/pinctrl/
Dconsumer.h39 extern int pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *s);
111 static inline int pinctrl_select_state(struct pinctrl *p, in pinctrl_select_state() function
165 ret = pinctrl_select_state(p, s); in pinctrl_get_select()
197 ret = pinctrl_select_state(p, s); in devm_pinctrl_get_select()
/kernel/linux/linux-5.10/drivers/mtd/maps/
Dphysmap-gemini.c65 ret = pinctrl_select_state(gf->p, gf->enabled_state); in gemini_flash_enable_pins()
76 ret = pinctrl_select_state(gf->p, gf->disabled_state); in gemini_flash_disable_pins()
187 ret = pinctrl_select_state(gf->p, gf->disabled_state); in of_flash_probe_gemini()
/kernel/linux/linux-5.10/drivers/base/
Dpinctrl.c53 ret = pinctrl_select_state(dev->pins->p, in pinctrl_bind_pins()
56 ret = pinctrl_select_state(dev->pins->p, dev->pins->init_state); in pinctrl_bind_pins()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-ac97.c271 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset()
279 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset()
287 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset()
297 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset()
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/
Dmt8183-mt6358-ts3a227-max98357.c274 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_tdm_startup()
293 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_tdm_shutdown()
314 return pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_wov_startup()
328 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_wov_shutdown()
706 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_dev_probe()
715 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_dev_probe()
/kernel/linux/linux-5.10/drivers/phy/motorola/
Dphy-cpcap-usb.c433 error = pinctrl_select_state(ddata->pins, ddata->pins_uart); in cpcap_usb_set_uart_mode()
478 error = pinctrl_select_state(ddata->pins, ddata->pins_utmi); in cpcap_usb_set_usb_mode()
550 return pinctrl_select_state(ddata->pins, ddata->pins_uart); in cpcap_usb_init_optional_pins()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dhost.c160 pinctrl_select_state(ci->platdata->pctl, in host_start()
214 pinctrl_select_state(ci->platdata->pctl, in host_stop()
Dci_hdrc_imx.c289 ret = pinctrl_select_state(data->pinctrl, in ci_hdrc_imx_notify_event()
398 ret = pinctrl_select_state(data->pinctrl, pinctrl_hsic_idle); in ci_hdrc_imx_probe()
/kernel/linux/linux-5.10/drivers/phy/qualcomm/
Dphy-qcom-usb-hsic.c62 ret = pinctrl_select_state(uphy->pctl, pins_default); in qcom_usb_hsic_phy_power_on()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dcore.c1308 pinctrl_select_state(p, old_state); in pinctrl_commit_state()
1318 int pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *state) in pinctrl_select_state() function
1325 EXPORT_SYMBOL_GPL(pinctrl_select_state);
1524 ret = pinctrl_select_state(pins->p, pins->default_state); in pinctrl_init_done()
1539 ret = pinctrl_select_state(pins->p, state); in pinctrl_select_bound_state()
2056 if (pinctrl_select_state(pctldev->p, in pinctrl_claim_hogs()
/kernel/linux/linux-5.10/drivers/i2c/muxes/
Di2c-mux-pinctrl.c26 return pinctrl_select_state(mux->pinctrl, mux->states[chan]); in i2c_mux_pinctrl_select()
Di2c-demux-pinctrl.c89 ret = pinctrl_select_state(p, s); in i2c_demux_activate_master()
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_dpi.c524 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_bridge_disable()
532 pinctrl_select_state(dpi->pinctrl, dpi->pins_dpi); in mtk_dpi_bridge_enable()
697 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_probe()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-sprd.c466 ret = pinctrl_select_state(sprd_host->pinctrl, in sdhci_sprd_voltage_switch()
478 ret = pinctrl_select_state(sprd_host->pinctrl, in sdhci_sprd_voltage_switch()
Dsdhci-tegra.c480 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
500 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
506 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
Duniphier-sd.c524 pinctrl_select_state(priv->pinctrl, pinstate); in uniphier_sd_start_signal_voltage_switch()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-pxa.c1309 WARN_ON(pinctrl_select_state(i2c->pinctrl, i2c->pinctrl_recovery)); in i2c_pxa_prepare_recovery()
1328 WARN_ON(pinctrl_select_state(i2c->pinctrl, i2c->pinctrl_default)); in i2c_pxa_unprepare_recovery()
1417 pinctrl_select_state(i2c->pinctrl, i2c->pinctrl_recovery); in i2c_pxa_init_recovery()
1419 return pinctrl_select_state(i2c->pinctrl, i2c->pinctrl_default); in i2c_pxa_init_recovery()
Di2c-imx.c1076 pinctrl_select_state(i2c_imx->pinctrl, i2c_imx->pinctrl_pins_gpio); in i2c_imx_prepare_recovery()
1085 pinctrl_select_state(i2c_imx->pinctrl, i2c_imx->pinctrl_pins_default); in i2c_imx_unprepare_recovery()
/kernel/linux/linux-5.10/drivers/ata/
Dsata_gemini.c306 ret = pinctrl_select_state(p, ide_state); in gemini_setup_ide_pins()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dst-asc.c563 pinctrl_select_state(ascport->pinctrl, in asc_set_termios()
569 pinctrl_select_state(ascport->pinctrl, in asc_set_termios()
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-base.c187 pinctrl_select_state(bri->pinctrl, bri->pins_gpio); in i2c_generic_scl_recovery()
244 pinctrl_select_state(bri->pinctrl, bri->pins_default); in i2c_generic_scl_recovery()
324 pinctrl_select_state(bri->pinctrl, bri->pins_gpio); in i2c_gpio_init_generic_recovery()
368 pinctrl_select_state(bri->pinctrl, bri->pins_default); in i2c_gpio_init_generic_recovery()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtmtkuart.c1028 pinctrl_select_state(bdev->pinctrl, bdev->pins_boot); in btmtkuart_probe()
1053 pinctrl_select_state(bdev->pinctrl, bdev->pins_runtime); in btmtkuart_probe()
/kernel/linux/linux-5.10/Documentation/driver-api/
Dpinctl.rst930 retval = pinctrl_select_state(pinctrl, pins_default);
932 retval = pinctrl_select_state(pinctrl, pins_sleep);
1174 ret = pinctrl_select_state(p, s);
1241 ret = pinctrl_select_state(foo->s);
1267 - pinctrl_select_state() programs pin controller hardware according to the
1272 can call pinctrl_select_state() from non-blocking contexts.
1414 ret = pinctrl_select_state(s1);
1421 ret = pinctrl_select_state(s2);
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_lvds.c246 pinctrl_select_state(lvds->pins->p, in rk3288_lvds_grf_config()
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-dfll.c576 ret = pinctrl_select_state(td->pwm_pin, td->pwm_enable_state); in dfll_pwm_set_output_enabled()
593 ret = pinctrl_select_state(td->pwm_pin, td->pwm_disable_state); in dfll_pwm_set_output_enabled()

12