Home
last modified time | relevance | path

Searched refs:kvaser_usb (Results 1 – 7 of 7) sorted by relevance

/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb.h87 struct kvaser_usb { struct
118 struct kvaser_usb *dev; argument
169 int (*dev_setup_endpoints)(struct kvaser_usb *dev);
170 int (*dev_init_card)(struct kvaser_usb *dev);
173 int (*dev_get_software_info)(struct kvaser_usb *dev);
174 int (*dev_get_software_details)(struct kvaser_usb *dev);
175 int (*dev_get_card_info)(struct kvaser_usb *dev);
176 int (*dev_get_capabilities)(struct kvaser_usb *dev);
180 int (*dev_reset_chip)(struct kvaser_usb *dev, int channel);
182 void (*dev_read_bulk_callback)(struct kvaser_usb *dev, void *buf,
[all …]
Dkvaser_usb_hydra.c461 static u8 kvaser_usb_hydra_channel_from_cmd(const struct kvaser_usb *dev, in kvaser_usb_hydra_channel_from_cmd()
478 static u16 kvaser_usb_hydra_get_next_transid(struct kvaser_usb *dev) in kvaser_usb_hydra_get_next_transid()
510 kvaser_usb_hydra_net_priv_from_cmd(const struct kvaser_usb *dev, in kvaser_usb_hydra_net_priv_from_cmd()
544 static int kvaser_usb_hydra_send_simple_cmd(struct kvaser_usb *dev, in kvaser_usb_hydra_send_simple_cmd()
588 struct kvaser_usb *dev = priv->dev; in kvaser_usb_hydra_send_simple_cmd_async()
616 static int kvaser_usb_hydra_wait_cmd(const struct kvaser_usb *dev, u8 cmd_no, in kvaser_usb_hydra_wait_cmd()
669 static int kvaser_usb_hydra_map_channel_resp(struct kvaser_usb *dev, 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()
743 static int kvaser_usb_hydra_get_single_capability(struct kvaser_usb *dev, in kvaser_usb_hydra_get_single_capability()
819 static void kvaser_usb_hydra_start_chip_reply(const struct kvaser_usb *dev, in kvaser_usb_hydra_start_chip_reply()
[all …]
Dkvaser_usb_leaf.c495 static int kvaser_usb_leaf_verify_size(const struct kvaser_usb *dev, in kvaser_usb_leaf_verify_size()
537 struct kvaser_usb *dev = priv->dev; in kvaser_usb_leaf_frame_to_cmd()
582 static int kvaser_usb_leaf_wait_cmd(const struct kvaser_usb *dev, u8 id, in kvaser_usb_leaf_wait_cmd()
643 static int kvaser_usb_leaf_send_simple_cmd(const struct kvaser_usb *dev, in kvaser_usb_leaf_send_simple_cmd()
664 static void kvaser_usb_leaf_get_software_info_leaf(struct kvaser_usb *dev, in kvaser_usb_leaf_get_software_info_leaf()
695 static int kvaser_usb_leaf_get_software_info_inner(struct kvaser_usb *dev) in kvaser_usb_leaf_get_software_info_inner()
723 static int kvaser_usb_leaf_get_software_info(struct kvaser_usb *dev) in kvaser_usb_leaf_get_software_info()
740 static int kvaser_usb_leaf_get_card_info(struct kvaser_usb *dev) in kvaser_usb_leaf_get_card_info()
762 static int kvaser_usb_leaf_get_single_capability(struct kvaser_usb *dev, in kvaser_usb_leaf_get_single_capability()
828 static int kvaser_usb_leaf_get_capabilities_leaf(struct kvaser_usb *dev) in kvaser_usb_leaf_get_capabilities_leaf()
[all …]
Dkvaser_usb_core.c242 int kvaser_usb_send_cmd(const struct kvaser_usb *dev, void *cmd, int len) in kvaser_usb_send_cmd()
250 int kvaser_usb_recv_cmd(const struct kvaser_usb *dev, void *cmd, int len, in kvaser_usb_recv_cmd()
272 struct kvaser_usb *dev = priv->dev; in kvaser_usb_send_cmd_async()
323 struct kvaser_usb *dev = urb->context; in kvaser_usb_read_bulk_callback()
365 static int kvaser_usb_setup_rx_urbs(struct kvaser_usb *dev) in kvaser_usb_setup_rx_urbs()
435 struct kvaser_usb *dev = priv->dev; in kvaser_usb_open()
482 static void kvaser_usb_unlink_all_urbs(struct kvaser_usb *dev) in kvaser_usb_unlink_all_urbs()
503 struct kvaser_usb *dev = priv->dev; in kvaser_usb_close()
536 struct kvaser_usb *dev = priv->dev; in kvaser_usb_set_bittiming()
581 struct kvaser_usb *dev = priv->dev; in kvaser_usb_set_data_bittiming()
[all …]
DMakefile2 obj-$(CONFIG_CAN_KVASER_USB) += kvaser_usb.o
3 kvaser_usb-y = kvaser_usb_core.o kvaser_usb_leaf.o kvaser_usb_hydra.o
/drivers/net/can/usb/
DMakefile11 obj-$(CONFIG_CAN_KVASER_USB) += kvaser_usb/
DKconfig106 module will be called kvaser_usb.