Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/
H A Dpinctrl-as3722.c55 unsigned mode_prop; member
254 as_pci->gpio_control[group].mode_prop = in as3722_pinctrl_set()
303 as_pci->gpio_control[offset].mode_prop, input); in as3722_pinctrl_gpio_set_direction()
335 if (!(as_pci->gpio_control[pin].mode_prop & prop)) in as3722_pinconf_get()
361 if (as_pci->gpio_control[pin].mode_prop & prop) in as3722_pinconf_get()
374 int mode_prop; in as3722_pinconf_set() local
379 mode_prop = as_pci->gpio_control[pin].mode_prop; in as3722_pinconf_set()
386 mode_prop &= ~(AS3722_GPIO_MODE_PULL_UP | in as3722_pinconf_set()
390 mode_prop |= AS3722_GPIO_MODE_PULL_UP; in as3722_pinconf_set()
394 mode_prop |= AS3722_GPIO_MODE_PULL_DOWN; in as3722_pinconf_set()
[all …]
/linux/drivers/tty/serial/
H A 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()