Searched refs:hwc (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_pmu.c53 struct hw_perf_event *hwc = &event->hw; local
60 hwc->config = event->attr.config;
68 struct hw_perf_event *hwc = &event->hw; local
73 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED)))
76 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE));
77 hwc->state = 0;
82 pe->adev->df.funcs->pmc_start(pe->adev, hwc->config, 1);
84 pe->adev->df.funcs->pmc_start(pe->adev, hwc->config, 0);
97 struct hw_perf_event *hwc = &event->hw; local
105 prev = local64_read(&hwc
124 struct hw_perf_event *hwc = &event->hw; local
153 struct hw_perf_event *hwc = &event->hw; local
184 struct hw_perf_event *hwc = &event->hw; local
[all...]
/netbsd-current/sys/arch/amiga/dev/
H A Dgrf_cv.c1934 volatile char *hwc; local
1938 cv_cursor_on = 0; /* don't enable hwc in text modes */
1954 hwc = (volatile char*)ba + CRT_ADDRESS_W;
1955 *hwc = 0;
1956 *hwc = 0;
1969 *hwc = 1;
1973 *hwc = 0xff;
1974 *hwc = 0xff;
2196 volatile char *hwc; local
2206 hwc
[all...]
H A Dgrf_cv3d.c1796 volatile void *hwc; local
1800 cv3d_cursor_on = 0; /* don't enable hwc in text modes */
1816 hwc = ba + CRT_ADDRESS_W;
1817 *hwc = 0;
1818 *hwc = 0;
1831 *hwc = 1;
1835 *hwc = 0xff;
1836 *hwc = 0xff;
2048 volatile void *hwc; local
2059 hwc
[all...]
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/
H A DMetricList.cc250 // it might be "all", "any", or "hwc" or it should match a metric in the list
637 bool any = false, hwc = false, bit = false; local
639 // check keywords 'any', 'all', 'bit' and 'hwc'
645 hwc = true;
653 && (any || (hwc && m->get_type () == BaseMetric::HWCNTR)
867 bool any = false, hwc = false, bit = false; local
870 // check keywords 'any', 'all', 'bit', and 'hwc'
876 hwc = true;
895 if (!(any || (hwc && item->get_type () == BaseMetric::HWCNTR)
927 if (!(any || hwc || bi
[all...]
H A DPathTree.cc554 Hwcentry *hwc = mtr->get_hw_ctr (); local
555 if (hwc)
564 if (dbe_strcmp (hwc->name, col_params->hw_aux_name[i]) == 0)
763 sb.sprintf (GTXT (" Processed %ld hwc-profile events (%3.2f/sec.)"),
766 sb.sprintf (GTXT (" Processed %ld hwc-profile events"), hwc_cnt);
/netbsd-current/external/gpl3/binutils/dist/gprofng/common/
H A Dhwctable.c3366 setup_cpc_general (0); // set up and include a hwc test run
3374 setup_cpc_general (1); // set up but skip hwc test run
3432 hwc_update_val (Hwcentry *hwc) argument
3434 if (hwc->ref_val == 0)
3435 hwc->ref_val = hwc->val; // save original reference
3437 hrtime_t min_time_nsec = hwc->min_time;
3439 min_time_nsec = hwc->min_time_default;
3447 newVal = HWC_VAL_ON (hwc->ref_val);
3450 newVal = HWC_VAL_LO (hwc
3472 set_hwcval(Hwcentry *hwc, hrtime_t global_min_time_nsec, const char *valptr) argument
5381 Hwcentry *hwc = hwcs[ii]; local
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_pmu.c626 struct hw_perf_event *hwc = &event->hw; local
630 prev = local64_read(&hwc->prev_count);
633 if (local64_cmpxchg(&hwc->prev_count, prev, new) != prev)

Completed in 145 milliseconds