aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/usb/peak_usb
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2020-11-10 16:49:12 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-11-20 12:05:14 +0100
commite8e73562ce0b24d691ad35df3de34b324248458f (patch)
treef9f15ecc59d9d8dc1348bc2e984059806aecea52 /drivers/net/can/usb/peak_usb
parentcan: update documentation for DLC usage in Classical CAN (diff)
downloadlinux-dev-e8e73562ce0b24d691ad35df3de34b324248458f.tar.xz
linux-dev-e8e73562ce0b24d691ad35df3de34b324248458f.zip
can: drivers: introduce helpers to access Classical CAN DLC values
This patch adds the following helper to functions to access Classical CAN DLC values. can_get_cc_dlc(): get the data length code for Classical CAN raw DLC access can_frame_set_cc_len(): set len and len8_dlc value for Classical CAN raw DLC access Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Link: https://lore.kernel.org/r/20201110154913.1404582-2-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/usb/peak_usb')
0 files changed, 0 insertions, 0 deletions