Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/can/slcan/
Dslcan-core.c71 #define SLCAN_CMD_LEN 1 macro
77 #define SLCAN_STATE_FRAME_LEN (1 + SLCAN_CMD_LEN + \
191 cf->len = sl->rbuff[SLCAN_CMD_LEN + SLCAN_SFF_ID_LEN]; in slcan_bump_frame()
192 sl->rbuff[SLCAN_CMD_LEN + SLCAN_SFF_ID_LEN] = 0; in slcan_bump_frame()
194 cmd += SLCAN_CMD_LEN + SLCAN_SFF_ID_LEN + 1; in slcan_bump_frame()
202 cf->len = sl->rbuff[SLCAN_CMD_LEN + SLCAN_EFF_ID_LEN]; in slcan_bump_frame()
203 sl->rbuff[SLCAN_CMD_LEN + SLCAN_EFF_ID_LEN] = 0; in slcan_bump_frame()
205 cmd += SLCAN_CMD_LEN + SLCAN_EFF_ID_LEN + 1; in slcan_bump_frame()
211 if (kstrtou32(sl->rbuff + SLCAN_CMD_LEN, 16, &tmpid)) in slcan_bump_frame()
287 cmd += SLCAN_STATE_BE_RXCNT_LEN + SLCAN_CMD_LEN + 1; in slcan_bump_state()
[all …]