/Zephyr-Core-3.7.0/subsys/bluetooth/services/ots/ |
D | ots_dir_list_internal.h | 65 #define BT_OTS_DIR_LIST_SET_FLAG_TYPE_128(flags) \ argument 66 WRITE_BIT((flags), BT_OTS_DIR_LIST_FLAG_TYPE_128, 1) 72 #define BT_OTS_DIR_LIST_SET_FLAG_CUR_SIZE(flags) \ argument 73 WRITE_BIT((flags), BT_OTS_DIR_LIST_FLAG_CUR_SIZE, 1) 79 #define BT_OTS_DIR_LIST_SET_FLAG_ALLOC_SIZE(flags) \ argument 80 WRITE_BIT((flags), BT_OTS_DIR_LIST_FLAG_ALLOC_SIZE, 1) 86 #define BT_OTS_DIR_LIST_SET_FLAG_FIRST_CREATED(flags) \ argument 87 WRITE_BIT((flags), BT_OTS_DIR_LIST_FLAG_FIRST_CREATED, 1) 93 #define BT_OTS_DIR_LIST_SET_FLAG_LAST_MODIFIED(flags) \ argument 94 WRITE_BIT((flags), BT_OTS_DIR_LIST_FLAG_LAST_MODIFIED, 1) [all …]
|
/Zephyr-Core-3.7.0/lib/posix/options/ |
D | fnmatch.c | 51 static inline int foldcase(int ch, int flags) in foldcase() argument 54 if ((flags & FNM_CASEFOLD) != 0 && isupper(ch)) { in foldcase() 61 #define FOLDCASE(ch, flags) foldcase((unsigned char)(ch), (flags)) argument 63 static const char *rangematch(const char *pattern, int test, int flags) in rangematch() argument 84 for (need = true, ok = false, c = FOLDCASE(*pattern++, flags); c != ']' || need; in rangematch() 85 c = FOLDCASE(*pattern++, flags)) { in rangematch() 91 if (c == '\\' && !(flags & FNM_NOESCAPE)) { in rangematch() 92 c = FOLDCASE(*pattern++, flags); in rangematch() 100 c2 = FOLDCASE(*(pattern + 1), flags); in rangematch() 103 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) { in rangematch() [all …]
|
/Zephyr-Core-3.7.0/lib/os/ |
D | spsc_pbuf.c | 20 #define GET_UTILIZATION(flags) \ argument 21 (((flags) >> SPSC_PBUF_UTILIZATION_OFFSET) & BIT_MASK(SPSC_PBUF_UTILIZATION_BITS)) 23 #define SET_UTILIZATION(flags, val) \ argument 24 ((flags & ~(BIT_MASK(SPSC_PBUF_UTILIZATION_BITS) << \ 46 static inline void cache_wb(void *data, size_t len, uint32_t flags) in cache_wb() argument 49 (IS_ENABLED(CONFIG_SPSC_PBUF_CACHE_FLAG) && (flags & SPSC_PBUF_CACHE))) { in cache_wb() 54 static inline void cache_inv(void *data, size_t len, uint32_t flags) in cache_inv() argument 57 (IS_ENABLED(CONFIG_SPSC_PBUF_CACHE_FLAG) && (flags & SPSC_PBUF_CACHE))) { in cache_inv() 62 static uint32_t *get_rd_idx_loc(struct spsc_pbuf *pb, uint32_t flags) in get_rd_idx_loc() argument 67 static uint32_t *get_wr_idx_loc(struct spsc_pbuf *pb, uint32_t flags) in get_wr_idx_loc() argument [all …]
|
/Zephyr-Core-3.7.0/drivers/hwinfo/ |
D | hwinfo_gecko.c | 37 uint32_t flags = 0; in z_impl_hwinfo_get_reset_cause() local 42 flags |= RESET_POR; in z_impl_hwinfo_get_reset_cause() 48 flags |= RESET_PIN; in z_impl_hwinfo_get_reset_cause() 54 flags |= RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause() 60 flags |= RESET_CPU_LOCKUP; in z_impl_hwinfo_get_reset_cause() 66 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 72 flags |= RESET_LOW_POWER_WAKE; in z_impl_hwinfo_get_reset_cause() 78 flags |= RESET_LOW_POWER_WAKE; in z_impl_hwinfo_get_reset_cause() 84 flags |= RESET_BROWNOUT; in z_impl_hwinfo_get_reset_cause() 90 flags |= RESET_BROWNOUT; in z_impl_hwinfo_get_reset_cause() [all …]
|
D | hwinfo_nrf.c | 69 uint32_t flags = 0; in z_impl_hwinfo_get_reset_cause() local 74 flags |= RESET_PIN; in z_impl_hwinfo_get_reset_cause() 77 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 80 flags |= RESET_CPU_LOCKUP; in z_impl_hwinfo_get_reset_cause() 83 flags |= RESET_LOW_POWER_WAKE; in z_impl_hwinfo_get_reset_cause() 86 flags |= RESET_DEBUG; in z_impl_hwinfo_get_reset_cause() 89 flags |= RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause() 94 flags |= RESET_DEBUG; in z_impl_hwinfo_get_reset_cause() 99 flags |= RESET_LOW_POWER_WAKE; in z_impl_hwinfo_get_reset_cause() 104 flags |= RESET_LOW_POWER_WAKE; in z_impl_hwinfo_get_reset_cause() [all …]
|
D | hwinfo_mcux_src.c | 20 uint32_t flags = 0; in z_impl_hwinfo_get_reset_cause() local 27 flags |= RESET_PIN; in z_impl_hwinfo_get_reset_cause() 32 flags |= RESET_POR; in z_impl_hwinfo_get_reset_cause() 37 flags |= RESET_CPU_LOCKUP; in z_impl_hwinfo_get_reset_cause() 43 flags |= RESET_CPU_LOCKUP | RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause() 48 flags |= RESET_SECURITY; in z_impl_hwinfo_get_reset_cause() 53 flags |= RESET_HARDWARE; in z_impl_hwinfo_get_reset_cause() 59 flags |= RESET_USER; in z_impl_hwinfo_get_reset_cause() 63 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 66 flags |= RESET_DEBUG; in z_impl_hwinfo_get_reset_cause() [all …]
|
D | hwinfo_stm32.c | 69 uint32_t flags = 0; in z_impl_hwinfo_get_reset_cause() local 73 flags |= RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause() 78 flags |= RESET_PIN; in z_impl_hwinfo_get_reset_cause() 83 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 88 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 93 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 98 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 103 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 108 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 113 flags |= RESET_SECURITY; in z_impl_hwinfo_get_reset_cause() [all …]
|
D | hwinfo_ambiq.c | 50 uint32_t flags = 0; in z_impl_hwinfo_get_reset_cause() local 60 flags |= RESET_PIN; in z_impl_hwinfo_get_reset_cause() 65 flags |= RESET_POR; in z_impl_hwinfo_get_reset_cause() 70 flags |= RESET_BROWNOUT; in z_impl_hwinfo_get_reset_cause() 75 flags |= RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause() 80 flags |= RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause() 85 flags |= RESET_DEBUG; in z_impl_hwinfo_get_reset_cause() 90 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 95 flags |= RESET_HARDWARE; in z_impl_hwinfo_get_reset_cause() 100 flags |= RESET_HARDWARE; in z_impl_hwinfo_get_reset_cause() [all …]
|
D | hwinfo_smartbond.c | 15 uint32_t flags = 0; in z_impl_hwinfo_get_reset_cause() local 21 flags = RESET_POR; in z_impl_hwinfo_get_reset_cause() 24 flags |= RESET_PIN; in z_impl_hwinfo_get_reset_cause() 27 flags |= RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause() 30 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 33 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 36 flags |= RESET_DEBUG; in z_impl_hwinfo_get_reset_cause() 40 *cause = flags; in z_impl_hwinfo_get_reset_cause()
|
D | hwinfo_mcux_src_rev2.c | 46 uint32_t flags = 0; in z_impl_hwinfo_get_reset_cause() local 50 flags |= RESET_PIN; in z_impl_hwinfo_get_reset_cause() 53 flags |= RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause() 56 flags |= RESET_POR; in z_impl_hwinfo_get_reset_cause() 59 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause() 62 flags |= RESET_DEBUG; in z_impl_hwinfo_get_reset_cause() 65 flags |= RESET_SECURITY; in z_impl_hwinfo_get_reset_cause() 68 flags |= RESET_TEMPERATURE; in z_impl_hwinfo_get_reset_cause() 71 flags |= RESET_USER; in z_impl_hwinfo_get_reset_cause() 74 *cause = flags; in z_impl_hwinfo_get_reset_cause()
|
/Zephyr-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | thread_flags.c | 23 uint32_t flags; in thread1() local 28 flags = osThreadFlagsWait(FLAG1, osFlagsWaitAny | osFlagsNoClear, 0); in thread1() 29 zassert_equal(flags & FLAG1, FLAG1, ""); in thread1() 34 flags = osThreadFlagsGet(); in thread1() 35 zassert_equal(flags & FLAG1, FLAG1, ""); in thread1() 38 flags = osThreadFlagsClear(FLAG1); in thread1() 39 zassert_not_equal(flags, osFlagsErrorParameter, in thread1() 45 flags = osThreadFlagsWait(FLAG1, osFlagsWaitAny, TIMEOUT_TICKS); in thread1() 46 zassert_equal(flags, osFlagsErrorTimeout, "ThreadFlagsWait failed"); in thread1() 51 uint32_t flags; in thread2() local [all …]
|
D | event_flags.c | 25 int flags = osEventFlagsSet((osEventFlagsId_t)arg, FLAG1); in thread1() local 27 zassert_equal(flags & FLAG1, FLAG1, ""); in thread1() 32 int flags = osEventFlagsSet((osEventFlagsId_t)arg, FLAG2); in thread2() local 43 zassert_equal(flags & FLAG2, 0, ""); in thread2() 72 uint32_t flags; in test_event_flags_no_wait_timeout() local 96 flags = osEventFlagsWait(evt_id, FLAG1, in test_event_flags_no_wait_timeout() 98 zassert_equal(flags & FLAG1, FLAG1, ""); in test_event_flags_no_wait_timeout() 103 flags = osEventFlagsGet(evt_id); in test_event_flags_no_wait_timeout() 104 zassert_equal(flags & FLAG1, FLAG1, ""); in test_event_flags_no_wait_timeout() 106 flags = osEventFlagsGet(dummy_id); in test_event_flags_no_wait_timeout() [all …]
|
/Zephyr-Core-3.7.0/arch/arm/core/cortex_m/cmse/ |
D | arm_core_cmse.c | 14 if (addr_info.flags.mpu_region_valid) { in arm_cmse_mpu_region_get() 15 return addr_info.flags.mpu_region; in arm_cmse_mpu_region_get() 30 return rw ? addr_info.flags.readwrite_ok : addr_info.flags.read_ok; in arm_cmse_addr_read_write_ok() 46 int flags = 0; in arm_cmse_addr_range_read_write_ok() local 49 flags |= CMSE_MPU_UNPRIV; in arm_cmse_addr_range_read_write_ok() 52 flags |= CMSE_MPU_READWRITE; in arm_cmse_addr_range_read_write_ok() 54 flags |= CMSE_MPU_READ; in arm_cmse_addr_range_read_write_ok() 56 if (cmse_check_address_range((void *)addr, size, flags) != NULL) { in arm_cmse_addr_range_read_write_ok() 79 if (addr_info.flags.mpu_region_valid) { in arm_cmse_mpu_nonsecure_region_get() 80 return addr_info.flags.mpu_region; in arm_cmse_mpu_nonsecure_region_get() [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/ |
D | radio_nrf51.h | 50 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument 52 ARG_UNUSED(flags); in hal_radio_phy_mode_get() 113 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument 116 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_us_get() 120 static inline uint32_t hal_radio_rx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_rx_ready_delay_us_get() argument 123 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_us_get() 127 static inline uint32_t hal_radio_tx_chain_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_chain_delay_us_get() argument 130 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_us_get() 134 static inline uint32_t hal_radio_rx_chain_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_rx_chain_delay_us_get() argument 137 ARG_UNUSED(flags); in hal_radio_rx_chain_delay_us_get() [all …]
|
/Zephyr-Core-3.7.0/drivers/net/ |
D | nsos_fcntl.c | 33 static int fl_to_nsos_mid_(int flags, bool strict) in fl_to_nsos_mid_() argument 38 if (flags & (_flag)) { \ in fl_to_nsos_mid_() 39 flags &= ~(_flag); \ in fl_to_nsos_mid_() 53 if (strict && flags != 0) { in fl_to_nsos_mid_() 60 int fl_to_nsos_mid(int flags) in fl_to_nsos_mid() argument 62 return fl_to_nsos_mid_(flags, false); in fl_to_nsos_mid() 65 int fl_to_nsos_mid_strict(int flags) in fl_to_nsos_mid_strict() argument 67 return fl_to_nsos_mid_(flags, true); in fl_to_nsos_mid_strict() 72 int flags = 0; in fl_from_nsos_mid() local 77 flags |= _flag; \ in fl_from_nsos_mid() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | socketcan_utils.h | 40 zframe->flags |= (sframe->can_id & BIT(31)) != 0 ? CAN_FRAME_IDE : 0; in socketcan_to_can_frame() 41 zframe->flags |= (sframe->can_id & BIT(30)) != 0 ? CAN_FRAME_RTR : 0; in socketcan_to_can_frame() 42 zframe->flags |= (sframe->flags & CANFD_FDF) != 0 ? CAN_FRAME_FDF : 0; in socketcan_to_can_frame() 43 zframe->flags |= (sframe->flags & CANFD_BRS) != 0 ? CAN_FRAME_BRS : 0; in socketcan_to_can_frame() 47 if ((zframe->flags & CAN_FRAME_RTR) == 0U) { in socketcan_to_can_frame() 65 sframe->can_id |= (zframe->flags & CAN_FRAME_IDE) != 0 ? BIT(31) : 0; in socketcan_from_can_frame() 66 sframe->can_id |= (zframe->flags & CAN_FRAME_RTR) != 0 ? BIT(30) : 0; in socketcan_from_can_frame() 69 if ((zframe->flags & CAN_FRAME_FDF) != 0) { in socketcan_from_can_frame() 70 sframe->flags |= CANFD_FDF; in socketcan_from_can_frame() 73 if ((zframe->flags & CAN_FRAME_BRS) != 0) { in socketcan_from_can_frame() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/can/api/src/ |
D | common.c | 29 .flags = 0, 39 .flags = 0, 49 .flags = CAN_FRAME_IDE, 59 .flags = CAN_FRAME_IDE, 69 .flags = CAN_FRAME_RTR, 79 .flags = CAN_FRAME_IDE | CAN_FRAME_RTR, 90 .flags = CAN_FRAME_FDF | CAN_FRAME_BRS, 104 .flags = CAN_FRAME_FDF | CAN_FRAME_BRS, 120 .flags = 0U, 130 .flags = 0U, [all …]
|
/Zephyr-Core-3.7.0/soc/atmel/sam/common/ |
D | soc_gpio.c | 24 static void configure_common_attr(Pio *pio, uint32_t mask, uint32_t flags) in configure_common_attr() argument 30 if (flags & SOC_GPIO_PULLUP) { in configure_common_attr() 39 if (flags & SOC_GPIO_PULLDOWN) { in configure_common_attr() 47 if (flags & SOC_GPIO_OPENDRAIN) { in configure_common_attr() 54 static void configure_input_attr(Pio *pio, uint32_t mask, uint32_t flags) in configure_input_attr() argument 57 if ((flags & SOC_GPIO_IN_FILTER_MASK) != 0U) { in configure_input_attr() 58 if ((flags & SOC_GPIO_IN_FILTER_MASK) == SOC_GPIO_IN_FILTER_DEBOUNCE) { in configure_input_attr() 79 if (flags & SOC_GPIO_INT_ENABLE) { in configure_input_attr() 80 if ((flags & SOC_GPIO_INT_TRIG_MASK) == SOC_GPIO_INT_TRIG_DOUBLE_EDGE) { in configure_input_attr() 85 if ((flags & SOC_GPIO_INT_TRIG_MASK) == SOC_GPIO_INT_TRIG_EDGE) { in configure_input_attr() [all …]
|
/Zephyr-Core-3.7.0/drivers/pinctrl/ |
D | pinctrl_esp32.c | 72 static int esp32_pin_apply_config(uint32_t pin, uint32_t flags) in esp32_pin_apply_config() argument 96 if (flags & ESP32_PULL_UP_FLAG) { in esp32_pin_apply_config() 114 } else if (flags & ESP32_PULL_DOWN_FLAG) { in esp32_pin_apply_config() 134 if (flags & ESP32_DIR_OUT_FLAG) { in esp32_pin_apply_config() 140 if (flags & ESP32_OPEN_DRAIN_FLAG) { in esp32_pin_apply_config() 147 if (flags & ESP32_PIN_OUT_HIGH_FLAG) { in esp32_pin_apply_config() 149 } else if (flags & ESP32_PIN_OUT_LOW_FLAG) { in esp32_pin_apply_config() 156 if (!(flags & ESP32_PIN_OUT_EN_FLAG)) { in esp32_pin_apply_config() 161 if (flags & ESP32_DIR_INP_FLAG) { in esp32_pin_apply_config() 164 if (!(flags & ESP32_PIN_IN_EN_FLAG)) { in esp32_pin_apply_config() [all …]
|
/Zephyr-Core-3.7.0/drivers/pwm/ |
D | pwm_shell.c | 21 uint8_t flags; member 29 .flags = 5, 34 pwm_flags_t flags = 0; in cmd_cycles() local 51 if (argc == (args_indx.flags + 1)) { in cmd_cycles() 52 flags = strtoul(argv[args_indx.flags], NULL, 0); in cmd_cycles() 55 err = pwm_set_cycles(dev, channel, period, pulse, flags); in cmd_cycles() 67 pwm_flags_t flags = 0; in cmd_usec() local 84 if (argc == (args_indx.flags + 1)) { in cmd_usec() 85 flags = strtoul(argv[args_indx.flags], NULL, 0); in cmd_usec() 88 err = pwm_set(dev, channel, PWM_USEC(period), PWM_USEC(pulse), flags); in cmd_usec() [all …]
|
/Zephyr-Core-3.7.0/drivers/wifi/esp_at/ |
D | esp.h | 175 atomic_t flags; member 220 uint8_t flags; member 299 atomic_val_t flags; in esp_socket_flags_update() local 302 flags = atomic_get(&sock->flags); in esp_socket_flags_update() 303 } while (!atomic_cas(&sock->flags, flags, (flags & ~mask) | value)); in esp_socket_flags_update() 305 return flags; in esp_socket_flags_update() 318 atomic_val_t flags) in esp_socket_flags_set() argument 320 return atomic_or(&sock->flags, flags); in esp_socket_flags_set() 324 atomic_val_t flags) in esp_socket_flags_test_and_clear() argument 326 return (atomic_and(&sock->flags, ~flags) & flags); in esp_socket_flags_test_and_clear() [all …]
|
/Zephyr-Core-3.7.0/tests/bluetooth/host/id/bt_le_oob_get_local/src/ |
D | test_suite_invalid_inputs.c | 56 atomic_clear_bit(bt_dev.flags, BT_DEV_READY); in ZTEST() 79 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST() 109 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST() 110 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST() 150 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST() 151 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST() 196 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST() 197 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST() 200 atomic_set_bit(adv.flags, BT_ADV_ENABLED); in ZTEST() 201 atomic_set_bit(adv.flags, BT_ADV_USE_IDENTITY); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/drivers/interrupt_controller/ |
D | intc_esp32.c | 178 if (!(vd->flags & VECDESC_FL_SHARED)) { in find_desc_for_source() 230 vd->flags = VECDESC_FL_SHARED; in esp_intr_mark_shared() 232 vd->flags |= VECDESC_FL_INIRAM; in esp_intr_mark_shared() 255 vd->flags = VECDESC_FL_RESERVED; in esp_intr_reserve() 271 static bool is_vect_desc_usable(struct vector_desc_t *vd, int flags, int cpu, int force) in is_vect_desc_usable() argument 279 if (intr_desc.flags & ESP_CPU_INTR_DESC_FLAG_RESVD) { in is_vect_desc_usable() 283 if (intr_desc.flags & ESP_CPU_INTR_DESC_FLAG_SPECIAL && force == -1) { in is_vect_desc_usable() 290 if (!(flags & (1 << intr_desc.priority))) { in is_vect_desc_usable() 295 if (((flags & ESP_INTR_FLAG_EDGE) && (intr_desc.type == ESP_CPU_INTR_TYPE_LEVEL)) || in is_vect_desc_usable() 296 (((!(flags & ESP_INTR_FLAG_EDGE)) && (intr_desc.type == ESP_CPU_INTR_TYPE_EDGE)))) { in is_vect_desc_usable() [all …]
|
/Zephyr-Core-3.7.0/drivers/gpio/ |
D | gpio_kscan_ite_it8xxx2.c | 40 gpio_flags_t flags) in gpio_kscan_it8xxx2_configure() argument 50 if ((((flags & GPIO_SINGLE_ENDED) != 0) && ((flags & GPIO_LINE_OPEN_DRAIN) == 0)) || in gpio_kscan_it8xxx2_configure() 51 ((flags & IT8XXX2_GPIO_VOLTAGE_MASK) == IT8XXX2_GPIO_VOLTAGE_1P8) || in gpio_kscan_it8xxx2_configure() 52 ((flags & IT8XXX2_GPIO_VOLTAGE_MASK) == IT8XXX2_GPIO_VOLTAGE_5P0)) { in gpio_kscan_it8xxx2_configure() 59 if (flags & GPIO_OUTPUT) { in gpio_kscan_it8xxx2_configure() 64 if (flags & GPIO_OPEN_DRAIN) { in gpio_kscan_it8xxx2_configure() 75 if (flags & GPIO_OUTPUT_INIT_HIGH) { in gpio_kscan_it8xxx2_configure() 77 } else if (flags & GPIO_OUTPUT_INIT_LOW) { in gpio_kscan_it8xxx2_configure() 89 if (flags & GPIO_PULL_UP) { in gpio_kscan_it8xxx2_configure() 111 gpio_flags_t flags = 0; in gpio_kscan_it8xxx2_get_config() local [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/ |
D | sw_isr_table.h | 143 int32_t flags; member 163 int32_t flags; member 211 #define Z_ISR_DECLARE_C(irq, flags, func, param, counter) \ argument 212 _Z_ISR_DECLARE_C(irq, flags, func, param, counter) 214 #define _Z_ISR_DECLARE_C(irq, flags, func, param, counter) \ argument 218 {irq, flags, _MK_ISR_ELEMENT_SECTION(counter)} 225 #define Z_ISR_DECLARE(irq, flags, func, param) \ argument 226 BUILD_ASSERT(((flags) & ISR_FLAG_DIRECT) == 0, "Use Z_ISR_DECLARE_DIRECT macro"); \ 227 Z_ISR_DECLARE_C(irq, flags, func, param, __COUNTER__) 245 #define Z_ISR_DECLARE_DIRECT_C(irq, flags, func, counter) \ argument [all …]
|