Searched +full:current +full:- +full:limiting (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/dts/bindings/rtc/ |
D | microcrystal,rv3028.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 - name: rtc-device.yaml 10 - name: i2c-device.yaml 13 clkout-frequency: 16 - 32768 17 - 8192 18 - 1024 19 - 64 20 - 32 21 - 1 [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | ipv4_acd.c | 6 * SPDX-License-Identifier: Apache-2.0 59 /* Max conflicts before rate limiting */ 96 struct net_if *iface = net_if_get_by_index(ifaddr->ifindex); in ipv4_acd_send_probe() 100 pkt = ipv4_acd_prepare_arp(iface, &unspecified, &ifaddr->address.in_addr); in ipv4_acd_send_probe() 113 struct net_if *iface = net_if_get_by_index(ifaddr->ifindex); in ipv4_acd_send_announcement() 116 pkt = ipv4_acd_prepare_arp(iface, &ifaddr->address.in_addr, in ipv4_acd_send_announcement() 117 &ifaddr->address.in_addr); in ipv4_acd_send_announcement() 138 if (sys_timepoint_cmp(ifaddr->acd_timeout, expiry) < 0) { in acd_timer_reschedule() 139 expiry = ifaddr->acd_timeout; in acd_timer_reschedule() 154 switch (ifaddr->acd_state) { in ipv4_acd_manage_timeout() [all …]
|
/Zephyr-latest/drivers/timer/ |
D | mcux_gpt_timer.c | 4 * SPDX-License-Identifier: Apache-2.0 19 * By limiting counter to 30 bits, we ensure that 27 #define MAX_TICKS ((COUNTER_MAX / CYC_PER_TICK) - 1) 34 * Stores the current number of cycles the system has had announced to it, 59 GPT_SetOutputCompareValue(base, kGPT_OutputCompare_Channel2, next - 1); in gpt_set_safe() 70 if (unlikely(((int32_t)(next - now)) <= 1)) { in gpt_set_safe() 78 kGPT_OutputCompare_Channel2, next - 1); in gpt_set_safe() 80 } while ((((int32_t)(next - now)) <= 1) && (next < MAX_CYCLES)); in gpt_set_safe() 84 /* Interrupt fires every time GPT reaches the current capture value */ 93 /* Get current timer count */ in mcux_imx_gpt_isr() [all …]
|
/Zephyr-latest/drivers/counter/ |
D | counter_renesas_ra_agt.c | 4 * SPDX-License-Identifier: Apache-2.0 51 uint32_t period; /* Current timer period (counts) */ 55 /* Alarm-related data */ 74 reg->AGTCR = AGT_AGTCR_START_TIMER; in counter_ra_agt_start() 76 while (!(reg->AGTCR & BIT(R_AGTX0_AGT16_CTRL_AGTCR_TCSTF_Pos)) && likely(--timeout)) in counter_ra_agt_start() 79 return timeout > 0 ? 0 : -EIO; in counter_ra_agt_start() 87 reg->AGTCR = AGT_AGTCR_STOP_TIMER; in counter_ra_agt_stop() 89 while ((reg->AGTCR & BIT(R_AGTX0_AGT16_CTRL_AGTCR_TCSTF_Pos)) && likely(--timeout)) in counter_ra_agt_stop() 92 return timeout > 0 ? 0 : -EIO; in counter_ra_agt_stop() 97 struct counter_ra_agt_data *data = dev->data; in counter_ra_agt_read() [all …]
|
D | counter_ifx_cat1.c | 5 * SPDX-License-Identifier: Apache-2.0 20 #include <zephyr/dt-bindings/pinctrl/ifx_cat1-pinctrl.h> 72 uintptr_t cnt = POINTER_TO_UINT(_CYHAL_TCPWM_DATA[i].base->CNT); in get_hw_block_info() 78 hw_resource->type = CYHAL_RSC_TCPWM; in get_hw_block_info() 79 hw_resource->block_num = i; in get_hw_block_info() 80 hw_resource->channel_num = ((reg_addr_ptr - cnt) / sizeof(TCPWM_CNT_Type)); in get_hw_block_info() 82 if (hw_resource->channel_num >= _CYHAL_TCPWM_DATA[i].num_channels) { in get_hw_block_info() 83 return -EINVAL; in get_hw_block_info() 88 return -EINVAL; in get_hw_block_info() 94 struct ifx_cat1_counter_data *const data = dev->data; in ifx_cat1_counter_event_callback() [all …]
|
D | counter_nrfx_rtc.c | 4 * SPDX-License-Identifier: Apache-2.0 26 ((const struct counter_nrfx_config *)dev->config)->log, __VA_ARGS__) 28 ((const struct counter_nrfx_config *)dev->config)->log, __VA_ARGS__) 30 ((const struct counter_nrfx_config *)dev->config)->log, __VA_ARGS__) 32 ((const struct counter_nrfx_config *)dev->config)->log, __VA_ARGS__) 39 (((const struct counter_nrfx_config *)dev->config)->fixed_top), (true)) 42 (((const struct counter_nrfx_config *)dev->config)->use_ppi), (false)) 85 const struct counter_nrfx_config *config = dev->config; in start() 87 nrfy_rtc_task_trigger(config->rtc, NRF_RTC_TASK_START); in start() 94 const struct counter_nrfx_config *config = dev->config; in stop() [all …]
|
/Zephyr-latest/doc/kernel/services/ |
D | interrupts.rst | 8 An ISR normally preempts the execution of the current thread, 43 in mid-execution if a higher priority interrupt is signaled. The lower 62 Multi-level Interrupt Handling 65 A hardware platform can support more interrupt lines than natively-provided 75 A unique 32-bit interrupt number is assigned with information 77 Service Routine (ISR). Each interrupt level is given a byte within this 32-bit 81 .. code-block:: none 93 * '-' means interrupt line and is numbered from 0 (right most). 106 .. code-block:: none 108 A -> 0x00000004 [all …]
|
/Zephyr-latest/lib/utils/ |
D | onoff.c | 5 * SPDX-License-Identifier: Apache-2.0 30 * * ONOFF indicates whether the target/current state is off (clear) 38 * state transition. This bounds the depth by limiting 48 * process_events() must re-check the overall state to confirm no 61 /* No-op event: used to process deferred changes. 71 * state (TO-ON, TO-OFF, or RESETTING). 92 * This is synthesized from EVT_RECHECK in a non-nested 94 * non-empty client (request) list. 100 * This is synthesized from EVT_RECHECK in a non-nested 108 * This is synthesized from EVT_RECHECK in a non-nested [all …]
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_message_handling.c | 3 * Copyright (c) 2018-2019 Foundries.io 5 * SPDX-License-Identifier: Apache-2.0 74 #define OUTPUT_CONTEXT_IN_USE_MARK (enum coap_block_size)(-1) 84 /* Shared set of in-flight LwM2M messages */ 111 /* block-wise transfer functions */ 132 return -EFAULT; in init_block_ctx() 145 if (timestamp - block1_contexts[i].timestamp > in init_block_ctx() 158 return -ENOMEM; in init_block_ctx() 161 memcpy(&(*ctx)->path, path, sizeof(struct lwm2m_obj_path)); in init_block_ctx() 162 coap_block_transfer_init(&(*ctx)->ctx, lwm2m_default_block_size(), 0); in init_block_ctx() [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.5.rst | 38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3 39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_ 41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j 42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_ 44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7 45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_ 47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4 48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_ 50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh 51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_ [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | l2cap.c | 1 /* l2cap.c - L2CAP handling */ 4 * Copyright (c) 2015-2016 Intel Corporation 7 * SPDX-License-Identifier: Apache-2.0 44 #define L2CAP_LE_MAX_CREDITS (BT_BUF_ACL_RX_COUNT - 1) 62 * Specification-allowed range for the value of RTX is 1 to 60 seconds. 125 if (le_chan->rx.cid > 0) { in l2cap_chan_alloc_cid() 131 le_chan->rx.cid = cid; in l2cap_chan_alloc_cid() 145 SYS_SLIST_FOR_EACH_CONTAINER(&conn->channels, chan, node) { in __l2cap_lookup_ident() 146 if (BT_L2CAP_LE_CHAN(chan)->ident == ident) { in __l2cap_lookup_ident() 148 sys_slist_remove(&conn->channels, prev, in __l2cap_lookup_ident() [all …]
|