Lines Matching refs:packet_size
1466 int packet_size; in cit_get_clock_div() local
1468 packet_size = cit_get_packet_size(gspca_dev); in cit_get_clock_div()
1469 if (packet_size < 0) in cit_get_clock_div()
1470 return packet_size; in cit_get_clock_div()
1473 1000 * packet_size > in cit_get_clock_div()
1480 packet_size, in cit_get_clock_div()
2604 int packet_size; in sd_start() local
2606 packet_size = cit_get_packet_size(gspca_dev); in sd_start()
2607 if (packet_size < 0) in sd_start()
2608 return packet_size; in sd_start()
2632 cit_write_reg(gspca_dev, packet_size >> 8, 0x0106); in sd_start()
2633 cit_write_reg(gspca_dev, packet_size & 0xff, 0x0107); in sd_start()
2676 int ret, packet_size, min_packet_size; in sd_isoc_nego() local
2695 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in sd_isoc_nego()
2696 if (packet_size <= min_packet_size) in sd_isoc_nego()
2699 packet_size -= 100; in sd_isoc_nego()
2700 if (packet_size < min_packet_size) in sd_isoc_nego()
2701 packet_size = min_packet_size; in sd_isoc_nego()
2702 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(packet_size); in sd_isoc_nego()