/linux/include/linux/pinctrl/ |
H A D | consumer.h | 43 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 D | mt8365-mt6357.c | 74 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 D | physmap-gemini.c | 65 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 D | pinctrl.c | 53 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 D | soc-ac97.c | 268 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 D | sdhci-of-ma35d1.c | 118 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 D | sdhci-pxav2.c | 113 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 D | sdhci-tegra.c | 487 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 D | mtk-sd.c | 1619 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 D | phy-qcom-usb-hsic.c | 62 ret = pinctrl_select_state(uphy->pctl, pins_default); in qcom_usb_hsic_phy_power_on()
|
/linux/drivers/pinctrl/ |
H A D | core.c | 1356 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 D | host.c | 173 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 D | mt8186-afe-gpio.c | 121 ret = pinctrl_select_state(aud_pinctrl, in mt8186_afe_gpio_select()
|
/linux/sound/soc/mediatek/mt8192/ |
H A D | mt8192-afe-gpio.c | 120 ret = pinctrl_select_state(aud_pinctrl, in mt8192_afe_gpio_select()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-pxa.c | 1306 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 D | mtk_dpi.c | 742 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 D | rockchip_i2s.c | 67 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 D | st-asc.c | 590 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 D | pin-control.rst | 886 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 D | sata_gemini.c | 308 ret = pinctrl_select_state(p, ide_state); in gemini_setup_ide_pins()
|
/linux/drivers/spi/ |
H A D | spi-meson-spicc.c | 482 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 D | i2c-core-base.c | 231 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 D | clk-dfll.c | 577 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 D | rockchip_lvds.c | 251 pinctrl_select_state(lvds->pins->p, in rk3288_lvds_grf_config()
|
/linux/sound/soc/fsl/ |
H A D | fsl_sai.c | 580 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()
|