Lines Matching defs:uframe_periodic_max
3372 if (usecs > fotg210->uframe_periodic_max)
3679 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
4688 return sysfs_emit(buf, "%d\n", fotg210->uframe_periodic_max);
4695 unsigned uframe_periodic_max;
4703 ret = kstrtouint(buf, 0, &uframe_periodic_max);
4707 if (uframe_periodic_max < 100 || uframe_periodic_max >= 125) {
4708 fotg210_info(fotg210, "rejecting invalid request for uframe_periodic_max=%u\n",
4709 uframe_periodic_max);
4726 if (uframe_periodic_max < fotg210->uframe_periodic_max) {
4735 if (allocated_max > uframe_periodic_max) {
4737 "cannot decrease uframe_periodic_max because periodic bandwidth is already allocated (%u > %u)\n",
4738 allocated_max, uframe_periodic_max);
4747 100 * uframe_periodic_max/125, uframe_periodic_max);
4749 if (uframe_periodic_max != 100)
4752 fotg210->uframe_periodic_max = uframe_periodic_max;
4760 static DEVICE_ATTR_RW(uframe_periodic_max);
4918 fotg210->uframe_periodic_max = 100;