Home
last modified time | relevance | path

Searched refs:pending (Results 1 – 25 of 69) sorted by relevance

123

/Zephyr-Core-2.7.6/drivers/eeprom/
Deeprom_shell.c38 size_t pending; in cmd_read() local
54 for (upto = 0; upto < len; upto += pending) { in cmd_read()
57 pending = MIN(len - upto, SHELL_HEXDUMP_BYTES_IN_LINE); in cmd_read()
58 err = eeprom_read(eeprom, addr, data, pending); in cmd_read()
64 shell_hexdump_line(shell, addr, data, pending); in cmd_read()
65 addr += pending; in cmd_read()
156 size_t pending; in cmd_fill() local
181 for (upto = 0; upto < len; upto += pending) { in cmd_fill()
182 pending = MIN(len - upto, CONFIG_EEPROM_SHELL_BUFFER_SIZE); in cmd_fill()
183 err = eeprom_write(eeprom, addr, wr_buf, pending); in cmd_fill()
[all …]
/Zephyr-Core-2.7.6/drivers/interrupt_controller/
Dintc_vexriscv_litex.c45 uint32_t pending; in vexriscv_litex_irq_pending() local
47 __asm__ volatile ("csrr %0, %1" : "=r"(pending) : "i"(IRQ_PENDING)); in vexriscv_litex_irq_pending()
48 return pending; in vexriscv_litex_irq_pending()
65 uint32_t pending, mask, irqs; in vexriscv_litex_irq_handler() local
67 pending = vexriscv_litex_irq_pending(); in vexriscv_litex_irq_handler()
69 irqs = pending & mask; in vexriscv_litex_irq_handler()
Dintc_miwu.c197 bool pending = IS_BIT_SET(NPCX_WKPND(base, wui->group), wui->bit); in npcx_miwu_irq_get_and_clear_pending() local
199 if (pending) { in npcx_miwu_irq_get_and_clear_pending()
203 return pending; in npcx_miwu_irq_get_and_clear_pending()
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/
Darp.c35 static void arp_entry_cleanup(struct arp_entry *entry, bool pending) in arp_entry_cleanup() argument
39 if (pending) { in arp_entry_cleanup()
41 entry->pending, in arp_entry_cleanup()
42 atomic_get(&entry->pending->atomic_ref) - 1); in arp_entry_cleanup()
43 net_pkt_unref(entry->pending); in arp_entry_cleanup()
44 entry->pending = NULL; in arp_entry_cleanup()
236 struct net_pkt *pending, in arp_prepare() argument
247 pkt = pending; in arp_prepare()
257 if (IS_ENABLED(CONFIG_NET_CAPTURE) && pending) { in arp_prepare()
258 net_pkt_set_captured(pkt, net_pkt_is_captured(pending)); in arp_prepare()
[all …]
Darp.h58 struct net_pkt *pending; member
/Zephyr-Core-2.7.6/subsys/jwt/
Djwt.c90 if (st->pending < 1) { in base64_flush()
98 if (st->pending >= 2) { in base64_flush()
102 if (st->pending >= 3) { in base64_flush()
106 st->pending = 0; in base64_flush()
112 st->wip[st->pending++] = byte; in base64_addbyte()
113 if (st->pending == 3) { in base64_addbyte()
311 builder->pending = 0; in jwt_init_builder()
/Zephyr-Core-2.7.6/drivers/serial/
Duart_liteuart.c168 uint8_t pending; in uart_liteuart_irq_rx_ready() local
170 pending = sys_read8(UART_EV_PENDING); in uart_liteuart_irq_rx_ready()
172 if (pending & UART_EV_RX) { in uart_liteuart_irq_rx_ready()
240 uint8_t pending; in uart_liteuart_irq_is_pending() local
242 pending = sys_read8(UART_EV_PENDING); in uart_liteuart_irq_is_pending()
244 if (pending & (UART_EV_TX | UART_EV_RX)) { in uart_liteuart_irq_is_pending()
/Zephyr-Core-2.7.6/samples/net/sockets/coap_server/src/
Dcoap-server.c956 struct coap_pending *pending; in schedule_next_retransmission() local
961 pending = coap_pending_next_to_expire(pendings, NUM_PENDINGS); in schedule_next_retransmission()
962 if (!pending) { in schedule_next_retransmission()
966 remaining = pending->t0 + pending->timeout - now; in schedule_next_retransmission()
978 struct coap_pending *pending; in retransmit_request() local
981 pending = coap_pending_next_to_expire(pendings, NUM_PENDINGS); in retransmit_request()
982 if (!pending) { in retransmit_request()
986 if (!coap_pending_cycle(pending)) { in retransmit_request()
987 remove_observer(&pending->addr); in retransmit_request()
988 k_free(pending->data); in retransmit_request()
[all …]
/Zephyr-Core-2.7.6/kernel/
Dwork.c179 SYS_SLIST_FOR_EACH_CONTAINER(&queue->pending, wn, node) { in queue_flusher_locked()
188 sys_slist_insert(&queue->pending, &work->node, in queue_flusher_locked()
191 sys_slist_prepend(&queue->pending, &flusher->work.node); in queue_flusher_locked()
206 (void)sys_slist_find_and_remove(&queue->pending, &work->node); in queue_remove_locked()
277 sys_slist_append(&queue->pending, &work->node); in queue_submit_locked()
575 bool pending = (work_busy_get_locked(work) != 0U); in k_work_cancel_sync() local
578 if (pending) { in k_work_cancel_sync()
591 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_work, cancel_sync, work, sync, pending); in k_work_cancel_sync()
592 return pending; in k_work_cancel_sync()
611 node = sys_slist_get(&queue->pending); in work_queue_main()
[all …]
Dpoll.c107 struct k_poll_event *pending; in add_event() local
109 pending = (struct k_poll_event *)sys_dlist_peek_tail(events); in add_event()
110 if ((pending == NULL) || in add_event()
111 (z_sched_prio_cmp(poller_thread(pending->poller), in add_event()
117 SYS_DLIST_FOR_EACH_CONTAINER(events, pending, _node) { in add_event()
119 poller_thread(pending->poller)) > 0) { in add_event()
120 sys_dlist_insert(&pending->_node, &event->_node); in add_event()
/Zephyr-Core-2.7.6/subsys/net/ip/
Dipv6_nbr.c244 net_ipv6_nbr_data(nbr)->pending, in nbr_print()
287 if (data->pending) { in nbr_clear_ns_pending()
288 net_pkt_unref(data->pending); in nbr_clear_ns_pending()
289 data->pending = NULL; in nbr_clear_ns_pending()
379 if (!data->pending) { in ipv6_ns_reply_timeout()
387 data->pending, in ipv6_ns_reply_timeout()
389 &NET_IPV6_HDR(data->pending)->dst))); in ipv6_ns_reply_timeout()
392 net_pkt_unref(data->pending); in ipv6_ns_reply_timeout()
395 net_pkt_unref(data->pending); in ipv6_ns_reply_timeout()
397 data->pending = NULL; in ipv6_ns_reply_timeout()
[all …]
Dipv6.h84 struct net_pkt *pending; member
127 int net_ipv6_send_ns(struct net_if *iface, struct net_pkt *pending,
/Zephyr-Core-2.7.6/subsys/net/lib/coap/
Dcoap.c1089 int coap_pending_init(struct coap_pending *pending, in coap_pending_init() argument
1094 memset(pending, 0, sizeof(*pending)); in coap_pending_init()
1096 pending->id = coap_header_get_id(request); in coap_pending_init()
1098 memcpy(&pending->addr, addr, sizeof(*addr)); in coap_pending_init()
1100 pending->data = request->data; in coap_pending_init()
1101 pending->len = request->offset; in coap_pending_init()
1102 pending->t0 = k_uptime_get_32(); in coap_pending_init()
1103 pending->retries = retries; in coap_pending_init()
1232 bool coap_pending_cycle(struct coap_pending *pending) in coap_pending_cycle() argument
1234 if (pending->timeout == 0) { in coap_pending_cycle()
[all …]
/Zephyr-Core-2.7.6/drivers/counter/
Dcounter_xlnx_axi_timer.c234 uint32_t pending = 0; in xlnx_axi_timer_get_pending_int() local
239 pending = 1; in xlnx_axi_timer_get_pending_int()
245 pending = 1; in xlnx_axi_timer_get_pending_int()
249 LOG_DBG("%sinterrupt pending", pending ? "" : "no "); in xlnx_axi_timer_get_pending_int()
251 return pending; in xlnx_axi_timer_get_pending_int()
/Zephyr-Core-2.7.6/drivers/neural_net/
DKconfig.intel_gna26 int "Max number of pending inference requests"
29 Maximum number of pending inference requests in the driver
/Zephyr-Core-2.7.6/tests/kernel/pending/
DCMakeLists.txt5 project(pending) project
/Zephyr-Core-2.7.6/drivers/gpio/
Dgpio_rcar.c87 uint32_t pending, fsb, mask; in gpio_rcar_port_isr() local
89 pending = gpio_rcar_read(config, INTDT); in gpio_rcar_port_isr()
92 while ((pending = gpio_rcar_read(config, INTDT) & in gpio_rcar_port_isr()
94 fsb = find_lsb_set(pending) - 1; in gpio_rcar_port_isr()
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dlpn.c261 group_zero(lpn->pending); in clear_friendship()
355 group_zero(lpn->pending); in req_sent()
676 atomic_test_bit(lpn->pending, i)) { in lpn_group_del()
746 atomic_set_bit(lpn->pending, i); in sub_update()
754 group_zero(lpn->pending); in sub_update()
762 group_zero(lpn->pending); in sub_update()
928 group_set(lpn->added, lpn->pending); in bt_mesh_lpn_friend_sub_cfm()
929 group_zero(lpn->pending); in bt_mesh_lpn_friend_sub_cfm()
933 group_clear(lpn->added, lpn->pending); in bt_mesh_lpn_friend_sub_cfm()
936 if (atomic_test_and_clear_bit(lpn->pending, i) && in bt_mesh_lpn_friend_sub_cfm()
/Zephyr-Core-2.7.6/include/data/
Djwt.h53 int pending; member
/Zephyr-Core-2.7.6/drivers/timer/
Dcortex_m_systick.c191 uint32_t pending = elapsed(); in sys_clock_set_timeout() local
195 cycle_count += pending; in sys_clock_set_timeout()
/Zephyr-Core-2.7.6/subsys/shell/
DKconfig.template.shell_log_queue_timeout8 If queue with pending log messages is full, oldest log message is
/Zephyr-Core-2.7.6/modules/hal_nordic/
DKconfig99 int "nRF 802.15.4 pending short addresses"
102 Number of slots containing short addresses of nodes for which pending data is stored
105 int "nRF 802.15.4 pending extended addresses"
108 Number of slots containing extended addresses of nodes for which pending data is stored
/Zephyr-Core-2.7.6/include/net/
Dcoap.h740 int coap_pending_init(struct coap_pending *pending,
826 bool coap_pending_cycle(struct coap_pending *pending);
834 void coap_pending_clear(struct coap_pending *pending);
/Zephyr-Core-2.7.6/tests/net/lib/coap/src/
Dmain.c716 struct coap_pending *pending; in test_retransmit_second_round() local
730 pending = coap_pending_next_unused(pendings, NUM_PENDINGS); in test_retransmit_second_round()
731 zassert_not_null(pending, "No free pending"); in test_retransmit_second_round()
733 r = coap_pending_init(pending, &cpkt, (struct sockaddr *) &dummy_addr, in test_retransmit_second_round()
738 zassert_true(coap_pending_cycle(pending), "Pending expired too early"); in test_retransmit_second_round()
741 zassert_true(coap_pending_cycle(pending), "Pending expired too early"); in test_retransmit_second_round()
750 zassert_equal_ptr(pending, rsp_pending, in test_retransmit_second_round()
752 rsp_pending, pending); in test_retransmit_second_round()
/Zephyr-Core-2.7.6/modules/hal_nordic/nrf_802154/
DCMakeLists.txt49 # pending data is stored.
53 # pending data is stored.

123