/drivers/ntb/test/ |
D | ntb_perf.c | 144 struct perf_ctx *perf; member 169 struct perf_ctx *perf; member 205 int (*cmd_recv)(struct perf_ctx *perf, int *pidx, enum perf_cmd *cmd, 247 static void perf_terminate_test(struct perf_ctx *perf); 253 link = ntb_link_is_up(peer->perf->ntb, NULL, NULL); in perf_link_is_up() 260 struct perf_ctx *perf = peer->perf; in perf_spad_cmd_send() local 264 dev_dbg(&perf->ntb->dev, "CMD send: %d 0x%llx\n", cmd, data); in perf_spad_cmd_send() 277 sts = ntb_peer_spad_read(perf->ntb, peer->pidx, in perf_spad_cmd_send() 278 PERF_SPAD_CMD(perf->gidx)); in perf_spad_cmd_send() 284 ntb_peer_spad_write(perf->ntb, peer->pidx, in perf_spad_cmd_send() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | perf.c | 34 u32 perf = 0; in nvbios_perf_table() local 38 perf = nvbios_rd32(bios, bit_P.offset + 0); in nvbios_perf_table() 39 if (perf) { in nvbios_perf_table() 40 *ver = nvbios_rd08(bios, perf + 0); in nvbios_perf_table() 41 *hdr = nvbios_rd08(bios, perf + 1); in nvbios_perf_table() 43 *cnt = nvbios_rd08(bios, perf + 5); in nvbios_perf_table() 44 *len = nvbios_rd08(bios, perf + 2); in nvbios_perf_table() 45 *snr = nvbios_rd08(bios, perf + 4); in nvbios_perf_table() 46 *ssz = nvbios_rd08(bios, perf + 3); in nvbios_perf_table() 47 return perf; in nvbios_perf_table() [all …]
|
/drivers/gpu/drm/msm/ |
D | msm_perf.c | 41 static int wait_sample(struct msm_perf_state *perf) in wait_sample() argument 45 if (time_after(perf->next_jiffies, start_jiffies)) { in wait_sample() 47 perf->next_jiffies - start_jiffies; in wait_sample() 54 perf->next_jiffies += SAMPLE_TIME; in wait_sample() 58 static int refill_buf(struct msm_perf_state *perf) in refill_buf() argument 60 struct msm_drm_private *priv = perf->dev->dev_private; in refill_buf() 62 char *ptr = perf->buf; in refill_buf() 63 int rem = sizeof(perf->buf); in refill_buf() 66 if ((perf->cnt++ % 32) == 0) { in refill_buf() 86 ret = wait_sample(perf); in refill_buf() [all …]
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_core_perf.c | 112 struct dpu_core_perf_params *perf) in _dpu_core_perf_calc_crtc() argument 116 if (!perf_cfg || !crtc || !state || !perf) { in _dpu_core_perf_calc_crtc() 121 memset(perf, 0, sizeof(struct dpu_core_perf_params)); in _dpu_core_perf_calc_crtc() 124 perf->bw_ctl = 0; in _dpu_core_perf_calc_crtc() 125 perf->max_per_pipe_ib = 0; in _dpu_core_perf_calc_crtc() 126 perf->core_clk_rate = 0; in _dpu_core_perf_calc_crtc() 128 perf->bw_ctl = core_perf->fix_core_ab_vote; in _dpu_core_perf_calc_crtc() 129 perf->max_per_pipe_ib = core_perf->fix_core_ib_vote; in _dpu_core_perf_calc_crtc() 130 perf->core_clk_rate = core_perf->fix_core_clk_rate; in _dpu_core_perf_calc_crtc() 132 perf->bw_ctl = _dpu_core_perf_calc_bw(perf_cfg, crtc); in _dpu_core_perf_calc_crtc() [all …]
|
D | dpu_encoder_phys_wb.c | 122 catalog->perf->danger_lut_tbl[DPU_QOS_LUT_USAGE_NRT]; in dpu_encoder_phys_wb_set_qos() 124 qos_cfg.safe_lut = catalog->perf->safe_lut_tbl[DPU_QOS_LUT_USAGE_NRT]; in dpu_encoder_phys_wb_set_qos() 126 qos_lut_tb = &catalog->perf->qos_lut_tbl[DPU_QOS_LUT_USAGE_NRT]; in dpu_encoder_phys_wb_set_qos() 166 const struct dpu_perf_cfg *perf = phys_enc->dpu_kms->catalog->perf; in dpu_encoder_phys_wb_setup_fb() local 169 perf->cdp_cfg[DPU_PERF_CDP_USAGE_NRT].wr_enable); in dpu_encoder_phys_wb_setup_fb()
|
/drivers/gpu/drm/i915/ |
D | i915_perf.c | 409 i915_perf_get_oa_config(struct i915_perf *perf, int metrics_set) in i915_perf_get_oa_config() argument 414 oa_config = idr_find(&perf->metrics_idr, metrics_set); in i915_perf_get_oa_config() 469 (GRAPHICS_VER(stream->perf->i915) == 12 ? in oa_report_reason() 485 stream->perf->gen8_valid_ctx_bit); in oa_report_ctx_invalid() 557 hw_tail = stream->perf->ops.oa_hw_tail_read(stream); in oa_buffer_check_unlocked() 600 __ratelimit(&stream->perf->tail_pointer_race)) in oa_buffer_check_unlocked() 916 oaheadptr = GRAPHICS_VER(stream->perf->i915) == 12 ? in gen8_append_oa_reports() 970 oastatus_reg = GRAPHICS_VER(stream->perf->i915) == 12 ? in gen8_oa_read() 996 drm_dbg(&stream->perf->i915->drm, in gen8_oa_read() 1000 stream->perf->ops.oa_disable(stream); in gen8_oa_read() [all …]
|
D | i915_query.c | 235 struct i915_perf *perf = &i915->perf; in query_perf_config_data() local 242 if (!perf->i915) in query_perf_config_data() 278 idr_for_each_entry(&perf->metrics_idr, tmp, id) { in query_perf_config_data() 289 oa_config = i915_perf_get_oa_config(perf, config_id); in query_perf_config_data() 357 static size_t sizeof_perf_metrics(struct i915_perf *perf) in sizeof_perf_metrics() argument 365 idr_for_each_entry(&perf->metrics_idr, tmp, id) in sizeof_perf_metrics() 377 struct i915_perf *perf = &i915->perf; in query_perf_config_list() local 383 if (!perf->i915) in query_perf_config_list() 387 return sizeof_perf_metrics(perf); in query_perf_config_list() 411 idr_for_each_entry(&perf->metrics_idr, tmp, id) { in query_perf_config_list()
|
D | i915_perf_types.h | 78 struct i915_perf *perf; member 171 struct i915_perf *perf; member 357 bool (*is_valid_b_counter_reg)(struct i915_perf *perf, u32 addr); 363 bool (*is_valid_mux_reg)(struct i915_perf *perf, u32 addr); 369 bool (*is_valid_flex_reg)(struct i915_perf *perf, u32 addr);
|
/drivers/gpu/drm/i915/selftests/ |
D | i915_perf.c | 20 alloc_empty_config(struct i915_perf *perf) in alloc_empty_config() argument 28 oa_config->perf = perf; in alloc_empty_config() 33 mutex_lock(&perf->metrics_lock); in alloc_empty_config() 35 oa_config->id = idr_alloc(&perf->metrics_idr, oa_config, 2, 0, GFP_KERNEL); in alloc_empty_config() 37 mutex_unlock(&perf->metrics_lock); in alloc_empty_config() 42 mutex_unlock(&perf->metrics_lock); in alloc_empty_config() 48 destroy_empty_config(struct i915_perf *perf) in destroy_empty_config() argument 53 mutex_lock(&perf->metrics_lock); in destroy_empty_config() 55 idr_for_each_entry(&perf->metrics_idr, tmp, id) { in destroy_empty_config() 63 idr_remove(&perf->metrics_idr, oa_config->id); in destroy_empty_config() [all …]
|
D | i915_selftest.c | 256 if (!i915_selftest.perf) in i915_perf_selftests() 261 err = run_selftests(perf, pdev_to_i915(pdev)); in i915_perf_selftests() 263 i915_selftest.perf = err; in i915_perf_selftests() 267 if (i915_selftest.perf < 0) { in i915_perf_selftests() 268 i915_selftest.perf = -ENOTTY; in i915_perf_selftests() 470 module_param_named_unsafe(perf_selftests, i915_selftest.perf, int, 0400);
|
/drivers/cpufreq/ |
D | acpi-cpufreq.c | 204 struct acpi_processor_performance *perf; in extract_io() local 207 perf = to_perf_data(data); in extract_io() 209 for (i = 0; i < perf->state_count; i++) { in extract_io() 210 if (value == perf->states[i].status) in extract_io() 220 struct acpi_processor_performance *perf; in extract_msr() local 229 perf = to_perf_data(data); in extract_msr() 232 if (msr == perf->states[pos->driver_data].status) in extract_msr() 314 struct acpi_processor_performance *perf = to_perf_data(data); in drv_read() local 316 .reg = &perf->control_register, in drv_read() 337 struct acpi_processor_performance *perf = to_perf_data(data); in drv_write() local [all …]
|
D | cppc_cpufreq.c | 116 u64 perf; in cppc_scale_freq_workfn() local 126 perf = cppc_perf_from_fbctrs(cpu_data, &cppc_fi->prev_perf_fb_ctrs, in cppc_scale_freq_workfn() 130 perf <<= SCHED_CAPACITY_SHIFT; in cppc_scale_freq_workfn() 131 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in cppc_scale_freq_workfn() 332 unsigned int perf) in cppc_cpufreq_perf_to_khz() argument 350 retval = offset + div64_u64(perf * mul, div); in cppc_cpufreq_perf_to_khz() 513 unsigned long perf_step, perf_prev, perf, perf_check; in cppc_get_cpu_power() local 541 perf = perf_caps->highest_perf; in cppc_get_cpu_power() 544 perf = perf_caps->lowest_perf; in cppc_get_cpu_power() 548 perf = perf_caps->highest_perf; in cppc_get_cpu_power() [all …]
|
/drivers/perf/ |
D | Kconfig | 41 PMU (perf) driver supporting the ARM CCN (Cache Coherent Network) 86 full perf feature support i.e. counter overflow, privilege mode 123 tristate "Freescale i.MX8 DDR perf monitor" 131 tristate "Freescale i.MX9 DDR perf monitor" 145 Adds the L2 cache PMU into the perf events subsystem for 155 Adds the L3 cache PMU into the perf events subsystem for 179 Enable perf support for the ARMv8.2 Statistical Profiling 181 the CPU pipeline and reports this via the perf AUX interface. 211 source "drivers/perf/hisilicon/Kconfig" 217 Enable perf support for Marvell DDR Performance monitoring [all …]
|
/drivers/xen/ |
D | xen-acpi-processor.c | 216 dst_perf = &op.u.set_pminfo.perf; in push_pxx_to_hypervisor() 244 struct acpi_processor_performance *perf; in push_pxx_to_hypervisor() local 247 perf = _pr->performance; in push_pxx_to_hypervisor() 249 for (i = 0; i < perf->state_count; i++) { in push_pxx_to_hypervisor() 251 (i == perf->state ? '*' : ' '), i, in push_pxx_to_hypervisor() 252 (u32) perf->states[i].core_frequency, in push_pxx_to_hypervisor() 253 (u32) perf->states[i].power, in push_pxx_to_hypervisor() 254 (u32) perf->states[i].transition_latency); in push_pxx_to_hypervisor() 549 struct acpi_processor_performance *perf; in xen_acpi_processor_init() local 552 perf = per_cpu_ptr(acpi_perf_data, i); in xen_acpi_processor_init() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gv100.c | 107 u32 disable_gpc, u32 disable_tpc, int *perf) in gv100_gr_scg_estimate_perf() argument 186 *perf = 0; in gv100_gr_scg_estimate_perf() 216 *perf = (pix_scale * min_scg_gpc_pix_perf) + in gv100_gr_scg_estimate_perf() 232 int perf, maxperf, ret = 0; in gv100_gr_oneinit_sm_id() local 250 ret = gv100_gr_scg_estimate_perf(gr, gpc_tpc_mask, gpc, tpc, &perf); in gv100_gr_oneinit_sm_id() 255 if (perf > maxperf) { in gv100_gr_oneinit_sm_id() 256 maxperf = perf; in gv100_gr_oneinit_sm_id()
|
/drivers/firmware/arm_scmi/ |
D | perf.c | 52 u32 perf; member 311 return t1->perf - t2->perf; in opp_cmp_func() 346 opp->perf = le32_to_cpu(r->opp[loop_idx].perf_val); in process_response_opp() 357 opp->perf = le32_to_cpu(r->opp[loop_idx].perf_val); in process_response_opp_v4() 376 ret = xa_insert(&dom->opps_by_lvl, opp->perf, opp, GFP_KERNEL); in process_response_opp_v4() 380 opp->perf, ret); in process_response_opp_v4() 403 opp->perf, opp->power, opp->trans_latency_us, in iter_perf_levels_process_response() 614 *min_perf = opp->perf; in scmi_perf_limits_get() 620 *max_perf = opp->perf; in scmi_perf_limits_get() 744 *level = opp->perf; in scmi_perf_level_get() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
D | gf119.fuc4 | 41 #include "perf.fuc" 52 #include "perf.fuc" 65 #include "perf.fuc"
|
D | gk208.fuc5 | 41 #include "perf.fuc" 52 #include "perf.fuc" 65 #include "perf.fuc"
|
D | gf100.fuc3 | 41 #include "perf.fuc" 52 #include "perf.fuc" 65 #include "perf.fuc"
|
D | gt215.fuc3 | 41 #include "perf.fuc" 52 #include "perf.fuc" 65 #include "perf.fuc"
|
D | perf.fuc | 42 // $r15 - current (perf) 53 // $r15 - current (perf)
|
/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_cfg.c | 98 .perf = { 179 .perf = { 266 .perf = { 366 .perf = { 438 .perf = { 518 .perf = { 618 .perf = { 731 .perf = { 921 .perf = {
|
/drivers/perf/hisilicon/ |
D | Kconfig | 15 Adds the PCIe PMU into perf events system for monitoring latency, 25 Adds the HNS3 PMU into perf events system for monitoring latency,
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 135 struct kfd_perf_properties *perf; in kfd_release_topology_device() local 168 perf = container_of(dev->perf_props.next, in kfd_release_topology_device() 170 list_del(&perf->list); in kfd_release_topology_device() 171 kfree(perf); in kfd_release_topology_device() 573 struct kfd_perf_properties *perf; in kfd_remove_sysfs_node_entry() local 623 list_for_each_entry(perf, &dev->perf_props, list) { in kfd_remove_sysfs_node_entry() 624 kfree(perf->attr_group); in kfd_remove_sysfs_node_entry() 625 perf->attr_group = NULL; in kfd_remove_sysfs_node_entry() 649 struct kfd_perf_properties *perf; in kfd_build_sysfs_node_entry() local 799 list_for_each_entry(perf, &dev->perf_props, list) { in kfd_build_sysfs_node_entry() [all …]
|
/drivers/media/platform/aspeed/ |
D | aspeed-video.c | 328 struct aspeed_video_perf perf; member 567 perf); in update_perf() 632 video->perf.last_sample = ktime_get(); in aspeed_video_start_frame() 780 update_perf(&video->perf); in aspeed_video_irq() 1044 memset(&video->perf, 0, sizeof(video->perf)); in aspeed_video_get_resolution() 1831 video->perf.duration_max = 0; in aspeed_video_start_streaming() 1832 video->perf.duration_min = 0xffffffff; in aspeed_video_start_streaming() 1954 seq_printf(s, " %-18s:\t%d\n", "Now", v->perf.duration); in aspeed_video_debugfs_show() 1955 seq_printf(s, " %-18s:\t%d\n", "Min", v->perf.duration_min); in aspeed_video_debugfs_show() 1956 seq_printf(s, " %-18s:\t%d\n", "Max", v->perf.duration_max); in aspeed_video_debugfs_show() [all …]
|