Searched refs:DIV_FRAC (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/lib/ |
D | chash.c | 73 #define DIV_FRAC(nom, denom, quot, frac, frac_digits) do { \ macro 113 DIV_FRAC(table->hits_steps, table->hits, quot1, frac1, 1000); in __chash_table_dump_stats() 114 DIV_FRAC(table->hits * 1000, table->hits_time_ns, in __chash_table_dump_stats() 123 DIV_FRAC(table->miss_steps, table->miss, quot1, frac1, 1000); in __chash_table_dump_stats() 124 DIV_FRAC(table->miss * 1000, table->miss_time_ns, in __chash_table_dump_stats() 133 DIV_FRAC(table->hits_steps + table->miss_steps, in __chash_table_dump_stats() 135 DIV_FRAC((table->hits + table->miss) * 1000, in __chash_table_dump_stats() 145 DIV_FRAC(table->hits + table->miss, table->relocs, in __chash_table_dump_stats() 147 DIV_FRAC(table->reloc_dist, table->relocs, quot2, frac2, 1000); in __chash_table_dump_stats() 156 #undef DIV_FRAC
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc.c | 2468 #define DIV_FRAC(dividend, divisor) \ macro 2533 out_width / width, DIV_FRAC(out_width, width), in dispc_ovl_calc_scaling() 2534 out_height / height, DIV_FRAC(out_height, height), in dispc_ovl_calc_scaling() 2538 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), in dispc_ovl_calc_scaling() 2539 out_height / (height / decim_y), DIV_FRAC(out_height, height / decim_y), in dispc_ovl_calc_scaling()
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dispc.c | 2509 #define DIV_FRAC(dividend, divisor) \ macro 2584 out_width / width, DIV_FRAC(out_width, width), in dispc_ovl_calc_scaling() 2585 out_height / height, DIV_FRAC(out_height, height), in dispc_ovl_calc_scaling() 2589 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), in dispc_ovl_calc_scaling() 2590 out_height / (height / decim_y), DIV_FRAC(out_height, height / decim_y), in dispc_ovl_calc_scaling()
|