Searched refs:usb_rx_leftover_len (Results 1 – 2 of 2) sorted by relevance
1740 card_data->usb_rx_leftover_len = 0; in kvaser_usb_hydra_init_card()2042 int usb_rx_leftover_len; in kvaser_usb_hydra_read_bulk_callback() local2046 usb_rx_leftover_len = card_data->usb_rx_leftover_len; in kvaser_usb_hydra_read_bulk_callback()2047 if (usb_rx_leftover_len) { in kvaser_usb_hydra_read_bulk_callback()2055 cmd_len - usb_rx_leftover_len); in kvaser_usb_hydra_read_bulk_callback()2057 if (remaining_bytes + usb_rx_leftover_len > in kvaser_usb_hydra_read_bulk_callback()2064 memcpy(card_data->usb_rx_leftover + usb_rx_leftover_len, buf, in kvaser_usb_hydra_read_bulk_callback()2068 if (remaining_bytes + usb_rx_leftover_len == cmd_len) { in kvaser_usb_hydra_read_bulk_callback()2070 usb_rx_leftover_len = 0; in kvaser_usb_hydra_read_bulk_callback()2073 usb_rx_leftover_len += remaining_bytes; in kvaser_usb_hydra_read_bulk_callback()[all …]
65 u8 usb_rx_leftover_len; member