/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/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() 227 LOG_WRN("Unexpected pending type %d", type); in coap_server_process() 234 LOG_WRN("Unexpected type %d without pending packet", type); 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() [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. 220 prompt "Pending data allocator" 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_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() 427 LOG_ERR("Failed to initialize pending struct"); 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() [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()
|
/Zephyr-latest/tests/drivers/uart/uart_basic_api/src/ |
D | test_uart_pending.c | 15 * more RX and TX pending interrupts. 18 * generated and the TX IRQ pending flag is never set. At the same time 20 * RX IRQ pending flag. 28 * indicating there are no more pending interrupts to be processed. If 0 32 * pending flags to determine if there are pending interrupts, hence 79 * real pending interrupt, i.e. no more RX and in uart_pending_callback()
|
/Zephyr-latest/include/zephyr/logging/ |
D | log_internal.h | 47 /** @brief Check if there are any pending drop notifications. 49 * @retval true Pending unreported drop indications. 50 * @retval false No pending unreported drop indications. 113 /** @brief Get pending log message. 126 /** @brief Check if there are any message pending. 128 * @retval true if at least one message is pending. 129 * @retval false if no message is pending.
|
D | log_ctrl.h | 84 * Backends must switch to blocking mode or halt. All pending logs 91 * @brief Process one pending log message. 93 * @retval true There are more messages pending to be processed. 94 * @retval false No messages pending. 99 * @brief Process all pending log messages 248 * @brief Check if there is pending data to be processed by the logging subsystem. 253 * @retval true There is pending data. 254 * @retval false No pending data to process. 276 * @param[out] usage Number of bytes currently containing pending log messages. 288 * @param[out] max Maximum number of bytes used for pending log messages.
|
/Zephyr-latest/subsys/jwt/ |
D | jwt.c | 78 * Flush any pending base64 character data out. If we have all three 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/tests/drivers/rtc/rtc_api/src/ |
D | test_alarm.c | 182 /* Clear alarm pending status */ in ZTEST() 185 zassert_true(ret > -1, "Failed to clear alarm %d pending status", i); in ZTEST() 188 /* Wait before validating alarm pending status has not been set prematurely */ in ZTEST() 191 /* Validate alarm are not pending */ in ZTEST() 194 zassert_ok(ret, "Alarm %d should not be pending", i); in ZTEST() 200 /* Validate alarm is pending */ in ZTEST() 203 zassert_equal(ret, 1, "Alarm %d should be pending", i); in ZTEST() 213 zassert_true(ret > -1, "Failed to clear alarm %d pending state", i); in ZTEST()
|
/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/tests/arch/arm/arm_irq_advanced_features/src/ |
D | arm_zero_latency_irqs.c | 48 /* Set the NVIC line to pending. */ in ZTEST() 53 * If the NVIC line is pending, it is in ZTEST() 88 /* Set the zero-latency IRQ to pending state. */ in ZTEST() 93 * set to pending state before 'test_flag' is checked. in ZTEST()
|
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/ |
D | intc_eirq_nxp_s32.h | 72 * @brief Get pending interrupts 75 * @return A bitmask containing pending pending interrupts
|
/Zephyr-latest/scripts/native_simulator/native/src/ |
D | irq_ctrl.c | 21 static uint64_t irq_status; /* pending interrupts */ 27 * If an interrupt is masked in this way, it will be pending in the premask in 29 * If the irq_mask enables and interrupt pending in irq_premask, it will cause 82 * Get the currently pending highest priority interrupt which has a priority 188 * If the enabled interrupt is pending, it will immediately vector to its 194 if (irq_premask & ((uint64_t)1<<irq)) { /* if the interrupt is pending */ in hw_irq_ctrl_enable_irq() 227 * being marked as pending in hw_irq_ctrl_set_irq()
|
/Zephyr-latest/modules/hal_nordic/nrf_802154/sl_opensource/platform/ |
D | nrf_802154_irq_zephyr.c | 36 /* Zephyr does not provide abstraction layer for setting pending IRQ */ in nrf_802154_irq_set_pending() 42 /* Zephyr does not provide abstraction layer for clearing pending IRQ */ in nrf_802154_irq_clear_pending()
|
/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/include/zephyr/xen/public/ |
D | xen.h | 266 * a pending notification for a particular VCPU. It is then cleared 267 * by the guest OS /before/ checking for pending work, thus avoiding 270 * pending and mask flags can be updated by the guest without special 272 * This may seem suboptimal because if the pending flag is set by 332 * 1. PENDING -- notifies the domain that there is a pending notification 334 * 2. MASK -- if this bit is clear then a 0->1 transition of PENDING 337 * becomes pending while the channel is masked then the 'edge' is lost 339 * pending notifications as no upcall will be scheduled by Xen). 341 * To expedite scanning of pending notifications, any 0->1 pending 344 * 'C long' in the PENDING bitfield array.
|
/Zephyr-latest/scripts/west_commands/zspdx/ |
D | walker.py | 56 # queue of pending source Files to create, process and assign 59 # queue of pending relationships to create, process and assign 101 # add it to pending relationships queue 132 # walk through pending sources and create corresponding files 133 log.inf("walking through pending sources files") 136 # walk through pending relationship data and create relationships 137 log.inf("walking through pending relationships") 219 # add it to pending relationships queue 329 # add it to pending relationships queue 472 # collect a target's source files, add to pending sources queue, and [all …]
|
/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() 54 NET_DBG("Releasing pending pkt %p (ref %ld)", in arp_entry_cleanup() 138 /* We remove the entry from the pending list */ in arp_entry_get_pending() 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() [all …]
|
/Zephyr-latest/tests/arch/arm/arm_custom_interrupt/src/ |
D | arm_custom_interrupt.c | 93 * to prevent from having the interrupt line set to pending again, in arm_isr_handler() 140 /* Set the NVIC line to pending. */ in ZTEST() 144 /* If the NVIC line is pending, it is in ZTEST() 185 /* Set the dynamic IRQ to pending state. */ in ZTEST() 190 * set to pending state before 'test_flag' is checked. in ZTEST()
|
/Zephyr-latest/soc/ene/kb1200/reg/ |
D | ser.h | 16 volatile uint32_t SERPF; /*Pending flag Register */ 37 /* Pending Flag */
|
/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/include/zephyr/data/ |
D | jwt.h | 49 /* Pending bytes yet to be converted to base64. */ 52 /* Number of pending bytes. */ 53 int pending; member
|
/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()
|