Home
last modified time | relevance | path

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

12

/openbmc/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()
/openbmc/linux/include/linux/pinctrl/
H A Dconsumer.h37 extern struct pinctrl_state * __must_check pinctrl_lookup_state(struct pinctrl *p,
104 static inline struct pinctrl_state * __must_check pinctrl_lookup_state(struct pinctrl *p, in pinctrl_lookup_state() function
158 s = pinctrl_lookup_state(p, name); in pinctrl_get_select()
189 s = pinctrl_lookup_state(p, name); in devm_pinctrl_get_select()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/mmc/host/
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 Dsdhci-omap.c1096 pinctrl_state = pinctrl_lookup_state(omap_host->pinctrl, str); in sdhci_omap_iodelay_pinctrl_state()
1100 pinctrl_state = pinctrl_lookup_state(omap_host->pinctrl, mode); in sdhci_omap_iodelay_pinctrl_state()
1138 state = pinctrl_lookup_state(omap_host->pinctrl, "default"); in sdhci_omap_config_iodelay_pinctrl_state()
H A Dsdhci-sprd.c781 pinctrl_lookup_state(sprd_host->pinctrl, "state_uhs"); in sdhci_sprd_probe()
788 pinctrl_lookup_state(sprd_host->pinctrl, "default"); in sdhci_sprd_probe()
/openbmc/linux/drivers/phy/motorola/
H A 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()
/openbmc/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()
/openbmc/linux/drivers/i2c/muxes/
H A Di2c-mux-pinctrl.c121 mux->states[i] = pinctrl_lookup_state(mux->pinctrl, name); in i2c_mux_pinctrl_probe()
H A Di2c-demux-pinctrl.c83 struct pinctrl_state *s = pinctrl_lookup_state(p, priv->bus_name); in i2c_demux_activate_master()
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-gpio.c84 aud_gpios[i].gpioctrl = pinctrl_lookup_state(aud_pinctrl, in mt8186_afe_gpio_init()
/openbmc/linux/drivers/usb/chipidea/
H A Dci_hdrc_imx.c391 pinctrl_hsic_idle = pinctrl_lookup_state(data->pinctrl, "idle"); in ci_hdrc_imx_probe()
405 data->pinctrl_hsic_active = pinctrl_lookup_state(data->pinctrl, in ci_hdrc_imx_probe()
H A Dcore.c810 p = pinctrl_lookup_state(platdata->pctl, "default"); in ci_get_platdata()
814 p = pinctrl_lookup_state(platdata->pctl, "host"); in ci_get_platdata()
818 p = pinctrl_lookup_state(platdata->pctl, "device"); in ci_get_platdata()
/openbmc/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-gpio.c144 aud_gpios[i].gpioctrl = pinctrl_lookup_state(aud_pinctrl, in mt8192_afe_gpio_init()
/openbmc/linux/drivers/pinctrl/
H A Dcore.c1222 struct pinctrl_state *pinctrl_lookup_state(struct pinctrl *p, in pinctrl_lookup_state() function
1240 EXPORT_SYMBOL_GPL(pinctrl_lookup_state);
2103 pinctrl_lookup_state(pctldev->p, PINCTRL_STATE_DEFAULT); in pinctrl_claim_hogs()
2115 pinctrl_lookup_state(pctldev->p, in pinctrl_claim_hogs()
/openbmc/linux/sound/soc/fsl/
H A 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()
/openbmc/linux/sound/soc/rockchip/
H A Drockchip_i2s.c799 i2s->bclk_on = pinctrl_lookup_state(i2s->pinctrl, "bclk_on"); in rockchip_i2s_probe()
801 i2s->bclk_off = pinctrl_lookup_state(i2s->pinctrl, "bclk_off"); in rockchip_i2s_probe()
/openbmc/linux/drivers/tty/serial/
H A Dst-asc.c721 pinctrl_lookup_state(ascport->pinctrl, "default"); in asc_init_port()
731 pinctrl_lookup_state(ascport->pinctrl, "no-hw-flowctrl"); in asc_init_port()
/openbmc/linux/drivers/ata/
H A Dsata_gemini.c304 ide_state = pinctrl_lookup_state(p, "ide"); in gemini_setup_ide_pins()
/openbmc/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()
/openbmc/linux/drivers/bluetooth/
H A Dbtmtkuart.c795 bdev->pins_boot = pinctrl_lookup_state(bdev->pinctrl, in btmtkuart_parse_dt()
804 bdev->pins_runtime = pinctrl_lookup_state(bdev->pinctrl, in btmtkuart_parse_dt()
/openbmc/linux/drivers/staging/greybus/
H A Darche-apb-ctrl.c374 apb->pin_default = pinctrl_lookup_state(apb->pinctrl, "default"); in apb_ctrl_get_devtree_data()
/openbmc/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");

12