Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_leaf.c360 struct kvaser_cmd_tx_can tx_can; member
544 cmd->u.tx_can.tid = transid & 0xff; in kvaser_usb_leaf_frame_to_cmd()
547 cmd->u.tx_can.channel = priv->channel; in kvaser_usb_leaf_frame_to_cmd()
551 cmd_tx_can_flags = &cmd->u.tx_can.leaf.flags; in kvaser_usb_leaf_frame_to_cmd()
554 cmd_tx_can_flags = &cmd->u.tx_can.usbcan.flags; in kvaser_usb_leaf_frame_to_cmd()
562 cmd->u.tx_can.data[0] = (cf->can_id >> 24) & 0x1f; in kvaser_usb_leaf_frame_to_cmd()
563 cmd->u.tx_can.data[1] = (cf->can_id >> 18) & 0x3f; in kvaser_usb_leaf_frame_to_cmd()
564 cmd->u.tx_can.data[2] = (cf->can_id >> 14) & 0x0f; in kvaser_usb_leaf_frame_to_cmd()
565 cmd->u.tx_can.data[3] = (cf->can_id >> 6) & 0xff; in kvaser_usb_leaf_frame_to_cmd()
566 cmd->u.tx_can.data[4] = cf->can_id & 0x3f; in kvaser_usb_leaf_frame_to_cmd()
[all …]
Dkvaser_usb_hydra.c299 struct kvaser_cmd_tx_can tx_can; member
370 struct kvaser_cmd_ext_tx_can tx_can; member
1460 sizeof(cmd->tx_can.kcan_payload) + nbr_of_bytes, in kvaser_usb_hydra_frame_to_cmd_ext()
1465 cmd->tx_can.databytes = nbr_of_bytes; in kvaser_usb_hydra_frame_to_cmd_ext()
1466 cmd->tx_can.dlc = dlc; in kvaser_usb_hydra_frame_to_cmd_ext()
1495 cmd->tx_can.databytes = 0; in kvaser_usb_hydra_frame_to_cmd_ext()
1500 cmd->tx_can.kcan_id = cpu_to_le32(kcan_id); in kvaser_usb_hydra_frame_to_cmd_ext()
1501 cmd->tx_can.id = cpu_to_le32(id); in kvaser_usb_hydra_frame_to_cmd_ext()
1502 cmd->tx_can.flags = cpu_to_le32(flags); in kvaser_usb_hydra_frame_to_cmd_ext()
1503 cmd->tx_can.kcan_header = cpu_to_le32(kcan_header); in kvaser_usb_hydra_frame_to_cmd_ext()
[all …]