Torin Cooper-Bennun 0f31571668 can: m_can: make TXESC, RXESC config more explicit
Introduce masks for the three RXESC fields (RBDS, F1DS, F0DS) and the
one TXESC field (TBDS). Update m_can_chip_config() to explicitly set all
four fields to the 64-byte option (0x7) (and these defs are renamed to
be more concise).

This is an improvement in maintainability, and also makes it easier to
implement more flexible configuration of the M_CAN buffers in the
future.

Link: https://lore.kernel.org/r/20210504125123.500553-4-torin@maxiluxsystems.com
Signed-off-by: Torin Cooper-Bennun <torin@maxiluxsystems.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2021-05-27 09:42:23 +02:00
..
2021-05-26 09:11:41 -07:00
2021-05-21 13:54:16 -07:00
2021-03-30 17:06:50 -07:00
2021-05-20 15:10:57 -07:00
2021-04-16 15:31:02 -07:00
2021-04-16 15:31:02 -07:00
2021-05-20 15:10:57 -07:00
2021-04-13 15:13:13 -07:00
2021-05-19 12:01:44 -07:00
2021-04-14 13:13:53 -07:00