Lines Matching full:dx
87 u64 dx; /* the x-projection of the 1st segment */ member
99 u64 dx; /* the x-projection of the 1st segment */ member
367 * dx: psched_us
447 /* convert d (us) into dx (psched us) */
451 u64 dx; in d2dx() local
453 dx = ((u64)d * PSCHED_TICKS_PER_SEC); in d2dx()
454 dx += USEC_PER_SEC - 1; in d2dx()
455 do_div(dx, USEC_PER_SEC); in d2dx()
456 return dx; in d2dx()
469 /* convert dx (psched us) into d (us) */
471 dx2d(u64 dx) in dx2d() argument
475 d = dx * USEC_PER_SEC; in dx2d()
485 isc->dx = d2dx(sc->d); in sc2isc()
486 isc->dy = seg_x2y(isc->dx, isc->sm1); in sc2isc()
502 rtsc->dx = isc->dx; in rtsc_init()
522 x = rtsc->x + rtsc->dx; in rtsc_y2x()
527 x = rtsc->x + rtsc->dx in rtsc_y2x()
540 else if (x <= rtsc->x + rtsc->dx) in rtsc_x2y()
546 + seg_x2y(x - rtsc->x - rtsc->dx, rtsc->sm2); in rtsc_x2y()
557 u64 y1, y2, dx, dy; in rtsc_min() local
575 * y2: at (x + dx) in rtsc_min()
583 y2 = rtsc_x2y(rtsc, x + isc->dx); in rtsc_min()
588 rtsc->dx = isc->dx; in rtsc_min()
595 * compute the offsets (dx, dy) using the reverse in rtsc_min()
597 * seg_x2y(dx, sm1) == seg_x2y(dx, sm2) + (y1 - y) in rtsc_min()
599 dx = (y1 - y) << SM_SHIFT; in rtsc_min()
601 do_div(dx, dsm); in rtsc_min()
606 if (rtsc->x + rtsc->dx > x) in rtsc_min()
607 dx += rtsc->x + rtsc->dx - x; in rtsc_min()
608 dy = seg_x2y(dx, isc->sm1); in rtsc_min()
612 rtsc->dx = dx; in rtsc_min()
631 cl->cl_eligible.dx = 0; in init_ed()
874 cl->cl_eligible.dx = 0; in hfsc_change_rsc()
1275 tsc.d = dx2d(sc->dx); in hfsc_dump_sc()