/Zephyr-latest/drivers/eeprom/ |
D | eeprom_shell.c | 38 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(sh, 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-latest/drivers/interrupt_controller/ |
D | intc_vexriscv_litex.c | 34 uint32_t pending; in vexriscv_litex_irq_pending() local 36 __asm__ volatile ("csrr %0, %1" : "=r"(pending) : "i"(IRQ_PENDING)); in vexriscv_litex_irq_pending() 37 return pending; in vexriscv_litex_irq_pending() 62 uint32_t pending, mask, irqs; in vexriscv_litex_irq_handler() local 64 pending = vexriscv_litex_irq_pending(); in vexriscv_litex_irq_handler() 66 irqs = pending & mask; in vexriscv_litex_irq_handler()
|
D | intc_eirq_nxp_s32.c | 66 uint32_t pending; in eirq_nxp_s32_interrupt_handler() local 69 pending = eirq_nxp_s32_get_pending(dev); in eirq_nxp_s32_interrupt_handler() 70 pending &= mask << (irq_idx * CONFIG_NXP_S32_EIRQ_EXT_INTERRUPTS_GROUP); in eirq_nxp_s32_interrupt_handler() 72 while (pending) { in eirq_nxp_s32_interrupt_handler() 73 mask = LSB_GET(pending); in eirq_nxp_s32_interrupt_handler() 83 pending ^= mask; in eirq_nxp_s32_interrupt_handler()
|
D | intc_wkpu_nxp_s32.c | 56 uint64_t pending = wkpu_nxp_s32_get_pending(dev); in wkpu_nxp_s32_interrupt_handler() local 60 while (pending) { in wkpu_nxp_s32_interrupt_handler() 61 irq_mask = LSB_GET(pending); in wkpu_nxp_s32_interrupt_handler() 71 pending ^= irq_mask; in wkpu_nxp_s32_interrupt_handler()
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_server.c | 132 struct coap_pending *pending; in coap_server_process() local 173 pending = coap_pending_received(&request, service->data->pending, MAX_PENDINGS); in coap_server_process() 174 if (pending) { in coap_server_process() 184 coap_server_free(pending->data); in coap_server_process() 185 coap_pending_clear(pending); in coap_server_process() 258 struct coap_pending *pending; in coap_server_retransmit() local 270 pending = coap_pending_next_to_expire(service->data->pending, MAX_PENDINGS); in coap_server_retransmit() 271 if (pending == NULL) { in coap_server_retransmit() 277 remaining = pending->t0 + pending->timeout - now; in coap_server_retransmit() 282 if (coap_pending_cycle(pending)) { in coap_server_retransmit() [all …]
|
D | coap_client.c | 84 request->pending.timeout = 0; in release_internal_request() 108 if (internal_req->pending.t0 == 0) { in exchange_lifetime_exceeded() 112 time_since_t0 = k_uptime_get() - internal_req->pending.t0; in exchange_lifetime_exceeded() 114 (internal_req->pending.params.ack_timeout * COAP_EXCHANGE_LIFETIME_FACTOR); in exchange_lifetime_exceeded() 423 ret = coap_pending_init(&internal_req->pending, &internal_req->request, in coap_client_req() 435 internal_req->pending.retries = 0; in coap_client_req() 437 coap_pending_cycle(&internal_req->pending); in coap_client_req() 475 if (internal_req->pending.timeout == 0) { in timeout_expired() 480 internal_req->pending.timeout <= (k_uptime_get() - internal_req->pending.t0)); in timeout_expired() 489 struct coap_pending tmp = internal_req->pending; in resend_request() [all …]
|
D | Kconfig | 60 This value is used as a base value to retry pending CoAP packets. 208 int "CoAP service pending messages" 211 Maximum number of pending CoAP messages to retransmit per active service. 224 bool "No pending packets" 226 Never allocate data for pending requests, this disables retransmits for confirmable 232 Static memory will be reserved for pending messages. The total size is equal to 239 Use k_malloc/k_free for pending data. 244 int "Number of pending data blocks" 248 The number of data blocks to reserve for pending messages to retransmit.
|
D | coap.c | 1590 int coap_pending_init(struct coap_pending *pending, in coap_pending_init() argument 1595 memset(pending, 0, sizeof(*pending)); in coap_pending_init() 1597 pending->id = coap_header_get_id(request); in coap_pending_init() 1599 memcpy(&pending->addr, addr, sizeof(*addr)); in coap_pending_init() 1602 pending->params = *params; in coap_pending_init() 1604 pending->params = coap_transmission_params; in coap_pending_init() 1607 pending->data = request->data; in coap_pending_init() 1608 pending->len = request->offset; in coap_pending_init() 1609 pending->t0 = k_uptime_get(); in coap_pending_init() 1610 pending->retries = pending->params.max_retransmission; in coap_pending_init() [all …]
|
/Zephyr-latest/subsys/jwt/ |
D | jwt.c | 84 if (st->pending < 1) { in base64_flush() 92 if (st->pending >= 2) { in base64_flush() 96 if (st->pending >= 3) { in base64_flush() 100 st->pending = 0; in base64_flush() 106 st->wip[st->pending++] = byte; in base64_addbyte() 107 if (st->pending == 3) { in base64_addbyte() 212 builder->pending = 0; in jwt_init_builder()
|
/Zephyr-latest/drivers/timer/ |
D | silabs_sleeptimer_timer.c | 54 uint32_t pending = curr - prev; in sleeptimer_cb() local 57 uint32_t unannounced = pending / timer->cyc_per_tick; in sleeptimer_cb() 77 uint32_t pending = curr - prev; in sleeptimer_clock_set_timeout() local 84 while (next < (pending + MIN_DELAY_CYC)) { in sleeptimer_clock_set_timeout() 87 next -= pending; in sleeptimer_clock_set_timeout()
|
/Zephyr-latest/tests/drivers/tee/optee/src/ |
D | main.c | 38 int pending; member 74 if (t_call.pending && t_call.smc_cb) { in arm_smccc_smc() 77 if (wait_call.pending && wait_call.smc_cb && (k_current_get() == wait_call.th_id)) { in arm_smccc_smc() 80 if (send_call.pending && send_call.smc_cb) { in arm_smccc_smc() 147 t_call.pending = 1; in ZTEST() 169 t_call.pending = 0; in ZTEST() 183 t_call.pending = 1; in ZTEST() 216 t_call.pending = 0; in ZTEST() 229 t_call.pending = 1; in ZTEST() 246 t_call.pending = 0; in ZTEST() [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_gecko.c | 237 uint32_t pending; in i2c_gecko_isr() local 241 pending = config->base->IF; in i2c_gecko_isr() 244 if (pending & (I2C_IF_BUSERR | I2C_IF_ARBLOST)) { in i2c_gecko_isr() 249 if (pending & I2C_IF_ADDR) { in i2c_gecko_isr() 264 } else if (pending & I2C_IF_RXDATAV) { in i2c_gecko_isr() 273 if (pending & I2C_IF_ACK) { in i2c_gecko_isr() 281 if (pending & I2C_IF_SSTOP) { in i2c_gecko_isr()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | proxy_msg.c | 68 while (!k_fifo_is_empty(&role->pending)) { in proxy_sar_timeout() 69 struct bt_mesh_adv *adv = k_fifo_get(&role->pending, K_NO_WAIT); in proxy_sar_timeout() 246 k_fifo_put(&role->pending, bt_mesh_adv_ref(adv)); in bt_mesh_proxy_relay_send() 262 adv = k_fifo_get(&role->pending, K_NO_WAIT); in proxy_msg_send_pending() 270 if (!k_fifo_is_empty(&role->pending)) { in proxy_msg_send_pending() 292 k_fifo_init(&role->pending); in proxy_msg_init()
|
/Zephyr-latest/drivers/stepper/ |
D | Kconfig.stepper_event_template | 13 int "$(module-str) maximum number of pending stepper events" 17 The maximum number of stepper events that can be pending before new events
|
/Zephyr-latest/kernel/ |
D | work.c | 194 sys_slist_insert(&queue->pending, &work->node, in queue_flusher_locked() 197 sys_slist_prepend(&queue->pending, &flusher->work.node); in queue_flusher_locked() 212 (void)sys_slist_find_and_remove(&queue->pending, &work->node); in queue_remove_locked() 283 sys_slist_append(&queue->pending, &work->node); in queue_submit_locked() 582 bool pending = (work_busy_get_locked(work) != 0U); in k_work_cancel_sync() local 585 if (pending) { in k_work_cancel_sync() 598 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_work, cancel_sync, work, sync, pending); in k_work_cancel_sync() 599 return pending; in k_work_cancel_sync() 621 node = sys_slist_get(&queue->pending); in work_queue_main() 738 sys_slist_init(&queue->pending); in k_work_queue_start() [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | ipv6_nbr.c | 256 net_ipv6_nbr_data(nbr)->pending, in nbr_print() 298 if (data->pending) { in nbr_clear_ns_pending() 299 net_pkt_unref(data->pending); in nbr_clear_ns_pending() 300 data->pending = NULL; in nbr_clear_ns_pending() 396 if (!data->pending) { in ipv6_ns_reply_timeout() 404 data->pending, in ipv6_ns_reply_timeout() 405 net_sprint_ipv6_addr(&NET_IPV6_HDR(data->pending)->dst)); in ipv6_ns_reply_timeout() 408 net_pkt_unref(data->pending); in ipv6_ns_reply_timeout() 411 net_pkt_unref(data->pending); in ipv6_ns_reply_timeout() 413 data->pending = NULL; in ipv6_ns_reply_timeout() [all …]
|
D | utils.c | 535 size_t pending = len; in calc_chksum() local 548 if ((((uintptr_t)data & 0x01) != 0) && (pending >= 1)) { in calc_chksum() 551 pending--; in calc_chksum() 553 if ((((uintptr_t)data & 0x02) != 0) && (pending >= sizeof(uint16_t))) { in calc_chksum() 554 pending -= sizeof(uint16_t); in calc_chksum() 561 while (pending >= sizeof(uint32_t) * 4) { in calc_chksum() 565 pending -= sizeof(uint32_t) * 4; in calc_chksum() 571 while (pending >= sizeof(uint32_t)) { in calc_chksum() 572 pending -= sizeof(uint32_t); in calc_chksum() 576 if (pending >= 2) { in calc_chksum() [all …]
|
/Zephyr-latest/tests/kernel/pending/ |
D | CMakeLists.txt | 5 project(pending) project
|
/Zephyr-latest/include/zephyr/data/ |
D | jwt.h | 53 int pending; member
|
/Zephyr-latest/drivers/counter/ |
D | counter_xlnx_axi_timer.c | 236 uint32_t pending = 0; in xlnx_axi_timer_get_pending_int() local 241 pending = 1; in xlnx_axi_timer_get_pending_int() 247 pending = 1; in xlnx_axi_timer_get_pending_int() 251 LOG_DBG("%sinterrupt pending", pending ? "" : "no "); in xlnx_axi_timer_get_pending_int() 253 return pending; in xlnx_axi_timer_get_pending_int()
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
D | iso.rst | 46 ISO Connect pending... 63 ISO Disconnect pending...
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_emul.c | 27 bool pending; member 188 alarm->pending = true; in rtc_emul_test_alarms() 195 alarm->pending = false; in rtc_emul_test_alarms() 360 ret = (data->alarms[id].pending == true) ? 1 : 0; in rtc_emul_alarm_is_pending() 362 data->alarms[id].pending = false; in rtc_emul_alarm_is_pending()
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_rcar.c | 84 uint32_t pending, fsb, mask; in gpio_rcar_port_isr() local 86 pending = gpio_rcar_read(dev, INTDT); in gpio_rcar_port_isr() 89 while ((pending = gpio_rcar_read(dev, INTDT) & in gpio_rcar_port_isr() 91 fsb = find_lsb_set(pending) - 1; in gpio_rcar_port_isr()
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | arp.c | 44 static void arp_entry_cleanup(struct arp_entry *entry, bool pending) in arp_entry_cleanup() argument 48 if (pending) { in arp_entry_cleanup() 253 struct net_pkt *pending, in arp_prepare() argument 264 pkt = pending; in arp_prepare() 274 if (IS_ENABLED(CONFIG_NET_CAPTURE) && pending) { in arp_prepare() 275 net_pkt_set_captured(pkt, net_pkt_is_captured(pending)); in arp_prepare() 278 if (IS_ENABLED(CONFIG_NET_VLAN) && pending) { in arp_prepare() 279 net_pkt_set_vlan_tag(pkt, net_pkt_vlan_tag(pending)); in arp_prepare() 294 net_pkt_ref(pending); in arp_prepare() 295 k_fifo_put(&entry->pending_queue, pending); in arp_prepare() [all …]
|
/Zephyr-latest/tests/net/lib/coap/src/ |
D | main.c | 777 struct coap_pending *pending; in ZTEST() local 791 pending = coap_pending_next_unused(pendings, NUM_PENDINGS); in ZTEST() 792 zassert_not_null(pending, "No free pending"); in ZTEST() 794 r = coap_pending_init(pending, &cpkt, (struct sockaddr *) &dummy_addr, in ZTEST() 799 zassert_true(coap_pending_cycle(pending), "Pending expired too early"); in ZTEST() 802 zassert_true(coap_pending_cycle(pending), "Pending expired too early"); in ZTEST() 811 zassert_equal_ptr(pending, rsp_pending, in ZTEST() 813 rsp_pending, pending); in ZTEST() 1745 struct coap_pending *pending; in ZTEST() local 1774 pending = coap_pending_next_unused(pendings, NUM_PENDINGS); in ZTEST() [all …]
|