/linux/drivers/base/ |
H A D | pinctrl.c | 39 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 D | consumer.h | 41 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 D | physmap-gemini.c | 179 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 D | soc-ac97.c | 311 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 D | sdhci-of-ma35d1.c | 233 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 D | sdhci-pxav2.c | 323 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 D | sdhci-tegra.c | 1139 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 D | renesas_sdhi_core.c | 963 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 D | phy-qcom-usb-hsic.c | 56 pins_default = pinctrl_lookup_state(uphy->pctl, PINCTRL_STATE_DEFAULT); in qcom_usb_hsic_phy_power_on()
|
/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-afe-gpio.c | 83 aud_gpios[i].gpioctrl = pinctrl_lookup_state(aud_pinctrl, in mt8186_afe_gpio_init()
|
/linux/sound/soc/mediatek/mt8192/ |
H A D | mt8192-afe-gpio.c | 143 aud_gpios[i].gpioctrl = pinctrl_lookup_state(aud_pinctrl, in mt8192_afe_gpio_init()
|
/linux/sound/soc/mediatek/mt8365/ |
H A D | mt8365-mt6357.c | 253 priv->pin_states[i] = pinctrl_lookup_state(priv->pinctrl, in mt8365_mt6357_gpio_probe()
|
/linux/sound/soc/rockchip/ |
H A D | rockchip_i2s.c | 796 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 D | st-asc.c | 729 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 D | sata_gemini.c | 304 ide_state = pinctrl_lookup_state(p, "ide"); in gemini_setup_ide_pins()
|
/linux/drivers/pinctrl/ |
H A D | core.c | 1230 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 D | fsl_sai.c | 68 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 D | spi-meson-spicc.c | 184 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 D | pin-control.rst | 882 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 D | mtk_dpi.c | 1037 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 D | i2c-core-base.c | 323 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 D | clk-dfll.c | 1880 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 D | i2c-pxa.c | 1356 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 D | rockchip_lvds.c | 475 pinctrl_lookup_state(lvds->pins->p, "lcdc"); in rk3288_lvds_probe()
|
/linux/drivers/pinctrl/sprd/ |
H A D | pinctrl-sprd.c | 1123 state = pinctrl_lookup_state(pinctl, "shutdown"); in sprd_pinctrl_shutdown()
|