Home
last modified time | relevance | path

Searched full:pinconfig (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl-uclass.c39 int pinconfig = 0; in pinctrl_decode_pin_config_dm() local
45 pinconfig |= 1 << PIN_CONFIG_BIAS_PULL_UP; in pinctrl_decode_pin_config_dm()
47 pinconfig |= 1 << PIN_CONFIG_BIAS_PULL_DOWN; in pinctrl_decode_pin_config_dm()
49 return pinconfig; in pinctrl_decode_pin_config_dm()
128 * pinconfig_post_bind() - post binding for PINCONFIG uclass
129 * Recursively bind its children as pinconfig devices.
131 * @dev: pinconfig device
159 ret = device_bind_driver_to_node(dev, "pinconfig", name, in pinconfig_post_bind()
168 UCLASS_DRIVER(pinconfig) = {
171 .name = "pinconfig",
[all …]
/openbmc/linux/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.c334 unsigned long *pinconfig; in sunxi_pctrl_build_pin_config() local
349 pinconfig = kcalloc(configlen, sizeof(*pinconfig), GFP_KERNEL); in sunxi_pctrl_build_pin_config()
350 if (!pinconfig) in sunxi_pctrl_build_pin_config()
360 pinconfig[idx++] = pinconf_to_config_packed(PIN_CONFIG_DRIVE_STRENGTH, in sunxi_pctrl_build_pin_config()
375 pinconfig[idx++] = pinconf_to_config_packed(pull, arg); in sunxi_pctrl_build_pin_config()
380 return pinconfig; in sunxi_pctrl_build_pin_config()
383 kfree(pinconfig); in sunxi_pctrl_build_pin_config()
393 unsigned long *pinconfig; in sunxi_pctrl_dt_node_to_map() local
428 pinconfig = sunxi_pctrl_build_pin_config(node, &configlen); in sunxi_pctrl_dt_node_to_map()
429 if (IS_ERR(pinconfig)) { in sunxi_pctrl_dt_node_to_map()
[all …]
/openbmc/u-boot/drivers/pinctrl/broadcom/
H A Dpinctrl-bcm283x.c71 debug("Failed reading pins array for pinconfig %s (%d)\n", in bcm283x_pinctrl_set_state()
80 debug("Failed reading function for pinconfig %s (%d)\n", in bcm283x_pinctrl_set_state()
/openbmc/u-boot/drivers/pinctrl/mvebu/
H A Dpinctrl-mvebu.c83 debug("Failed reading pins array for pinconfig %s (%d)\n", in mvebu_pinctrl_set_state()
103 debug("Illegal function %d for pinconfig %s\n", in mvebu_pinctrl_set_state()
/openbmc/linux/drivers/pinctrl/
H A Dpinconf-generic.c11 #define pr_fmt(fmt) "generic pinconfig core: " fmt
234 * parse the config properties into generic pinconfig values.
235 * @np: node containing the pinconfig properties
H A Dpinconf.c10 #define pr_fmt(fmt) "pinconfig core: " fmt
/openbmc/linux/drivers/pinctrl/samsung/
H A Dpinctrl-exynos-arm.c209 * two gpio/pin-mux/pinconfig controllers.
321 * three gpio/pin-mux/pinconfig controllers.
418 * four gpio/pin-mux/pinconfig controllers.
523 * four gpio/pin-mux/pinconfig controllers.
611 * three gpio/pin-mux/pinconfig controllers.
716 * four gpio/pin-mux/pinconfig controllers.
843 * four gpio/pin-mux/pinconfig controllers.
H A Dpinctrl-exynos-arm64.c204 * ten gpio/pin-mux/pinconfig controllers.
731 * gpio/pin-mux/pinconfig controllers.
H A Dpinctrl-samsung.c529 /* list of pinconfig callbacks for pinconfig vertical in the pinctrl code */
H A Dpinctrl-s3c64xx.c791 * one gpio/pin-mux/pinconfig controller.
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/
H A Datmel,at91-pio4-pinctrl.txt28 - GENERIC_PINCONFIG: generic pinconfig options to use, bias-disable,
H A Dst,stm32-pinctrl.txt96 - GENERIC_PINCONFIG: is the generic pinconfig options to use.
H A Drockchip,pinctrl.txt62 The phandle of a node containing the generic pinconfig options
/openbmc/linux/include/linux/pinctrl/
H A Dpinconf.h3 * Interface the pinconfig portions of the pinctrl subsystem
H A Dpinconf-generic.h3 * Interface the generic pinconfig portions of the pinctrl subsystem
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Datmel,at91-pio4-pinctrl.txt38 - GENERIC_PINCONFIG: generic pinconfig options to use:
H A Dcnxt,cx92755-pinctrl.txt54 and <include/linux/pinctrl/pinconfig-generic.h>.
H A Drockchip,pinctrl.yaml138 The phandle of a node contains the generic pinconfig options
H A Dmediatek,mt65xx-pinctrl.yaml99 Besides generic pinconfig options, it can be used as the pull up
/openbmc/linux/drivers/acpi/acpica/
H A Drsdumpinfo.c256 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(gpio.pin_config), "PinConfig",
286 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(pin_function.pin_config), "PinConfig",
323 "PinConfig", NULL},
/openbmc/linux/include/linux/mfd/
H A Dsta2x11-mfd.h47 /* Pinconfig is set by the board definition: altfunc, pull-up, pull-down */
49 unsigned pinconfig[GSTA_NR_GPIO]; member
/openbmc/u-boot/include/dm/
H A Dpinctrl.h364 * @pinconfig: Pinconfig udevice
/openbmc/linux/drivers/media/common/siano/
H A Dsmscoreapi.c1818 struct smscore_config_gpio *pinconfig) in smscore_configure_gpio() argument
1833 msg.data[1] = pinconfig->pullupdown; in smscore_configure_gpio()
1836 msg.data[2] = pinconfig->outputslewrate == 0 ? 3 : 0; in smscore_configure_gpio()
1838 switch (pinconfig->outputdriving) { in smscore_configure_gpio()
1854 msg.data[4] = pinconfig->direction; in smscore_configure_gpio()
H A Dsmscoreapi.h1149 struct smscore_config_gpio *pinconfig);
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.h254 /* Specific pinconfig operations */

12