/drivers/usb/phy/ |
H A D | phy-ab8500-usb.c | 40 #include <linux/pinctrl/consumer.h> 230 struct pinctrl *pinctrl; member in struct:ab8500_usb 349 ab->pinctrl = pinctrl_get_select(ab->dev, PINCTRL_STATE_DEFAULT); 350 if (IS_ERR(ab->pinctrl)) 391 if (!IS_ERR(ab->pinctrl)) { 393 ab->pins_sleep = pinctrl_lookup_state(ab->pinctrl, 398 else if (pinctrl_select_state(ab->pinctrl, ab->pins_sleep)) 405 pinctrl_put(ab->pinctrl);
|
/drivers/mmc/host/ |
H A D | mvsdio.c | 28 #include <linux/pinctrl/consumer.h> 702 struct pinctrl *pinctrl; local 719 pinctrl = devm_pinctrl_get_select_default(&pdev->dev); 720 if (IS_ERR(pinctrl))
|
H A D | sdhci-esdhc-imx.c | 28 #include <linux/pinctrl/consumer.h> 70 /* pinctrl state */ 149 struct pinctrl *pinctrl; member in struct:pltfm_imx_data 815 struct pinctrl_state *pinctrl; local 817 dev_dbg(mmc_dev(host->mmc), "change pinctrl state for uhs %d\n", uhs); 819 if (IS_ERR(imx_data->pinctrl) || 827 pinctrl = imx_data->pins_100mhz; 831 pinctrl = imx_data->pins_200mhz; 835 pinctrl [all...] |
/drivers/net/ieee802154/ |
H A D | cc2520.c | 22 #include <linux/pinctrl/consumer.h> 844 struct pinctrl *pinctrl; local 857 pinctrl = devm_pinctrl_get_select_default(&spi->dev); 858 if (IS_ERR(pinctrl)) 860 "pinctrl pins are not configured");
|
/drivers/pinctrl/ |
H A D | core.h | 15 #include <linux/pinctrl/pinconf.h> 16 #include <linux/pinctrl/machine.h> 47 struct pinctrl *p; 57 * struct pinctrl - per-device pin control state holder 66 struct pinctrl { struct 76 * struct pinctrl_state - a pinctrl state for a device 77 * @node: list node for struct pinctrl's @states field
|
H A D | pinctrl-adi2.c | 16 #include <linux/platform_data/pinctrl-adi2.h> 19 #include <linux/pinctrl/pinctrl.h> 20 #include <linux/pinctrl/pinmux.h> 21 #include <linux/pinctrl/consumer.h> 22 #include <linux/pinctrl/machine.h> 26 #include "pinctrl-adi2.h" 70 #define DRIVER_NAME "pinctrl-adi2" 142 * @pctl: the pinctrl device 592 struct adi_pinctrl *pinctrl local 600 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); local 609 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); local 625 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); local 657 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); local 665 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); local 674 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); local 1057 struct adi_pinctrl *pinctrl; local 1084 struct adi_pinctrl *pinctrl = platform_get_drvdata(pdev); local [all...] |
H A D | pinctrl-tegra-xusb.c | 19 #include <linux/pinctrl/pinctrl.h> 20 #include <linux/pinctrl/pinmux.h> 24 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 27 #include "pinctrl-utils.h" 96 struct pinctrl_dev *pinctrl; member in struct:tegra_xusb_padctl 117 static int tegra_xusb_padctl_get_groups_count(struct pinctrl_dev *pinctrl) argument 119 struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl); 124 static const char *tegra_xusb_padctl_get_group_name(struct pinctrl_dev *pinctrl, argument 224 tegra_xusb_padctl_dt_node_to_map(struct pinctrl_dev *pinctrl, struct device_node *parent, struct pinctrl_map **maps, unsigned int *num_maps) argument 255 tegra_xusb_padctl_get_functions_count(struct pinctrl_dev *pinctrl) argument 263 tegra_xusb_padctl_get_function_name(struct pinctrl_dev *pinctrl, unsigned int function) argument 271 tegra_xusb_padctl_get_function_groups(struct pinctrl_dev *pinctrl, unsigned int function, const char * const **groups, unsigned * const num_groups) argument 284 tegra_xusb_padctl_pinmux_set(struct pinctrl_dev *pinctrl, unsigned int function, unsigned int group) argument 317 tegra_xusb_padctl_pinconf_group_get(struct pinctrl_dev *pinctrl, unsigned int group, unsigned long *config) argument 354 tegra_xusb_padctl_pinconf_group_set(struct pinctrl_dev *pinctrl, unsigned int group, unsigned long *configs, unsigned int num_configs) argument 410 tegra_xusb_padctl_pinconf_group_dbg_show(struct pinctrl_dev *pinctrl, struct seq_file *s, unsigned int group) argument 435 tegra_xusb_padctl_pinconf_config_dbg_show(struct pinctrl_dev *pinctrl, struct seq_file *s, unsigned long config) argument [all...] |
/drivers/pinctrl/sh-pfc/ |
H A D | core.h | 51 struct sh_pfc_pinctrl *pinctrl; member in struct:sh_pfc
|
/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_panel.c | 18 #include <linux/pinctrl/pinmux.h> 19 #include <linux/pinctrl/consumer.h> 354 struct pinctrl *pinctrl; local 402 pinctrl = devm_pinctrl_get_select_default(&pdev->dev); 403 if (IS_ERR(pinctrl))
|
H A D | tilcdc_slave.c | 19 #include <linux/pinctrl/pinmux.h> 20 #include <linux/pinctrl/consumer.h> 315 struct pinctrl *pinctrl; local 364 pinctrl = devm_pinctrl_get_select_default(&pdev->dev); 365 if (IS_ERR(pinctrl))
|
H A D | tilcdc_tfp410.c | 21 #include <linux/pinctrl/pinmux.h> 22 #include <linux/pinctrl/consumer.h> 315 struct pinctrl *pinctrl; local 334 pinctrl = devm_pinctrl_get_select_default(&pdev->dev); 335 if (IS_ERR(pinctrl))
|
/drivers/i2c/muxes/ |
H A D | i2c-mux-pinctrl.c | 2 * I2C multiplexer using pinctrl API 22 #include <linux/pinctrl/consumer.h> 23 #include <linux/i2c-mux-pinctrl.h> 31 struct pinctrl *pinctrl; member in struct:i2c_mux_pinctrl 43 return pinctrl_select_state(mux->pinctrl, mux->states[chan]); 51 return pinctrl_select_state(mux->pinctrl, mux->state_idle); 73 num_names = of_property_count_strings(np, "pinctrl-names"); 75 dev_err(mux->dev, "Cannot parse pinctrl-names: %d\n", 89 ret = of_property_read_string_index(np, "pinctrl [all...] |
/drivers/media/platform/exynos4-is/ |
H A D | media-dev.h | 17 #include <linux/pinctrl/consumer.h> 115 * @pinctrl: camera port pinctrl handle 116 * @state_default: pinctrl default state handle 117 * @state_idle: pinctrl idle state handle 138 struct pinctrl *pinctrl; member in struct:fimc_md::fimc_pinctrl
|