aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-03-01 12:17:30 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-11-11 21:58:11 +0100
commit8ce5139e3db829d53c2f33ff812cea4f1f075e9c (patch)
treeb55ffd43d4f56cf32312de5a05a9510608797075 /Documentation
parentcan: flexcan: remove TX mailbox bit from struct flexcan_priv::rx_mask{1,2} (diff)
downloadlinux-dev-8ce5139e3db829d53c2f33ff812cea4f1f075e9c.tar.xz
linux-dev-8ce5139e3db829d53c2f33ff812cea4f1f075e9c.zip
can: flexcan: convert struct flexcan_priv::rx_mask{1,2} to rx_mask
The flexcan IP core has up to 64 mailboxes, each one has a corresponding interrupt bit in the iflag1 or iflag2 registers and a mask bit in the imask1 or imask2 registers. In the timestamp (i.e. non FIFO) mode the driver needs to mask out all non RX interrupt sources and uses the precomputed values rx_mask1 and rx_mask2 of struct flexcan_priv for this. This patch merges the two u32 rx_mask1 and rx_mask2 to a single u64 rx_mask variable, which simplifies the code a bit. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions