Home
last modified time | relevance | path

Searched refs:pin_selector (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl-sandbox.c98 static int sandbox_pinmux_set(struct udevice *dev, unsigned pin_selector, in sandbox_pinmux_set() argument
102 pin_selector, sandbox_get_pin_name(dev, pin_selector), in sandbox_pinmux_set()
119 static int sandbox_pinconf_set(struct udevice *dev, unsigned pin_selector, in sandbox_pinconf_set() argument
123 pin_selector, sandbox_get_pin_name(dev, pin_selector), in sandbox_pinconf_set()
/openbmc/u-boot/arch/arm/mach-snapdragon/
H A Dpinctrl-snapdragon.c71 static int msm_pinmux_set(struct udevice *dev, unsigned int pin_selector, in msm_pinmux_set() argument
76 clrsetbits_le32(priv->base + GPIO_CONFIG_OFFSET(pin_selector), in msm_pinmux_set()
82 static int msm_pinconf_set(struct udevice *dev, unsigned int pin_selector, in msm_pinconf_set() argument
89 clrsetbits_le32(priv->base + GPIO_CONFIG_OFFSET(pin_selector), in msm_pinconf_set()
93 clrbits_le32(priv->base + GPIO_CONFIG_OFFSET(pin_selector), in msm_pinconf_set()
/openbmc/u-boot/include/dm/
H A Dpinctrl.h82 int (*pinmux_set)(struct udevice *dev, unsigned pin_selector,
88 int (*pinconf_set)(struct udevice *dev, unsigned pin_selector,
/openbmc/u-boot/drivers/pinctrl/broadcom/
H A Dpinctrl-bcm6838.c70 unsigned int pin_selector, in bcm6838_pinctrl_pinmux_set() argument
79 data |= (pin_selector << BCM6838_PIN_OFFS) & BCM6838_PIN_MASK; in bcm6838_pinctrl_pinmux_set()
/openbmc/u-boot/drivers/pinctrl/mscc/
H A Dmscc-common.c87 unsigned int pin_selector, unsigned int selector) in mscc_pinmux_set_mux() argument
90 struct mscc_pin_caps *pin = info->mscc_pins[pin_selector].drv_data; in mscc_pinmux_set_mux()
93 f = mscc_pin_function_idx(pin_selector, selector, info->mscc_pins); in mscc_pinmux_set_mux()
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c461 int sh_pfc_config_mux_for_gpio(struct udevice *dev, unsigned pin_selector) in sh_pfc_config_mux_for_gpio() argument
471 if (priv->pfc.info->pins[i].pin != pin_selector) in sh_pfc_config_mux_for_gpio()
490 static int sh_pfc_pinctrl_pin_set(struct udevice *dev, unsigned pin_selector, in sh_pfc_pinctrl_pin_set() argument
496 const struct sh_pfc_pin *pin = &priv->pfc.info->pins[pin_selector]; in sh_pfc_pinctrl_pin_set()
701 unsigned int pin_selector, in sh_pfc_pinconf_pin_set() argument
707 const struct sh_pfc_pin *pin = &pfc->info->pins[pin_selector]; in sh_pfc_pinconf_pin_set()
H A Dsh_pfc.h264 int sh_pfc_config_mux_for_gpio(struct udevice *dev, unsigned pin_selector);