rtsc 29 include/soc/arc/timers.h unsigned int pad2:15, rtsc:1, pad1:5, rtc:1, t1:1, t0:1, ver:8; rtsc 31 include/soc/arc/timers.h unsigned int ver:8, t0:1, t1:1, rtc:1, pad1:5, rtsc:1, pad2:15; rtsc 489 net/sched/sch_hfsc.c rtsc_init(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x, u64 y) rtsc 491 net/sched/sch_hfsc.c rtsc->x = x; rtsc 492 net/sched/sch_hfsc.c rtsc->y = y; rtsc 493 net/sched/sch_hfsc.c rtsc->sm1 = isc->sm1; rtsc 494 net/sched/sch_hfsc.c rtsc->ism1 = isc->ism1; rtsc 495 net/sched/sch_hfsc.c rtsc->dx = isc->dx; rtsc 496 net/sched/sch_hfsc.c rtsc->dy = isc->dy; rtsc 497 net/sched/sch_hfsc.c rtsc->sm2 = isc->sm2; rtsc 498 net/sched/sch_hfsc.c rtsc->ism2 = isc->ism2; rtsc 506 net/sched/sch_hfsc.c rtsc_y2x(struct runtime_sc *rtsc, u64 y) rtsc 510 net/sched/sch_hfsc.c if (y < rtsc->y) rtsc 511 net/sched/sch_hfsc.c x = rtsc->x; rtsc 512 net/sched/sch_hfsc.c else if (y <= rtsc->y + rtsc->dy) { rtsc 514 net/sched/sch_hfsc.c if (rtsc->dy == 0) rtsc 515 net/sched/sch_hfsc.c x = rtsc->x + rtsc->dx; rtsc 517 net/sched/sch_hfsc.c x = rtsc->x + seg_y2x(y - rtsc->y, rtsc->ism1); rtsc 520 net/sched/sch_hfsc.c x = rtsc->x + rtsc->dx rtsc 521 net/sched/sch_hfsc.c + seg_y2x(y - rtsc->y - rtsc->dy, rtsc->ism2); rtsc 527 net/sched/sch_hfsc.c rtsc_x2y(struct runtime_sc *rtsc, u64 x) rtsc 531 net/sched/sch_hfsc.c if (x <= rtsc->x) rtsc 532 net/sched/sch_hfsc.c y = rtsc->y; rtsc 533 net/sched/sch_hfsc.c else if (x <= rtsc->x + rtsc->dx) rtsc 535 net/sched/sch_hfsc.c y = rtsc->y + seg_x2y(x - rtsc->x, rtsc->sm1); rtsc 538 net/sched/sch_hfsc.c y = rtsc->y + rtsc->dy rtsc 539 net/sched/sch_hfsc.c + seg_x2y(x - rtsc->x - rtsc->dx, rtsc->sm2); rtsc 548 net/sched/sch_hfsc.c rtsc_min(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x, u64 y) rtsc 555 net/sched/sch_hfsc.c y1 = rtsc_x2y(rtsc, x); rtsc 559 net/sched/sch_hfsc.c rtsc->x = x; rtsc 560 net/sched/sch_hfsc.c rtsc->y = y; rtsc 570 net/sched/sch_hfsc.c y1 = rtsc_x2y(rtsc, x); rtsc 576 net/sched/sch_hfsc.c y2 = rtsc_x2y(rtsc, x + isc->dx); rtsc 579 net/sched/sch_hfsc.c rtsc->x = x; rtsc 580 net/sched/sch_hfsc.c rtsc->y = y; rtsc 581 net/sched/sch_hfsc.c rtsc->dx = isc->dx; rtsc 582 net/sched/sch_hfsc.c rtsc->dy = isc->dy; rtsc 599 net/sched/sch_hfsc.c if (rtsc->x + rtsc->dx > x) rtsc 600 net/sched/sch_hfsc.c dx += rtsc->x + rtsc->dx - x; rtsc 603 net/sched/sch_hfsc.c rtsc->x = x; rtsc 604 net/sched/sch_hfsc.c rtsc->y = y; rtsc 605 net/sched/sch_hfsc.c rtsc->dx = dx; rtsc 606 net/sched/sch_hfsc.c rtsc->dy = dy;