Home
last modified time | relevance | path

Searched refs:card_data (Results 1 – 4 of 4) sorted by relevance

/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c428 if (dev->card_data.hydra.channel_to_he[i] == src_he) { in kvaser_usb_hydra_channel_from_cmd()
441 struct kvaser_usb_dev_card_data_hydra *card_data = in kvaser_usb_hydra_get_next_transid() local
442 &dev->card_data.hydra; in kvaser_usb_hydra_get_next_transid()
444 spin_lock_irqsave(&card_data->transid_lock, flags); in kvaser_usb_hydra_get_next_transid()
445 transid = card_data->transid; in kvaser_usb_hydra_get_next_transid()
450 card_data->transid = transid; in kvaser_usb_hydra_get_next_transid()
451 spin_unlock_irqrestore(&card_data->transid_lock, flags); in kvaser_usb_hydra_get_next_transid()
525 (cmd, dev->card_data.hydra.channel_to_he[channel]); in kvaser_usb_hydra_send_simple_cmd()
555 (cmd, dev->card_data.hydra.channel_to_he[priv->channel]); in kvaser_usb_hydra_send_simple_cmd_async()
630 struct kvaser_usb_dev_card_data_hydra *card_data = in kvaser_usb_hydra_map_channel_resp() local
[all …]
Dkvaser_usb_leaf.c362 switch (dev->card_data.leaf.family) { in kvaser_usb_leaf_frame_to_cmd()
487 switch (dev->card_data.leaf.family) { in kvaser_usb_leaf_get_software_info_inner()
535 (dev->card_data.leaf.family == KVASER_USBCAN && in kvaser_usb_leaf_get_card_info()
671 switch (dev->card_data.leaf.family) { in kvaser_usb_leaf_rx_error_update_can_state()
750 switch (dev->card_data.leaf.family) { in kvaser_usb_leaf_rx_error()
942 (dev->card_data.leaf.family == KVASER_LEAF && in kvaser_usb_leaf_rx_can_msg()
958 switch (dev->card_data.leaf.family) { in kvaser_usb_leaf_rx_can_msg()
973 if (dev->card_data.leaf.family == KVASER_LEAF && cmd->id == in kvaser_usb_leaf_rx_can_msg()
1070 if (dev->card_data.leaf.family != KVASER_LEAF) in kvaser_usb_leaf_handle_command()
1077 if (dev->card_data.leaf.family == KVASER_LEAF) in kvaser_usb_leaf_handle_command()
[all …]
Dkvaser_usb_core.c673 (priv->dev->card_data.capabilities & KVASER_USB_CAP_BERR_CAP)) in kvaser_usb_init_one()
678 priv->can.ctrlmode_supported |= dev->card_data.ctrlmode_supported; in kvaser_usb_init_one()
720 dev->card_data.leaf.family = KVASER_LEAF; in kvaser_usb_probe()
723 dev->card_data.leaf.family = KVASER_USBCAN; in kvaser_usb_probe()
748 dev->card_data.ctrlmode_supported = 0; in kvaser_usb_probe()
749 dev->card_data.capabilities = 0; in kvaser_usb_probe()
Dkvaser_usb.h100 struct kvaser_usb_dev_card_data card_data; member