Home
last modified time | relevance | path

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

/linux/arch/mips/kernel/
H A Dsmp-bmips.c521 void __iomem *cbr = bmips_cbr_addr; in bmips_set_reset_vec() local
524 __raw_writel(val, cbr + BMIPS_RELO_VECTOR_CONTROL_0); in bmips_set_reset_vec()
528 __raw_writel(val, cbr + BMIPS_RELO_VECTOR_CONTROL_1); in bmips_set_reset_vec()
594 void __iomem __maybe_unused *cbr = bmips_cbr_addr; in bmips_cpu_setup() local
611 cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
612 __raw_writel(cfg | 0x100, cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
613 __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
615 cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
616 __raw_writel(cfg | 0xf, cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
617 __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup()
[all …]
/linux/arch/mips/bmips/
H A Ddma.c12 void __iomem *cbr = bmips_cbr_addr; in arch_sync_dma_for_cpu_all() local
24 cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); in arch_sync_dma_for_cpu_all()
25 __raw_writel(cfg | 0x100, cbr + BMIPS_RAC_CONFIG); in arch_sync_dma_for_cpu_all()
26 __raw_readl(cbr + BMIPS_RAC_CONFIG); in arch_sync_dma_for_cpu_all()
/linux/tools/perf/scripts/python/
H A 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)
H A 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)
H A Dintel-pt-events.py153 cbr = data[0]
155 p = ((cbr * 1000 / data[2]) + 5) / 10
156 print("%3u freq: %4u MHz (%3u%%)" % (cbr, f, p), end=' ')
/linux/tools/perf/util/intel-pt-decoder/
H A 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()
1992 unsigned int cbr = decoder->packet.payload & 0xff; intel_pt_calc_cbr() local
[all...]
H A Dintel-pt-decoder.h249 uint32_t cbr; member
/linux/drivers/misc/sgi-gru/
H A Dgrumain.c780 int ctxnum, ctxnum0, flag = 0, cbr, dsr; in gru_steal_context() local
786 cbr = gts->ts_cbr_au_count; in gru_steal_context()
802 if (check_gru_resources(gru, cbr, dsr, GRU_NUM_CCH)) in gru_steal_context()
842 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()
H A Dgrutables.h491 #define CBR_BYTES(cbr) ((cbr) * GRU_HANDLE_BYTES * GRU_CBR_AU_SIZE * 2) argument
/linux/tools/perf/util/
H A Devent.h202 u32 cbr : 8, member
H A Dintel-pt.c1982 ptq->cbr_seen = ptq->state->cbr; in intel_pt_synth_cbr_sample()
1992 raw.freq = cpu_to_le32(raw.cbr * pt->cbr2khz); in intel_pt_synth_cbr_sample()
2838 if (ptq->state->cbr != ptq->cbr_seen) { in intel_pt_sample()
/linux/tools/perf/
H A Dbuiltin-script.c1935 len = fprintf(fp, " cbr: %2u freq: %4u MHz ", data->cbr, freq); in perf_sample__fprintf_synth_cbr()
1937 percent = (5 + (1000 * data->cbr) / data->max_nonturbo) / 10; in perf_sample__fprintf_synth_cbr()