/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | pacs.h | 110 * @brief Set the available contexts for an endpoint type 112 * @param dir Direction of the endpoints to change available contexts for. 113 * @param contexts The contexts to be set. 118 enum bt_audio_context contexts); 121 * @brief Get the available contexts for an endpoint type 123 * @param dir Direction of the endpoints to get contexts for. 125 * @return Bitmask of available contexts. 130 * @brief Set the available contexts for a given connection 132 * This function sets the available contexts value for a given @p conn connection object. 133 * If the @p contexts parameter is NULL the available contexts value is reset to default. [all …]
|
/Zephyr-latest/drivers/modem/ |
D | modem_context.c | 21 static struct modem_context *contexts[CONFIG_MODEM_CONTEXT_MAX_NUM]; variable 87 for (i = 0; i < ARRAY_SIZE(contexts); i++) { in modem_context_from_iface_dev() 88 if (contexts[i] && contexts[i]->iface.dev == dev) { in modem_context_from_iface_dev() 89 return contexts[i]; in modem_context_from_iface_dev() 99 * @note Amount of stored modem contexts is determined by 110 for (i = 0; i < ARRAY_SIZE(contexts); i++) { in modem_context_get() 111 if (!contexts[i]) { in modem_context_get() 112 contexts[i] = ctx; in modem_context_get() 122 if (id >= 0 && id < ARRAY_SIZE(contexts)) { in modem_context_from_id() 123 return contexts[id]; in modem_context_from_id()
|
D | modem_receiver.c | 28 static struct mdm_receiver_context *contexts[MAX_MDM_CTX]; variable 42 if (contexts[i] && contexts[i]->uart_dev == dev) { in context_from_dev() 43 return contexts[i]; in context_from_dev() 53 * @note Amount of stored receiver contexts is determined by 65 if (!contexts[i]) { in mdm_receiver_get() 66 contexts[i] = ctx; in mdm_receiver_get() 98 * @note Fills contexts ring buffer with received data. 159 return contexts[id]; in mdm_receiver_context_from_id()
|
D | Kconfig | 31 int "Maximum number of modem receiver contexts" 36 Maximum number of modem receiver contexts to handle. For most 53 int "Maximum number of modem contexts" 56 Maximum number of modem contexts to handle. For most
|
/Zephyr-latest/subsys/lorawan/nvm/ |
D | lorawan_nvm_settings.c | 58 LoRaMacNvmData_t *nvm = mib_req.Param.Contexts; in lorawan_nvm_save_settings() 61 mib_req.Param.Contexts->Crypto.LrWanVersion.Value, in lorawan_nvm_save_settings() 62 mib_req.Param.Contexts->Crypto.DevNonce, in lorawan_nvm_save_settings() 63 mib_req.Param.Contexts->Crypto.JoinNonce); in lorawan_nvm_save_settings() 158 mib_req.Param.Contexts); in lorawan_nvm_data_restore() 165 mib_req.Param.Contexts->Crypto.LrWanVersion.Value, in lorawan_nvm_data_restore() 166 mib_req.Param.Contexts->Crypto.DevNonce, in lorawan_nvm_data_restore() 167 mib_req.Param.Contexts->Crypto.JoinNonce); in lorawan_nvm_data_restore()
|
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/ |
D | ztress.h | 61 * determined based on the order in which contexts are listed in @ref ZTRESS_EXECUTE. 83 /** @brief User handler called in one of the configured contexts. 158 * the first item in the list of contexts. 167 * It initialises all contexts and calls @ref ztress_execute. 169 * @param ... List of contexts. Contexts are configured using @ref ZTRESS_TIMER 173 * The maximum number of supported thread contexts, including the timer context, 193 /** Execute contexts. 202 * @param thread_data List of thread contexts descriptors in priority descending order. 203 * @param cnt Number of thread contexts.
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | pacs.c | 84 /* Sink Available Contexts override value */ 89 /* Source Available Contexts override value */ 304 static int set_available_contexts(uint16_t contexts, uint16_t *available, in set_available_contexts() argument 307 if (contexts & ~supported) { in set_available_contexts() 311 if (contexts == *available) { in set_available_contexts() 315 *available = contexts; in set_available_contexts() 323 static int set_supported_contexts(uint16_t contexts, uint16_t *supported, in set_supported_contexts() argument 331 contexts |= BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED; in set_supported_contexts() 333 if (*supported == contexts) { in set_supported_contexts() 337 *supported = contexts; in set_supported_contexts() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/stress/src/ |
D | main.c | 59 static struct test_ctx contexts[L2CAP_CHANS]; variable 66 ASSERT(ctx >= &contexts[0] && in get_ctx() 67 ctx <= &contexts[L2CAP_CHANS], "memory corruption"); in get_ctx() 199 struct bt_l2cap_le_chan *le_chan = &contexts[i].le_chan; in alloc_test_context() 205 memset(&contexts[i], 0, sizeof(struct test_ctx)); in alloc_test_context() 206 k_work_init_delayable(&contexts[i].work_item, deferred_send); in alloc_test_context() 208 return &contexts[i]; in alloc_test_context() 394 ASSERT(ctx, "No more available test contexts\n"); in connect_l2cap_channel() 434 contexts[i].tx_left = SDU_NUM; in test_central_main() 435 l2cap_chan_send(&contexts[i].le_chan.chan, tx_data, sizeof(tx_data)); in test_central_main() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/many_conns/src/ |
D | main.c | 43 static struct test_ctx contexts[L2CAP_CHANS]; variable 50 ASSERT(ctx >= &contexts[0] && in get_ctx() 51 ctx <= &contexts[L2CAP_CHANS], "memory corruption"); in get_ctx() 145 struct bt_l2cap_le_chan *le_chan = &contexts[i].le_chan; in alloc_test_context() 151 memset(&contexts[i], 0, sizeof(struct test_ctx)); in alloc_test_context() 153 return &contexts[i]; in alloc_test_context() 324 ASSERT(ctx, "No more available test contexts\n"); in connect_l2cap_channel() 401 contexts[i].tx_left = SDU_NUM; in test_central_main() 402 l2cap_chan_send(&contexts[i].le_chan.chan, tx_data, sizeof(tx_data)); in test_central_main() 419 remaining_tx_total += contexts[i].tx_left; in test_central_main()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/src/ |
D | dut.c | 42 static struct test_ctx contexts[CONFIG_BT_MAX_CONN]; variable 95 TEST_ASSERT(PART_OF_ARRAY(contexts, ctx), "memory corruption"); in get_ctx_from_chan() 156 for (size_t i = 0; i < ARRAY_SIZE(contexts); i++) { in alloc_ctx() 157 struct test_ctx *context = &contexts[i]; in alloc_ctx() 178 for (size_t i = 0; i < ARRAY_SIZE(contexts); i++) { in get_ctx_from_address() 179 struct test_ctx *context = &contexts[i]; in get_ctx_from_address() 262 for (size_t i = 0; i < ARRAY_SIZE(contexts); i++) { in all_data_transferred() 263 total_sdu_count += contexts[i].sdu_count; in all_data_transferred()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_context.c | 81 static struct net_context contexts[NET_MAX_CONTEXT]; variable 83 /* We need to lock the contexts array as these APIs are typically called 187 if (!net_context_is_used(&contexts[i])) { in check_used_port() 191 if (context != NULL && context == &contexts[i]) { in check_used_port() 195 if (!(net_context_get_proto(&contexts[i]) == proto && in check_used_port() 197 contexts[i].local)->sin_port == local_port)) { in check_used_port() 201 if (net_context_is_bound_to_iface(&contexts[i])) { in check_used_port() 202 if (iface != NULL && iface != net_context_get_iface(&contexts[i])) { in check_used_port() 209 if (net_sin6_ptr(&contexts[i].local)->sin6_addr == NULL || in check_used_port() 210 net_sin6_ptr(&contexts[i].local)->sin6_family != AF_INET6) { in check_used_port() [all …]
|
/Zephyr-latest/dts/bindings/net/wireless/ |
D | generic-fem-two-ctrl-pins.yaml | 10 the "PA pin" in other contexts. 14 the "LNA pin" in other contexts.
|
/Zephyr-latest/samples/subsys/canbus/isotp/ |
D | prj.conf | 7 # We have two receiving contexts that are bound to a single address.
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | msg.rst | 8 contexts.
|
/Zephyr-latest/samples/bluetooth/direction_finding_central/boards/ |
D | nrf52833dk_nrf52820.conf | 15 # Ensure that there is enough control procedure contexts to queue and execute all procedures
|
D | nrf52833dk_nrf52833.conf | 15 # Ensure that there is enough control procedure contexts to queue and execute all procedures
|
/Zephyr-latest/samples/bluetooth/direction_finding_peripheral/boards/ |
D | nrf52833dk_nrf52820.conf | 15 # Ensure that there is enough control procedure contexts to queue and execute all procedures
|
D | nrf52833dk_nrf52833.conf | 15 # Ensure that there is enough control procedure contexts to queue and execute all procedures
|
/Zephyr-latest/subsys/net/lib/websocket/ |
D | websocket.c | 50 static struct websocket_context contexts[CONFIG_WEBSOCKET_MAX_CONTEXTS]; variable 112 for (i = 0; i < ARRAY_SIZE(contexts); i++) { in websocket_get() 113 if (websocket_context_is_used(&contexts[i])) { in websocket_get() 117 websocket_context_ref(&contexts[i]); in websocket_get() 118 ctx = &contexts[i]; in websocket_get() 134 for (i = 0; i < ARRAY_SIZE(contexts); i++) { in websocket_find() 135 if (!websocket_context_is_used(&contexts[i])) { in websocket_find() 139 if (contexts[i].real_sock != real_sock) { in websocket_find() 143 ctx = &contexts[i]; in websocket_find() 680 if (!PART_OF_ARRAY(contexts, ctx)) { in websocket_send_msg() [all …]
|
/Zephyr-latest/subsys/testsuite/include/zephyr/ |
D | fff_extensions.h | 82 CONTEXTTYPE * const contexts = \ 89 CONTEXTTYPE * const CONTEXTPTRNAME = &contexts[seq_idx]; \
|
/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/ |
D | unary_f64.c | 52 /* Initialise contexts */ in test_op2() 131 /* Initialise contexts */ in test_op1() 206 /* Initialise contexts */ in ZTEST() 269 /* Initialise contexts */ in ZTEST() 336 /* Initialise contexts */ in ZTEST() 413 /* Initialise contexts */ in ZTEST()
|
D | unary_f16.c | 64 /* Initialise contexts */ in test_op2() 150 /* Initialise contexts */ in test_op1() 231 /* Initialise contexts */ in ZTEST() 294 /* Initialise contexts */ in test_op2v() 364 /* Initialise contexts */ in test_op1c() 439 /* Initialise contexts */ in ZTEST() 506 /* Initialise contexts */ in ZTEST() 583 /* Initialise contexts */ in ZTEST()
|
D | unary_f32.c | 60 /* Initialise contexts */ in test_op2() 146 /* Initialise contexts */ in test_op1() 227 /* Initialise contexts */ in ZTEST() 290 /* Initialise contexts */ in test_op2v() 360 /* Initialise contexts */ in test_op1c() 435 /* Initialise contexts */ in ZTEST() 502 /* Initialise contexts */ in ZTEST() 579 /* Initialise contexts */ in ZTEST()
|
/Zephyr-latest/tests/kernel/fifo/fifo_api/src/ |
D | test_fifo_loop.c | 39 /*entry of contexts*/ 95 * -# fifo data pass correctly and stably across contexts
|
/Zephyr-latest/tests/kernel/lifo/lifo_api/src/ |
D | test_lifo_loop.c | 39 /*entry of contexts*/ 95 * -# lifo data pass correctly and stably across contexts
|