Lines Matching refs:transid
259 __le16 transid; member
271 __le16 transid; member
435 return le16_to_cpu(cmd->header.transid) & KVASER_USB_HYDRA_TRANSID_MASK; in kvaser_usb_hydra_get_cmd_transid()
439 u16 transid) in kvaser_usb_hydra_set_cmd_transid() argument
441 cmd->header.transid = in kvaser_usb_hydra_set_cmd_transid()
442 cpu_to_le16(transid & KVASER_USB_HYDRA_TRANSID_MASK); in kvaser_usb_hydra_set_cmd_transid()
449 le16_to_cpu(cmd->header.transid) >> in kvaser_usb_hydra_get_cmd_src_he()
481 u16 transid; in kvaser_usb_hydra_get_next_transid() local
486 transid = card_data->transid; in kvaser_usb_hydra_get_next_transid()
487 if (transid >= KVASER_USB_HYDRA_MAX_TRANSID) in kvaser_usb_hydra_get_next_transid()
488 transid = KVASER_USB_HYDRA_MIN_TRANSID; in kvaser_usb_hydra_get_next_transid()
490 transid++; in kvaser_usb_hydra_get_next_transid()
491 card_data->transid = transid; in kvaser_usb_hydra_get_next_transid()
494 return transid; in kvaser_usb_hydra_get_next_transid()
673 u16 transid = kvaser_usb_hydra_get_cmd_transid(cmd); in kvaser_usb_hydra_map_channel_resp() local
677 if (transid > 0x007f || transid < 0x0040) { in kvaser_usb_hydra_map_channel_resp()
680 transid); in kvaser_usb_hydra_map_channel_resp()
684 switch (transid) { in kvaser_usb_hydra_map_channel_resp()
690 channel = transid & 0x000f; in kvaser_usb_hydra_map_channel_resp()
700 transid); in kvaser_usb_hydra_map_channel_resp()
707 static int kvaser_usb_hydra_map_channel(struct kvaser_usb *dev, u16 transid, in kvaser_usb_hydra_map_channel() argument
723 kvaser_usb_hydra_set_cmd_transid(cmd, transid); in kvaser_usb_hydra_map_channel()
1177 u16 transid = kvaser_usb_hydra_get_cmd_transid(cmd); in kvaser_usb_hydra_tx_acknowledge() local
1200 context = &priv->tx_contexts[transid % dev->max_tx_urbs]; in kvaser_usb_hydra_tx_acknowledge()
1440 u16 transid) in kvaser_usb_hydra_frame_to_cmd_ext() argument
1459 kvaser_usb_hydra_set_cmd_transid((struct kvaser_cmd *)cmd, transid); in kvaser_usb_hydra_frame_to_cmd_ext()
1518 u16 transid) in kvaser_usb_hydra_frame_to_cmd_std() argument
1532 kvaser_usb_hydra_set_cmd_transid(cmd, transid); in kvaser_usb_hydra_frame_to_cmd_std()
1747 card_data->transid = KVASER_USB_HYDRA_MIN_TRANSID; in kvaser_usb_hydra_init_card()
2125 u16 transid) in kvaser_usb_hydra_frame_to_cmd() argument
2131 transid); in kvaser_usb_hydra_frame_to_cmd()
2134 transid); in kvaser_usb_hydra_frame_to_cmd()