/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() 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() 65 if (!contexts[i]) { in mdm_receiver_get() 66 contexts[i] = ctx; in mdm_receiver_get() 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/include/zephyr/bluetooth/audio/ |
D | pacs.h | 118 enum bt_audio_context contexts); 145 enum bt_audio_context *contexts); 172 enum bt_audio_context contexts);
|
/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/testsuite/include/zephyr/ |
D | fff_extensions.h | 82 CONTEXTTYPE * const contexts = \ 89 CONTEXTTYPE * const CONTEXTPTRNAME = &contexts[seq_idx]; \
|
/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() 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() 446 remaining_tx_total += contexts[i].tx_left; in test_central_main()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_context.c | 81 static struct net_context contexts[NET_MAX_CONTEXT]; variable 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() 215 net_sin6_ptr(&contexts[i].local)->sin6_addr) || in check_used_port() [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() 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/subsys/bluetooth/audio/ |
D | pacs.c | 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() 340 if ((contexts & *available) != *available) { in set_supported_contexts() 341 err = set_available_contexts(contexts & *available, available, contexts); in set_supported_contexts() [all …]
|
D | has.c | 203 } contexts[CONFIG_BT_MAX_PAIRED]; variable 228 for (size_t i = 0; i < ARRAY_SIZE(contexts); i++) { in context_find() 229 if (bt_addr_le_eq(&contexts[i].addr, addr)) { in context_find() 230 return &contexts[i]; in context_find() 515 for (size_t i = 0U; i < ARRAY_SIZE(contexts); i++) { in notify() 516 atomic_set_bit(contexts[i].flags, flag); in notify() 793 for (size_t i = 0U; i < ARRAY_SIZE(contexts); i++) { in control_point_send_all() 794 struct client_context *context = &contexts[i]; in control_point_send_all()
|
/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/doc/connectivity/bluetooth/api/mesh/ |
D | msg.rst | 8 contexts.
|
/Zephyr-latest/drivers/timer/ |
D | Kconfig.nrf_rtc | 35 higher priority contexts (including ZLIs) that might preempt the
|
/Zephyr-latest/tests/net/context/src/ |
D | main.c | 129 struct net_context *contexts[CONFIG_NET_MAX_CONTEXTS]; in ZTEST() local 133 for (i = 0; i < ARRAY_SIZE(contexts); i++) { in ZTEST() 135 IPPROTO_UDP, &contexts[i]); in ZTEST() 144 for (i = 0; i < ARRAY_SIZE(contexts); i++) { in ZTEST() 145 ret = net_context_put(contexts[i]); in ZTEST()
|
/Zephyr-latest/doc/kernel/services/other/ |
D | atomic.rst | 21 even if higher priority contexts also manipulate the same variable. 98 to guarantee a reliable picture across contexts. Any
|
/Zephyr-latest/doc/kernel/data_structures/ |
D | index.rst | 19 behind this design is to allow the collections to be used in contexts
|
/Zephyr-latest/lib/utils/ |
D | Kconfig | 41 "windows", generally for transmit to non-Zephyr contexts that
|
/Zephyr-latest/doc/connectivity/bluetooth/ |
D | bluetooth-ctlr-arch.rst | 144 Three main execution contexts 176 …* Mem pool used to implement procedure contexts resource - instantiated in both a local and a remo… 213 …* Since we have resource handling re. procedure contexts and terminate must always be available th… 277 * Mayfly are multi-instance scalable ISR execution contexts
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | Kconfig.radio | 41 and fits low duty-cycle contexts where the radio spectrum is not
|
/Zephyr-latest/subsys/canbus/isotp/ |
D | Kconfig | 121 bool "Buffered tx contexts" 124 This option enables buffered sending contexts. This makes send and
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | bap.rst | 201 Streaming audio contexts: 254 Streaming audio contexts: 365 Preferred audio contexts: 412 Streaming audio contexts: 427 Streaming audio contexts:
|
/Zephyr-latest/subsys/ipc/ipc_service/lib/ |
D | Kconfig.icmsg | 11 multiple contexts. Mutex is used to guard access to the memory.
|
/Zephyr-latest/doc/hardware/peripherals/sensor/ |
D | fetch_and_get.rst | 23 It should be noted that calling fetch and get from multiple contexts without
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | Kconfig | 377 int "Maximum # of LwM2M block contexts used for outgoing messages" 380 Maximum number of CoAP block contexts needed to split messages into blocks for 389 to optimize the configuration of number of block contexts and indirectly 394 int "Maximum # of LwM2M block1 contexts" 397 This value sets up the maximum number of block1 contexts for
|