/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/ |
D | main.c | 78 ATOMIC_DEFINE(status_flags, DEVICE_NUM_FLAGS); 308 __ASSERT(atomic_test_bit(status_flags, DEVICE_IS_SCANNING), in stop_scan() 310 atomic_clear_bit(status_flags, DEVICE_IS_SCANNING); in stop_scan() 348 __ASSERT(!atomic_test_bit(status_flags, DEVICE_IS_CONNECTING), in parse_ad() 350 atomic_set_bit(status_flags, DEVICE_IS_CONNECTING); in parse_ad() 389 atomic_set_bit(status_flags, DEVICE_IS_SCANNING); in start_scan() 429 atomic_clear_bit(status_flags, DEVICE_IS_CONNECTING); in connected_cb() 675 !atomic_test_bit(status_flags, DEVICE_IS_SCANNING) && in test_central_main() 676 !atomic_test_bit(status_flags, DEVICE_IS_CONNECTING)) { in test_central_main() 679 if (atomic_test_bit(status_flags, DEVICE_IS_CONNECTING)) { in test_central_main()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | tbs_client_test.c | 40 CREATE_FLAG(status_flags); 207 SET_FLAG(status_flags); in tbs_client_status_flags_cb() 321 .status_flags = tbs_client_status_flags_cb, 433 UNSET_FLAG(status_flags); in test_status_flags() 443 WAIT_FOR_FLAG(status_flags); in test_status_flags()
|
/Zephyr-latest/drivers/spi/ |
D | spi_mcux_flexcomm.c | 67 volatile uint32_t status_flags; member 311 data->status_flags |= SPI_MCUX_FLEXCOMM_DMA_ERROR_FLAG; in spi_mcux_dma_callback() 319 data->status_flags |= SPI_MCUX_FLEXCOMM_DMA_TX_DONE_FLAG; in spi_mcux_dma_callback() 322 data->status_flags |= SPI_MCUX_FLEXCOMM_DMA_RX_DONE_FLAG; in spi_mcux_dma_callback() 326 data->status_flags |= SPI_MCUX_FLEXCOMM_DMA_ERROR_FLAG; in spi_mcux_dma_callback() 524 data->status_flags |= SPI_MCUX_FLEXCOMM_DMA_RX_DONE_FLAG; in spi_mcux_dma_rx_load() 583 if (data->status_flags & SPI_MCUX_FLEXCOMM_DMA_ERROR_FLAG) { in wait_dma_rx_tx_done() 587 if ((data->status_flags & SPI_MCUX_FLEXCOMM_DMA_DONE_FLAG) == in wait_dma_rx_tx_done() 678 data->status_flags = 0; in transceive_dma()
|
D | spi_mcux_lpspi.c | 85 volatile uint32_t status_flags; member 248 data->status_flags |= LPSPI_DMA_TX_DONE_FLAG; in spi_mcux_dma_callback() 252 data->status_flags |= LPSPI_DMA_RX_DONE_FLAG; in spi_mcux_dma_callback() 261 if (data->ctx.asynchronous && (data->status_flags & LPSPI_DMA_DONE_FLAG)) { in spi_mcux_dma_callback() 277 data->status_flags |= LPSPI_DMA_ERROR_FLAG; in spi_mcux_dma_callback() 363 } else if (data->status_flags & LPSPI_DMA_ERROR_FLAG) { in wait_dma_rx_tx_done() 366 } while (!((data->status_flags & LPSPI_DMA_DONE_FLAG) == LPSPI_DMA_DONE_FLAG)); in wait_dma_rx_tx_done() 379 data->status_flags = 0U; in spi_mcux_dma_rxtx_load()
|
D | spi_ll_stm32.c | 138 spi_dma_data->status_flags |= SPI_STM32_DMA_ERROR_FLAG; in dma_callback() 143 spi_dma_data->status_flags |= SPI_STM32_DMA_TX_DONE_FLAG; in dma_callback() 146 spi_dma_data->status_flags |= SPI_STM32_DMA_RX_DONE_FLAG; in dma_callback() 149 spi_dma_data->status_flags |= SPI_STM32_DMA_ERROR_FLAG; in dma_callback() 915 if (data->status_flags & SPI_STM32_DMA_ERROR_FLAG) { in wait_dma_rx_tx_done() 919 if (data->status_flags & SPI_STM32_DMA_DONE_FLAG) { in wait_dma_rx_tx_done() 1041 data->status_flags = 0; in transceive_dma()
|
D | spi_ll_stm32.h | 67 volatile uint32_t status_flags; member
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | tbs.c | 622 unsigned long status_flags; in cmd_tbs_set_status_flags() local 649 status_flags = shell_strtoul(argv[argc - 1], 0, &result); in cmd_tbs_set_status_flags() 656 if (status_flags > UINT8_MAX) { in cmd_tbs_set_status_flags() 657 shell_error(sh, "Invalid status_flags: %lu", status_flags); in cmd_tbs_set_status_flags() 663 (uint16_t)status_flags); in cmd_tbs_set_status_flags()
|
/Zephyr-latest/drivers/comparator/ |
D | comparator_mcux_acmp.c | 360 uint32_t status_flags; in mcux_acmp_trigger_is_pending() local 362 status_flags = ACMP_GetStatusFlags(config->base); in mcux_acmp_trigger_is_pending() 366 (status_flags & kACMP_OutputRisingEventFlag)) { in mcux_acmp_trigger_is_pending() 371 (status_flags & kACMP_OutputFallingEventFlag)) { in mcux_acmp_trigger_is_pending()
|
/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | ccp_call_ctrl.c | 152 .status_flags = status_flags_cb,
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | tbs.h | 445 int bt_tbs_set_status_flags(uint8_t bearer_index, uint16_t status_flags); 758 bt_tbs_client_read_value_cb status_flags; member
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | tbs_client.c | 477 uint16_t status_flags) in status_flags_changed() argument 482 if (listener->status_flags != NULL) { in status_flags_changed() 483 listener->status_flags(conn, err, inst_index, status_flags); in status_flags_changed() 492 uint16_t status_flags; in status_flags_notify_handler() local 496 if (length == sizeof(status_flags)) { in status_flags_notify_handler() 497 (void)memcpy(&status_flags, data, length); in status_flags_notify_handler() 498 LOG_DBG("0x%04x", status_flags); in status_flags_notify_handler() 500 status_flags_changed(conn, 0, tbs_index(conn, tbs_inst), status_flags); in status_flags_notify_handler() 1270 uint16_t status_flags = 0; in read_status_flags_cb() local 1278 if (length == sizeof(status_flags)) { in read_status_flags_cb() [all …]
|
D | tbs.c | 52 uint16_t status_flags; member 729 LOG_DBG("Index %u: status_flags 0x%04x", inst_index(inst), inst->status_flags); in read_status_flags() 2102 int bt_tbs_set_status_flags(uint8_t bearer_index, uint16_t status_flags) in bt_tbs_set_status_flags() argument 2106 if (!BT_TBS_VALID_STATUS_FLAGS(status_flags)) { in bt_tbs_set_status_flags() 2112 if (inst->status_flags == status_flags) { in bt_tbs_set_status_flags() 2116 inst->status_flags = status_flags; in bt_tbs_set_status_flags() 2118 bt_gatt_notify_uuid(NULL, BT_UUID_TBS_STATUS_FLAGS, inst->attrs, &status_flags, in bt_tbs_set_status_flags() 2119 sizeof(status_flags)); in bt_tbs_set_status_flags()
|
/Zephyr-latest/drivers/can/ |
D | can_mcux_flexcan.c | 638 uint64_t status_flags; in mcux_flexcan_get_state() local 644 status_flags = FLEXCAN_GetStatusFlags(config->base); in mcux_flexcan_get_state() 646 if ((status_flags & CAN_ESR1_FLTCONF(2)) != 0U) { in mcux_flexcan_get_state() 648 } else if ((status_flags & CAN_ESR1_FLTCONF(1)) != 0U) { in mcux_flexcan_get_state() 650 } else if ((status_flags & in mcux_flexcan_get_state() 1075 uint64_t status_flags = result; in FLEXCAN_CALLBACK() local 1084 mcux_flexcan_transfer_error_status(data->dev, status_flags); in FLEXCAN_CALLBACK() 1111 status, status_flags); in FLEXCAN_CALLBACK()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_ccp.h | 182 uint16_t status_flags; member
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_ccp.c | 90 ev.status_flags = sys_cpu_to_le16(tbs_handles->status_flags); in tbs_chrc_handles_ev() 253 tbs_handles.status_flags = tbs_inst->status_flags_sub_params.value_handle; in tbs_client_read_val_cb() 297 .status_flags = tbs_client_read_val_cb,
|