linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH [0/4] can: m_can: various regmask-related cleanup
@ 2021-05-04 11:20 Torin Cooper-Bennun
  2021-05-04 11:20 ` [PATCH 1/4] can: m_can: use bits.h macros for all regmasks Torin Cooper-Bennun
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Torin Cooper-Bennun @ 2021-05-04 11:20 UTC (permalink / raw)
  To: linux-can; +Cc: Marc Kleine-Budde, Pankaj Sharma

Hi all!

1/4 modernises m_can.c, using GENMASK for all regmasks and
FIELD_{GET,PREP,MAX} for ops. Maintainable, consistent and concise.

2/4 makes clear all the differences in CCCR between M_CAN spec revisions,
and orders the defs by revision, ascending.

3/4 makes explicit the config of RX & TX buffer sizes, making it a bit
more readable, especially against the spec.

4/4 fixes whitespace in a few comments.

Cheers!

Torin
maxiluxsystems.com


P.S. Accidentally this header email once before when trying to rewrite
it, please discard! apologies.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-04 11:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 11:20 PATCH [0/4] can: m_can: various regmask-related cleanup Torin Cooper-Bennun
2021-05-04 11:20 ` [PATCH 1/4] can: m_can: use bits.h macros for all regmasks Torin Cooper-Bennun
2021-05-04 11:20 ` [PATCH 2/4] can: m_can: clean up CCCR reg defs, order by revs Torin Cooper-Bennun
2021-05-04 11:20 ` [PATCH 3/4] can: m_can: make TXESC, RXESC config more explicit Torin Cooper-Bennun
2021-05-04 11:20 ` [PATCH 4/4] can: m_can: fix whitespace in a few comments Torin Cooper-Bennun
2021-05-04 11:27 ` PATCH [0/4] can: m_can: various regmask-related cleanup Marc Kleine-Budde
2021-05-04 11:39   ` Torin Cooper-Bennun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).