Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 1357) sorted by relevance

12345678910>>...55

/Zephyr-Core-3.6.0/subsys/bluetooth/services/ots/
Dots_dir_list_internal.h65 #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.6.0/lib/posix/options/
Dfnmatch.c51 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.6.0/lib/os/
Dspsc_pbuf.c20 #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.6.0/drivers/hwinfo/
Dhwinfo_nrf.c42 uint32_t flags = 0; in z_impl_hwinfo_get_reset_cause() local
47 flags |= RESET_PIN; in z_impl_hwinfo_get_reset_cause()
50 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause()
53 flags |= RESET_CPU_LOCKUP; in z_impl_hwinfo_get_reset_cause()
56 flags |= RESET_LOW_POWER_WAKE; in z_impl_hwinfo_get_reset_cause()
59 flags |= RESET_DEBUG; in z_impl_hwinfo_get_reset_cause()
62 flags |= RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause()
67 flags |= RESET_DEBUG; in z_impl_hwinfo_get_reset_cause()
72 flags |= RESET_LOW_POWER_WAKE; in z_impl_hwinfo_get_reset_cause()
77 flags |= RESET_LOW_POWER_WAKE; in z_impl_hwinfo_get_reset_cause()
[all …]
Dhwinfo_gecko.c37 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 …]
Dhwinfo_stm32.c49 uint32_t flags = 0; in z_impl_hwinfo_get_reset_cause() local
53 flags |= RESET_SOFTWARE; in z_impl_hwinfo_get_reset_cause()
58 flags |= RESET_PIN; in z_impl_hwinfo_get_reset_cause()
63 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause()
68 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause()
73 flags |= RESET_WATCHDOG; in z_impl_hwinfo_get_reset_cause()
78 flags |= RESET_WATCHDOG; 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_SECURITY; in z_impl_hwinfo_get_reset_cause()
[all …]
Dhwinfo_mcux_src.c20 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 …]
Dhwinfo_smartbond.c15 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()
Dhwinfo_mcux_src_rev2.c46 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.6.0/tests/subsys/portability/cmsis_rtos_v2/src/
Dthread_flags.c23 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 …]
Devent_flags.c25 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.6.0/soc/arm/cypress/common/
Dsoc_gpio.c15 static uint32_t soc_gpio_get_drv_mode(uint32_t flags) in soc_gpio_get_drv_mode() argument
19 flags = ((flags & SOC_GPIO_FLAGS_MASK) >> SOC_GPIO_FLAGS_POS); in soc_gpio_get_drv_mode()
21 if (flags & SOC_GPIO_OPENDRAIN) { in soc_gpio_get_drv_mode()
23 } else if (flags & SOC_GPIO_OPENSOURCE) { in soc_gpio_get_drv_mode()
25 } else if (flags & SOC_GPIO_PUSHPULL) { in soc_gpio_get_drv_mode()
27 } else if ((flags & SOC_GPIO_PULLUP) && (flags & SOC_GPIO_PULLDOWN)) { in soc_gpio_get_drv_mode()
29 } else if (flags & SOC_GPIO_PULLUP) { in soc_gpio_get_drv_mode()
31 } else if (flags & SOC_GPIO_PULLDOWN) { in soc_gpio_get_drv_mode()
37 if (flags & SOC_GPIO_INPUTENABLE) { in soc_gpio_get_drv_mode()
46 uint32_t drv_mode = soc_gpio_get_drv_mode(pin->flags); in soc_gpio_configure()
[all …]
/Zephyr-Core-3.6.0/arch/arm/core/cortex_m/cmse/
Darm_core_cmse.c14 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.6.0/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf51.h36 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
38 ARG_UNUSED(flags); in hal_radio_phy_mode_get()
99 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
102 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_us_get()
106 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
109 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_us_get()
113 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
116 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_us_get()
120 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
123 ARG_UNUSED(flags); in hal_radio_rx_chain_delay_us_get()
[all …]
Dradio_sim_nrf52.h202 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
204 ARG_UNUSED(flags); in hal_radio_phy_mode_get()
289 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
291 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_us_get()
302 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
304 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_us_get()
315 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
318 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_us_get()
323 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
325 ARG_UNUSED(flags); in hal_radio_rx_chain_delay_us_get()
[all …]
/Zephyr-Core-3.6.0/tests/drivers/can/api/src/
Dcommon.c29 .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.6.0/include/zephyr/net/
Dsocketcan_utils.h41 zframe->flags |= (sframe->can_id & BIT(31)) != 0 ? CAN_FRAME_IDE : 0; in socketcan_to_can_frame()
42 zframe->flags |= (sframe->can_id & BIT(30)) != 0 ? CAN_FRAME_RTR : 0; in socketcan_to_can_frame()
43 zframe->flags |= (sframe->flags & CANFD_FDF) != 0 ? CAN_FRAME_FDF : 0; in socketcan_to_can_frame()
44 zframe->flags |= (sframe->flags & CANFD_BRS) != 0 ? CAN_FRAME_BRS : 0; in socketcan_to_can_frame()
48 if ((zframe->flags & CAN_FRAME_RTR) == 0U) { in socketcan_to_can_frame()
66 sframe->can_id |= (zframe->flags & CAN_FRAME_IDE) != 0 ? BIT(31) : 0; in socketcan_from_can_frame()
67 sframe->can_id |= (zframe->flags & CAN_FRAME_RTR) != 0 ? BIT(30) : 0; in socketcan_from_can_frame()
70 if ((zframe->flags & CAN_FRAME_FDF) != 0) { in socketcan_from_can_frame()
71 sframe->flags |= CANFD_FDF; in socketcan_from_can_frame()
74 if ((zframe->flags & CAN_FRAME_BRS) != 0) { in socketcan_from_can_frame()
[all …]
/Zephyr-Core-3.6.0/drivers/pinctrl/
Dpinctrl_esp32.c66 static int esp32_pin_apply_config(uint32_t pin, uint32_t flags) in esp32_pin_apply_config() argument
90 if (flags & ESP32_PULL_UP_FLAG) { in esp32_pin_apply_config()
108 } else if (flags & ESP32_PULL_DOWN_FLAG) { in esp32_pin_apply_config()
128 if (flags & ESP32_DIR_OUT_FLAG) { in esp32_pin_apply_config()
134 if (flags & ESP32_OPEN_DRAIN_FLAG) { in esp32_pin_apply_config()
141 if (flags & ESP32_PIN_OUT_HIGH_FLAG) { in esp32_pin_apply_config()
143 } else if (flags & ESP32_PIN_OUT_LOW_FLAG) { in esp32_pin_apply_config()
150 if (!(flags & ESP32_PIN_OUT_EN_FLAG)) { in esp32_pin_apply_config()
155 if (flags & ESP32_DIR_INP_FLAG) { in esp32_pin_apply_config()
158 if (!(flags & ESP32_PIN_IN_EN_FLAG)) { in esp32_pin_apply_config()
[all …]
/Zephyr-Core-3.6.0/soc/arm/atmel_sam/common/
Dsoc_gpio.c24 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.6.0/drivers/pwm/
Dpwm_shell.c21 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.6.0/drivers/wifi/esp_at/
Desp.h175 atomic_t flags; member
219 uint8_t flags; member
298 atomic_val_t flags; in esp_socket_flags_update() local
301 flags = atomic_get(&sock->flags); in esp_socket_flags_update()
302 } while (!atomic_cas(&sock->flags, flags, (flags & ~mask) | value)); in esp_socket_flags_update()
304 return flags; in esp_socket_flags_update()
317 atomic_val_t flags) in esp_socket_flags_set() argument
319 return atomic_or(&sock->flags, flags); in esp_socket_flags_set()
323 atomic_val_t flags) in esp_socket_flags_test_and_clear() argument
325 return (atomic_and(&sock->flags, ~flags) & flags); in esp_socket_flags_test_and_clear()
[all …]
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/bt_le_oob_get_local/src/
Dtest_suite_invalid_inputs.c56 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()
149 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
150 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST()
194 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
195 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST()
198 atomic_set_bit(adv.flags, BT_ADV_ENABLED); in ZTEST()
199 atomic_set_bit(adv.flags, BT_ADV_USE_IDENTITY); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/include/zephyr/
Dsw_isr_table.h68 int32_t flags; member
88 int32_t flags; member
136 #define Z_ISR_DECLARE_C(irq, flags, func, param, counter) \ argument
137 _Z_ISR_DECLARE_C(irq, flags, func, param, counter)
139 #define _Z_ISR_DECLARE_C(irq, flags, func, param, counter) \ argument
143 {irq, flags, _MK_ISR_ELEMENT_SECTION(counter)}
150 #define Z_ISR_DECLARE(irq, flags, func, param) \ argument
151 BUILD_ASSERT(((flags) & ISR_FLAG_DIRECT) == 0, "Use Z_ISR_DECLARE_DIRECT macro"); \
152 Z_ISR_DECLARE_C(irq, flags, func, param, __COUNTER__)
170 #define Z_ISR_DECLARE_DIRECT_C(irq, flags, func, counter) \ argument
[all …]
/Zephyr-Core-3.6.0/drivers/gpio/
Dgpio_kscan_ite_it8xxx2.c40 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.6.0/include/zephyr/crypto/
Dcrypto.h167 uint32_t flags; in cipher_begin_session() local
173 flags = (ctx->flags & (CAP_OPAQUE_KEY_HNDL | CAP_RAW_KEY)); in cipher_begin_session()
174 __ASSERT(flags != 0U, "Keytype missing: RAW Key or OPAQUE handle"); in cipher_begin_session()
175 __ASSERT(flags != (CAP_OPAQUE_KEY_HNDL | CAP_RAW_KEY), in cipher_begin_session()
178 flags = (ctx->flags & (CAP_INPLACE_OPS | CAP_SEPARATE_IO_BUFS)); in cipher_begin_session()
179 __ASSERT(flags != 0U, "IO buffer type missing"); in cipher_begin_session()
180 __ASSERT(flags != (CAP_INPLACE_OPS | CAP_SEPARATE_IO_BUFS), in cipher_begin_session()
183 flags = (ctx->flags & (CAP_SYNC_OPS | CAP_ASYNC_OPS)); in cipher_begin_session()
184 __ASSERT(flags != 0U, "sync/async type missing"); in cipher_begin_session()
185 __ASSERT(flags != (CAP_SYNC_OPS | CAP_ASYNC_OPS), in cipher_begin_session()
[all …]

12345678910>>...55