Home
last modified time | relevance | path

Searched refs:NS_TO_CYCLE (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/devfreq/ !
Drk3399_dmc.c28 #define NS_TO_CYCLE(NS, MHz) (((NS) * (MHz)) / NSEC_PER_USEC) macro
117 NS_TO_CYCLE(dmcfreq->pd_idle_ns, ddrcon_mhz), in rk3399_dmcfreq_target()
120 NS_TO_CYCLE(dmcfreq->standby_idle_ns, ddrcon_mhz), in rk3399_dmcfreq_target()
123 DIV_ROUND_UP(NS_TO_CYCLE(dmcfreq->sr_idle_ns, in rk3399_dmcfreq_target()
127 DIV_ROUND_UP(NS_TO_CYCLE(dmcfreq->sr_mc_gate_idle_ns, in rk3399_dmcfreq_target()
131 DIV_ROUND_UP(NS_TO_CYCLE(dmcfreq->srpd_lite_idle_ns, in rk3399_dmcfreq_target()
/linux-6.1.9/drivers/gpu/drm/mediatek/ !
Dmtk_dsi.c147 #define NS_TO_CYCLE(n, c) ((n) / (c) + (((n) % (c)) ? 1 : 0)) macro