Home
last modified time | relevance | path

Searched refs:remainder (Results 1 – 25 of 66) sorted by relevance

123

/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/include/hal/
Dticker_vendor_hal.h74 uint32_t *remainder) in hal_ticker_remove_jitter() argument
77 if ((*remainder & BIT(31)) || !(*remainder / HAL_TICKER_PSEC_PER_USEC)) { in hal_ticker_remove_jitter()
79 *remainder += HAL_TICKER_CNTR_CLK_UNIT_FSEC / HAL_TICKER_FSEC_PER_PSEC; in hal_ticker_remove_jitter()
83 *remainder /= HAL_TICKER_PSEC_PER_USEC; in hal_ticker_remove_jitter()
87 static inline void hal_ticker_add_jitter(uint32_t *ticks, uint32_t *remainder) in hal_ticker_add_jitter() argument
90 if ((*remainder & BIT(31)) || !(*remainder / HAL_TICKER_PSEC_PER_USEC)) { in hal_ticker_add_jitter()
92 *remainder += HAL_TICKER_CNTR_CLK_UNIT_FSEC / HAL_TICKER_FSEC_PER_PSEC; in hal_ticker_add_jitter()
96 *remainder /= HAL_TICKER_PSEC_PER_USEC; in hal_ticker_add_jitter()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/
Dticker.h96 uint32_t *remainder) in hal_ticker_remove_jitter() argument
99 if ((*remainder & BIT(31)) || !(*remainder / HAL_TICKER_PSEC_PER_USEC)) { in hal_ticker_remove_jitter()
101 *remainder += HAL_TICKER_CNTR_CLK_UNIT_FSEC / HAL_TICKER_FSEC_PER_PSEC; in hal_ticker_remove_jitter()
105 *remainder /= HAL_TICKER_PSEC_PER_USEC; in hal_ticker_remove_jitter()
109 static inline void hal_ticker_add_jitter(uint32_t *ticks, uint32_t *remainder) in hal_ticker_add_jitter() argument
112 if ((*remainder & BIT(31)) || !(*remainder / HAL_TICKER_PSEC_PER_USEC)) { in hal_ticker_add_jitter()
114 *remainder += HAL_TICKER_CNTR_CLK_UNIT_FSEC / HAL_TICKER_FSEC_PER_PSEC; in hal_ticker_add_jitter()
118 *remainder /= HAL_TICKER_PSEC_PER_USEC; in hal_ticker_add_jitter()
/Zephyr-latest/scripts/build/
Dfile2hex.py77 remainder = args.length
78 for chunk in iter(lambda: fp.read(min(8, remainder)), b''):
80 remainder = remainder - len(chunk)
/Zephyr-latest/scripts/west_commands/
Dtwister_cmd.py54 def do_run(self, args, remainder): argument
56 "args: {} remainder: {}".format(args, remainder), level=Verbosity.DBG_EXTREME
59 options = parse_arguments(self.parser, args=remainder, options=args)
Dbuild.py189 def do_run(self, args, remainder): argument
192 self.dbg('args: {} remainder: {}'.format(args, remainder),
196 self._parse_remainder(remainder)
300 def _parse_remainder(self, remainder): argument
306 if remainder[0] != _ARG_SEPARATOR:
307 self.args.source_dir = remainder[0]
308 remainder = remainder[1:]
311 if remainder[0] == _ARG_SEPARATOR:
312 remainder = remainder[1:]
313 if remainder:
[all …]
/Zephyr-latest/tests/unit/net_timeout/
Dmain.c198 uint32_t remainder; in ZTEST() local
207 remainder = 2147482706; in ZTEST()
208 zassert_equal(nto.timer_timeout, remainder, in ZTEST()
221 zassert_equal(nto.timer_timeout, remainder, in ZTEST()
236 zassert_equal(nto.timer_timeout, remainder, in ZTEST()
251 zassert_equal(nto.timer_timeout, remainder, in ZTEST()
267 zassert_equal(nto.timer_timeout, remainder, in ZTEST()
277 remainder -= 1234; in ZTEST()
279 zassert_equal(delay, remainder, in ZTEST()
285 zassert_equal(nto.timer_timeout, remainder, in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_central.c91 uint32_t remainder; in prepare_cb() local
165 remainder = p->remainder; in prepare_cb()
166 remainder_us = radio_tmr_start(1, ticks_at_start, remainder); in prepare_cb()
Dlll_peripheral.c104 uint32_t remainder; in prepare_cb() local
191 remainder = p->remainder; in prepare_cb()
192 remainder_us = radio_tmr_start(0, ticks_at_start, remainder); in prepare_cb()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.c180 static uint32_t radio_tmr_start_hlp(uint8_t trx, uint32_t ticks_start, uint32_t remainder);
1027 static uint32_t radio_tmr_start_hlp(uint8_t trx, uint32_t ticks_start, uint32_t remainder) in radio_tmr_start_hlp() argument
1048 return remainder; in radio_tmr_start_hlp()
1050 remainder += rtc_diff_start_us; in radio_tmr_start_hlp()
1053 if (remainder <= MIN_CMD_TIME) { in radio_tmr_start_hlp()
1056 remainder = 0; in radio_tmr_start_hlp()
1063 GENFSK->T1_CMP = GENFSK_T1_CMP_T1_CMP(remainder); in radio_tmr_start_hlp()
1065 tmr_ready = remainder + tx_wu; in radio_tmr_start_hlp()
1067 if (remainder <= MIN_CMD_TIME) { in radio_tmr_start_hlp()
1070 remainder = 0; in radio_tmr_start_hlp()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_central.c102 uint32_t remainder; in prepare_cb() local
220 remainder = p->remainder; in prepare_cb()
221 remainder_us = radio_tmr_start(1, ticks_at_start, remainder); in prepare_cb()
Dlll_peripheral.c106 uint32_t remainder; local
280 remainder = p->remainder;
281 remainder_us = radio_tmr_start(0, ticks_at_start, remainder);
Dlll_adv_sync.c123 uint32_t remainder; local
226 remainder = p->remainder;
227 start_us = radio_tmr_start(1, ticks_at_start, remainder);
/Zephyr-latest/subsys/bluetooth/controller/flash/
Dsoc_flash_nrf_ticker.c73 uint32_t remainder, in time_slot_callback_work() argument
149 uint32_t remainder, in time_slot_callback_abort() argument
162 uint32_t remainder, in time_slot_callback_prepare() argument
167 time_slot_callback_abort(ticks_at_expire, ticks_drift, remainder, lazy, in time_slot_callback_prepare()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_conn_iso_internal.h40 uint32_t ticks_at_expire, uint32_t remainder,
51 uint32_t remainder, uint16_t lazy, uint8_t force,
Dull_peripheral_internal.h11 uint32_t remainder, uint16_t lazy, uint8_t force,
Dull_central_internal.h12 uint32_t remainder, uint16_t lazy, uint8_t force,
Dull_sched.c130 uint32_t remainder; in ull_sched_after_cen_slot_get() local
136 &remainder, &ticks_slot); in ull_sched_after_cen_slot_get()
160 remainder_us = remainder; in ull_sched_after_cen_slot_get()
190 remainder_us = p->remainder; in ull_sched_mfy_after_cen_offset_get()
408 uint32_t remainder; in after_match_slot_get() local
436 remainder = remainder_prev = 0U; in after_match_slot_get()
451 &ticks_to_expire, &remainder, in after_match_slot_get()
544 remainder_prev = remainder; in after_match_slot_get()
Dull_conn_iso.c678 uint32_t remainder, uint16_t lazy, uint8_t force, in ull_conn_iso_ticker_cb() argument
749 p.remainder = remainder; in ull_conn_iso_ticker_cb()
796 uint32_t cis_offset, uint32_t *ticks_at_expire, uint32_t remainder) in cig_offset_calc() argument
802 remainder_us = remainder; in cig_offset_calc()
825 uint32_t ticks_at_expire, uint32_t remainder, in ull_conn_iso_start() argument
912 cig_offset_us = cig_offset_calc(cig, cis, cis->offset, &ticks_at_expire, remainder); in ull_conn_iso_start()
993 remainder); in ull_conn_iso_start()
1116 uint32_t remainder; in mfy_cis_lazy_fill() local
1154 &ticks_current, &ticks_to_expire, &remainder, &lazy, in mfy_cis_lazy_fill()
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/
Dull_peripheral.c30 void ull_periph_ticker_cb(uint32_t ticks_at_expire, uint32_t remainder, uint16_t lazy, void *param) in ull_periph_ticker_cb() argument
Dull_central.c28 void ull_central_ticker_cb(uint32_t ticks_at_expire, uint32_t remainder, uint16_t lazy, void *param) in ull_central_ticker_cb() argument
Dull_conn_iso.c87 uint32_t ticks_at_expire, uint32_t remainder, in ull_conn_iso_start() argument
Dticker.c43 uint32_t *remainder, uint16_t *lazy, in ticker_next_slot_get_ext() argument
/Zephyr-latest/subsys/bluetooth/controller/coex/
Dcoex_ticker.c74 uint32_t remainder, in time_slot_callback_work() argument
120 uint32_t remainder, in time_slot_callback_abort() argument
/Zephyr-latest/subsys/bluetooth/controller/ticker/
Dticker.h132 uint32_t ticks_drift, uint32_t remainder,
139 uint32_t remainder; member
212 uint32_t *remainder, uint16_t *lazy,
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_6lo_fragment.c132 uint8_t remainder = ctx->buf->len - (ctx->pos - ctx->buf->data); in copy_data() local
133 uint8_t move = MIN(remainder, capacity); in copy_data()
143 uint8_t remainder = (ctx->buf->len - (ctx->pos - ctx->buf->data)); in update_fragment_ctx() local
144 bool next_frag = moved == remainder; in update_fragment_ctx()

123