Searched refs:ideal_sp (Results 1 – 3 of 3) sorted by relevance
398 uint32_t ideal_sp, seg1Temp; in MCAN_FDGetSegments() local403 ideal_sp = IDEAL_DATA_SP_1; in MCAN_FDGetSegments()407 ideal_sp = IDEAL_DATA_SP_2; in MCAN_FDGetSegments()411 ideal_sp = IDEAL_DATA_SP_3; in MCAN_FDGetSegments()415 ideal_sp = IDEAL_DATA_SP_4; in MCAN_FDGetSegments()418 pconfig->dataseg2 = (uint8_t)(tqNum - (tqNum * ideal_sp) / (uint32_t)IDEAL_SP_FACTOR - 1U); in MCAN_FDGetSegments()720 uint32_t ideal_sp, seg1Temp; in MCAN_GetSegments() local725 ideal_sp = IDEAL_SP_LOW; in MCAN_GetSegments()729 ideal_sp = IDEAL_SP_MID; in MCAN_GetSegments()733 ideal_sp = IDEAL_SP_HIGH; in MCAN_GetSegments()[all …]
238 uint32_t ideal_sp; in MSCAN_GetSegments() local245 ideal_sp = IDEAL_SP_LOW; in MSCAN_GetSegments()249 ideal_sp = IDEAL_SP_MID; in MSCAN_GetSegments()253 ideal_sp = IDEAL_SP_HIGH; in MSCAN_GetSegments()257 p1 = tqNum * (uint32_t)ideal_sp; in MSCAN_GetSegments()
1636 uint32_t ideal_sp; in FLEXCAN_GetSegments() local1667 ideal_sp = IDEAL_SP_LOW; in FLEXCAN_GetSegments()1671 ideal_sp = IDEAL_SP_MID; in FLEXCAN_GetSegments()1675 ideal_sp = IDEAL_SP_HIGH; in FLEXCAN_GetSegments()1678 pTimingConfig->phaseSeg2 = (uint8_t)(tqNum - (tqNum * ideal_sp) / (uint32_t)IDEAL_SP_FACTOR); in FLEXCAN_GetSegments()1887 uint32_t ideal_sp; in FLEXCAN_FDGetSegments() local1905 ideal_sp = IDEAL_DATA_SP_1; in FLEXCAN_FDGetSegments()1909 ideal_sp = IDEAL_DATA_SP_2; in FLEXCAN_FDGetSegments()1913 ideal_sp = IDEAL_DATA_SP_3; in FLEXCAN_FDGetSegments()1917 ideal_sp = IDEAL_DATA_SP_4; in FLEXCAN_FDGetSegments()[all …]