Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/can/dev/
Dpeak_canfd.h228 u8 channel_p_w_b; member
234 return msg->channel_p_w_b & 0x0f; in pucan_status_get_channel()
239 return msg->channel_p_w_b & PUCAN_RX_BARRIER; in pucan_status_is_rx_barrier()
244 return msg->channel_p_w_b & PUCAN_BUS_PASSIVE; in pucan_status_is_passive()
249 return msg->channel_p_w_b & PUCAN_BUS_WARNING; in pucan_status_is_warning()
254 return msg->channel_p_w_b & PUCAN_BUS_BUSOFF; in pucan_status_is_busoff()
297 return msg->channel_p_w_b & 0x0f; in pucan_stmsg_get_channel()
/Linux-v5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c547 if (sm->channel_p_w_b & PUCAN_BUS_BUSOFF) { in pcan_usb_fd_decode_status()
549 } else if (sm->channel_p_w_b & PUCAN_BUS_PASSIVE) { in pcan_usb_fd_decode_status()
551 } else if (sm->channel_p_w_b & PUCAN_BUS_WARNING) { in pcan_usb_fd_decode_status()