Home
last modified time | relevance | path

Searched refs:pinctrl_lookup_state (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/base/
H A Dpinctrl.c39 dev->pins->default_state = pinctrl_lookup_state(dev->pins->p, in pinctrl_bind_pins()
47 dev->pins->init_state = pinctrl_lookup_state(dev->pins->p, in pinctrl_bind_pins()
70 dev->pins->sleep_state = pinctrl_lookup_state(dev->pins->p, in pinctrl_bind_pins()
76 dev->pins->idle_state = pinctrl_lookup_state(dev->pins->p, in pinctrl_bind_pins()
/linux/include/linux/pinctrl/
H A Dconsumer.h41 struct pinctrl_state * __must_check pinctrl_lookup_state(struct pinctrl *p,
115 static inline struct pinctrl_state * __must_check pinctrl_lookup_state(struct pinctrl *p, in pinctrl_lookup_state() function
169 s = pinctrl_lookup_state(p, name); in pinctrl_get_select()
200 s = pinctrl_lookup_state(p, name); in devm_pinctrl_get_select()
/linux/drivers/mtd/maps/
H A Dphysmap-gemini.c179 gf->enabled_state = pinctrl_lookup_state(gf->p, "enabled"); in of_flash_probe_gemini()
183 gf->disabled_state = pinctrl_lookup_state(gf->p, "disabled"); in of_flash_probe_gemini()
/linux/sound/soc/
H A Dsoc-ac97.c311 state = pinctrl_lookup_state(p, "ac97-reset"); in snd_soc_ac97_parse_pinctl()
318 state = pinctrl_lookup_state(p, "ac97-warm-reset"); in snd_soc_ac97_parse_pinctl()
325 state = pinctrl_lookup_state(p, "ac97-running"); in snd_soc_ac97_parse_pinctl()
/linux/drivers/mmc/host/
H A Dsdhci-of-ma35d1.c233 priv->pins_default = pinctrl_lookup_state(priv->pinctrl, "default"); in ma35_probe()
234 priv->pins_uhs = pinctrl_lookup_state(priv->pinctrl, "state_uhs"); in ma35_probe()
H A Dsdhci-pxav2.c323 pxav2_host->pins_cmd_gpio = pinctrl_lookup_state(pxav2_host->pinctrl, in sdhci_pxav2_probe()
327 pxav2_host->pins_default = pinctrl_lookup_state(pxav2_host->pinctrl, in sdhci_pxav2_probe()
H A Dsdhci-tegra.c1139 tegra_host->pinctrl_state_1v8_drv = pinctrl_lookup_state( in tegra_sdhci_init_pinctrl_info()
1146 tegra_host->pinctrl_state_3v3_drv = pinctrl_lookup_state( in tegra_sdhci_init_pinctrl_info()
1154 pinctrl_lookup_state(tegra_host->pinctrl_sdmmc, "sdmmc-3v3"); in tegra_sdhci_init_pinctrl_info()
1162 pinctrl_lookup_state(tegra_host->pinctrl_sdmmc, "sdmmc-1v8"); in tegra_sdhci_init_pinctrl_info()
H A Drenesas_sdhi_core.c963 priv->pins_default = pinctrl_lookup_state(priv->pinctrl, in renesas_sdhi_probe()
965 priv->pins_uhs = pinctrl_lookup_state(priv->pinctrl, in renesas_sdhi_probe()
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-usb-hsic.c56 pins_default = pinctrl_lookup_state(uphy->pctl, PINCTRL_STATE_DEFAULT); in qcom_usb_hsic_phy_power_on()
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-gpio.c83 aud_gpios[i].gpioctrl = pinctrl_lookup_state(aud_pinctrl, in mt8186_afe_gpio_init()
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-gpio.c143 aud_gpios[i].gpioctrl = pinctrl_lookup_state(aud_pinctrl, in mt8192_afe_gpio_init()
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-mt6357.c253 priv->pin_states[i] = pinctrl_lookup_state(priv->pinctrl, in mt8365_mt6357_gpio_probe()
/linux/sound/soc/rockchip/
H A Drockchip_i2s.c796 i2s->bclk_on = pinctrl_lookup_state(i2s->pinctrl, "bclk_on"); in rockchip_i2s_probe()
798 i2s->bclk_off = pinctrl_lookup_state(i2s->pinctrl, "bclk_off"); in rockchip_i2s_probe()
/linux/drivers/tty/serial/
H A Dst-asc.c729 pinctrl_lookup_state(ascport->pinctrl, "default"); in asc_init_port()
739 pinctrl_lookup_state(ascport->pinctrl, "no-hw-flowctrl"); in asc_init_port()
/linux/drivers/ata/
H A Dsata_gemini.c304 ide_state = pinctrl_lookup_state(p, "ide"); in gemini_setup_ide_pins()
/linux/drivers/pinctrl/
H A Dcore.c1230 struct pinctrl_state *pinctrl_lookup_state(struct pinctrl *p, in pinctrl_lookup_state() function
1248 EXPORT_SYMBOL_GPL(pinctrl_lookup_state);
2121 pinctrl_lookup_state(pctldev->p, PINCTRL_STATE_DEFAULT); in pinctrl_claim_hogs()
2133 pinctrl_lookup_state(pctldev->p, in pinctrl_claim_hogs()
/linux/sound/soc/fsl/
H A Dfsl_sai.c68 state = pinctrl_lookup_state(sai->pinctrl, "dsd512"); in fsl_sai_get_pins_state()
72 state = pinctrl_lookup_state(sai->pinctrl, "dsd"); in fsl_sai_get_pins_state()
76 state = pinctrl_lookup_state(sai->pinctrl, "pcm_b2m"); in fsl_sai_get_pins_state()
81 state = pinctrl_lookup_state(sai->pinctrl, "default"); in fsl_sai_get_pins_state()
/linux/drivers/spi/
H A Dspi-meson-spicc.c184 spicc->pins_idle_high = pinctrl_lookup_state(spicc->pinctrl, in meson_spicc_oen_enable()
190 spicc->pins_idle_low = pinctrl_lookup_state(spicc->pinctrl, in meson_spicc_oen_enable()
/linux/Documentation/driver-api/
H A Dpin-control.rst882 pins_default = pinctrl_lookup_state(uap->pinctrl, PINCTRL_STATE_DEFAULT);
883 pins_sleep = pinctrl_lookup_state(uap->pinctrl, PINCTRL_STATE_SLEEP);
1146 s = pinctrl_lookup_state(p, "8bit");
1212 foo->s = pinctrl_lookup_state(foo->p, PINCTRL_STATE_DEFAULT);
1241 - ``pinctrl_lookup_state()`` is called in process context to obtain a handle to a
1331 ``pinctrl_lookup_state()`` and ``pinctrl_select_state()`` on it immediately after
1387 s1 = pinctrl_lookup_state(p, "pos-A");
1391 s2 = pinctrl_lookup_state(p, "pos-B");
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c1037 dpi->pins_gpio = pinctrl_lookup_state(dpi->pinctrl, "sleep"); in mtk_dpi_probe()
1045 dpi->pins_dpi = pinctrl_lookup_state(dpi->pinctrl, "default"); in mtk_dpi_probe()
/linux/drivers/i2c/
H A Di2c-core-base.c323 bri->pins_default = pinctrl_lookup_state(p, in i2c_gpio_init_pinctrl_recovery()
331 bri->pins_gpio = pinctrl_lookup_state(p, "gpio"); in i2c_gpio_init_pinctrl_recovery()
333 bri->pins_gpio = pinctrl_lookup_state(p, "recovery"); in i2c_gpio_init_pinctrl_recovery()
/linux/drivers/clk/tegra/
H A Dclk-dfll.c1880 td->pwm_enable_state = pinctrl_lookup_state(td->pwm_pin, in dfll_fetch_pwm_params()
1887 td->pwm_disable_state = pinctrl_lookup_state(td->pwm_pin, in dfll_fetch_pwm_params()
/linux/drivers/i2c/busses/
H A Di2c-pxa.c1356 i2c->pinctrl_default = pinctrl_lookup_state(i2c->pinctrl, in i2c_pxa_init_recovery()
1358 i2c->pinctrl_recovery = pinctrl_lookup_state(i2c->pinctrl, "recovery"); in i2c_pxa_init_recovery()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_lvds.c475 pinctrl_lookup_state(lvds->pins->p, "lcdc"); in rk3288_lvds_probe()
/linux/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.c1123 state = pinctrl_lookup_state(pinctl, "shutdown"); in sprd_pinctrl_shutdown()

12