Lines Matching defs:uframe_periodic_max
3371 if (usecs > fotg210->uframe_periodic_max)
3678 usecs = fotg210->uframe_periodic_max - usecs;
4135 /* can't commit more than uframe_periodic_max usec */
4137 > (fotg210->uframe_periodic_max - usecs))
4680 /* Display / Set uframe_periodic_max
4689 n = scnprintf(buf, PAGE_SIZE, "%d\n", fotg210->uframe_periodic_max);
4698 unsigned uframe_periodic_max;
4705 if (kstrtouint(buf, 0, &uframe_periodic_max) < 0)
4708 if (uframe_periodic_max < 100 || uframe_periodic_max >= 125) {
4709 fotg210_info(fotg210, "rejecting invalid request for uframe_periodic_max=%u\n",
4710 uframe_periodic_max);
4727 if (uframe_periodic_max < fotg210->uframe_periodic_max) {
4736 if (allocated_max > uframe_periodic_max) {
4738 "cannot decrease uframe_periodic_max because periodic bandwidth is already allocated (%u > %u)\n",
4739 allocated_max, uframe_periodic_max);
4748 100 * uframe_periodic_max/125, uframe_periodic_max);
4750 if (uframe_periodic_max != 100)
4753 fotg210->uframe_periodic_max = uframe_periodic_max;
4761 static DEVICE_ATTR_RW(uframe_periodic_max);
4919 fotg210->uframe_periodic_max = 100;