Home
last modified time | relevance | path

Searched refs:perf (Results 1 – 25 of 111) sorted by relevance

12345

/drivers/ntb/test/
A Dntb_perf.c260 struct perf_ctx *perf = peer->perf; in perf_spad_cmd_send() local
351 struct perf_ctx *perf = peer->perf; in perf_msg_cmd_send() local
423 struct perf_ctx *perf = peer->perf; in perf_cmd_send() local
539 struct perf_ctx *perf = peer->perf; in perf_setup_outbuf() local
571 struct perf_ctx *perf = peer->perf; in perf_setup_inbuf() local
871 struct perf_ctx *perf = pthr->perf; in perf_init_test() local
923 struct perf_ctx *perf = pthr->perf; in perf_run_test() local
966 struct perf_ctx *perf = pthr->perf; in perf_sync_test() local
1156 perf->test_peer = &perf->peers[0]; in perf_init_threads()
1162 pthr->perf = perf; in perf_init_threads()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Dperf.c34 u32 perf = 0; in nvbios_perf_table() local
39 if (perf) { in nvbios_perf_table()
47 return perf; in nvbios_perf_table()
54 return perf; in nvbios_perf_table()
63 if (perf) { in nvbios_perf_table()
70 return perf; in nvbios_perf_table()
85 perf = perf + *hdr + (idx * (*len + (snr * ssz))); in nvbios_perf_entry()
89 return perf; in nvbios_perf_entry()
101 switch (!!perf * *ver) { in nvbios_perfEp()
169 return perf; in nvbios_perfEp()
[all …]
/drivers/gpu/drm/msm/
A Dmsm_perf.c115 perf->buftot = ptr - perf->buf; in refill_buf()
128 if (perf->bufpos >= perf->buftot) { in perf_read()
134 n = min((int)sz, perf->buftot - perf->bufpos); in perf_read()
135 if (copy_to_user(buf, &perf->buf[perf->bufpos], n)) { in perf_read()
170 perf->cnt = 0; in perf_open()
207 perf = kzalloc(sizeof(*perf), GFP_KERNEL); in msm_perf_debugfs_init()
208 if (!perf) in msm_perf_debugfs_init()
214 priv->perf = perf; in msm_perf_debugfs_init()
223 struct msm_perf_state *perf = priv->perf; in msm_perf_debugfs_cleanup() local
225 if (!perf) in msm_perf_debugfs_cleanup()
[all …]
/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_core_perf.c127 perf->max_per_pipe_ib, in _dpu_core_perf_calc_crtc()
143 perf->max_per_pipe_ib = max(perf->max_per_pipe_ib, in dpu_core_perf_aggregate()
228 peak_bw = perf.max_per_pipe_ib; in _dpu_core_perf_crtc_update_bus()
436 perf->perf_tune.mode); in _dpu_core_perf_mode_read()
454 struct dpu_core_perf *perf = &dpu_kms->perf; in dpu_core_perf_debugfs_init() local
460 &perf->max_core_clk_rate); in dpu_core_perf_debugfs_init()
462 &perf->core_clk_rate); in dpu_core_perf_debugfs_init()
478 &perf->fix_core_clk_rate); in dpu_core_perf_debugfs_init()
480 &perf->fix_core_ib_vote); in dpu_core_perf_debugfs_init()
482 &perf->fix_core_ab_vote); in dpu_core_perf_debugfs_init()
[all …]
A Ddpu_encoder_phys_wb.c155 catalog->perf->danger_lut_tbl[DPU_QOS_LUT_USAGE_NRT]; in dpu_encoder_phys_wb_set_qos()
157 qos_cfg.safe_lut = catalog->perf->safe_lut_tbl[DPU_QOS_LUT_USAGE_NRT]; in dpu_encoder_phys_wb_set_qos()
159 qos_lut_tb = &catalog->perf->qos_lut_tbl[DPU_QOS_LUT_USAGE_NRT]; in dpu_encoder_phys_wb_set_qos()
204 const struct dpu_perf_cfg *perf = phys_enc->dpu_kms->catalog->perf; in dpu_encoder_phys_wb_setup_fb() local
207 perf->cdp_cfg[cdp_usage].wr_enable); in dpu_encoder_phys_wb_setup_fb()
/drivers/cpufreq/
A Damd-pstate.c426 WRITE_ONCE(cpudata->perf, perf); in msr_init_perf()
453 WRITE_ONCE(cpudata->perf, perf); in shmem_init_perf()
614 perf = READ_ONCE(cpudata->perf); in amd_pstate_verify()
644 WRITE_ONCE(cpudata->perf, perf); in amd_pstate_update_min_max_limit()
660 perf = READ_ONCE(cpudata->perf); in amd_pstate_update_freq()
719 perf = READ_ONCE(cpudata->perf); in amd_pstate_adjust_perf()
921 perf = READ_ONCE(cpudata->perf); in amd_pstate_init_freq()
1004 perf = READ_ONCE(cpudata->perf); in amd_pstate_cpu_init()
1082 perf = READ_ONCE(cpudata->perf); in show_amd_pstate_max_freq()
1095 perf = READ_ONCE(cpudata->perf); in show_amd_pstate_lowest_nonlinear_freq()
[all …]
A Dacpi-cpufreq.c202 perf = to_perf_data(data); in extract_io()
224 perf = to_perf_data(data); in extract_msr()
423 perf = to_perf_data(data); in acpi_cpufreq_target()
481 perf = to_perf_data(data); in acpi_cpufreq_fast_switch()
500 perf = to_perf_data(data); in acpi_cpufreq_guess_freq()
511 perf->state = i; in acpi_cpufreq_guess_freq()
515 perf->state = perf->state_count-1; in acpi_cpufreq_guess_freq()
519 perf->state = 0; in acpi_cpufreq_guess_freq()
761 if (perf->state_count <= 1) { in acpi_cpufreq_cpu_init()
767 if (perf->control_register.space_id != perf->status_register.space_id) { in acpi_cpufreq_cpu_init()
[all …]
A Dcppc_cpufreq.c80 u64 perf; in cppc_scale_freq_workfn() local
92 if (!perf) in cppc_scale_freq_workfn()
97 perf <<= SCHED_CAPACITY_SHIFT; in cppc_scale_freq_workfn()
386 unsigned long perf_step, perf_prev, perf, perf_check; in cppc_get_cpu_power() local
417 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
420 perf = perf_caps->lowest_perf; in cppc_get_cpu_power()
424 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
426 perf = step * perf_step; in cppc_get_cpu_power()
429 *KHz = cppc_perf_to_khz(perf_caps, perf); in cppc_get_cpu_power()
439 perf++; in cppc_get_cpu_power()
[all …]
/drivers/gpu/drm/i915/
A Di915_perf.c1666 struct i915_perf *perf = stream->perf; in i915_oa_stream_destroy() local
3236 struct i915_perf *perf = stream->perf; in i915_oa_stream_init() local
3735 struct i915_perf *perf = stream->perf; in i915_perf_release() local
3880 stream->perf = perf; in i915_perf_open_ioctl_locked()
4264 struct i915_perf *perf = &i915->perf; in i915_perf_register() local
4294 struct i915_perf *perf = &i915->perf; in i915_perf_unregister() local
4635 oa_config->perf = perf; in i915_perf_add_config_ioctl()
5018 struct i915_perf *perf = &i915->perf; in i915_perf_init_info() local
5059 struct i915_perf *perf = &i915->perf; in i915_perf_init() local
5208 struct i915_perf *perf = &i915->perf; in i915_perf_fini() local
[all …]
A Di915_query.c235 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()
A Di915_perf_types.h78 struct i915_perf *perf; member
171 struct i915_perf *perf; member
353 bool (*is_valid_b_counter_reg)(struct i915_perf *perf, u32 addr);
359 bool (*is_valid_mux_reg)(struct i915_perf *perf, u32 addr);
365 bool (*is_valid_flex_reg)(struct i915_perf *perf, u32 addr);
/drivers/gpu/drm/i915/selftests/
A Di915_perf.c28 oa_config->perf = perf; in alloc_empty_config()
33 mutex_lock(&perf->metrics_lock); in alloc_empty_config()
53 mutex_lock(&perf->metrics_lock); in destroy_empty_config()
77 mutex_lock(&perf->metrics_lock); in get_empty_config()
123 stream->perf = perf; in test_stream()
125 mutex_lock(&gt->perf.lock); in test_stream()
130 mutex_unlock(&gt->perf.lock); in test_stream()
141 mutex_lock(&gt->perf.lock); in stream_destroy()
143 mutex_unlock(&gt->perf.lock); in stream_destroy()
427 struct i915_perf *perf = &i915->perf; in i915_perf_live_selftests() local
[all …]
A Di915_selftest.c301 if (!i915_selftest.perf) in i915_perf_selftests()
307 err = run_selftests(perf, i915); in i915_perf_selftests()
309 i915_selftest.perf = err; in i915_perf_selftests()
313 if (i915_selftest.perf < 0) { in i915_perf_selftests()
314 i915_selftest.perf = -ENOTTY; in i915_perf_selftests()
516 module_param_named_unsafe(perf_selftests, i915_selftest.perf, int, 0400);
/drivers/cxl/core/
A Dcdat.c375 struct cxl_dpa_perf *perf = &cxlds->part[i].perf; in cxl_qos_class_verify() local
377 reset_dpa_perf(perf); in cxl_qos_class_verify()
383 struct cxl_dpa_perf *perf = &cxlds->part[i].perf; in cxl_qos_class_verify() local
386 reset_dpa_perf(perf); in cxl_qos_class_verify()
589 struct cxl_dpa_perf *perf; in cxled_get_dpa_perf() local
593 perf = &cxlds->part[cxled->part].perf; in cxled_get_dpa_perf()
595 if (!perf) in cxled_get_dpa_perf()
601 return perf; in cxled_get_dpa_perf()
658 if (IS_ERR(perf)) in cxl_endpoint_gather_bandwidth()
659 return PTR_ERR(perf); in cxl_endpoint_gather_bandwidth()
[all …]
/drivers/perf/
A DKconfig41 PMU (perf) driver supporting the ARM CCN (Cache Coherent Network)
166 tristate "Freescale i.MX8 DDR perf monitor"
174 tristate "Freescale i.MX9 DDR perf monitor"
188 Adds the L2 cache PMU into the perf events subsystem for
198 Adds the L3 cache PMU into the perf events subsystem for
222 Enable perf support for the ARMv8.2 Statistical Profiling
265 source "drivers/perf/hisilicon/Kconfig"
271 Enable perf support for Marvell DDR Performance monitoring
281 source "drivers/perf/arm_cspmu/Kconfig"
283 source "drivers/perf/amlogic/Kconfig"
[all …]
/drivers/xen/
A Dxen-acpi-processor.c216 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/firmware/arm_scmi/
A Dperf.c52 u32 perf; member
345 return t1->perf - t2->perf; in opp_cmp_func()
391 opp->perf, dom->info.name, ret); in process_response_opp()
413 opp->perf, dom->info.name, ret); in process_response_opp_v4()
430 xa_erase(&dom->opps_by_lvl, opp->perf); in process_response_opp_v4()
679 *min_perf = opp->perf; in scmi_perf_limits_get()
685 *max_perf = opp->perf; in scmi_perf_limits_get()
812 *level = opp->perf; in scmi_perf_level_get()
897 data.level = dom->opp[idx].perf; in scmi_dvfs_device_opps_add()
1016 opp_freq = opp->perf * dom->mult_factor; in scmi_dvfs_est_power_get()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dgv100.c107 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/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
A Dgf119.fuc441 #include "perf.fuc"
52 #include "perf.fuc"
65 #include "perf.fuc"
A Dgk208.fuc541 #include "perf.fuc"
52 #include "perf.fuc"
65 #include "perf.fuc"
A Dgf100.fuc341 #include "perf.fuc"
52 #include "perf.fuc"
65 #include "perf.fuc"
A Dgt215.fuc341 #include "perf.fuc"
52 #include "perf.fuc"
65 #include "perf.fuc"
/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_cfg.c98 .perf = {
179 .perf = {
266 .perf = {
366 .perf = {
438 .perf = {
518 .perf = {
618 .perf = {
731 .perf = {
920 .perf = {
/drivers/perf/hisilicon/
A DKconfig15 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/
A Dkfd_topology.c118 struct kfd_perf_properties *perf; in kfd_release_topology_device() local
151 perf = container_of(dev->perf_props.next, in kfd_release_topology_device()
153 list_del(&perf->list); in kfd_release_topology_device()
154 kfree(perf); in kfd_release_topology_device()
564 struct kfd_perf_properties *perf; in kfd_remove_sysfs_node_entry() local
615 kfree(perf->attr_group); in kfd_remove_sysfs_node_entry()
616 perf->attr_group = NULL; in kfd_remove_sysfs_node_entry()
640 struct kfd_perf_properties *perf; in kfd_build_sysfs_node_entry() local
794 if (!perf->attr_group) in kfd_build_sysfs_node_entry()
807 perf->attr_group->name = perf->block_name; in kfd_build_sysfs_node_entry()
[all …]

Completed in 61 milliseconds

12345