Home
last modified time | relevance | path

Searched refs:can_timing (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-2.7.6/tests/drivers/can/timing/src/
Dmain.c56 static void verify_bitrate(struct can_timing *timing, uint32_t bitrate) in verify_bitrate()
76 static void verify_sp(struct can_timing *timing, uint16_t sp, in verify_sp()
81 const struct can_timing *max = &api->timing_max; in verify_sp()
82 const struct can_timing *min = &api->timing_min; in verify_sp()
109 struct can_timing timing = {0}; in test_verify_algo()
134 ztest_test_suite(can_timing, in test_main()
136 ztest_run_test_suite(can_timing); in test_main()
/Zephyr-Core-2.7.6/include/drivers/
Dcan.h288 struct can_timing { struct
331 const struct can_timing *timing,
332 const struct can_timing *timing_data);
398 struct can_timing timing_min;
400 struct can_timing timing_max;
403 struct can_timing timing_min_data;
405 struct can_timing timing_max_data;
669 int can_calc_timing(const struct device *dev, struct can_timing *res,
687 int can_calc_timing_data(const struct device *dev, struct can_timing *res,
706 int can_calc_prescaler(const struct device *dev, struct can_timing *timing,
[all …]
/Zephyr-Core-2.7.6/drivers/can/
Dcan_common.c147 static int update_sampling_pnt(uint32_t ts, uint32_t sp, struct can_timing *res, in update_sampling_pnt()
148 const struct can_timing *max, in update_sampling_pnt()
149 const struct can_timing *min) in update_sampling_pnt()
184 static int can_calc_timing_int(uint32_t core_clock, struct can_timing *res, in can_calc_timing_int()
185 const struct can_timing *min, in can_calc_timing_int()
186 const struct can_timing *max, in can_calc_timing_int()
193 struct can_timing tmp_res; in can_calc_timing_int()
237 int can_calc_timing(const struct device *dev, struct can_timing *res, in can_calc_timing()
254 int can_calc_timing_data(const struct device *dev, struct can_timing *res, in can_calc_timing_data()
271 int can_calc_prescaler(const struct device *dev, struct can_timing *timing, in can_calc_prescaler()
Dcan_handlers.c11 const struct can_timing *timing, in z_vrfy_can_set_timing()
12 const struct can_timing *timing_data) in z_vrfy_can_set_timing()
17 (const struct can_timing *)timing, in z_vrfy_can_set_timing()
18 (const struct can_timing *)timing_data); in z_vrfy_can_set_timing()
Dcan_mcan.h199 const struct can_timing *timing,
200 const struct can_timing *timing_data);
Dcan_mcan.c106 const struct can_timing *timing, in can_mcan_configure_timing()
107 const struct can_timing *timing_data) in can_mcan_configure_timing()
168 const struct can_timing *timing, in can_mcan_set_timing()
169 const struct can_timing *timing_data) in can_mcan_set_timing()
249 struct can_timing timing; in can_mcan_init()
251 struct can_timing timing_data; in can_mcan_init()
Dcan_loopback.c194 const struct can_timing *timing, in can_loopback_set_timing()
195 const struct can_timing *timing_data) in can_loopback_set_timing()
Dcan_stm32fd.c135 const struct can_timing *timing, in can_stm32fd_set_timing()
136 const struct can_timing *timing_data) in can_stm32fd_set_timing()
Dcan_rcar.c613 const struct can_timing *timing) in can_rcar_set_bittiming()
631 const struct can_timing *timing, in can_rcar_set_timing()
632 const struct can_timing *timing_data) in can_rcar_set_timing()
847 struct can_timing timing; in can_rcar_init()
Dcan_mcp2515.c319 const struct can_timing *timing, in mcp2515_set_timing()
320 const struct can_timing *timing_data) in mcp2515_set_timing()
815 struct can_timing timing; in mcp2515_init()
Dcan_mcux_flexcan.c120 struct can_timing timing;
131 const struct can_timing *timing, in mcux_flexcan_set_timing()
132 const struct can_timing *timing_data) in mcux_flexcan_set_timing()
Dcan_stm32.c357 const struct can_timing *timing, in can_stm32_set_timing()
358 const struct can_timing *timing_data) in can_stm32_set_timing()
420 struct can_timing timing; in can_stm32_init()
/Zephyr-Core-2.7.6/tests/drivers/can/timing/
DCMakeLists.txt5 project(can_timing) project
/Zephyr-Core-2.7.6/doc/reference/networking/
Dcan_api.rst50 .. image:: can_timing.svg
335 struct can_timing timing;