Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A 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()
/openbmc/linux/drivers/usb/gadget/function/
H A 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()
/openbmc/linux/drivers/media/usb/uvc/
H A 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()
/openbmc/qemu/libdecnumber/
H A DdecNumber.c6786 Int maxd=set->emax-set->digits+1-dn->exponent; local
6787 if (maxd<=0) return dn; /* nothing possible */
6788 if (d>maxd) d=maxd;