Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/linux/pinctrl/
Dconsumer.h39 extern int pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *s);
110 static inline int pinctrl_select_state(struct pinctrl *p, in pinctrl_select_state() function
159 ret = pinctrl_select_state(p, s); in pinctrl_get_select()
191 ret = pinctrl_select_state(p, s); in devm_pinctrl_get_select()
/Linux-v5.4/drivers/mtd/maps/
Dphysmap-gemini.c70 ret = pinctrl_select_state(gf->p, gf->enabled_state); in gemini_flash_enable_pins()
81 ret = pinctrl_select_state(gf->p, gf->disabled_state); in gemini_flash_disable_pins()
192 ret = pinctrl_select_state(gf->p, gf->disabled_state); in of_flash_probe_gemini()
/Linux-v5.4/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()
/Linux-v5.4/sound/soc/
Dsoc-ac97.c272 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset()
280 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset()
288 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset()
298 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset()
/Linux-v5.4/sound/soc/mediatek/mt8183/
Dmt8183-mt6358-ts3a227-max98357.c201 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_tdm_startup()
220 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_tdm_shutdown()
485 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_dev_probe()
494 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_dev_probe()
/Linux-v5.4/drivers/phy/motorola/
Dphy-cpcap-usb.c384 error = pinctrl_select_state(ddata->pins, ddata->pins_uart); in cpcap_usb_set_uart_mode()
423 error = pinctrl_select_state(ddata->pins, ddata->pins_utmi); in cpcap_usb_set_usb_mode()
496 return pinctrl_select_state(ddata->pins, ddata->pins_uart); in cpcap_usb_init_optional_pins()
/Linux-v5.4/drivers/usb/chipidea/
Dhost.c158 pinctrl_select_state(ci->platdata->pctl, in host_start()
212 pinctrl_select_state(ci->platdata->pctl, in host_stop()
Dci_hdrc_imx.c277 ret = pinctrl_select_state(data->pinctrl, in ci_hdrc_imx_notify_event()
347 ret = pinctrl_select_state(data->pinctrl, pinctrl_hsic_idle); in ci_hdrc_imx_probe()
/Linux-v5.4/drivers/phy/qualcomm/
Dphy-qcom-usb-hsic.c60 ret = pinctrl_select_state(uphy->pctl, pins_default); in qcom_usb_hsic_phy_power_on()
/Linux-v5.4/drivers/pinctrl/
Dcore.c1306 pinctrl_select_state(p, old_state); in pinctrl_commit_state()
1316 int pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *state) in pinctrl_select_state() function
1323 EXPORT_SYMBOL_GPL(pinctrl_select_state);
1531 ret = pinctrl_select_state(pins->p, pins->default_state); in pinctrl_init_done()
1553 ret = pinctrl_select_state(pins->p, state); in pinctrl_pm_select_state()
2035 if (pinctrl_select_state(pctldev->p, in pinctrl_claim_hogs()
/Linux-v5.4/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()
/Linux-v5.4/drivers/mmc/host/
Dsdhci-sprd.c437 ret = pinctrl_select_state(sprd_host->pinctrl, in sdhci_sprd_voltage_switch()
449 ret = pinctrl_select_state(sprd_host->pinctrl, in sdhci_sprd_voltage_switch()
Dsdhci-tegra.c475 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
495 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
501 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
Dmeson-gx-mmc.c313 pinctrl_select_state(host->pinctrl, host->pins_clk_gate); in meson_mmc_clk_gate()
330 pinctrl_select_state(host->pinctrl, host->pins_default); in meson_mmc_clk_ungate()
Duniphier-sd.c524 pinctrl_select_state(priv->pinctrl, pinstate); in uniphier_sd_start_signal_voltage_switch()
Drenesas_sdhi_core.c248 return pinctrl_select_state(priv->pinctrl, pin_state); in renesas_sdhi_start_signal_voltage_switch()
/Linux-v5.4/drivers/ata/
Dsata_gemini.c306 ret = pinctrl_select_state(p, ide_state); in gemini_setup_ide_pins()
/Linux-v5.4/drivers/tty/serial/
Dst-asc.c564 pinctrl_select_state(ascport->pinctrl, in asc_set_termios()
570 pinctrl_select_state(ascport->pinctrl, in asc_set_termios()
/Linux-v5.4/drivers/bluetooth/
Dbtmtkuart.c1026 pinctrl_select_state(bdev->pinctrl, bdev->pins_boot); in btmtkuart_probe()
1053 pinctrl_select_state(bdev->pinctrl, bdev->pins_runtime); in btmtkuart_probe()
/Linux-v5.4/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);
/Linux-v5.4/drivers/i2c/busses/
Di2c-imx.c986 pinctrl_select_state(i2c_imx->pinctrl, i2c_imx->pinctrl_pins_gpio); in i2c_imx_prepare_recovery()
995 pinctrl_select_state(i2c_imx->pinctrl, i2c_imx->pinctrl_pins_default); in i2c_imx_unprepare_recovery()
/Linux-v5.4/drivers/gpu/drm/rockchip/
Drockchip_lvds.c223 pinctrl_select_state(lvds->pins->p, in rockchip_lvds_grf_config()
/Linux-v5.4/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()
/Linux-v5.4/drivers/usb/phy/
Dphy-ab8500-usb.c297 else if (pinctrl_select_state(ab->pinctrl, ab->pins_sleep)) in ab8500_usb_phy_disable()

12