Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/base/
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()
/kernel/linux/linux-5.10/include/linux/pinctrl/
Dconsumer.h36 extern struct pinctrl_state * __must_check pinctrl_lookup_state(
104 static inline struct pinctrl_state * __must_check pinctrl_lookup_state( in pinctrl_lookup_state() function
159 s = pinctrl_lookup_state(p, name); in pinctrl_get_select()
191 s = pinctrl_lookup_state(p, name); in devm_pinctrl_get_select()
/kernel/linux/linux-5.10/drivers/mtd/maps/
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()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-ac97.c316 state = pinctrl_lookup_state(p, "ac97-reset"); in snd_soc_ac97_parse_pinctl()
323 state = pinctrl_lookup_state(p, "ac97-warm-reset"); in snd_soc_ac97_parse_pinctl()
330 state = pinctrl_lookup_state(p, "ac97-running"); in snd_soc_ac97_parse_pinctl()
/kernel/linux/linux-5.10/drivers/phy/motorola/
Dphy-cpcap-usb.c531 ddata->pins_ulpi = pinctrl_lookup_state(ddata->pins, "ulpi"); in cpcap_usb_init_optional_pins()
537 ddata->pins_utmi = pinctrl_lookup_state(ddata->pins, "utmi"); in cpcap_usb_init_optional_pins()
543 ddata->pins_uart = pinctrl_lookup_state(ddata->pins, "uart"); in cpcap_usb_init_optional_pins()
/kernel/linux/linux-5.10/drivers/phy/qualcomm/
Dphy-qcom-usb-hsic.c56 pins_default = pinctrl_lookup_state(uphy->pctl, PINCTRL_STATE_DEFAULT); in qcom_usb_hsic_phy_power_on()
/kernel/linux/linux-5.10/drivers/i2c/muxes/
Di2c-mux-pinctrl.c121 mux->states[i] = pinctrl_lookup_state(mux->pinctrl, name); in i2c_mux_pinctrl_probe()
Di2c-demux-pinctrl.c83 struct pinctrl_state *s = pinctrl_lookup_state(p, priv->bus_name); in i2c_demux_activate_master()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dci_hdrc_imx.c390 pinctrl_hsic_idle = pinctrl_lookup_state(data->pinctrl, "idle"); in ci_hdrc_imx_probe()
404 data->pinctrl_hsic_active = pinctrl_lookup_state(data->pinctrl, in ci_hdrc_imx_probe()
Dcore.c789 p = pinctrl_lookup_state(platdata->pctl, "default"); in ci_get_platdata()
793 p = pinctrl_lookup_state(platdata->pctl, "host"); in ci_get_platdata()
797 p = pinctrl_lookup_state(platdata->pctl, "device"); in ci_get_platdata()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-sprd.c595 pinctrl_lookup_state(sprd_host->pinctrl, "state_uhs"); in sdhci_sprd_probe()
602 pinctrl_lookup_state(sprd_host->pinctrl, "default"); in sdhci_sprd_probe()
Dsdhci-tegra.c1125 tegra_host->pinctrl_state_1v8_drv = pinctrl_lookup_state( in tegra_sdhci_init_pinctrl_info()
1132 tegra_host->pinctrl_state_3v3_drv = pinctrl_lookup_state( in tegra_sdhci_init_pinctrl_info()
1140 pinctrl_lookup_state(tegra_host->pinctrl_sdmmc, "sdmmc-3v3"); in tegra_sdhci_init_pinctrl_info()
1148 pinctrl_lookup_state(tegra_host->pinctrl_sdmmc, "sdmmc-1v8"); in tegra_sdhci_init_pinctrl_info()
Dsdhci-omap.c970 pinctrl_state = pinctrl_lookup_state(omap_host->pinctrl, str); in sdhci_omap_iodelay_pinctrl_state()
974 pinctrl_state = pinctrl_lookup_state(omap_host->pinctrl, mode); in sdhci_omap_iodelay_pinctrl_state()
1012 state = pinctrl_lookup_state(omap_host->pinctrl, "default"); in sdhci_omap_config_iodelay_pinctrl_state()
Drenesas_sdhi_core.c970 priv->pins_default = pinctrl_lookup_state(priv->pinctrl, in renesas_sdhi_probe()
972 priv->pins_uhs = pinctrl_lookup_state(priv->pinctrl, in renesas_sdhi_probe()
Duniphier-sd.c538 priv->pinstate_uhs = pinctrl_lookup_state(priv->pinctrl, "uhs"); in uniphier_sd_uhs_init()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dcore.c1205 struct pinctrl_state *pinctrl_lookup_state(struct pinctrl *p, in pinctrl_lookup_state() function
1223 EXPORT_SYMBOL_GPL(pinctrl_lookup_state);
2051 pinctrl_lookup_state(pctldev->p, PINCTRL_STATE_DEFAULT); in pinctrl_claim_hogs()
2063 pinctrl_lookup_state(pctldev->p, in pinctrl_claim_hogs()
/kernel/linux/linux-5.10/drivers/ata/
Dsata_gemini.c302 ide_state = pinctrl_lookup_state(p, "ide"); in gemini_setup_ide_pins()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dst-asc.c759 pinctrl_lookup_state(ascport->pinctrl, "default"); in asc_init_port()
769 pinctrl_lookup_state(ascport->pinctrl, "no-hw-flowctrl"); in asc_init_port()
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_dpi.c691 dpi->pins_gpio = pinctrl_lookup_state(dpi->pinctrl, "sleep"); in mtk_dpi_probe()
699 dpi->pins_dpi = pinctrl_lookup_state(dpi->pinctrl, "default"); in mtk_dpi_probe()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Darche-apb-ctrl.c374 apb->pin_default = pinctrl_lookup_state(apb->pinctrl, "default"); in apb_ctrl_get_devtree_data()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtmtkuart.c937 bdev->pins_boot = pinctrl_lookup_state(bdev->pinctrl, in btmtkuart_parse_dt()
946 bdev->pins_runtime = pinctrl_lookup_state(bdev->pinctrl, in btmtkuart_parse_dt()
/kernel/linux/linux-5.10/Documentation/driver-api/
Dpinctl.rst926 pins_default = pinctrl_lookup_state(uap->pinctrl, PINCTRL_STATE_DEFAULT);
927 pins_sleep = pinctrl_lookup_state(uap->pinctrl, PINCTRL_STATE_SLEEP);
1173 s = pinctrl_lookup_state(p, "8bit");
1235 foo->s = pinctrl_lookup_state(foo->p, PINCTRL_STATE_DEFAULT);
1264 - pinctrl_lookup_state() is called in process context to obtain a handle to a
1402 s1 = pinctrl_lookup_state(foo->p, "pos-A");
1406 s2 = pinctrl_lookup_state(foo->p, "pos-B");
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-base.c277 bri->pins_default = pinctrl_lookup_state(p, in i2c_gpio_init_pinctrl_recovery()
285 bri->pins_gpio = pinctrl_lookup_state(p, "gpio"); in i2c_gpio_init_pinctrl_recovery()
287 bri->pins_gpio = pinctrl_lookup_state(p, "recovery"); in i2c_gpio_init_pinctrl_recovery()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-imx.c1106 i2c_imx->pinctrl_pins_default = pinctrl_lookup_state(i2c_imx->pinctrl, in i2c_imx_init_recovery_info()
1108 i2c_imx->pinctrl_pins_gpio = pinctrl_lookup_state(i2c_imx->pinctrl, in i2c_imx_init_recovery_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_lvds.c472 pinctrl_lookup_state(lvds->pins->p, "lcdc"); in rk3288_lvds_probe()

12