Home
last modified time | relevance | path

Searched refs:gpio_pin (Results 1 – 6 of 6) sorted by relevance

/optee_os-3.20.0/core/drivers/
A Dpl061_gpio.c44 unsigned int gpio_pin) in pl061_get_direction() argument
53 offset = gpio_pin % GPIOS_PER_PL061; in pl061_get_direction()
69 offset = gpio_pin % GPIOS_PER_PL061; in pl061_set_direction()
85 unsigned int gpio_pin) in pl061_get_value() argument
93 offset = gpio_pin % GPIOS_PER_PL061; in pl061_get_value()
113 offset = gpio_pin % GPIOS_PER_PL061; in pl061_set_value()
121 unsigned int gpio_pin) in pl061_get_interrupt() argument
130 offset = gpio_pin % GPIOS_PER_PL061; in pl061_get_interrupt()
138 unsigned int gpio_pin, in pl061_set_interrupt() argument
147 offset = gpio_pin % GPIOS_PER_PL061; in pl061_set_interrupt()
[all …]
A Datmel_piobu.c68 unsigned int gpio_pin) in gpio_get_value() argument
73 assert(gpio_pin < SECUMOD_MAX_PINS && in gpio_get_value()
96 assert(gpio_pin < SECUMOD_MAX_PINS && in gpio_set_value()
113 unsigned int gpio_pin) in gpio_get_direction() argument
118 assert(gpio_pin < SECUMOD_MAX_PINS && in gpio_get_direction()
158 unsigned int gpio_pin) in gpio_get_interrupt() argument
181 unsigned int gpio_pin, in gpio_set_interrupt() argument
282 SECUMOD_PIN_VAL(gpio_pin)); in secumod_cfg_input_pio()
284 gpio_protected |= BIT32(gpio_pin); in secumod_cfg_input_pio()
291 uint8_t gpio_pin = 0; in secumod_hw_init() local
[all …]
A Dls_gpio.c30 unsigned int gpio_pin) in gpio_get_value() argument
38 assert(gpio_pin <= MAX_GPIO_PINS); in gpio_get_value()
43 if (data & PIN_SHIFT(gpio_pin)) in gpio_get_value()
63 assert(gpio_pin <= MAX_GPIO_PINS); in gpio_set_value()
81 unsigned int gpio_pin) in gpio_get_direction() argument
89 assert(gpio_pin <= MAX_GPIO_PINS); in gpio_get_direction()
94 if (data & PIN_SHIFT(gpio_pin)) in gpio_get_direction()
114 assert(gpio_pin <= MAX_GPIO_PINS); in gpio_set_direction()
130 unsigned int gpio_pin) in gpio_get_interrupt() argument
138 assert(gpio_pin <= MAX_GPIO_PINS); in gpio_get_interrupt()
[all …]
A Dls_sfp.c74 uint32_t gpio_pin; member
139 gpio_info.gpio_pin = fdt32_to_cpu(*pin_val); in ls_sfp_init()
153 uint32_t pin = gpio_info.gpio_pin; in ls_sfp_program_fuses()
/optee_os-3.20.0/core/include/
A Dgpio.h30 unsigned int gpio_pin);
31 void (*set_direction)(struct gpio_chip *chip, unsigned int gpio_pin,
34 unsigned int gpio_pin);
35 void (*set_value)(struct gpio_chip *chip, unsigned int gpio_pin,
38 unsigned int gpio_pin);
39 void (*set_interrupt)(struct gpio_chip *chip, unsigned int gpio_pin,
/optee_os-3.20.0/core/include/drivers/
A Dpl061_gpio.h25 enum pl061_mode_control pl061_get_mode_control(unsigned int gpio_pin);
26 void pl061_set_mode_control(unsigned int gpio_pin,

Completed in 23 milliseconds