Lines Matching +full:gpio_config +full:-
4 * SPDX-License-Identifier: Apache-2.0
72 const struct gpio_cc32xx_config *gpio_config = port->config; in gpio_cc32xx_config() local
73 unsigned long port_base = gpio_config->port_base; in gpio_cc32xx_config()
76 return -ENOTSUP; in gpio_cc32xx_config()
80 return -ENOTSUP; in gpio_cc32xx_config()
84 return -ENOTSUP; in gpio_cc32xx_config()
87 MAP_PinTypeGPIO(pinTable[gpio_config->port_num * 8 + pin], in gpio_cc32xx_config()
106 const struct gpio_cc32xx_config *gpio_config = port->config; in gpio_cc32xx_port_get_raw() local
107 unsigned long port_base = gpio_config->port_base; in gpio_cc32xx_port_get_raw()
119 const struct gpio_cc32xx_config *gpio_config = port->config; in gpio_cc32xx_port_set_masked_raw() local
120 unsigned long port_base = gpio_config->port_base; in gpio_cc32xx_port_set_masked_raw()
130 const struct gpio_cc32xx_config *gpio_config = port->config; in gpio_cc32xx_port_set_bits_raw() local
131 unsigned long port_base = gpio_config->port_base; in gpio_cc32xx_port_set_bits_raw()
141 const struct gpio_cc32xx_config *gpio_config = port->config; in gpio_cc32xx_port_clear_bits_raw() local
142 unsigned long port_base = gpio_config->port_base; in gpio_cc32xx_port_clear_bits_raw()
152 const struct gpio_cc32xx_config *gpio_config = port->config; in gpio_cc32xx_port_toggle_bits() local
153 unsigned long port_base = gpio_config->port_base; in gpio_cc32xx_port_toggle_bits()
169 const struct gpio_cc32xx_config *gpio_config = port->config; in gpio_cc32xx_pin_interrupt_configure() local
170 unsigned long port_base = gpio_config->port_base; in gpio_cc32xx_pin_interrupt_configure()
173 __ASSERT(pin < 8, "Invalid pin number - only 8 pins per port"); in gpio_cc32xx_pin_interrupt_configure()
178 * to level-based in gpio_cc32xx_pin_interrupt_configure()
211 struct gpio_cc32xx_data *data = dev->data; in gpio_cc32xx_manage_callback()
213 return gpio_manage_callback(&data->callbacks, callback, set); in gpio_cc32xx_manage_callback()
218 const struct gpio_cc32xx_config *config = dev->config; in gpio_cc32xx_port_isr()
219 struct gpio_cc32xx_data *data = dev->data; in gpio_cc32xx_port_isr()
223 int_status = (uint32_t)MAP_GPIOIntStatus(config->port_base, 1); in gpio_cc32xx_port_isr()
226 MAP_GPIOIntClear(config->port_base, int_status); in gpio_cc32xx_port_isr()
229 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_cc32xx_port_isr()