Lines Matching refs:transid

258 	__le16 transid;  member
279 __le16 transid; member
444 return le16_to_cpu(cmd->header.transid) & KVASER_USB_HYDRA_TRANSID_MASK; in kvaser_usb_hydra_get_cmd_transid()
448 u16 transid) in kvaser_usb_hydra_set_cmd_transid() argument
450 cmd->header.transid = in kvaser_usb_hydra_set_cmd_transid()
451 cpu_to_le16(transid & KVASER_USB_HYDRA_TRANSID_MASK); in kvaser_usb_hydra_set_cmd_transid()
458 le16_to_cpu(cmd->header.transid) >> in kvaser_usb_hydra_get_cmd_src_he()
490 u16 transid; in kvaser_usb_hydra_get_next_transid() local
495 transid = card_data->transid; in kvaser_usb_hydra_get_next_transid()
496 if (transid >= KVASER_USB_HYDRA_MAX_TRANSID) in kvaser_usb_hydra_get_next_transid()
497 transid = KVASER_USB_HYDRA_MIN_TRANSID; in kvaser_usb_hydra_get_next_transid()
499 transid++; in kvaser_usb_hydra_get_next_transid()
500 card_data->transid = transid; in kvaser_usb_hydra_get_next_transid()
503 return transid; in kvaser_usb_hydra_get_next_transid()
684 u16 transid = kvaser_usb_hydra_get_cmd_transid(cmd); in kvaser_usb_hydra_map_channel_resp() local
688 if (transid > 0x007f || transid < 0x0040) { in kvaser_usb_hydra_map_channel_resp()
691 transid); in kvaser_usb_hydra_map_channel_resp()
695 switch (transid) { in kvaser_usb_hydra_map_channel_resp()
701 channel = transid & 0x000f; in kvaser_usb_hydra_map_channel_resp()
711 transid); in kvaser_usb_hydra_map_channel_resp()
718 static int kvaser_usb_hydra_map_channel(struct kvaser_usb *dev, u16 transid, in kvaser_usb_hydra_map_channel() argument
734 kvaser_usb_hydra_set_cmd_transid(cmd, transid); in kvaser_usb_hydra_map_channel()
1188 u16 transid = kvaser_usb_hydra_get_cmd_transid(cmd); in kvaser_usb_hydra_tx_acknowledge() local
1212 context = &priv->tx_contexts[transid % dev->max_tx_urbs]; in kvaser_usb_hydra_tx_acknowledge()
1455 u16 transid) in kvaser_usb_hydra_frame_to_cmd_ext() argument
1474 kvaser_usb_hydra_set_cmd_transid((struct kvaser_cmd *)cmd, transid); in kvaser_usb_hydra_frame_to_cmd_ext()
1538 u16 transid) in kvaser_usb_hydra_frame_to_cmd_std() argument
1552 kvaser_usb_hydra_set_cmd_transid(cmd, transid); in kvaser_usb_hydra_frame_to_cmd_std()
1767 card_data->transid = KVASER_USB_HYDRA_MIN_TRANSID; in kvaser_usb_hydra_init_card()
2145 u16 transid) in kvaser_usb_hydra_frame_to_cmd() argument
2151 transid); in kvaser_usb_hydra_frame_to_cmd()
2154 transid); in kvaser_usb_hydra_frame_to_cmd()