/Zephyr-Core-3.7.0/include/zephyr/devicetree/ |
D | can.h | 74 #define DT_CAN_TRANSCEIVER_MIN_BITRATE(node_id, min) \ argument 76 MAX(DT_PROP_OR(DT_PHANDLE(node_id, phys), min_bitrate, 0), min), \ 77 MAX(DT_PROP_OR(DT_CHILD(node_id, can_transceiver), min_bitrate, min), min)) 129 #define DT_INST_CAN_TRANSCEIVER_MIN_BITRATE(inst, min) \ argument 130 DT_CAN_TRANSCEIVER_MIN_BITRATE(DT_DRV_INST(inst), min)
|
/Zephyr-Core-3.7.0/boards/shields/npm6001_ek/ |
D | npm6001_ek.overlay | 25 /* limits are set to min/max allowed values */ 28 regulator-min-microvolt = <1800000>; 33 regulator-min-microvolt = <700000>; 38 regulator-min-microvolt = <1200000>; 43 regulator-min-microvolt = <500000>; 48 regulator-min-microvolt = <1800000>; 53 regulator-min-microvolt = <1800000>;
|
/Zephyr-Core-3.7.0/drivers/can/ |
D | can_common.c | 156 const struct can_timing *min, const struct can_timing *max) in update_sample_pnt() argument 159 uint16_t tseg1_min = min->phase_seg1 + min->prop_seg; in update_sample_pnt() 165 tseg2 = CLAMP(tseg2, min->phase_seg2, max->phase_seg2); in update_sample_pnt() 182 if (tseg2 < min->phase_seg2) { in update_sample_pnt() 190 res->prop_seg = CLAMP(tseg1 / 2, min->prop_seg, max->prop_seg); in update_sample_pnt() 197 } else if (res->phase_seg1 < min->phase_seg1) { in update_sample_pnt() 199 res->phase_seg1 = min->phase_seg1; in update_sample_pnt() 252 const struct can_timing *min, const struct can_timing *max, in can_calc_timing_internal() argument 275 for (prescaler = MAX(core_clock / (total_tq * bitrate), min->prescaler); in can_calc_timing_internal() 286 err = update_sample_pnt(total_tq, sample_pnt, &tmp_res, min, max); in can_calc_timing_internal() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/sys/ |
D | linear_range.h | 63 int32_t min; member 82 .min = (_min), \ 129 return r->min + (int32_t)(r->step * (r->max_idx - r->min_idx)); in linear_range_get_max_value() 149 *val = r->min + (int32_t)(r->step * (idx - r->min_idx)); in linear_range_get_value() 196 if (val < r->min) { in linear_range_get_index() 209 *idx = r->min_idx + DIV_ROUND_UP((uint32_t)(val - r->min), in linear_range_get_index() 271 if ((val_max < r->min) || (val_min > r_max)) { in linear_range_get_win_index() 275 if (val_min < r->min) { in linear_range_get_win_index() 290 *idx = r->min_idx + DIV_ROUND_UP((uint32_t)(val_min - r->min), r->step); in linear_range_get_win_index() 291 if ((r->min + r->step * (*idx - r->min_idx)) > val_max) { in linear_range_get_win_index()
|
/Zephyr-Core-3.7.0/tests/drivers/can/timing/src/ |
D | main.c | 102 const struct can_timing *min, in assert_timing_within_bounds() argument 111 zassert_true(timing->sjw >= min->sjw, "sjw lower than min"); in assert_timing_within_bounds() 112 zassert_true(timing->prop_seg >= min->prop_seg, "prop_seg lower than min"); in assert_timing_within_bounds() 113 zassert_true(timing->phase_seg1 >= min->phase_seg1, "phase_seg1 lower than min"); in assert_timing_within_bounds() 114 zassert_true(timing->phase_seg2 >= min->phase_seg2, "phase_seg2 lower than min"); in assert_timing_within_bounds() 115 zassert_true(timing->prescaler >= min->prescaler, "prescaler lower than min"); in assert_timing_within_bounds() 152 const struct can_timing *min = NULL; in test_timing_values() local 162 min = can_get_timing_data_min(dev); in test_timing_values() 169 min = can_get_timing_min(dev); in test_timing_values() 187 assert_timing_within_bounds(&timing, min, max); in test_timing_values()
|
/Zephyr-Core-3.7.0/soc/altr/zephyr_nios2f/cpu/ |
D | ghrd_timing.sdc | 22 set_output_delay -clock {clk_50 } -rise -min 11 [get_ports {qspi_io[*]}] 23 set_output_delay -clock {clk_50 } -rise -min 11 [get_ports {qspi_clk}] 24 set_output_delay -clock {clk_50 } -rise -min 11 [get_ports {qspi_csn}] 25 set_input_delay -clock {clk_50 } -rise -min 10 [get_ports {qspi_io[*]}]
|
/Zephyr-Core-3.7.0/boards/shields/npm1300_ek/ |
D | npm1300_ek.overlay | 24 /* limits are set to min/max allowed values */ 26 regulator-min-microvolt = <1000000>; 31 regulator-min-microvolt = <1000000>; 36 regulator-min-microvolt = <1000000>; 41 regulator-min-microvolt = <1000000>;
|
/Zephyr-Core-3.7.0/samples/boards/nrf/battery/src/ |
D | main.c | 40 unsigned int min; in now_str() local 46 min = now % 60U; in now_str() 51 h, min, s, ms); in now_str()
|
/Zephyr-Core-3.7.0/drivers/watchdog/ |
D | wdt_sam.c | 69 uint32_t max, min; in wdt_sam_convert_timeout() local 72 min = (SAM_PRESCALAR * 1000000) / sclk; in wdt_sam_convert_timeout() 73 max = min * WDT_MAX_VALUE; in wdt_sam_convert_timeout() 74 if ((timeout < min) || (timeout > max)) { in wdt_sam_convert_timeout() 76 "%d ms to %d ms", min / 1000U, max / 1000U); in wdt_sam_convert_timeout() 80 return WDT_MR_WDV(timeout / min); in wdt_sam_convert_timeout() 155 if (cfg->window.min != 0U) { in wdt_sam_install_timeout()
|
/Zephyr-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | kernel_apis.c | 57 uint32_t start_time, stop_time, diff, max, min; in ZTEST() local 67 min = WAIT_TIME_US - (TOLERANCE_PPC * WAIT_TIME_US / 100); in ZTEST() 69 zassert_true(diff <= max && diff >= min, in ZTEST()
|
/Zephyr-Core-3.7.0/tests/drivers/watchdog/wdt_error_cases/src/ |
D | main.c | 193 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 221 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 249 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 273 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 278 m_cfg_wdt0.window.min = 1U; in ZTEST() 286 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 328 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 356 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 395 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 446 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/samples/boards/stm32/power_mgmt/suspend_to_ram/boards/ |
D | nucleo_wba55cg.overlay | 8 /* Change min residency time to ease power consumption measurement */ 16 min-residency-us = <500000>; 20 min-residency-us = <1000000>; 24 min-residency-us = <2000000>;
|
/Zephyr-Core-3.7.0/samples/sensor/dht/src/ |
D | main.c | 18 unsigned int min; in now_str() local 24 min = now % 60U; in now_str() 29 h, min, s, ms); in now_str()
|
/Zephyr-Core-3.7.0/samples/subsys/pm/latency/boards/ |
D | native_sim.overlay | 11 min-residency-us = <1000000>; 17 min-residency-us = <1100000>; 23 min-residency-us = <1200000>;
|
/Zephyr-Core-3.7.0/tests/subsys/pm/policy_api/ |
D | app.overlay | 19 min-residency-us = <100000>; 27 min-residency-us = <1000000>; 35 min-residency-us = <500000>;
|
/Zephyr-Core-3.7.0/tests/subsys/pm/power_states_api/boards/ |
D | native_sim.overlay | 17 min-residency-us = <10000>; 24 min-residency-us = <20000>; 31 min-residency-us = <50000>;
|
/Zephyr-Core-3.7.0/samples/sensor/mpu6050/src/ |
D | main.c | 18 unsigned int min; in now_str() local 24 min = now % 60U; in now_str() 29 h, min, s, ms); in now_str()
|
/Zephyr-Core-3.7.0/subsys/logging/backends/ |
D | log_backend_fs.c | 277 int max = 0, min = MAX_FILE_NUMERAL; in allocate_new_file() local 294 if (file_num < min) { in allocate_new_file() 295 min = file_num; in allocate_new_file() 301 oldest = min; in allocate_new_file() 304 ((max - min) > in allocate_new_file() 307 newest = min; in allocate_new_file() 319 if (file_num < min + CONFIG_LOG_BACKEND_FS_FILES_LIMIT) { in allocate_new_file() 333 oldest = min; in allocate_new_file()
|
/Zephyr-Core-3.7.0/samples/sensor/isl29035/src/ |
D | main.c | 33 unsigned int min; in now_str() local 39 min = now % 60U; in now_str() 44 h, min, s, ms); in now_str()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/ |
D | ll_tx_pwr.c | 210 void ll_tx_pwr_get(int8_t *min, int8_t *max) in ll_tx_pwr_get() argument 213 *min = lll_radio_tx_pwr_min_get(); in ll_tx_pwr_get() 216 *min = RADIO_TXP_DEFAULT; in ll_tx_pwr_get()
|
/Zephyr-Core-3.7.0/tests/drivers/regulator/api/ |
D | app.overlay | 21 regulator-min-microvolt = <100>; 23 regulator-min-microamp = <100>;
|
/Zephyr-Core-3.7.0/tests/kconfig/functions/ |
D | Kconfig | 94 default $(min, 10) 98 default $(min, 10, 3) 102 default $(min, 10, 3, 2)
|
/Zephyr-Core-3.7.0/samples/sensor/icm42605/src/ |
D | main.c | 18 unsigned int min; in now_str() local 24 min = now % 60U; in now_str() 29 h, min, s, ms); in now_str()
|
/Zephyr-Core-3.7.0/samples/modules/tflite-micro/magic_wand/train/ |
D | data_load.py | 73 min(len(data), seq_length)):] = data[:min(len(data), seq_length)] 77 tmp_data[:min(len(data), seq_length)] = data[:min(len(data), seq_length)]
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | emul_sensor.h | 40 enum sensor_attribute attribute, q31_t *min, q31_t *max, 167 q31_t *min, q31_t *max, 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()
|