/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 212 pending = coap_pending_received(&request, service->data->pending, MAX_PENDINGS); in coap_server_process() 213 if (pending) { in coap_server_process() 223 coap_server_free(pending->data); in coap_server_process() 224 coap_pending_clear(pending); in coap_server_process() 297 struct coap_pending *pending; in coap_server_retransmit() local 309 pending = coap_pending_next_to_expire(service->data->pending, MAX_PENDINGS); in coap_server_retransmit() 310 if (pending == NULL) { in coap_server_retransmit() 316 remaining = pending->t0 + pending->timeout - now; in coap_server_retransmit() 321 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 | 1591 int coap_pending_init(struct coap_pending *pending, in coap_pending_init() argument 1596 memset(pending, 0, sizeof(*pending)); in coap_pending_init() 1598 pending->id = coap_header_get_id(request); in coap_pending_init() 1600 memcpy(&pending->addr, addr, sizeof(*addr)); in coap_pending_init() 1603 pending->params = *params; in coap_pending_init() 1605 pending->params = coap_transmission_params; in coap_pending_init() 1608 pending->data = request->data; in coap_pending_init() 1609 pending->len = request->offset; in coap_pending_init() 1610 pending->t0 = k_uptime_get(); in coap_pending_init() 1611 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 | 53 uint32_t pending = curr - prev; in sleeptimer_cb() local 56 uint32_t unannounced = pending / timer->cyc_per_tick; in sleeptimer_cb() 75 uint32_t pending = curr % timer->cyc_per_tick; in sleeptimer_clock_set_timeout() local 85 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/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 | 242 net_ipv6_nbr_data(nbr)->pending, in nbr_print() 284 if (data->pending) { in nbr_clear_ns_pending() 285 net_pkt_unref(data->pending); in nbr_clear_ns_pending() 286 data->pending = NULL; in nbr_clear_ns_pending() 382 if (!data->pending) { in ipv6_ns_reply_timeout() 390 data->pending, in ipv6_ns_reply_timeout() 391 net_sprint_ipv6_addr(&NET_IPV6_HDR(data->pending)->dst)); in ipv6_ns_reply_timeout() 394 net_pkt_unref(data->pending); in ipv6_ns_reply_timeout() 397 net_pkt_unref(data->pending); in ipv6_ns_reply_timeout() 399 data->pending = NULL; in ipv6_ns_reply_timeout() [all …]
|
D | utils.c | 574 size_t pending = len; in calc_chksum() local 587 if ((((uintptr_t)data & 0x01) != 0) && (pending >= 1)) { in calc_chksum() 590 pending--; in calc_chksum() 592 if ((((uintptr_t)data & 0x02) != 0) && (pending >= sizeof(uint16_t))) { in calc_chksum() 593 pending -= sizeof(uint16_t); in calc_chksum() 600 while (pending >= sizeof(uint32_t) * 4) { in calc_chksum() 604 pending -= sizeof(uint32_t) * 4; in calc_chksum() 610 while (pending >= sizeof(uint32_t)) { in calc_chksum() 611 pending -= sizeof(uint32_t); in calc_chksum() 615 if (pending >= 2) { in calc_chksum() [all …]
|
/Zephyr-latest/tests/kernel/pending/ |
D | CMakeLists.txt | 5 project(pending) project
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | proxy_msg.c | 61 k_fifo_put(&role->pending, &(adv->gatt_bearer[bt_conn_index(role->conn)])); in proxy_queue_put() 68 gatt_bearer = k_fifo_get(&role->pending, K_NO_WAIT); in proxy_queue_get() 86 while (!k_fifo_is_empty(&role->pending)) { in proxy_sar_timeout() 294 if (!k_fifo_is_empty(&role->pending)) { in proxy_msg_send_pending() 316 k_fifo_init(&role->pending); in proxy_msg_init()
|
/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 | 45 static void arp_entry_cleanup(struct arp_entry *entry, bool pending) in arp_entry_cleanup() argument 49 if (pending) { in arp_entry_cleanup() 257 struct net_pkt *pending, in arp_prepare() argument 268 pkt = pending; in arp_prepare() 278 if (IS_ENABLED(CONFIG_NET_CAPTURE) && pending) { in arp_prepare() 279 net_pkt_set_captured(pkt, net_pkt_is_captured(pending)); in arp_prepare() 282 if (IS_ENABLED(CONFIG_NET_VLAN) && pending) { in arp_prepare() 283 net_pkt_set_vlan_tag(pkt, net_pkt_vlan_tag(pending)); in arp_prepare() 301 net_pkt_ref(pending); in arp_prepare() 302 k_fifo_put(&entry->pending_queue, pending); in arp_prepare() [all …]
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/ |
D | main.c | 48 static struct lwm2m_message *find_msg_custom_fake(struct coap_pending *pending, in find_msg_custom_fake() argument 265 struct coap_pending pending; in ZTEST() local 271 msg.pending = &pending; in ZTEST() 398 struct coap_pending pending; in ZTEST() local 406 msg.pending = &pending; in ZTEST()
|