card_data 100 drivers/net/can/usb/kvaser_usb/kvaser_usb.h struct kvaser_usb_dev_card_data card_data; card_data 673 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c (priv->dev->card_data.capabilities & KVASER_USB_CAP_BERR_CAP)) card_data 678 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c priv->can.ctrlmode_supported |= dev->card_data.ctrlmode_supported; card_data 720 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c dev->card_data.leaf.family = KVASER_LEAF; card_data 723 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c dev->card_data.leaf.family = KVASER_USBCAN; card_data 748 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c dev->card_data.ctrlmode_supported = 0; card_data 749 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c dev->card_data.capabilities = 0; card_data 428 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (dev->card_data.hydra.channel_to_he[i] == src_he) { card_data 441 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c struct kvaser_usb_dev_card_data_hydra *card_data = card_data 442 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c &dev->card_data.hydra; card_data 444 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c spin_lock_irqsave(&card_data->transid_lock, flags); card_data 445 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c transid = card_data->transid; card_data 450 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->transid = transid; card_data 451 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c spin_unlock_irqrestore(&card_data->transid_lock, flags); card_data 525 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c (cmd, dev->card_data.hydra.channel_to_he[channel]); card_data 555 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c (cmd, dev->card_data.hydra.channel_to_he[priv->channel]); card_data 630 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c struct kvaser_usb_dev_card_data_hydra *card_data = card_data 631 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c &dev->card_data.hydra; card_data 648 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->channel_to_he[channel] = he; card_data 651 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->sysdbg_he = cmd->map_ch_res.he_addr; card_data 702 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c struct kvaser_usb_dev_card_data *card_data = &dev->card_data; card_data 717 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c kvaser_usb_hydra_set_cmd_dest_he(cmd, card_data->hydra.sysdbg_he); card_data 752 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->ctrlmode_supported |= card_data 756 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->capabilities |= card_data 760 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->ctrlmode_supported |= card_data 1369 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c dev->card_data.hydra.channel_to_he[priv->channel]); card_data 1444 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c (cmd, dev->card_data.hydra.channel_to_he[priv->channel]); card_data 1516 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c (cmd, dev->card_data.hydra.channel_to_he[priv->channel]); card_data 1559 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c (cmd, dev->card_data.hydra.channel_to_he[priv->channel]); card_data 1617 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c struct kvaser_usb_dev_card_data_hydra *card_data = card_data 1618 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c &dev->card_data.hydra; card_data 1620 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->transid = KVASER_USB_HYDRA_MIN_TRANSID; card_data 1621 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c spin_lock_init(&card_data->transid_lock); card_data 1623 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c memset(card_data->usb_rx_leftover, 0, KVASER_USB_HYDRA_MAX_CMD_LEN); card_data 1624 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->usb_rx_leftover_len = 0; card_data 1625 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c spin_lock_init(&card_data->usb_rx_leftover_lock); card_data 1627 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c memset(card_data->channel_to_he, KVASER_USB_HYDRA_HE_ADDRESS_ILLEGAL, card_data 1628 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c sizeof(card_data->channel_to_he)); card_data 1629 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->sysdbg_he = 0; card_data 1680 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c struct kvaser_usb_dev_card_data *card_data = &dev->card_data; card_data 1717 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->capabilities |= KVASER_USB_CAP_EXT_CAP; card_data 1720 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->capabilities |= KVASER_USB_HYDRA_CAP_EXT_CMD; card_data 1723 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->ctrlmode_supported |= CAN_CTRLMODE_FD; card_data 1726 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->ctrlmode_supported |= CAN_CTRLMODE_FD_NON_ISO; card_data 1765 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (!(dev->card_data.capabilities & KVASER_USB_CAP_EXT_CAP)) { card_data 1826 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c (cmd, dev->card_data.hydra.channel_to_he[priv->channel]); card_data 1909 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c struct kvaser_usb_dev_card_data_hydra *card_data = card_data 1910 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c &dev->card_data.hydra; card_data 1912 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c spinlock_t *usb_rx_leftover_lock = &card_data->usb_rx_leftover_lock; card_data 1915 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c usb_rx_leftover_len = card_data->usb_rx_leftover_len; card_data 1919 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = (struct kvaser_cmd *)card_data->usb_rx_leftover; card_data 1933 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c memcpy(card_data->usb_rx_leftover + usb_rx_leftover_len, buf, card_data 1944 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->usb_rx_leftover_len = usb_rx_leftover_len; card_data 1964 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c memcpy(card_data->usb_rx_leftover, buf + pos, card_data 1966 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c card_data->usb_rx_leftover_len = leftover_bytes; card_data 1983 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (priv->dev->card_data.capabilities & KVASER_USB_HYDRA_CAP_EXT_CMD) card_data 362 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { card_data 487 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { card_data 535 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c (dev->card_data.leaf.family == KVASER_USBCAN && card_data 671 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { card_data 750 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { card_data 942 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c (dev->card_data.leaf.family == KVASER_LEAF && card_data 958 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { card_data 973 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family == KVASER_LEAF && cmd->id == card_data 1070 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family != KVASER_LEAF) card_data 1077 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family == KVASER_LEAF) card_data 1089 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family != KVASER_USBCAN) card_data 1094 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family != KVASER_LEAF) card_data 1226 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c struct kvaser_usb_dev_card_data *card_data = &dev->card_data; card_data 1229 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c card_data->ctrlmode_supported |= CAN_CTRLMODE_3_SAMPLES;