Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/sound/soc/
Dsoc-ac97.c314 state = pinctrl_lookup_state(p, "ac97-reset"); in snd_soc_ac97_parse_pinctl()
321 state = pinctrl_lookup_state(p, "ac97-warm-reset"); in snd_soc_ac97_parse_pinctl()
328 state = pinctrl_lookup_state(p, "ac97-running"); in snd_soc_ac97_parse_pinctl()
/linux-6.1.9/drivers/phy/motorola/
Dphy-cpcap-usb.c523 ddata->pins_ulpi = pinctrl_lookup_state(ddata->pins, "ulpi"); in cpcap_usb_init_optional_pins()
529 ddata->pins_utmi = pinctrl_lookup_state(ddata->pins, "utmi"); in cpcap_usb_init_optional_pins()
535 ddata->pins_uart = pinctrl_lookup_state(ddata->pins, "uart"); in cpcap_usb_init_optional_pins()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/sound/soc/mediatek/mt8186/
Dmt8186-afe-gpio.c84 aud_gpios[i].gpioctrl = pinctrl_lookup_state(aud_pinctrl, in mt8186_afe_gpio_init()
/linux-6.1.9/sound/soc/mediatek/mt8192/
Dmt8192-afe-gpio.c144 aud_gpios[i].gpioctrl = pinctrl_lookup_state(aud_pinctrl, in mt8192_afe_gpio_init()
/linux-6.1.9/drivers/usb/chipidea/
Dci_hdrc_imx.c378 pinctrl_hsic_idle = pinctrl_lookup_state(data->pinctrl, "idle"); in ci_hdrc_imx_probe()
392 data->pinctrl_hsic_active = pinctrl_lookup_state(data->pinctrl, in ci_hdrc_imx_probe()
Dcore.c796 p = pinctrl_lookup_state(platdata->pctl, "default"); in ci_get_platdata()
800 p = pinctrl_lookup_state(platdata->pctl, "host"); in ci_get_platdata()
804 p = pinctrl_lookup_state(platdata->pctl, "device"); in ci_get_platdata()
/linux-6.1.9/drivers/mmc/host/
Dsdhci-sprd.c608 pinctrl_lookup_state(sprd_host->pinctrl, "state_uhs"); in sdhci_sprd_probe()
615 pinctrl_lookup_state(sprd_host->pinctrl, "default"); in sdhci_sprd_probe()
Dsdhci-tegra.c1138 tegra_host->pinctrl_state_1v8_drv = pinctrl_lookup_state( in tegra_sdhci_init_pinctrl_info()
1145 tegra_host->pinctrl_state_3v3_drv = pinctrl_lookup_state( in tegra_sdhci_init_pinctrl_info()
1153 pinctrl_lookup_state(tegra_host->pinctrl_sdmmc, "sdmmc-3v3"); in tegra_sdhci_init_pinctrl_info()
1161 pinctrl_lookup_state(tegra_host->pinctrl_sdmmc, "sdmmc-1v8"); in tegra_sdhci_init_pinctrl_info()
Dsdhci-omap.c1097 pinctrl_state = pinctrl_lookup_state(omap_host->pinctrl, str); in sdhci_omap_iodelay_pinctrl_state()
1101 pinctrl_state = pinctrl_lookup_state(omap_host->pinctrl, mode); in sdhci_omap_iodelay_pinctrl_state()
1139 state = pinctrl_lookup_state(omap_host->pinctrl, "default"); in sdhci_omap_config_iodelay_pinctrl_state()
Drenesas_sdhi_core.c960 priv->pins_default = pinctrl_lookup_state(priv->pinctrl, in renesas_sdhi_probe()
962 priv->pins_uhs = pinctrl_lookup_state(priv->pinctrl, in renesas_sdhi_probe()
/linux-6.1.9/sound/soc/rockchip/
Drockchip_i2s.c798 i2s->bclk_on = pinctrl_lookup_state(i2s->pinctrl, "bclk_on"); in rockchip_i2s_probe()
800 i2s->bclk_off = pinctrl_lookup_state(i2s->pinctrl, "bclk_off"); in rockchip_i2s_probe()
/linux-6.1.9/sound/soc/fsl/
Dfsl_sai.c69 state = pinctrl_lookup_state(sai->pinctrl, "dsd512"); in fsl_sai_get_pins_state()
73 state = pinctrl_lookup_state(sai->pinctrl, "dsd"); in fsl_sai_get_pins_state()
77 state = pinctrl_lookup_state(sai->pinctrl, "pcm_b2m"); in fsl_sai_get_pins_state()
82 state = pinctrl_lookup_state(sai->pinctrl, "default"); in fsl_sai_get_pins_state()
/linux-6.1.9/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);
2074 pinctrl_lookup_state(pctldev->p, PINCTRL_STATE_DEFAULT); in pinctrl_claim_hogs()
2086 pinctrl_lookup_state(pctldev->p, in pinctrl_claim_hogs()
/linux-6.1.9/drivers/ata/
Dsata_gemini.c302 ide_state = pinctrl_lookup_state(p, "ide"); in gemini_setup_ide_pins()
/linux-6.1.9/drivers/tty/serial/
Dst-asc.c758 pinctrl_lookup_state(ascport->pinctrl, "default"); in asc_init_port()
768 pinctrl_lookup_state(ascport->pinctrl, "no-hw-flowctrl"); in asc_init_port()
/linux-6.1.9/drivers/staging/greybus/
Darche-apb-ctrl.c374 apb->pin_default = pinctrl_lookup_state(apb->pinctrl, "default"); in apb_ctrl_get_devtree_data()
/linux-6.1.9/drivers/bluetooth/
Dbtmtkuart.c801 bdev->pins_boot = pinctrl_lookup_state(bdev->pinctrl, in btmtkuart_parse_dt()
810 bdev->pins_runtime = pinctrl_lookup_state(bdev->pinctrl, in btmtkuart_parse_dt()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dpi.c984 dpi->pins_gpio = pinctrl_lookup_state(dpi->pinctrl, "sleep"); in mtk_dpi_probe()
992 dpi->pins_dpi = pinctrl_lookup_state(dpi->pinctrl, "default"); in mtk_dpi_probe()
/linux-6.1.9/Documentation/driver-api/
Dpin-control.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");

12