Searched refs:CANFD_MTU (Results 1 – 11 of 11) sorted by relevance
139 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU && in vcan_change_mtu()159 dev->mtu = CANFD_MTU; in vcan_setup()
134 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU && in vxcan_change_mtu()159 dev->mtu = CANFD_MTU; in vxcan_setup()
217 #define CANFD_MTU (sizeof(struct canfd_frame)) macro
117 return (skb->len == CANFD_MTU && cfd->len <= CANFD_MAX_DLEN); in can_is_canfd_skb()
140 dev->mtu = CANFD_MTU; in can_set_static_ctrlmode()
444 #define CANFD_MTU (sizeof(struct canfd_frame)) == 72 => CAN FD frame630 CAN_RAW_FD_FRAMES enabled: CAN_MTU and CANFD_MTU are allowed637 [ remember: CANFD_MTU == sizeof(struct canfd_frame) ]641 nbytes = read(s, &cfd, CANFD_MTU);643 if (nbytes == CANFD_MTU) {660 When reading with size CANFD_MTU only returns CAN_MTU bytes that have664 CANFD_MTU sized CAN FD frames.675 CAN FD frames by checking if the device maximum transfer unit is CANFD_MTU.1113 dev->mtu = CANFD_MTU; /* sizeof(struct canfd_frame) -> CAN FD interface */1412 MTU = 72 (CANFD_MTU) => sizeof(struct canfd_frame) => CAN FD capable device[all …]
307 case CANFD_MTU: in can_change_mtu()
270 dev->mtu = CANFD_MTU; in can_changelink()
815 (mtu == CANFD_MTU || can_is_canxl_dev_mtu(mtu))) in raw_bad_txframe()
167 #define CFSIZ(flags) ((flags & CAN_FD_FRAME) ? CANFD_MTU : CAN_MTU)
1446 if (ll.mtu != CAN_MTU && ll.mtu != CANFD_MTU) in isotp_setsockopt_locked()