Home
last modified time | relevance | path

Searched refs:maxd (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/block/
Dblk-rq-qos.c142 unsigned int maxd = 3 * rqd->queue_depth / 4; in rq_depth_calc_max_depth() local
145 if (depth > maxd) { in rq_depth_calc_max_depth()
146 depth = maxd; in rq_depth_calc_max_depth()
/linux-6.6.21/drivers/usb/gadget/function/
Duvc_v4l2.c141 unsigned int d, maxd; in find_closest_frame_by_size() local
147 maxd = (unsigned int)-1; in find_closest_frame_by_size()
161 if (d < maxd) { in find_closest_frame_by_size()
162 maxd = d; in find_closest_frame_by_size()
166 if (maxd == 0) in find_closest_frame_by_size()
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_v4l2.c219 unsigned int d, maxd; in uvc_v4l2_try_format() local
256 maxd = (unsigned int)-1; in uvc_v4l2_try_format()
264 if (d < maxd) { in uvc_v4l2_try_format()
265 maxd = d; in uvc_v4l2_try_format()
269 if (maxd == 0) in uvc_v4l2_try_format()
471 u32 interval, maxd; in uvc_v4l2_set_streamparm() local
499 maxd = abs((s32)probe.dwFrameInterval - interval); in uvc_v4l2_set_streamparm()
502 for (i = 0; i < format->nframes && maxd != 0; i++) { in uvc_v4l2_set_streamparm()
514 if (d >= maxd) in uvc_v4l2_set_streamparm()
520 maxd = d; in uvc_v4l2_set_streamparm()