Home
last modified time | relevance | path

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

12

/linux/include/linux/pinctrl/
H A Dconsumer.h43 int pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *s);
121 static inline int pinctrl_select_state(struct pinctrl *p, in pinctrl_select_state() function
175 ret = pinctrl_select_state(p, s); in pinctrl_get_select()
206 ret = pinctrl_select_state(p, s); in devm_pinctrl_get_select()
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-mt6357.c74 ret = pinctrl_select_state(priv->pinctrl, in mt8365_mt6357_int_adda_startup()
85 ret = pinctrl_select_state(priv->pinctrl, in mt8365_mt6357_int_adda_startup()
105 ret = pinctrl_select_state(priv->pinctrl, in mt8365_mt6357_int_adda_shutdown()
116 ret = pinctrl_select_state(priv->pinctrl, in mt8365_mt6357_int_adda_shutdown()
259 ret = pinctrl_select_state(priv->pinctrl, in mt8365_mt6357_gpio_probe()
/linux/drivers/mtd/maps/
H A 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/drivers/base/
H A 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/sound/soc/
H A Dsoc-ac97.c268 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset()
276 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset()
284 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset()
294 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset()
/linux/drivers/mmc/host/
H A Dsdhci-of-ma35d1.c118 pinctrl_select_state(priv->pinctrl, priv->pins_uhs); in ma35_start_signal_voltage_switch()
122 pinctrl_select_state(priv->pinctrl, priv->pins_default); in ma35_start_signal_voltage_switch()
235 pinctrl_select_state(priv->pinctrl, priv->pins_default); in ma35_probe()
H A Dsdhci-pxav2.c113 pinctrl_select_state(pxav2_host->pinctrl, pxav2_host->pins_default); in pxav1_irq()
143 pinctrl_select_state(pxav2_host->pinctrl, pxav2_host->pins_cmd_gpio); in pxav1_request_done()
H A Dsdhci-tegra.c487 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
507 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
513 ret = pinctrl_select_state(tegra_host->pinctrl_sdmmc, in tegra_sdhci_set_padctrl()
H A Dmtk-sd.c1619 pinctrl_select_state(host->pinctrl, host->pins_uhs); in msdc_ops_switch_volt()
1621 pinctrl_select_state(host->pinctrl, host->pins_default); in msdc_ops_switch_volt()
1691 pinctrl_select_state(host->pinctrl, host->pins_eint); in msdc_enable_sdio_irq()
1702 pinctrl_select_state(host->pinctrl, host->pins_uhs); in msdc_enable_sdio_irq()
3194 pinctrl_select_state(host->pinctrl, host->pins_eint); in msdc_runtime_suspend()
3216 pinctrl_select_state(host->pinctrl, host->pins_uhs); in msdc_runtime_resume()
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-usb-hsic.c62 ret = pinctrl_select_state(uphy->pctl, pins_default); in qcom_usb_hsic_phy_power_on()
/linux/drivers/pinctrl/
H A Dcore.c1356 pinctrl_select_state(p, old_state); in pinctrl_commit_state()
1366 int pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *state) in pinctrl_select_state() function
1373 EXPORT_SYMBOL_GPL(pinctrl_select_state);
1572 ret = pinctrl_select_state(pins->p, pins->default_state); in pinctrl_init_done()
1587 ret = pinctrl_select_state(pins->p, state); in pinctrl_select_bound_state()
2126 if (pinctrl_select_state(pctldev->p, in pinctrl_claim_hogs()
/linux/drivers/usb/chipidea/
H A Dhost.c173 pinctrl_select_state(ci->platdata->pctl, in host_start()
228 pinctrl_select_state(ci->platdata->pctl, in host_stop()
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-gpio.c121 ret = pinctrl_select_state(aud_pinctrl, in mt8186_afe_gpio_select()
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-gpio.c120 ret = pinctrl_select_state(aud_pinctrl, in mt8192_afe_gpio_select()
/linux/drivers/i2c/busses/
H A Di2c-pxa.c1306 WARN_ON(pinctrl_select_state(i2c->pinctrl, i2c->pinctrl_recovery)); in i2c_pxa_prepare_recovery()
1325 WARN_ON(pinctrl_select_state(i2c->pinctrl, i2c->pinctrl_default)); in i2c_pxa_unprepare_recovery()
1414 pinctrl_select_state(i2c->pinctrl, i2c->pinctrl_recovery); in i2c_pxa_init_recovery()
1416 return pinctrl_select_state(i2c->pinctrl, i2c->pinctrl_default); in i2c_pxa_init_recovery()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c742 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_bridge_disable()
750 pinctrl_select_state(dpi->pinctrl, dpi->pins_dpi); in mtk_dpi_bridge_enable()
1043 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio); in mtk_dpi_probe()
/linux/sound/soc/rockchip/
H A Drockchip_i2s.c67 ret = pinctrl_select_state(i2s->pinctrl, i2s->bclk_on); in i2s_pinctrl_select_bclk_on()
81 ret = pinctrl_select_state(i2s->pinctrl, i2s->bclk_off); in i2s_pinctrl_select_bclk_off()
/linux/drivers/tty/serial/
H A Dst-asc.c590 pinctrl_select_state(ascport->pinctrl, in asc_set_termios()
602 pinctrl_select_state(ascport->pinctrl, in asc_set_termios()
/linux/Documentation/driver-api/
H A Dpin-control.rst886 retval = pinctrl_select_state(pinctrl, pins_default);
889 retval = pinctrl_select_state(pinctrl, pins_sleep);
1147 ret = pinctrl_select_state(p, s);
1218 ret = pinctrl_select_state(foo->p, foo->s);
1244 - ``pinctrl_select_state()`` programs pin controller hardware according to the
1249 can call ``pinctrl_select_state()`` from non-blocking contexts.
1265 the associated pins, whereas ``pinctrl_select_state()`` pass on to the pin controller
1331 ``pinctrl_lookup_state()`` and ``pinctrl_select_state()`` on it immediately after
1399 ret = pinctrl_select_state(p, s1);
1406 ret = pinctrl_select_state(p, s2);
/linux/drivers/ata/
H A Dsata_gemini.c308 ret = pinctrl_select_state(p, ide_state); in gemini_setup_ide_pins()
/linux/drivers/spi/
H A Dspi-meson-spicc.c482 pinctrl_select_state(spicc->pinctrl, spicc->pins_idle_high); in meson_spicc_prepare_message()
485 pinctrl_select_state(spicc->pinctrl, spicc->pins_idle_low); in meson_spicc_prepare_message()
/linux/drivers/i2c/
H A Di2c-core-base.c231 pinctrl_select_state(bri->pinctrl, bri->pins_gpio); in i2c_generic_scl_recovery()
288 pinctrl_select_state(bri->pinctrl, bri->pins_default); in i2c_generic_scl_recovery()
370 pinctrl_select_state(bri->pinctrl, bri->pins_gpio); in i2c_gpio_init_generic_recovery()
414 pinctrl_select_state(bri->pinctrl, bri->pins_default); in i2c_gpio_init_generic_recovery()
/linux/drivers/clk/tegra/
H A Dclk-dfll.c577 ret = pinctrl_select_state(td->pwm_pin, td->pwm_enable_state); in dfll_pwm_set_output_enabled()
594 ret = pinctrl_select_state(td->pwm_pin, td->pwm_disable_state); in dfll_pwm_set_output_enabled()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_lvds.c251 pinctrl_select_state(lvds->pins->p, in rk3288_lvds_grf_config()
/linux/sound/soc/fsl/
H A Dfsl_sai.c580 ret = pinctrl_select_state(sai->pinctrl, sai->pins_state); in fsl_sai_hw_params()
961 ret = pinctrl_select_state(sai->pinctrl, sai->pins_state); in fsl_sai_dai_resume()

12