Home
last modified time | relevance | path

Searched full:top (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/Zephyr-latest/dts/bindings/usb/uac2/
Dzephyr,uac2-channel-cluster.yaml51 top-center:
53 description: Top Center channel present in the cluster
55 top-front-left:
57 description: Top Front Left channel present in the cluster
59 top-front-center:
61 description: Top Front Center channel present in the cluster
63 top-front-right:
65 description: Top Front Right channel present in the cluster
67 top-back-left:
69 description: Top Back Left channel present in the cluster
[all …]
/Zephyr-latest/drivers/counter/
Dcounter_native_posix.c27 static struct counter_top_cfg top; variable
34 uint32_t next_time = top.ticks; /* top.ticks is TOP_VALUE if is_top_set == false */ in schedule_next_isr()
36 if (current_value == top.ticks) { in schedule_next_isr()
49 /* We will at least get an interrupt at top.ticks even if is_top_set == false, in schedule_next_isr()
70 if (is_top_set && (current_value == top.ticks)) { in counter_isr()
71 if (top.callback) { in counter_isr()
72 top.callback(device, top.user_data); in counter_isr()
84 top.ticks = TOP_VALUE; in ctr_init()
90 hw_counter_set_wrap_value((uint64_t)top.ticks + 1); in ctr_init()
143 posix_print_warning("Can't set top value while alarm is active\n"); in ctr_set_top_value()
[all …]
DKconfig.nrfx21 # Internal flag which detects if fixed top feature is enabled for any instance
23 def_bool !$(dt_nodelabel_bool_prop,rtc0,fixed-top) || \
24 !$(dt_nodelabel_bool_prop,rtc1,fixed-top) || \
25 !$(dt_nodelabel_bool_prop,rtc2,fixed-top)
Dcounter_nrfx_rtc.c56 uint32_t top; member
118 uint32_t old, uint32_t top) in ticks_sub() argument
122 } else if (likely(IS_BIT_MASK(top))) { in ticks_sub()
123 return (val - old) & top; in ticks_sub()
126 /* if top is not 2^n-1 */ in ticks_sub()
127 return (val >= old) ? (val - old) : val + top + 1 - old; in ticks_sub()
131 static uint32_t skip_zero_on_custom_top(uint32_t val, uint32_t top) in skip_zero_on_custom_top() argument
136 if (unlikely(val == 0) && (top != NRF_RTC_COUNTER_MAX)) { in skip_zero_on_custom_top()
144 uint32_t val2, uint32_t top) in ticks_add() argument
149 ARG_UNUSED(top); in ticks_add()
[all …]
DKconfig.mcux_ctimer14 bool "reserve a ctimer channel to set the top value"
18 This reserves a CTimer channel to set the top value. Without
19 this the set top value can be set only to the max counter value.
Dcounter_nrfx_timer.c103 static uint32_t ticks_add(uint32_t val1, uint32_t val2, uint32_t top) in ticks_add() argument
107 if (likely(IS_BIT_MASK(top))) { in ticks_add()
108 return (val1 + val2) & top; in ticks_add()
111 to_top = top - val1; in ticks_add()
116 static uint32_t ticks_sub(uint32_t val, uint32_t old, uint32_t top) in ticks_sub() argument
118 if (likely(IS_BIT_MASK(top))) { in ticks_sub()
119 return (val - old) & top; in ticks_sub()
122 /* if top is not 2^n-1 */ in ticks_sub()
123 return (val >= old) ? (val - old) : val + top + 1 - old; in ticks_sub()
147 uint32_t top = get_top_value(dev); in set_cc() local
[all …]
Dcounter_nxp_mrt.c46 uint32_t top; member
85 if (data->top <= 1) { in nxp_mrt_start()
86 /* Zephyr API says default should be max top value */ in nxp_mrt_start()
89 data->top = config->info.max_top_value; in nxp_mrt_start()
92 /* Start with previously configured top value (if already running this has no effect) */ in nxp_mrt_start()
93 base->CHANNEL[channel_id].INTVAL = data->top; in nxp_mrt_start()
95 LOG_DBG("MRT@%p channel %d started with top value %d", base, channel_id, data->top); in nxp_mrt_start()
118 /* By default in Zephyr API, the counter resets on changing top value */ in nxp_mrt_set_top_value()
125 data->top = cfg->ticks; in nxp_mrt_set_top_value()
134 LOG_DBG("Set MRT@%p channel %d top value to %d", base, channel_id, data->top); in nxp_mrt_set_top_value()
[all …]
Dcounter_gd32_timer.c175 static uint32_t ticks_add(uint32_t val1, uint32_t val2, uint32_t top) in ticks_add() argument
179 if (likely(IS_BIT_MASK(top))) { in ticks_add()
180 return (val1 + val2) & top; in ticks_add()
183 to_top = top - val1; in ticks_add()
188 static uint32_t ticks_sub(uint32_t val, uint32_t old, uint32_t top) in ticks_sub() argument
190 if (likely(IS_BIT_MASK(top))) { in ticks_sub()
191 return (val - old) & top; in ticks_sub()
194 /* if top is not 2^n-1 */ in ticks_sub()
195 return (val >= old) ? (val - old) : val + top + 1 - old; in ticks_sub()
216 uint32_t top = counter_gd32_timer_get_top_value(dev); in set_cc() local
[all …]
Dcounter_ll_stm32_timer.c158 static uint32_t counter_stm32_ticks_add(uint32_t val1, uint32_t val2, uint32_t top) in counter_stm32_ticks_add() argument
162 if (likely(IS_BIT_MASK(top))) { in counter_stm32_ticks_add()
163 return (val1 + val2) & top; in counter_stm32_ticks_add()
166 to_top = top - val1; in counter_stm32_ticks_add()
171 static uint32_t counter_stm32_ticks_sub(uint32_t val, uint32_t old, uint32_t top) in counter_stm32_ticks_sub() argument
173 if (likely(IS_BIT_MASK(top))) { in counter_stm32_ticks_sub()
174 return (val - old) & top; in counter_stm32_ticks_sub()
177 /* if top is not 2^n-1 */ in counter_stm32_ticks_sub()
178 return (val >= old) ? (val - old) : val + top + 1U - old; in counter_stm32_ticks_sub()
202 uint32_t top = counter_stm32_get_top_value(dev); in counter_stm32_set_cc() local
[all …]
/Zephyr-latest/doc/_doxygen/
Ddoxygen-awesome-sidebar-only.css37 --top-height: 120px;
38 --toc-sticky-top: -25px;
55 top: var(--top-height);
60 height: calc(100vh - var(--top-height)) !important;
67 #top {
70 height: var(--top-height);
71 margin-bottom: calc(0px - var(--top-height));
85 box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color);
99 padding-top: calc(var(--top-height) - 80px);
Ddoxygen-awesome-zephyr.css25 --top-height: 220px;
72 /* adjust top and title to ~match Sphinx docs */
73 #top {
89 padding-top: 12px;
98 padding-top: calc(var(--top-height) - 180px);
105 padding-top: 25px;
/Zephyr-latest/boards/native/nrf_bsim/common/
Dbstests_entry.c65 struct bst_test_list *top = tests; in bst_test_find() local
67 while (top != NULL) { in bst_test_find()
68 if (!strcmp(top->test_instance->test_id, test_id)) { in bst_test_find()
70 return top->test_instance; in bst_test_find()
72 top = top->next; in bst_test_find()
103 struct bst_test_list *top; in bst_print_testslist() local
108 top = test_list_top; in bst_print_testslist()
109 while (top) { in bst_print_testslist()
111 top->test_instance->test_id, in bst_print_testslist()
112 top->test_instance->test_descr); in bst_print_testslist()
[all …]
/Zephyr-latest/dts/bindings/rtc/
Dnordic,nrf-rtc.yaml25 # of counter period if top value is different than maximal.
31 # top value. That results in code optimizations and availability of one more
33 fixed-top:
35 description: Enable fixed top value
/Zephyr-latest/dts/bindings/gpio/
Darduino-header-r3.yaml15 labeled from A0 at the top through A5 at the bottom.
17 signals labeled from D0 at the bottom D7 at the top;
20 towards the top, skipping two pins, then finishing with D14 and
21 D15 at the top.
/Zephyr-latest/tests/drivers/counter/counter_nrf_rtc/fixed_top/boards/
Dnrf52840dk_nrf52840.overlay3 fixed-top;
7 fixed-top;
Dnrf52_bsim.overlay3 fixed-top;
7 fixed-top;
Dnrf54h20dk_nrf54h20_common.dtsi5 fixed-top;
10 fixed-top;
/Zephyr-latest/doc/_static/js/
Dcustom.js52 $search.css('margin-top', `-${scrollTopPixels}px`);
53 $menu.css('margin-top', `${menuTopMargin}px`);
57 // Between the top of the page and the threshold we calculate intermediate values
59 $search.css('margin-top', `-${currentScroll}px`);
60 $menu.css('margin-top', `${menuTopMargin + (scrollTopPixels - currentScroll)}px`);
80 // As the navigation is scrolled we add a shadow to the top bar hanging over it.
109 $search.css('margin-top', `0px`);
110 $menu.css('margin-top', `0px`);
/Zephyr-latest/lib/utils/
Drb.c120 /* Swaps the position of the two nodes at the top of the provided
153 /* The node at the top of the provided stack is red, and its parent is
259 /* Called for a node N (at the top of the stack) which after a
346 /* Restore stack state to have N on the top in fix_missing_black()
543 f->top++; in stack_left_limb()
544 f->stack[f->top] = n; in stack_left_limb()
545 f->is_left[f->top] = 0U; in stack_left_limb()
548 f->top++; in stack_left_limb()
549 f->stack[f->top] = n; in stack_left_limb()
550 f->is_left[f->top] = 1; in stack_left_limb()
[all …]
/Zephyr-latest/drivers/gpio/
DKconfig.brcmstb5 bool "Broadcom Set-top box SoC GPIO Driver"
9 Enable Driver for Broadcom Set-top box SoC GPIO Banks.
/Zephyr-latest/include/zephyr/drivers/
Dcounter.h57 * @brief Flag preventing counter reset when top value is changed.
59 * If flags is set then counter is free running while top value is updated,
65 * @brief Flag instructing counter to reset itself if changing top value
66 * results in counter going out of new top value bound.
138 * values can be any value between zero and the current top value (see
168 /** @brief Top value configuration structure.
172 * Top value.
193 * Maximal (default) top value on which counter is reset (cleared or reloaded).
339 * @brief Function to retrieve maximum top value that can be set.
343 * @return Max top value.
[all …]
/Zephyr-latest/soc/atmel/sam0/common/
Dbossa.c29 uint32_t *top; in bossa_reset() local
40 top = (uint32_t *)(DT_REG_ADDR(DT_NODELABEL(sram0)) + in bossa_reset()
42 top[-1] = DOUBLE_TAP_MAGIC; in bossa_reset()
/Zephyr-latest/samples/net/virtual/
DREADME.rst15 all the virtual interfaces are running on top of it.
17 On top of Ethernet interface there are two virtual network interfaces,
21 The sample provides tunnel interface which runs on top of the IPv6 tunnel.
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dreel_board.c270 int top[4] = { -1, -1, -1, -1 }; in show_statistics() local
285 /* Find the top sender */ in show_statistics()
298 for (j = 0; j < ARRAY_SIZE(top); j++) { in show_statistics()
299 if (top[j] < 0) { in show_statistics()
300 top[j] = i; in show_statistics()
304 if (stat->hello_count <= stats[top[j]].hello_count) { in show_statistics()
309 if (j < ARRAY_SIZE(top) - 1) { in show_statistics()
310 memmove(&top[j + 1], &top[j], in show_statistics()
311 ((ARRAY_SIZE(top) - j - 1) * in show_statistics()
312 sizeof(top[j]))); in show_statistics()
[all …]
/Zephyr-latest/cmake/sca/eclair/ECL/
Dadopted_deviations.ecl24 -config=MC3R1.R2.3,declarations+={safe,"loc(top(public()))"}
27 -config=MC3R1.R2.1,declarations+={safe,"loc(top(public()))"}
30 -config=MC3R1.R8.7,declarations+={safe,"loc(top(public()))"}
43 -config=MC3R1.R8.6,declarations+={safe, "loc(top(file(^zephyr/build/zephyr/include/generated/.*$)))…

12345678910>>...20