Lines Matching refs:max_size
151 int max_size; in usbtmc_ioctl_abort_bulk_in() local
184 max_size = 0; in usbtmc_ioctl_abort_bulk_in()
189 max_size = usb_endpoint_maxp(¤t_setting->endpoint[n].desc); in usbtmc_ioctl_abort_bulk_in()
191 if (max_size == 0) { in usbtmc_ioctl_abort_bulk_in()
197 dev_dbg(&data->intf->dev, "wMaxPacketSize is %d\n", max_size); in usbtmc_ioctl_abort_bulk_in()
216 } while ((actual == max_size) && in usbtmc_ioctl_abort_bulk_in()
219 if (actual == max_size) { in usbtmc_ioctl_abort_bulk_in()
270 } while ((actual == max_size) && in usbtmc_ioctl_abort_bulk_in()
273 if (actual == max_size) { in usbtmc_ioctl_abort_bulk_in()
605 int max_size; in usbtmc_ioctl_clear() local
633 max_size = 0; in usbtmc_ioctl_clear()
638 max_size = usb_endpoint_maxp(desc); in usbtmc_ioctl_clear()
641 if (max_size == 0) { in usbtmc_ioctl_clear()
647 dev_dbg(dev, "wMaxPacketSize is %d\n", max_size); in usbtmc_ioctl_clear()
692 } while ((actual == max_size) && in usbtmc_ioctl_clear()
695 if (actual == max_size) { in usbtmc_ioctl_clear()