Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_leaf.c360 struct kvaser_cmd_tx_can tx_can; member
547 cmd->u.tx_can.tid = transid & 0xff; in kvaser_usb_leaf_frame_to_cmd()
550 cmd->u.tx_can.channel = priv->channel; in kvaser_usb_leaf_frame_to_cmd()
554 cmd_tx_can_flags = &cmd->u.tx_can.leaf.flags; in kvaser_usb_leaf_frame_to_cmd()
557 cmd_tx_can_flags = &cmd->u.tx_can.usbcan.flags; in kvaser_usb_leaf_frame_to_cmd()
565 cmd->u.tx_can.data[0] = (cf->can_id >> 24) & 0x1f; in kvaser_usb_leaf_frame_to_cmd()
568 cmd->u.tx_can.data[3] = (cf->can_id >> 6) & 0xff; in kvaser_usb_leaf_frame_to_cmd()
569 cmd->u.tx_can.data[4] = cf->can_id & 0x3f; in kvaser_usb_leaf_frame_to_cmd()
572 cmd->u.tx_can.data[0] = (cf->can_id >> 6) & 0x1f; in kvaser_usb_leaf_frame_to_cmd()
573 cmd->u.tx_can.data[1] = cf->can_id & 0x3f; in kvaser_usb_leaf_frame_to_cmd()
[all …]
H A Dkvaser_usb_hydra.c299 struct kvaser_cmd_tx_can tx_can; member
370 struct kvaser_cmd_ext_tx_can tx_can; member
1475 cmd->tx_can.databytes = nbr_of_bytes; in kvaser_usb_hydra_frame_to_cmd_ext()
1476 cmd->tx_can.dlc = dlc; in kvaser_usb_hydra_frame_to_cmd_ext()
1505 cmd->tx_can.databytes = 0; in kvaser_usb_hydra_frame_to_cmd_ext()
1510 cmd->tx_can.kcan_id = cpu_to_le32(kcan_id); in kvaser_usb_hydra_frame_to_cmd_ext()
1511 cmd->tx_can.id = cpu_to_le32(id); in kvaser_usb_hydra_frame_to_cmd_ext()
1512 cmd->tx_can.flags = cpu_to_le32(flags); in kvaser_usb_hydra_frame_to_cmd_ext()
1561 cmd->tx_can.id = cpu_to_le32(id); in kvaser_usb_hydra_frame_to_cmd_std()
1562 cmd->tx_can.flags = flags; in kvaser_usb_hydra_frame_to_cmd_std()
[all …]