Home
last modified time | relevance | path

Searched refs:increment (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/drivers/gnss/
Dgnss_parse.c26 int64_t increment; in gnss_parse_dec_to_nano() local
50 increment = GNSS_PARSE_NANO; in gnss_parse_dec_to_nano()
58 sum += (str[pos] - '0') * increment; in gnss_parse_dec_to_nano()
61 increment *= 10; in gnss_parse_dec_to_nano()
78 increment = GNSS_PARSE_NANO / 10LL; in gnss_parse_dec_to_nano()
86 sum += (str[pos] - '0') * increment; in gnss_parse_dec_to_nano()
89 increment /= 10; in gnss_parse_dec_to_nano()
Dgnss_nmea0183.c171 uint64_t increment; in gnss_nmea0183_ddmm_mmmm_to_ndeg() local
200 increment = (GNSS_NMEA0183_PICO_DEGREES_IN_MINUTE / 10); in gnss_nmea0183_ddmm_mmmm_to_ndeg()
208 pico_degrees += (ddmm_mmmm[pos] - '0') * increment; in gnss_nmea0183_ddmm_mmmm_to_ndeg()
211 increment /= 10; in gnss_nmea0183_ddmm_mmmm_to_ndeg()
219 increment = GNSS_NMEA0183_PICO_DEGREES_IN_MINUTE; in gnss_nmea0183_ddmm_mmmm_to_ndeg()
224 increment = GNSS_NMEA0183_PICO_DEGREES_IN_DEGREE; in gnss_nmea0183_ddmm_mmmm_to_ndeg()
233 pico_degrees += (ddmm_mmmm[pos] - '0') * increment; in gnss_nmea0183_ddmm_mmmm_to_ndeg()
236 increment *= 10; in gnss_nmea0183_ddmm_mmmm_to_ndeg()
/Zephyr-latest/include/zephyr/drivers/
Dptp_clock.h28 int (*adjust)(const struct device *dev, int increment);
76 static inline int ptp_clock_adjust(const struct device *dev, int increment) in ptp_clock_adjust() argument
81 return api->adjust(dev, increment); in ptp_clock_adjust()
Demul_sensor.h41 q31_t *increment, int8_t *shift);
168 q31_t *increment, int8_t *shift) in emul_sensor_backend_get_attribute_metadata() argument
179 return api->get_attribute_metadata(target, ch, attribute, min, max, increment, shift); in emul_sensor_backend_get_attribute_metadata()
/Zephyr-latest/drivers/ptp_clock/
Dptp_clock_nxp_enet.c66 int increment) in ptp_clock_nxp_enet_adjust() argument
72 if ((increment <= (int32_t)(-NSEC_PER_SEC)) || in ptp_clock_nxp_enet_adjust()
73 (increment >= (int32_t)NSEC_PER_SEC)) { in ptp_clock_nxp_enet_adjust()
83 data->base->ATPER = NSEC_PER_SEC - increment; in ptp_clock_nxp_enet_adjust()
/Zephyr-latest/samples/sensor/veaa_x_3/
DKconfig20 int "Sample kPa increment per loop"
/Zephyr-latest/tests/benchmarks/thread_metric/
Dthread_metric_readme.txt23 Each thread will increment its run counter and then relinquish to
36 thread executes. Each thread will increment its run count and then
40 it will increment its run counter and once again resume the next
48 increment a counter and then post to a semaphore. After the
65 increment its run counter.
71 the thread will increment its run counter.
77 will increment its run counter.
DKconfig27 of equal priority that yield to each other and increment counters
/Zephyr-latest/drivers/dma/
Ddma_stm32.c213 static int dma_stm32_get_memory_increment(enum dma_addr_adj increment, in dma_stm32_get_memory_increment() argument
216 switch (increment) { in dma_stm32_get_memory_increment()
226 LOG_ERR("Memory increment error. %d", increment); in dma_stm32_get_memory_increment()
233 static int dma_stm32_get_periph_increment(enum dma_addr_adj increment, in dma_stm32_get_periph_increment() argument
236 switch (increment) { in dma_stm32_get_periph_increment()
246 LOG_ERR("Periph increment error. %d", increment); in dma_stm32_get_periph_increment()
Ddma_stm32_bdma.c403 static int bdma_stm32_get_memory_increment(enum dma_addr_adj increment, in bdma_stm32_get_memory_increment() argument
406 switch (increment) { in bdma_stm32_get_memory_increment()
416 LOG_ERR("Memory increment error. %d", increment); in bdma_stm32_get_memory_increment()
423 static int bdma_stm32_get_periph_increment(enum dma_addr_adj increment, in bdma_stm32_get_periph_increment() argument
426 switch (increment) { in bdma_stm32_get_periph_increment()
436 LOG_ERR("Periph increment error. %d", increment); in bdma_stm32_get_periph_increment()
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dsar_cfg.rst66 * Acknowledgment delay increment (see the `SAR Acknowledgment Delay Increment`_ state).
75 …unicast~retransmissions~interval~step + unicast~retransmissions~interval~increment \times (TTL - 1)
95 min(SegN + 0.5 , acknowledgment~delay~increment) \times segment~reception~interval
191 SAR Unicast Retransmissions Interval Increment holds a value that controls the interval increment
193 address. The increment is measured in milliseconds.
196 default value. The Kconfig option value is used to calculate the increment using the following
242 This state holds a value that controls the delay increment of an interval used for delaying the
243 transmission of an acknowledgment message after receiving a new segment. The increment is measured
247 value. The increment value is calculated to be
/Zephyr-latest/subsys/sd/
Dsdio.c128 bool increment, in sdio_io_rw_extended() argument
140 cmd.arg |= increment ? BIT(SDIO_EXTEND_CMD_ARG_OP_CODE_SHIFT) : 0; in sdio_io_rw_extended()
166 bool increment, in sdio_io_rw_extended_helper() argument
185 func->num, reg_addr, increment, buf, blocks, in sdio_io_rw_extended_helper()
193 if (increment) { in sdio_io_rw_extended_helper()
203 reg_addr, increment, buf, 0, size); in sdio_io_rw_extended_helper()
209 if (increment) { in sdio_io_rw_extended_helper()
/Zephyr-latest/arch/arm/core/cortex_a_r/
Dmacro_priv.inc62 /* increment exception depth */
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/src/
Ddut.c227 static void increment(struct bt_conn *conn, void *user_data) in increment() function
238 bt_conn_foreach(BT_CONN_TYPE_LE, increment, &conn_count); in have_free_conn()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c549 int increment = -1; in send_l2cap_sdu() local
577 increment = 1; in send_l2cap_sdu()
579 increment = -1; in send_l2cap_sdu()
581 mps += increment; in send_l2cap_sdu()
/Zephyr-latest/drivers/ethernet/
Deth_stm32_hal.c1416 static int ptp_clock_stm32_adjust(const struct device *dev, int increment) in ptp_clock_stm32_adjust() argument
1423 if ((increment <= (int32_t)(-NSEC_PER_SEC)) || in ptp_clock_stm32_adjust()
1424 (increment >= (int32_t)NSEC_PER_SEC)) { in ptp_clock_stm32_adjust()
1431 if (increment >= 0) { in ptp_clock_stm32_adjust()
1432 heth->Instance->MACSTNUR = increment; in ptp_clock_stm32_adjust()
1434 heth->Instance->MACSTNUR = ETH_MACSTNUR_ADDSUB | (NSEC_PER_SEC + increment); in ptp_clock_stm32_adjust()
1442 if (increment >= 0) { in ptp_clock_stm32_adjust()
1443 heth->Instance->PTPTSLUR = increment; in ptp_clock_stm32_adjust()
1445 heth->Instance->PTPTSLUR = ETH_PTPTSLUR_TSUPNS | (-increment); in ptp_clock_stm32_adjust()
Deth_xmc4xxx.c1060 static int eth_xmc4xxx_ptp_clock_adjust(const struct device *dev, int increment) in eth_xmc4xxx_ptp_clock_adjust() argument
1066 if ((increment <= -(int)NSEC_PER_SEC) || (increment >= (int)NSEC_PER_SEC)) { in eth_xmc4xxx_ptp_clock_adjust()
1070 if (increment < 0) { in eth_xmc4xxx_ptp_clock_adjust()
1071 increment_tmp = -increment; in eth_xmc4xxx_ptp_clock_adjust()
1074 increment_tmp = increment; in eth_xmc4xxx_ptp_clock_adjust()
Deth_e1000.c354 static int ptp_clock_e1000_adjust(const struct device *dev, int increment) in ptp_clock_e1000_adjust() argument
357 ARG_UNUSED(increment); in ptp_clock_e1000_adjust()
Deth_native_posix.c538 int increment) in ptp_clock_adjust_native_posix() argument
541 ARG_UNUSED(increment); in ptp_clock_adjust_native_posix()
Deth_sam_gmac.c2376 static int ptp_clock_sam_gmac_adjust(const struct device *dev, int increment) in ptp_clock_sam_gmac_adjust() argument
2382 if ((increment <= -(int)NSEC_PER_SEC) || (increment >= (int)NSEC_PER_SEC)) { in ptp_clock_sam_gmac_adjust()
2386 if (increment < 0) { in ptp_clock_sam_gmac_adjust()
2387 gmac->GMAC_TA = GMAC_TA_ADJ | GMAC_TA_ITDT(-increment); in ptp_clock_sam_gmac_adjust()
2389 gmac->GMAC_TA = GMAC_TA_ITDT(increment); in ptp_clock_sam_gmac_adjust()
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Demul_bmi160.c534 q31_t *max, q31_t *increment, int8_t *shift) in bmi160_emul_backend_get_attribute_metadata() argument
550 *increment = (q31_t)((int64_t)(0.0039 * 9.8065 * INT32_MAX) >> 3); in bmi160_emul_backend_get_attribute_metadata()
567 *increment = (q31_t)(0.061 * 3.141593 / 180.0 * INT32_MAX); in bmi160_emul_backend_get_attribute_metadata()
/Zephyr-latest/doc/kernel/services/other/
Datomic.rst50 in mid-increment if a thread calling the function is interrupted if
59 /* increment invocation counter */
/Zephyr-latest/samples/sensor/qdec/
DREADME.rst71 The reported increment/decrement can be larger/smaller than the one shown
/Zephyr-latest/tests/net/ptp/clock/src/
Dmain.c211 static int my_ptp_clock_adjust(const struct device *dev, int increment) in my_ptp_clock_adjust() argument
216 eth_ctx->time.nanosecond += increment; in my_ptp_clock_adjust()
/Zephyr-latest/samples/modules/canopennode/
DREADME.rst49 Pressing the button labelled ``SW3`` will increment the button press
68 Pressing the button labelled ``SW3`` will increment the button press
87 Pressing the button labelled ``USER`` will increment the button press counter
106 Pressing the button labelled ``USER`` will increment the button press counter

12