Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/sound/soc/
Dsoc-ac97.c269 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset()
277 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset()
285 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset()
295 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset()
/linux-6.1.9/sound/soc/mediatek/mt8183/
Dmt8183-mt6358-ts3a227-max98357.c313 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_tdm_startup()
332 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_tdm_shutdown()
353 return pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_wov_startup()
367 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_wov_shutdown()
798 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_dev_probe()
807 ret = pinctrl_select_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_dev_probe()
/linux-6.1.9/drivers/phy/motorola/
Dphy-cpcap-usb.c425 error = pinctrl_select_state(ddata->pins, ddata->pins_uart); in cpcap_usb_set_uart_mode()
470 error = pinctrl_select_state(ddata->pins, ddata->pins_utmi); in cpcap_usb_set_usb_mode()
542 return pinctrl_select_state(ddata->pins, ddata->pins_uart); in cpcap_usb_init_optional_pins()
/linux-6.1.9/drivers/phy/qualcomm/
Dphy-qcom-usb-hsic.c62 ret = pinctrl_select_state(uphy->pctl, pins_default); in qcom_usb_hsic_phy_power_on()
/linux-6.1.9/drivers/pinctrl/
Dcore.c1331 pinctrl_select_state(p, old_state); in pinctrl_commit_state()
1341 int pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *state) in pinctrl_select_state() function
1348 EXPORT_SYMBOL_GPL(pinctrl_select_state);
1547 ret = pinctrl_select_state(pins->p, pins->default_state); in pinctrl_init_done()
1562 ret = pinctrl_select_state(pins->p, state); in pinctrl_select_bound_state()
2079 if (pinctrl_select_state(pctldev->p, in pinctrl_claim_hogs()
/linux-6.1.9/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-6.1.9/drivers/usb/chipidea/
Dhost.c173 pinctrl_select_state(ci->platdata->pctl, in host_start()
228 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()
386 ret = pinctrl_select_state(data->pinctrl, pinctrl_hsic_idle); in ci_hdrc_imx_probe()
/linux-6.1.9/sound/soc/mediatek/mt8186/
Dmt8186-afe-gpio.c122 ret = pinctrl_select_state(aud_pinctrl, in mt8186_afe_gpio_select()
/linux-6.1.9/sound/soc/mediatek/mt8192/
Dmt8192-afe-gpio.c121 ret = pinctrl_select_state(aud_pinctrl, in mt8192_afe_gpio_select()
/linux-6.1.9/drivers/mmc/host/
Dsdhci-sprd.c479 ret = pinctrl_select_state(sprd_host->pinctrl, in sdhci_sprd_voltage_switch()
491 ret = pinctrl_select_state(sprd_host->pinctrl, in sdhci_sprd_voltage_switch()
Dsdhci-tegra.c486 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()
512 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
Dmtk-sd.c1486 pinctrl_select_state(host->pinctrl, host->pins_uhs); in msdc_ops_switch_volt()
1488 pinctrl_select_state(host->pinctrl, host->pins_default); in msdc_ops_switch_volt()
1558 pinctrl_select_state(host->pinctrl, host->pins_eint); in msdc_enable_sdio_irq()
1569 pinctrl_select_state(host->pinctrl, host->pins_uhs); in msdc_enable_sdio_irq()
2918 pinctrl_select_state(host->pinctrl, host->pins_eint); in msdc_runtime_suspend()
2940 pinctrl_select_state(host->pinctrl, host->pins_uhs); in msdc_runtime_resume()
Duniphier-sd.c522 pinctrl_select_state(priv->pinctrl, pinstate); in uniphier_sd_start_signal_voltage_switch()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dpi.c720 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_bridge_disable()
728 pinctrl_select_state(dpi->pinctrl, dpi->pins_dpi); in mtk_dpi_bridge_enable()
990 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_probe()
/linux-6.1.9/sound/soc/rockchip/
Drockchip_i2s.c68 ret = pinctrl_select_state(i2s->pinctrl, i2s->bclk_on); in i2s_pinctrl_select_bclk_on()
82 ret = pinctrl_select_state(i2s->pinctrl, i2s->bclk_off); in i2s_pinctrl_select_bclk_off()
/linux-6.1.9/drivers/ata/
Dsata_gemini.c306 ret = pinctrl_select_state(p, ide_state); in gemini_setup_ide_pins()
/linux-6.1.9/drivers/tty/serial/
Dst-asc.c562 pinctrl_select_state(ascport->pinctrl, in asc_set_termios()
568 pinctrl_select_state(ascport->pinctrl, in asc_set_termios()
/linux-6.1.9/drivers/bluetooth/
Dbtmtkuart.c893 pinctrl_select_state(bdev->pinctrl, bdev->pins_boot); in btmtkuart_probe()
918 pinctrl_select_state(bdev->pinctrl, bdev->pins_runtime); in btmtkuart_probe()
/linux-6.1.9/drivers/i2c/
Di2c-core-base.c208 pinctrl_select_state(bri->pinctrl, bri->pins_gpio); in i2c_generic_scl_recovery()
265 pinctrl_select_state(bri->pinctrl, bri->pins_default); in i2c_generic_scl_recovery()
345 pinctrl_select_state(bri->pinctrl, bri->pins_gpio); in i2c_gpio_init_generic_recovery()
389 pinctrl_select_state(bri->pinctrl, bri->pins_default); in i2c_gpio_init_generic_recovery()
/linux-6.1.9/Documentation/driver-api/
Dpin-control.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);

12