Home
last modified time | relevance | path

Searched refs:usb_rx_leftover_len (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c1728 card_data->usb_rx_leftover_len = 0; in kvaser_usb_hydra_init_card()
2032 int usb_rx_leftover_len; in kvaser_usb_hydra_read_bulk_callback() local
2036 usb_rx_leftover_len = card_data->usb_rx_leftover_len; in kvaser_usb_hydra_read_bulk_callback()
2037 if (usb_rx_leftover_len) { in kvaser_usb_hydra_read_bulk_callback()
2045 cmd_len - usb_rx_leftover_len); in kvaser_usb_hydra_read_bulk_callback()
2047 if (remaining_bytes + usb_rx_leftover_len > in kvaser_usb_hydra_read_bulk_callback()
2054 memcpy(card_data->usb_rx_leftover + usb_rx_leftover_len, buf, in kvaser_usb_hydra_read_bulk_callback()
2058 if (remaining_bytes + usb_rx_leftover_len == cmd_len) { in kvaser_usb_hydra_read_bulk_callback()
2060 usb_rx_leftover_len = 0; in kvaser_usb_hydra_read_bulk_callback()
2063 usb_rx_leftover_len += remaining_bytes; in kvaser_usb_hydra_read_bulk_callback()
[all …]
Dkvaser_usb.h64 u8 usb_rx_leftover_len; member