Home
last modified time | relevance | path

Searched refs:mode_prop (Results 1 – 2 of 2) sorted by relevance

/drivers/pinctrl/
Dpinctrl-as3722.c67 unsigned mode_prop; member
266 as_pci->gpio_control[group].mode_prop = in as3722_pinctrl_set()
315 as_pci->gpio_control[offset].mode_prop, input); in as3722_pinctrl_gpio_set_direction()
347 if (!(as_pci->gpio_control[pin].mode_prop & prop)) in as3722_pinconf_get()
373 if (as_pci->gpio_control[pin].mode_prop & prop) in as3722_pinconf_get()
386 int mode_prop; in as3722_pinconf_set() local
391 mode_prop = as_pci->gpio_control[pin].mode_prop; in as3722_pinconf_set()
398 mode_prop &= ~(AS3722_GPIO_MODE_PULL_UP | in as3722_pinconf_set()
402 mode_prop |= AS3722_GPIO_MODE_PULL_UP; in as3722_pinconf_set()
406 mode_prop |= AS3722_GPIO_MODE_PULL_DOWN; in as3722_pinconf_set()
[all …]
/drivers/tty/serial/
Dsuncore.c88 char mode_prop[] = "ttyX-mode"; in sunserial_console_termios() local
109 mode_prop[3] = c; in sunserial_console_termios()
112 mode = of_get_property(dp, mode_prop, NULL); in sunserial_console_termios()