/Zephyr-latest/drivers/can/ |
D | can_fake.c | 124 .sjw = 1, 131 .sjw = 128, 141 .sjw = 1, 148 .sjw = 16,
|
D | can_common.c | 312 res->sjw = MIN(res->phase_seg1, res->phase_seg2 / 2); in can_calc_timing_internal() 313 res->sjw = CLAMP(res->sjw, min->sjw, max->sjw); in can_calc_timing_internal() 350 if (!IN_RANGE(timing->sjw, min->sjw, max->sjw) || in check_timing_in_range() 358 if ((timing->sjw > timing->phase_seg1) || (timing->sjw > timing->phase_seg2)) { in check_timing_in_range()
|
D | can_esp32_twai.c | 36 #define TWAI_SYNC_JUMP_WIDTH_PREP(sjw) FIELD_PREP(TWAI_SYNC_JUMP_WIDTH_MASK, sjw) argument 131 TWAI_SYNC_JUMP_WIDTH_PREP(timing->sjw - 1); in can_esp32_twai_set_timing() 245 .sjw = 0x4,
|
D | can_shell.c | 398 timing_min->sjw, timing_max->sjw, in cmd_can_show() 410 timing_min->sjw, timing_max->sjw, in cmd_can_show() 472 timing.sjw = (uint16_t)strtoul(argv[4], &endptr, 10); in cmd_can_bitrate_set() 482 timing.sjw); in cmd_can_bitrate_set() 485 timing.sjw, timing.prop_seg, timing.phase_seg1, timing.phase_seg2, in cmd_can_bitrate_set() 543 timing.sjw = (uint16_t)strtoul(argv[4], &endptr, 10); in cmd_can_dbitrate_set() 553 timing.sjw); in cmd_can_dbitrate_set() 556 timing.sjw, timing.prop_seg, timing.phase_seg1, timing.phase_seg2, in cmd_can_dbitrate_set() 582 timing->sjw = (uint32_t)strtoul(argv[2], &endptr, 10); in can_shell_parse_timing() 632 "prescaler %u", timing.sjw, timing.prop_seg, timing.phase_seg1, in cmd_can_timing_set() [all …]
|
D | can_sja1000_priv.h | 99 #define CAN_SJA1000_BTR0_SJW_PREP(sjw) FIELD_PREP(CAN_SJA1000_BTR0_SJW_MASK, sjw) argument
|
D | can_loopback.c | 383 .sjw = 1, 390 .sjw = 128, 400 .sjw = 1, 407 .sjw = 16,
|
D | can_native_linux.c | 416 .sjw = 0x1, 423 .sjw = 0x0F, 432 .sjw = 0x1, 439 .sjw = 0x0F,
|
D | can_mcux_flexcan.c | 294 timing.rJumpwidth = data->timing.sjw - 1U; in mcux_flexcan_start() 303 timing.frJumpwidth = data->timing_data.sjw - 1U; in mcux_flexcan_start() 1222 flexcan_config.timingConfig.rJumpwidth = data->timing.sjw - 1U; in mcux_flexcan_init() 1229 flexcan_config.timingConfig.frJumpwidth = data->timing_data.sjw - 1U; in mcux_flexcan_init() 1286 .sjw = 0x01, 1293 .sjw = 0x04, 1331 .sjw = 0x01, 1338 .sjw = 0x20, 1345 .sjw = 0x01, 1352 .sjw = 0x08,
|
D | can_mcp2515.c | 340 uint8_t sjw = (timing->sjw - 1) << 6; in mcp2515_set_timing() local 341 uint8_t cnf1 = sjw | brp; in mcp2515_set_timing() 894 .sjw = 0x1, 901 .sjw = 0x04,
|
D | can_nxp_s32_canxl.c | 693 timing->prescaler, timing->sjw); in nxp_s32_zcan_timing_to_canxl_timing() 699 canxl_timing->rJumpwidth = timing->sjw - 1U; in nxp_s32_zcan_timing_to_canxl_timing() 1100 .sjw = 0x01, 1107 .sjw = 0x04, 1116 .sjw = 0x01, 1123 .sjw = 0x04,
|
D | can_renesas_ra.c | 21 .sjw = 128, \ 30 .sjw = 1, \ 40 .sjw = 16, \ 48 .sjw = 1, \ 198 .synchronization_jump_width = z_timing->sjw, in set_hw_timing_configuration()
|
D | can_mcp251xfd.c | 427 tmp |= FIELD_PREP(MCP251XFD_REG_NBTCFG_SJW_MASK, timing->sjw - 1); in mcp251xfd_set_timing() 465 tmp |= FIELD_PREP(MCP251XFD_REG_DBTCFG_SJW_MASK, timing->sjw - 1); in mcp251xfd_set_timing_data() 1702 .sjw = 1, 1709 .sjw = 128, 1717 .sjw = 1, 1724 .sjw = 16,
|
D | can_xmc4xxx.c | 135 reg |= FIELD_PREP(CAN_NODE_NBTR_SJW_Msk, timing->sjw - 1); in can_xmc4xxx_set_timing() 899 .sjw = 1, 906 .sjw = 4,
|
D | can_rcar.c | 730 RCAR_CAN_BCR_SJW(timing->sjw - 1) | in can_rcar_set_bittiming() 1170 .sjw = 0x1, 1177 .sjw = 0x4,
|
D | can_stm32_bxcan.c | 555 (((timing->sjw - 1) << CAN_BTR_SJW_Pos) & CAN_BTR_SJW_Msk) | in can_stm32_set_timing() 1083 .sjw = 0x1, 1090 .sjw = 0x04,
|
D | can_mcan.c | 209 nbtp |= FIELD_PREP(CAN_MCAN_NBTP_NSJW, timing->sjw - 1UL) | in can_mcan_set_timing() 240 dbtp |= FIELD_PREP(CAN_MCAN_DBTP_DSJW, timing_data->sjw - 1UL) | in can_mcan_set_timing_data()
|
D | can_sja1000.c | 121 CAN_SJA1000_BTR0_SJW_PREP(timing->sjw - 1); in can_sja1000_set_timing()
|
/Zephyr-latest/tests/drivers/can/timing/src/ |
D | main.c | 105 zassert_true(timing->sjw <= max->sjw, "sjw exceeds max"); in assert_timing_within_bounds() 111 zassert_true(timing->sjw >= min->sjw, "sjw lower than min"); in assert_timing_within_bounds() 183 timing.sjw, timing.prop_seg, timing.phase_seg1, timing.phase_seg2, in test_timing_values()
|
/Zephyr-latest/include/zephyr/drivers/can/ |
D | can_sja1000.h | 64 .sjw = 1, \ 76 .sjw = 4, \
|
D | can_mcan.h | 853 .sjw = 1, \ 865 .sjw = 128, \ 877 .sjw = 1, \ 889 .sjw = 16, \
|
/Zephyr-latest/tests/drivers/can/shell/src/ |
D | main.c | 34 zassert_equal(t1->sjw, t2->sjw, "sjw mismatch"); in assert_can_timing_equal() 215 .sjw = 16U, in ZTEST() 247 .sjw = 5U, in ZTEST()
|
/Zephyr-latest/doc/hardware/peripherals/can/ |
D | shell.rst | 79 … timing: sjw 1..128, prop_seg 0..0, phase_seg1 2..256, phase_seg2 2..128, prescaler 1..512 80 timing data: sjw 1..16, prop_seg 0..0, phase_seg1 1..32, phase_seg2 1..16, prescaler 1..32
|
/Zephyr-latest/doc/releases/ |
D | migration-guide-3.5.rst | 232 the ``sjw`` field in :c:struct:`can_timing`. To aid in this, the :c:func:`can_calc_timing` and 416 * ``sjw`` 420 * ``sjw-data``
|
D | release-notes-3.5.rst | 1013 * property ``sjw-data`` default value changed from None to 1 1014 * property ``sjw-data`` deprecation status changed from False to True 1015 * property ``sjw`` default value changed from None to 1 1016 * property ``sjw`` deprecation status changed from False to True
|
/Zephyr-latest/include/zephyr/drivers/ |
D | can.h | 264 uint16_t sjw; member
|