Lines Matching refs:packet_size
1456 int packet_size; in cit_get_clock_div() local
1458 packet_size = cit_get_packet_size(gspca_dev); in cit_get_clock_div()
1459 if (packet_size < 0) in cit_get_clock_div()
1460 return packet_size; in cit_get_clock_div()
1463 1000 * packet_size > in cit_get_clock_div()
1470 packet_size, in cit_get_clock_div()
2594 int packet_size; in sd_start() local
2596 packet_size = cit_get_packet_size(gspca_dev); in sd_start()
2597 if (packet_size < 0) in sd_start()
2598 return packet_size; in sd_start()
2622 cit_write_reg(gspca_dev, packet_size >> 8, 0x0106); in sd_start()
2623 cit_write_reg(gspca_dev, packet_size & 0xff, 0x0107); in sd_start()
2666 int ret, packet_size, min_packet_size; in sd_isoc_nego() local
2685 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in sd_isoc_nego()
2686 if (packet_size <= min_packet_size) in sd_isoc_nego()
2689 packet_size -= 100; in sd_isoc_nego()
2690 if (packet_size < min_packet_size) in sd_isoc_nego()
2691 packet_size = min_packet_size; in sd_isoc_nego()
2692 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(packet_size); in sd_isoc_nego()