Searched refs:usb_rx_leftover_len (Results 1 – 2 of 2) sorted by relevance
1728 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() local2036 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 …]
64 u8 usb_rx_leftover_len; member