/Zephyr-latest/cmake/compiler/iar/ |
D | compiler_flags.cmake | 8 # This section covers flags related to optimization # 23 # This section covers flags related to warning levels # 77 # Compiler flags to use when compiling according to MISRA 83 # This section covers flags related to C or C++ standards / standard libs # 86 # Compiler flags for C standard. The specific standard must be appended by user. 90 # Since ICCARM does not use C standard flags, we just make them a defined symbol 94 # Compiler flags for disabling C standard include and instead specify include 99 # Compiler flags for disabling C++ standard include. 102 # Required C++ flags when compiling C++ code 105 # Compiler flags to use for specific C++ dialects [all …]
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_mfxstm32l152.c | 277 static int set_pin_dir_mode(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in set_pin_dir_mode() argument 288 if ((flags & GPIO_OUTPUT) != 0U) { in set_pin_dir_mode() 289 if ((flags & GPIO_OUTPUT_INIT_HIGH) != 0U) { in set_pin_dir_mode() 294 } else if ((flags & GPIO_OUTPUT_INIT_LOW) != 0U) { in set_pin_dir_mode() 303 if ((flags & GPIO_OUTPUT) && ((*mode_cache & BIT(pin)) == 0)) { in set_pin_dir_mode() 306 } else if ((flags & GPIO_INPUT) && ((*mode_cache & BIT(pin)) != 0)) { in set_pin_dir_mode() 320 if ((flags & GPIO_INPUT) != 0U) { in set_pin_dir_mode() 321 if ((flags & GPIO_PULL_UP) && ((*mode_cache & BIT(pin)) == 0)) { in set_pin_dir_mode() 324 } else if ((flags & GPIO_PULL_DOWN) && ((*mode_cache & BIT(pin)) != 0)) { in set_pin_dir_mode() 341 static int mfxstm32l152_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in mfxstm32l152_configure() argument [all …]
|
D | gpio_stmpe1600.c | 111 static int set_pin_dir(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in set_pin_dir() argument 119 if ((flags & GPIO_OUTPUT) != 0U) { in set_pin_dir() 121 if ((flags & GPIO_OUTPUT_INIT_HIGH) != 0U) { in set_pin_dir() 124 } else if ((flags & GPIO_OUTPUT_INIT_LOW) != 0U) { in set_pin_dir() 148 gpio_pin_t pin, gpio_flags_t flags) in stmpe1600_configure() argument 155 if ((flags & (GPIO_INPUT | GPIO_OUTPUT)) == GPIO_DISCONNECTED) { in stmpe1600_configure() 160 if ((flags & (GPIO_SINGLE_ENDED | GPIO_PULL_UP | GPIO_PULL_DOWN)) != 0) { in stmpe1600_configure() 170 ret = set_pin_dir(dev, pin, flags); in stmpe1600_configure()
|
D | gpio_grgpio2.c | 43 gpio_pin_t pin, gpio_flags_t flags) in pin_configure() argument 50 if (flags & GPIO_SINGLE_ENDED) { in pin_configure() 54 if (flags == GPIO_DISCONNECTED) { in pin_configure() 58 if ((flags & GPIO_DIR_MASK) == (GPIO_INPUT | GPIO_OUTPUT)) { in pin_configure() 62 if ((flags & (GPIO_PULL_UP | GPIO_PULL_DOWN)) != 0) { in pin_configure() 66 if (flags & GPIO_OUTPUT) { in pin_configure() 74 if (flags & GPIO_OUTPUT_INIT_HIGH) { in pin_configure() 76 } else if (flags & GPIO_OUTPUT_INIT_LOW) { in pin_configure()
|
D | gpio_mchp_mss.c | 72 gpio_flags_t flags) in mss_gpio_config() argument 75 uint32_t io_flags = flags & (GPIO_INPUT | GPIO_OUTPUT); in mss_gpio_config() 82 if (flags & GPIO_OUTPUT) { in mss_gpio_config() 86 if (flags & GPIO_OUTPUT_INIT_HIGH) { in mss_gpio_config() 89 } else if (flags & GPIO_OUTPUT_INIT_LOW) { in mss_gpio_config() 94 } else if (flags & GPIO_INPUT) { in mss_gpio_config()
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_backend_adsp.c | 49 uint32_t flags = LOG_OUTPUT_FLAG_LEVEL | LOG_OUTPUT_FLAG_TIMESTAMP; in format_flags() local 52 flags |= LOG_OUTPUT_FLAG_FORMAT_TIMESTAMP; in format_flags() 55 return flags; in format_flags()
|
/Zephyr-latest/include/zephyr/ |
D | irq_nextlevel.h | 30 uint32_t flags); 110 uint32_t prio, uint32_t flags) in irq_set_priority_next_level() argument 116 api->intr_set_priority(dev, irq, prio, flags); in irq_set_priority_next_level()
|
/Zephyr-latest/tests/bluetooth/host/id/bt_le_ext_adv_oob_get_local/src/ |
D | main.c | 52 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST() 91 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST() 92 atomic_clear_bit(adv.flags, BT_ADV_USE_IDENTITY); in ZTEST()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_smartbond.c | 223 if (msg->flags & I2C_MSG_ADDR_10_BITS) { in i2c_smartbond_set_target_address() 244 if ((current->flags & I2C_MSG_RW_MASK) != (next->flags & I2C_MSG_RW_MASK)) { in i2c_smartbond_set_msg_flags() 245 next->flags |= I2C_MSG_RESTART; in i2c_smartbond_set_msg_flags() 247 if (current->flags & I2C_MSG_STOP) { in i2c_smartbond_set_msg_flags() 282 const bool rw = ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in i2c_smartbond_tx() 296 ((data->transmit_cnt == 0) && (data->msgs->flags & I2C_MSG_RESTART) in i2c_smartbond_tx() 300 (data->msgs->flags & I2C_MSG_STOP) in i2c_smartbond_tx() 360 if ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_smartbond_transfer() 401 if ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_smartbond_enable_msg_interrupts() 457 const bool rw = ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in isr_tx() [all …]
|
D | i2c_nrfx_twim.c | 57 if (I2C_MSG_ADDR_10_BITS & msgs[i].flags) { in i2c_nrfx_twim_transfer() 71 && !(msgs[i].flags & I2C_MSG_STOP) in i2c_nrfx_twim_transfer() 72 && !(msgs[i + 1].flags & I2C_MSG_RESTART) in i2c_nrfx_twim_transfer() 73 && ((msgs[i].flags & I2C_MSG_READ) in i2c_nrfx_twim_transfer() 74 == (msgs[i + 1].flags & I2C_MSG_READ)); in i2c_nrfx_twim_transfer() 95 if (!(msgs[i].flags & I2C_MSG_READ)) { in i2c_nrfx_twim_transfer() 114 ret = i2c_nrfx_twim_msg_transfer(dev, msgs[i].flags, buf, buf_len, addr); in i2c_nrfx_twim_transfer() 151 if ((msgs[i].flags & I2C_MSG_READ) && (buf == msg_buf)) { in i2c_nrfx_twim_transfer()
|
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/ |
D | service_c_2_1.c | 213 uint16_t len, uint16_t offset, uint8_t flags) in write_value_v2() argument 267 uint8_t flags) in write_long_des_v2d1() argument 299 uint8_t flags) in write_value_v2_1() argument 353 uint8_t flags) in write_long_des_v2d2() argument 385 uint8_t flags) in write_value_v2_2() argument 439 uint8_t flags) in write_long_des_v2d3() argument 493 uint8_t flags) in write_value_v2_3() argument 547 uint8_t flags) in write_long_des_v2d1_1() argument 601 uint8_t flags) in write_value_v2_4() argument 655 uint8_t flags) in write_long_des_v2d2_1() argument [all …]
|
D | service_c_2_3.c | 127 uint16_t len, uint16_t offset, uint8_t flags) in write_value_v2() argument 159 uint8_t flags) in write_value_v2_1() argument 191 uint8_t flags) in write_value_v2_2() argument 223 uint8_t flags) in write_value_v2_3() argument 255 uint8_t flags) in write_value_v2_4() argument 287 uint8_t flags) in write_value_v2_5() argument
|
D | service_c_2_2.c | 127 uint16_t len, uint16_t offset, uint8_t flags) in write_value_v2() argument 159 uint8_t flags) in write_value_v2_1() argument 191 uint8_t flags) in write_value_v2_2() argument 223 uint8_t flags) in write_value_v2_3() argument 255 uint8_t flags) in write_value_v2_4() argument 287 uint8_t flags) in write_value_v2_5() argument
|
/Zephyr-latest/include/zephyr/logging/ |
D | log_output.h | 113 struct log_msg *msg, uint32_t flags); 146 struct log_msg *msg, uint32_t flags); 170 uint32_t flags); 182 struct log_msg *msg, uint32_t flags);
|
/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_mkfs.c | 25 fs_mkfs_mp->flags = FS_MOUNT_FLAG_NO_FORMAT; in test_fs_mkfs_simple() 39 fs_mkfs_mp->flags = FS_MOUNT_FLAG_NO_FORMAT; in test_fs_mkfs_simple() 59 fs_mkfs_mp->flags = 0; in test_fs_mkfs_ops() 78 fs_mkfs_mp->flags = FS_MOUNT_FLAG_NO_FORMAT; in test_fs_mkfs_ops()
|
/Zephyr-latest/include/zephyr/drivers/console/ |
D | ipm_console.h | 63 unsigned int flags; member 93 int flags; member
|
/Zephyr-latest/boards/native/nrf_bsim/ |
D | irq_handler.c | 57 if (irq_vector_table[irq_nbr].flags & ISR_FLAG_DIRECT) { in vector_to_irq() 258 void posix_isr_declare(unsigned int irq_p, int flags, void isr_p(const void *), in posix_isr_declare() argument 269 irq_vector_table[irq_p].flags = flags; in posix_isr_declare() 279 void posix_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags) in posix_irq_priority_set() argument
|
/Zephyr-latest/lib/posix/options/ |
D | device_io.c | 20 int zvfs_open(const char *name, int flags, int mode); 62 int open(const char *name, int flags, ...) in open() argument 67 if ((flags & O_CREAT) != 0) { in open() 68 va_start(args, flags); in open() 73 return zvfs_open(name, flags, mode); in open()
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_system_apic.c | 47 uint32_t flags) in z_irq_controller_irq_config() argument 52 z_ioapic_irq_set(irq, vector, flags); in z_irq_controller_irq_config()
|
/Zephyr-latest/drivers/can/ |
D | can_nxp_s32_canxl.c | 496 if ((filter->flags & ~(CAN_FILTER_IDE)) != 0) { in can_nxp_s32_add_rx_filter() 497 LOG_ERR("unsupported CAN filter flags 0x%02x", filter->flags); in can_nxp_s32_add_rx_filter() 522 if (!!(filter->flags & CAN_FILTER_IDE)) { in can_nxp_s32_add_rx_filter() 537 if (!!(filter->flags & CAN_FILTER_IDE)) { in can_nxp_s32_add_rx_filter() 551 .idType = !!(filter->flags & CAN_FILTER_IDE) ? in can_nxp_s32_add_rx_filter() 586 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_FDF | CAN_FRAME_BRS)) != 0) { in can_nxp_s32_send() 587 LOG_ERR("unsupported CAN frame flags 0x%02x", frame->flags); in can_nxp_s32_send() 591 if ((frame->flags & CAN_FRAME_FDF) != 0 && in can_nxp_s32_send() 597 if ((frame->flags & CAN_FRAME_BRS) != 0 && in can_nxp_s32_send() 603 if ((frame->flags & ~CAN_FRAME_IDE) != 0) { in can_nxp_s32_send() [all …]
|
/Zephyr-latest/subsys/net/lib/wifi_credentials/ |
D | wifi_credentials.c | 194 size_t password_len, uint32_t flags, uint8_t channel, in wifi_credentials_set_personal() argument 206 if (flags & WIFI_CREDENTIALS_FLAG_BSSID && in wifi_credentials_set_personal() 226 header->flags = flags; in wifi_credentials_set_personal() 230 if (flags & WIFI_CREDENTIALS_FLAG_BSSID) { in wifi_credentials_set_personal() 264 uint32_t *flags, uint8_t *channel, uint32_t *timeout) in wifi_credentials_get_by_ssid_personal() argument 297 *flags = header->flags; in wifi_credentials_get_by_ssid_personal() 301 if (header->flags & WIFI_CREDENTIALS_FLAG_BSSID) { in wifi_credentials_get_by_ssid_personal()
|
/Zephyr-latest/drivers/flash/ |
D | flash_stm32wb0x.c | 86 static int error_from_irq_flags(uint32_t flags) in error_from_irq_flags() argument 93 if (flags & FLASH_FLAG_ILLCMD) { in error_from_irq_flags() 97 if (flags & FLASH_FLAG_CMDERR) { in error_from_irq_flags() 155 uint32_t flags; in poll_flash_controller() local 159 flags = FLASH->IRQRAW; in poll_flash_controller() 160 } while (flags == 0); in poll_flash_controller() 163 FLASH->IRQRAW = flags; in poll_flash_controller() 165 return flags; in poll_flash_controller()
|
/Zephyr-latest/drivers/regulator/ |
D | regulator_common.c | 42 if (REGULATOR_ACTIVE_DISCHARGE_GET_BITS(config->flags) != in regulator_common_init() 45 (bool)REGULATOR_ACTIVE_DISCHARGE_GET_BITS(config->flags)); in regulator_common_init() 89 if ((config->flags & REGULATOR_BOOT_OFF) != 0U) { in regulator_common_init() 92 } else if ((config->flags & REGULATOR_INIT_ENABLED) != 0U) { in regulator_common_init() 118 if ((config->flags & REGULATOR_ALWAYS_ON) != 0U) { in regulator_enable() 150 if ((config->flags & REGULATOR_ALWAYS_ON) != 0U) { in regulator_is_enabled() 178 if ((config->flags & REGULATOR_ALWAYS_ON) != 0U) { in regulator_disable()
|
/Zephyr-latest/include/zephyr/net/ |
D | socketcan.h | 118 uint8_t flags; member 139 uint8_t flags; member
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_cc13xx_cc26xx.c | 46 uint8_t flags; member 74 data->flags = cfg->flags; in wdt_cc13xx_cc26xx_install_timeout() 120 switch ((data->flags & WDT_FLAG_RESET_MASK)) { in wdt_cc13xx_cc26xx_setup() 238 .flags = 0, \
|