Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c298 struct kvaser_cmd_rx_can rx_can; member
369 struct kvaser_cmd_ext_rx_can rx_can; member
534 ticks = le64_to_cpu(cmd_ext->rx_can.timestamp); in kvaser_usb_hydra_ktime_from_rx_cmd()
536 ticks = le16_to_cpu(cmd->rx_can.timestamp[0]); in kvaser_usb_hydra_ktime_from_rx_cmd()
537 ticks += (u64)(le16_to_cpu(cmd->rx_can.timestamp[1])) << 16; in kvaser_usb_hydra_ktime_from_rx_cmd()
538 ticks += (u64)(le16_to_cpu(cmd->rx_can.timestamp[2])) << 32; in kvaser_usb_hydra_ktime_from_rx_cmd()
1236 flags = cmd->rx_can.flags; in kvaser_usb_hydra_rx_msg_std()
1240 kvaser_usb_hydra_error_frame(priv, &cmd->rx_can.err_frame_data, in kvaser_usb_hydra_rx_msg_std()
1254 cf->can_id = le32_to_cpu(cmd->rx_can.id); in kvaser_usb_hydra_rx_msg_std()
1266 can_frame_set_cc_len((struct can_frame *)cf, cmd->rx_can.dlc, priv->can.ctrlmode); in kvaser_usb_hydra_rx_msg_std()
[all …]
Dkvaser_usb_leaf.c343 struct leaf_cmd_rx_can rx_can; member
354 struct usbcan_cmd_rx_can rx_can; member
375 [CMD_RX_STD_MESSAGE] = kvaser_fsize(u.leaf.rx_can),
376 [CMD_RX_EXT_MESSAGE] = kvaser_fsize(u.leaf.rx_can),
393 [CMD_RX_STD_MESSAGE] = kvaser_fsize(u.usbcan.rx_can),
394 [CMD_RX_EXT_MESSAGE] = kvaser_fsize(u.usbcan.rx_can),
1331 rx_data = cmd->u.leaf.rx_can.data; in kvaser_usb_leaf_rx_can_msg()
1334 rx_data = cmd->u.usbcan.rx_can.data; in kvaser_usb_leaf_rx_can_msg()