Home
last modified time | relevance | path

Searched refs:cbr (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/arch/mips/kernel/
Dsmp-bmips.c516 void __iomem *cbr = BMIPS_GET_CBR(); in bmips_set_reset_vec() local
519 __raw_writel(val, cbr + BMIPS_RELO_VECTOR_CONTROL_0); in bmips_set_reset_vec()
523 __raw_writel(val, cbr + BMIPS_RELO_VECTOR_CONTROL_1); in bmips_set_reset_vec()
589 void __iomem __maybe_unused *cbr = BMIPS_GET_CBR(); in bmips_cpu_setup() local
605 cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
606 __raw_writel(cfg | 0x100, cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
607 __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
609 cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
610 __raw_writel(cfg | 0xf, cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
611 __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
[all …]
/Linux-v6.1/arch/mips/bmips/
Ddma.c10 void __iomem *cbr = BMIPS_GET_CBR(); in arch_sync_dma_for_cpu_all() local
19 cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); in arch_sync_dma_for_cpu_all()
20 __raw_writel(cfg | 0x100, cbr + BMIPS_RAC_CONFIG); in arch_sync_dma_for_cpu_all()
21 __raw_readl(cbr + BMIPS_RAC_CONFIG); in arch_sync_dma_for_cpu_all()
/Linux-v6.1/tools/perf/scripts/python/
Dexport-to-sqlite.py731 def cbr(id, raw_buf): function
733 cbr = data[0]
735 percent = ((cbr * 1000 / data[2]) + 5) / 10
737 cbr_query.addBindValue(str(cbr))
796 cbr(id, raw_buf)
Dexport-to-postgresql.py1056 def cbr(id, raw_buf): function
1058 cbr = data[0]
1060 percent = ((cbr * 1000 / data[2]) + 5) / 10
1061 value = struct.pack("!hiqiiiiii", 4, 8, id, 4, cbr, 4, int(MHz), 4, int(percent))
1109 cbr(id, raw_buf)
Dintel-pt-events.py117 cbr = data[0]
119 p = ((cbr * 1000 / data[2]) + 5) / 10
120 print("%3u freq: %4u MHz (%3u%%)" % (cbr, f, p), end=' ')
/Linux-v6.1/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c188 unsigned int cbr; member
775 unsigned int cbr; member
813 unsigned int cbr; in intel_pt_calc_cyc_cb() local
933 cbr = pkt_info->packet.payload; in intel_pt_calc_cyc_cb()
934 if (data->cbr && data->cbr != cbr) in intel_pt_calc_cyc_cb()
936 data->cbr = cbr; in intel_pt_calc_cyc_cb()
937 data->cbr_cyc_to_tsc = decoder->max_non_turbo_ratio_fp / cbr; in intel_pt_calc_cyc_cb()
953 if (!data->cbr && decoder->cbr) { in intel_pt_calc_cyc_cb()
954 data->cbr = decoder->cbr; in intel_pt_calc_cyc_cb()
963 if (data->cbr && cyc_to_tsc > data->cbr_cyc_to_tsc && in intel_pt_calc_cyc_cb()
[all …]
Dintel-pt-decoder.h249 uint32_t cbr; member
/Linux-v6.1/drivers/misc/sgi-gru/
Dgrutables.h491 #define CBR_BYTES(cbr) ((cbr) * GRU_HANDLE_BYTES * GRU_CBR_AU_SIZE * 2) argument
Dgrumain.c775 int ctxnum, ctxnum0, flag = 0, cbr, dsr; in gru_steal_context() local
781 cbr = gts->ts_cbr_au_count; in gru_steal_context()
797 if (check_gru_resources(gru, cbr, dsr, GRU_NUM_CCH)) in gru_steal_context()
837 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()
/Linux-v6.1/tools/perf/util/
Devent.h291 u32 cbr : 8, member
Dintel-pt.c1903 ptq->cbr_seen = ptq->state->cbr; in intel_pt_synth_cbr_sample()
1912 raw.freq = cpu_to_le32(raw.cbr * pt->cbr2khz); in intel_pt_synth_cbr_sample()
2572 if (ptq->state->cbr != ptq->cbr_seen) { in intel_pt_sample()
/Linux-v6.1/tools/perf/Documentation/
Dperf-intel-pt.txt947 cbr: cbr: 22 freq: 2189 MHz (200%)
955 "cbr" includes the frequency and the percentage of maximum non-turbo
/Linux-v6.1/tools/perf/
Dbuiltin-script.c1864 len = fprintf(fp, " cbr: %2u freq: %4u MHz ", data->cbr, freq); in perf_sample__fprintf_synth_cbr()
1866 percent = (5 + (1000 * data->cbr) / data->max_nonturbo) / 10; in perf_sample__fprintf_synth_cbr()
/Linux-v6.1/drivers/gpu/drm/omapdrm/dss/
Ddispc.c859 int yr, yg, yb, cbr, cbg, cbb, crr, crg, crb; member