Lines Matching +full:all +full:- +full:inputs

4  * SPDX-License-Identifier: Apache-2.0
14 #include <zephyr/dt-bindings/gpio/ti-cc13xx-cc26xx-gpio.h>
29 /* bits 16-18 in iocfg registers correspond to interrupt settings */
32 /* the rest are for general (non-interrupt) config */
72 return -ENOTSUP; in gpio_cc13xx_cc26xx_config()
86 * Not all GPIO support 8ma, but setting that bit will use the in gpio_cc13xx_cc26xx_config()
92 return -ENOTSUP; in gpio_cc13xx_cc26xx_config()
106 return -EINVAL; in gpio_cc13xx_cc26xx_config()
187 return -ENOTSUP; in gpio_cc13xx_cc26xx_pin_interrupt_configure()
205 struct gpio_cc13xx_cc26xx_data *data = port->data; in gpio_cc13xx_cc26xx_manage_callback()
207 return gpio_manage_callback(&data->callbacks, callback, set); in gpio_cc13xx_cc26xx_manage_callback()
217 struct gpio_cc13xx_cc26xx_data *data = dev->data; in gpio_cc13xx_cc26xx_isr()
223 gpio_fire_callbacks(&data->callbacks, dev, status); in gpio_cc13xx_cc26xx_isr()
268 gpio_port_pins_t *inputs, in gpio_cc13xx_cc26xx_port_get_direction() argument
274 const struct gpio_driver_config *cfg = port->config; in gpio_cc13xx_cc26xx_port_get_direction()
276 map &= cfg->port_pin_mask; in gpio_cc13xx_cc26xx_port_get_direction()
278 if (inputs != NULL) { in gpio_cc13xx_cc26xx_port_get_direction()
279 for (pin = find_lsb_set(map) - 1; map; in gpio_cc13xx_cc26xx_port_get_direction()
280 map &= ~BIT(pin), pin = find_lsb_set(map) - 1) { in gpio_cc13xx_cc26xx_port_get_direction()
284 *inputs = ip; in gpio_cc13xx_cc26xx_port_get_direction()
288 for (pin = find_lsb_set(map) - 1; map; in gpio_cc13xx_cc26xx_port_get_direction()
289 map &= ~BIT(pin), pin = find_lsb_set(map) - 1) { in gpio_cc13xx_cc26xx_port_get_direction()