Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/can/ctucanfd/
Dctucanfd_base.c294 int ssp_offset = 0; in ctucan_set_secondary_sample_point() local
305 ssp_offset = (priv->can.clock.freq / 1000) * dbt->sample_point / dbt->bitrate; in ctucan_set_secondary_sample_point()
307 if (ssp_offset > 127) { in ctucan_set_secondary_sample_point()
309 ssp_offset = 127; in ctucan_set_secondary_sample_point()
312 ssp_cfg = FIELD_PREP(REG_TRV_DELAY_SSP_OFFSET, ssp_offset); in ctucan_set_secondary_sample_point()