Home
last modified time | relevance | path

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

/external/u-boot/drivers/pinctrl/
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()
Dpinctrl-uclass.c174 unsigned int *pin_selector) in pinctrl_gpio_get_pinctrl_and_offset() argument
210 *pin_selector = offset; in pinctrl_gpio_get_pinctrl_and_offset()
226 unsigned int pin_selector; in pinctrl_gpio_request() local
230 &pctldev, &pin_selector); in pinctrl_gpio_request()
238 return ops->gpio_request_enable(pctldev, pin_selector); in pinctrl_gpio_request()
252 unsigned int pin_selector; in pinctrl_gpio_free() local
256 &pctldev, &pin_selector); in pinctrl_gpio_free()
264 return ops->gpio_disable_free(pctldev, pin_selector); in pinctrl_gpio_free()
/external/u-boot/arch/arm/mach-snapdragon/
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()
/external/u-boot/drivers/pinctrl/renesas/
Dpfc.c464 unsigned pin_selector) in sh_pfc_gpio_request_enable() argument
474 if (priv->pfc.info->pins[i].pin != pin_selector) in sh_pfc_gpio_request_enable()
500 unsigned pin_selector) in sh_pfc_gpio_disable_free() argument
510 if (priv->pfc.info->pins[i].pin != pin_selector) in sh_pfc_gpio_disable_free()
528 static int sh_pfc_pinctrl_pin_set(struct udevice *dev, unsigned pin_selector, in sh_pfc_pinctrl_pin_set() argument
534 const struct sh_pfc_pin *pin = &priv->pfc.info->pins[pin_selector]; in sh_pfc_pinctrl_pin_set()
739 unsigned int pin_selector, in sh_pfc_pinconf_pin_set() argument
745 const struct sh_pfc_pin *pin = &pfc->info->pins[pin_selector]; in sh_pfc_pinconf_pin_set()
/external/u-boot/include/dm/
Dpinctrl.h89 int (*pinmux_set)(struct udevice *dev, unsigned pin_selector,
95 int (*pinconf_set)(struct udevice *dev, unsigned pin_selector,
/external/u-boot/drivers/pinctrl/mscc/
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()
/external/u-boot/drivers/pinctrl/broadcom/
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()
/external/u-boot/drivers/pinctrl/mtmips/
Dpinctrl-mt7628.c475 static int mt7628_pinconf_set(struct udevice *dev, unsigned int pin_selector, in mt7628_pinconf_set() argument
482 offs = (pin_selector / 32) * 4; in mt7628_pinconf_set()
483 bit = pin_selector % 32; in mt7628_pinconf_set()