/openbmc/u-boot/arch/x86/lib/ |
H A D | coreboot_table.c | 72 static u32 cb_table_add_entry(struct cb_header *cbh, struct cb_record *cbr) in cb_table_add_entry() argument 74 cbh->table_bytes += cbr->size; in cb_table_add_entry() 77 return (u32)cbr + cbr->size; in cb_table_add_entry() 90 struct cb_record *cbr = (struct cb_record *)(cbh + 1); in cb_table_finalize() local 92 cbh->table_checksum = compute_ip_checksum(cbr, cbh->table_bytes); in cb_table_finalize() 99 struct cb_record *cbr; in write_coreboot_table() local 108 cbr = (struct cb_record *)(cbh + 1); in write_coreboot_table() 116 mem = (struct cb_memory *)cbr; in write_coreboot_table() 144 cbr = (struct cb_record *)cb_table_add_entry(cbh, cbr); in write_coreboot_table() 149 fb = (struct cb_framebuffer *)cbr; in write_coreboot_table() [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | smp-bmips.c | 521 void __iomem *cbr = BMIPS_GET_CBR(); in bmips_set_reset_vec() local 594 void __iomem __maybe_unused *cbr = BMIPS_GET_CBR(); in bmips_cpu_setup() local 610 cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup() 612 __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup() 614 cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup() 615 __raw_writel(cfg | 0xf, cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup() 616 __raw_readl(cbr + BMIPS_RAC_CONFIG); in bmips_cpu_setup() 618 cfg = __raw_readl(cbr + BMIPS_RAC_ADDRESS_RANGE); in bmips_cpu_setup() 620 __raw_readl(cbr + BMIPS_RAC_ADDRESS_RANGE); in bmips_cpu_setup() 630 cfg = __raw_readl(cbr + BMIPS_L2_CONFIG); in bmips_cpu_setup() [all …]
|
/openbmc/linux/arch/mips/bmips/ |
H A D | dma.c | 12 void __iomem *cbr = BMIPS_GET_CBR(); 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()
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | export-to-sqlite.py | 731 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 D | export-to-postgresql.py | 1056 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 D | intel-pt-events.py | 153 cbr = data[0] 155 p = ((cbr * 1000 / data[2]) + 5) / 10 156 print("%3u freq: %4u MHz (%3u%%)" % (cbr, f, p), end=' ')
|
/openbmc/linux/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-decoder.c | 188 unsigned int cbr; member 775 unsigned int cbr; member 813 unsigned int cbr; in intel_pt_calc_cyc_cb() local 934 if (data->cbr && data->cbr != cbr) in intel_pt_calc_cyc_cb() 936 data->cbr = 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() 973 if (data->cbr) { in intel_pt_calc_cyc_cb() 1998 if (decoder->cbr == cbr) in intel_pt_calc_cbr() 2001 decoder->cbr = cbr; in intel_pt_calc_cbr() [all …]
|
H A D | intel-pt-decoder.h | 249 uint32_t cbr; member
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grutables.h | 491 #define CBR_BYTES(cbr) ((cbr) * GRU_HANDLE_BYTES * GRU_CBR_AU_SIZE * 2) argument
|
H A D | grumain.c | 784 int ctxnum, ctxnum0, flag = 0, cbr, dsr; in gru_steal_context() local 790 cbr = gts->ts_cbr_au_count; in gru_steal_context() 806 if (check_gru_resources(gru, cbr, dsr, GRU_NUM_CCH)) in gru_steal_context() 846 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()
|
/openbmc/linux/tools/perf/util/ |
H A D | event.h | 190 u32 cbr : 8, member
|
H A D | intel-pt.c | 1963 ptq->cbr_seen = ptq->state->cbr; in intel_pt_synth_cbr_sample() 1972 raw.freq = cpu_to_le32(raw.cbr * pt->cbr2khz); in intel_pt_synth_cbr_sample() 2632 if (ptq->state->cbr != ptq->cbr_seen) { in intel_pt_sample()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-script.c | 1890 len = fprintf(fp, " cbr: %2u freq: %4u MHz ", data->cbr, freq); in perf_sample__fprintf_synth_cbr() 1892 percent = (5 + (1000 * data->cbr) / data->max_nonturbo) / 10; in perf_sample__fprintf_synth_cbr()
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-intel-pt.txt | 967 cbr: cbr: 22 freq: 2189 MHz (200%) 975 "cbr" includes the frequency and the percentage of maximum non-turbo
|