Lines Matching refs:total

424 	struct dmc_count total, now;  in rockchip_ddr_perf_event_get_count()  local
433 rockchip_ddr_perf_counters_add(dfi, &now, &total); in rockchip_ddr_perf_event_get_count()
438 count = total.c[0].clock_cycles; in rockchip_ddr_perf_event_get_count()
442 count += total.c[i].read_access * blen * dfi->buswidth[i]; in rockchip_ddr_perf_event_get_count()
446 count += total.c[i].write_access * blen * dfi->buswidth[i]; in rockchip_ddr_perf_event_get_count()
449 count = total.c[0].read_access * blen * dfi->buswidth[0]; in rockchip_ddr_perf_event_get_count()
452 count = total.c[0].write_access * blen * dfi->buswidth[0]; in rockchip_ddr_perf_event_get_count()
455 count = total.c[1].read_access * blen * dfi->buswidth[1]; in rockchip_ddr_perf_event_get_count()
458 count = total.c[1].write_access * blen * dfi->buswidth[1]; in rockchip_ddr_perf_event_get_count()
461 count = total.c[2].read_access * blen * dfi->buswidth[2]; in rockchip_ddr_perf_event_get_count()
464 count = total.c[2].write_access * blen * dfi->buswidth[2]; in rockchip_ddr_perf_event_get_count()
467 count = total.c[3].read_access * blen * dfi->buswidth[3]; in rockchip_ddr_perf_event_get_count()
470 count = total.c[3].write_access * blen * dfi->buswidth[3]; in rockchip_ddr_perf_event_get_count()
474 count += total.c[i].access * blen * dfi->buswidth[i]; in rockchip_ddr_perf_event_get_count()
539 struct dmc_count now, total; in rockchip_dfi_timer() local
545 rockchip_ddr_perf_counters_add(dfi, &now, &total); in rockchip_dfi_timer()
546 dfi->total_count = total; in rockchip_dfi_timer()