/Zephyr-Core-3.6.0/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-Core-3.6.0/include/zephyr/bluetooth/audio/ |
D | pacs.h | 92 enum bt_audio_context contexts); 117 enum bt_audio_context *contexts); 142 enum bt_audio_context contexts);
|
/Zephyr-Core-3.6.0/subsys/net/ip/ |
D | net_context.c | 80 static struct net_context contexts[NET_MAX_CONTEXT]; variable 169 if (!net_context_is_used(&contexts[i])) { in check_used_port() 173 if (!(net_context_get_proto(&contexts[i]) == proto && in check_used_port() 175 contexts[i].local)->sin_port == local_port)) { in check_used_port() 179 if (net_context_is_bound_to_iface(&contexts[i])) { in check_used_port() 180 if (iface != NULL && iface != net_context_get_iface(&contexts[i])) { in check_used_port() 187 if (net_sin6_ptr(&contexts[i].local)->sin6_addr == NULL || in check_used_port() 188 net_sin6_ptr(&contexts[i].local)->sin6_family != AF_INET6) { in check_used_port() 193 net_sin6_ptr(&contexts[i].local)->sin6_addr) || in check_used_port() 197 net_context_is_reuseport_set(&contexts[i])) { in check_used_port() [all …]
|
/Zephyr-Core-3.6.0/subsys/testsuite/include/zephyr/ |
D | fff_extensions.h | 82 CONTEXTTYPE * const contexts = \ 89 CONTEXTTYPE * const CONTEXTPTRNAME = &contexts[seq_idx]; \
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/stress/src/ |
D | main.c | 73 static struct test_ctx contexts[L2CAP_CHANS]; variable 80 ASSERT(ctx >= &contexts[0] && in get_ctx() 81 ctx <= &contexts[L2CAP_CHANS], "memory corruption"); in get_ctx() 215 struct bt_l2cap_le_chan *le_chan = &contexts[i].le_chan; in alloc_test_context() 221 memset(&contexts[i], 0, sizeof(struct test_ctx)); in alloc_test_context() 222 k_work_init_delayable(&contexts[i].work_item, deferred_send); in alloc_test_context() 224 return &contexts[i]; in alloc_test_context() 460 contexts[i].tx_left = SDU_NUM; in test_central_main() 461 l2cap_chan_send(&contexts[i].le_chan.chan, tx_data, sizeof(tx_data)); in test_central_main() 472 remaining_tx_total += contexts[i].tx_left; in test_central_main()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/ |
D | pacs.c | 291 static int set_available_contexts(uint16_t contexts, uint16_t *available, in set_available_contexts() argument 294 if (contexts & ~supported) { in set_available_contexts() 298 if (contexts == *available) { in set_available_contexts() 302 *available = contexts; in set_available_contexts() 310 static int set_supported_contexts(uint16_t contexts, uint16_t *supported, in set_supported_contexts() argument 318 contexts |= BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED; in set_supported_contexts() 320 if (*supported == contexts) { in set_supported_contexts() 324 *supported = contexts; in set_supported_contexts() 327 if ((contexts & *available) != *available) { in set_supported_contexts() 328 err = set_available_contexts(contexts & *available, available, contexts); in set_supported_contexts() [all …]
|
D | has.c | 185 } contexts[CONFIG_BT_MAX_PAIRED]; variable 210 for (size_t i = 0; i < ARRAY_SIZE(contexts); i++) { in context_find() 211 if (bt_addr_le_eq(&contexts[i].addr, addr)) { in context_find() 212 return &contexts[i]; in context_find() 497 for (size_t i = 0U; i < ARRAY_SIZE(contexts); i++) { in notify() 498 atomic_set_bit(contexts[i].flags, flag); in notify() 775 for (size_t i = 0U; i < ARRAY_SIZE(contexts); i++) { in control_point_send_all() 776 struct client_context *context = &contexts[i]; in control_point_send_all()
|
/Zephyr-Core-3.6.0/subsys/net/lib/websocket/ |
D | websocket.c | 50 static struct websocket_context contexts[CONFIG_WEBSOCKET_MAX_CONTEXTS]; variable 114 for (i = 0; i < ARRAY_SIZE(contexts); i++) { in websocket_get() 115 if (websocket_context_is_used(&contexts[i])) { in websocket_get() 119 websocket_context_ref(&contexts[i]); in websocket_get() 120 ctx = &contexts[i]; in websocket_get() 136 for (i = 0; i < ARRAY_SIZE(contexts); i++) { in websocket_find() 137 if (!websocket_context_is_used(&contexts[i])) { in websocket_find() 141 if (contexts[i].real_sock != real_sock) { in websocket_find() 145 ctx = &contexts[i]; in websocket_find() 649 if (!PART_OF_ARRAY(contexts, ctx)) { in websocket_send_msg() [all …]
|
/Zephyr-Core-3.6.0/doc/connectivity/bluetooth/api/mesh/ |
D | msg.rst | 8 contexts.
|
/Zephyr-Core-3.6.0/drivers/timer/ |
D | Kconfig.nrf_rtc | 35 higher priority contexts (including ZLIs) that might preempt the
|
/Zephyr-Core-3.6.0/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-Core-3.6.0/doc/kernel/data_structures/ |
D | index.rst | 19 behind this design is to allow the collections to be used in contexts
|
/Zephyr-Core-3.6.0/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-Core-3.6.0/lib/utils/ |
D | Kconfig | 41 "windows", generally for transmit to non-Zephyr contexts that
|
/Zephyr-Core-3.6.0/subsys/net/l2/ieee802154/ |
D | Kconfig.radio | 41 and fits low duty-cycle contexts where the radio spectrum is not
|
/Zephyr-Core-3.6.0/subsys/canbus/isotp/ |
D | Kconfig | 121 bool "Buffered tx contexts" 124 This option enables buffered sending contexts. This makes send and
|
/Zephyr-Core-3.6.0/subsys/bluetooth/host/ |
D | Kconfig.l2cap | 54 stack might not be able to allocate enough conn contexts and might not
|
/Zephyr-Core-3.6.0/subsys/ipc/ipc_service/lib/ |
D | Kconfig.icmsg | 10 multiple contexts. Mutex is used to guard access to the memory.
|
/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/ |
D | Kconfig | 369 int "Maximum # of LwM2M block contexts used for outgoing messages" 372 Maximum number of CoAP block contexts needed to split messages into blocks for 381 to optimize the configuration of number of block contexts and indirectly 386 int "Maximum # of LwM2M block1 contexts" 389 This value sets up the maximum number of block1 contexts for
|
/Zephyr-Core-3.6.0/doc/develop/api/ |
D | terminology.rst | 91 pre-kernel contexts if and only if invoked in **no-wait** mode. 119 pre-kernel contexts only when the parameter selects the no-wait path.
|
/Zephyr-Core-3.6.0/lib/heap/ |
D | Kconfig | 47 is useful in locked or ISR contexts.
|
/Zephyr-Core-3.6.0/doc/connectivity/bluetooth/ |
D | bluetooth-ctlr-arch.rst | 170 * Mayfly are multi-instance scalable ISR execution contexts
|
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ |
D | Kconfig.ll_sw_split | 853 int "Number of local control procedure contexts to be available across all connections" 859 Set the number control procedure contexts that is to be available. 860 This defines the size of the pool of control procedure contexts available 865 int "Number of remote control procedure contexts to be available across all connections" 869 Set the number control procedure contexts that is to be available. 870 This defines the size of the pool of control procedure contexts available
|