Lines Matching +full:max +full:- +full:priority
4 * SPDX-License-Identifier: Apache-2.0
30 uint8_t max; member
92 struct gd32_exti_data *data = dev->data; in gd32_exti_isr()
95 for (uint8_t i = range->min; i <= range->max; i++) { in gd32_exti_isr()
99 if (data->cbs[i].cb != NULL) { in gd32_exti_isr()
100 data->cbs[i].cb(i, data->cbs[i].user); in gd32_exti_isr()
145 struct gd32_exti_data *data = dev->data; in gd32_exti_configure()
150 if ((data->cbs[line].cb != NULL) && (cb != NULL)) { in gd32_exti_configure()
151 return -EALREADY; in gd32_exti_configure()
154 data->cbs[line].cb = cb; in gd32_exti_configure()
155 data->cbs[line].user = user; in gd32_exti_configure()
164 DT_INST_IRQ_BY_NAME(0, line0, priority), in gd32_exti_init()
168 DT_INST_IRQ_BY_NAME(0, line1, priority), in gd32_exti_init()
172 DT_INST_IRQ_BY_NAME(0, line2, priority), in gd32_exti_init()
176 DT_INST_IRQ_BY_NAME(0, line3, priority), in gd32_exti_init()
180 DT_INST_IRQ_BY_NAME(0, line4, priority), in gd32_exti_init()
184 DT_INST_IRQ_BY_NAME(0, line5_9, priority), in gd32_exti_init()
188 DT_INST_IRQ_BY_NAME(0, line10_15, priority), in gd32_exti_init()