| /src/sys/external/bsd/drm2/dist/drm/i915/ |
| i915_pmu.h | 97 * @sample: Current and previous (raw) counters for sampling events. 104 struct i915_pmu_sample sample[__I915_NUM_PMU_SAMPLERS]; member in struct:i915_pmu
|
| i915_pmu.c | 169 pmu->sample[__I915_SAMPLE_RC6].cur = val; 179 val += pmu->sample[__I915_SAMPLE_RC6].cur; 182 if (val < pmu->sample[__I915_SAMPLE_RC6_LAST_REPORTED].cur) 183 val = pmu->sample[__I915_SAMPLE_RC6_LAST_REPORTED].cur; 185 pmu->sample[__I915_SAMPLE_RC6_LAST_REPORTED].cur = val; 197 pmu->sample[__I915_SAMPLE_RC6].cur = __get_rc6(&i915->gt); 262 add_sample(struct i915_pmu_sample *sample, u32 val) 264 sample->cur += val; 312 add_sample(&pmu->sample[I915_SAMPLE_WAIT], period_ns); 314 add_sample(&pmu->sample[I915_SAMPLE_SEMA], period_ns) 522 u8 sample; local 585 u8 sample = engine_event_sample(event); local 679 u8 sample = engine_event_sample(event); local 721 u8 sample = engine_event_sample(event); local 914 enum drm_i915_pmu_engine_sample sample; member in struct:__anon5069 [all...] |
| /src/sys/arch/mips/cavium/dev/ |
| octeon_rnm.c | 67 * The first sample of each RO always seems to be zero. Further, 89 * more than one sample from each RO could be squeezed in there. 121 #define ENT_DELAY_CLOCK 8 /* cycles for each 64-bit RO sample batch */ 166 uint64_t bist_status, sample, expected = UINT64_C(0xd654ff35fadf866b); local 189 * 81 cycles for it to produce a single sample, and draw the 190 * deterministic sample to test. 198 sample = octrnm_load(sc); 199 if (sample != expected) 201 " expected %016"PRIx64, sample, expected); 229 /* Sample the ring oscillators round-robin. * [all...] |
| /src/sys/arch/shark/shark/ |
| profile.c | 495 /* now check whether we want this sample. 579 struct profHashEntry *sample; local 611 first = sample = &table->entries[index]; 615 while ( (sample->pc != lr) && (table->hdr.last < table->hdr.tableSize) ) 617 if (sample->pc == 0) 620 sample->pc = lr; 624 if (sample->next != 0) 627 prev = sample; 628 sample = &table->entries[sample->next] 694 struct profHashEntry *sample; local [all...] |
| /src/sys/lib/libkern/ |
| entpool.c | 150 /* Enter the sample, stirring as needed. */ 172 * Return true if the sample was consumed in its entirety, or true 173 * if the sample was truncated so the caller should arrange to 195 * Truncate the sample and enter it with 1-byte length encoding 423 uint8_t sample[1] = {0xff}; 430 entpool_enter(P, sample, 1); 443 entpool_enter(P, sample, 1); 459 entpool_enter(P, sample, 1); 478 entpool_enter(P, sample, 1); 485 if (!entpool_enter_nostir(P, sample, 1) 416 uint8_t sample[1] = {0xff}; local [all...] |
| /src/usr.sbin/tprof/ |
| tprof_analyze.c | 204 tprof_sample_t sample; local 205 size_t n = fread(&sample, sizeof(sample), 1, f); 216 if (filter_by_pid && (pid_t)sample.s_pid != target_pid) { 219 in_kernel = (sample.s_flags & TPROF_SAMPLE_INKERNEL) != 0; 225 a->addr = (uint64_t)sample.s_pc; 227 a->pid = sample.s_pid; 232 a->lwpid = sample.s_lwpid; 237 a->cpuid = sample.s_cpuid; 251 c = __SHIFTOUT(sample.s_flags, TPROF_SAMPLE_COUNTER_MASK) [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
| nouveau_dispnv04_dac.c | 59 * arbitrary limit to number of sense oscillations tolerated in one sample 65 * arbitrary limit to number of conflicting sample pairs to tolerate at a 200 /* take sample pairs until both samples in the pair agree */ 246 uint32_t sample, testval, regoffset = nv04_dac_output_offset(encoder); local 315 sample = NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset); 317 sample &= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset); 336 return sample;
|
| nouveau_dispnv04_tvnv17.c | 58 uint32_t sample = 0; local 106 /* Sample pin 0x4 (usually S-video luma). */ 109 sample |= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset) 112 /* Sample the remaining pins. */ 115 sample |= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset) 131 return sample;
|
| /src/sys/arch/amiga/dev/ |
| ite.c | 112 static char sample[20] = { variable 288 memcpy(bsamplep, sample, 20); 301 * the number of clock ticks per sample byte must be > 124
|
| /src/usr.bin/midiplay/ |
| midiplay.c | 107 * This sample plays at an apparent tempo of 120 bpm when the BASETEMPO is 150 117 static u_char sample[] = { variable 802 playdata(sample, sizeof sample, "<Gubben Noa>");
|
| /src/sys/dev/pci/ |
| if_wpi.c | 2608 struct wpi_power_sample *sample; local 2635 for (sample = group->samples; sample < &group->samples[3]; sample++) 2636 if (pwr > sample[1].power) 2639 idx = interpolate(pwr, sample[0].power, sample[0].index, 2640 sample[1].power, sample[1].index, 19);
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| intel_engine_types.h | 375 * @enable: Bitmask of enable sample events on this engine. 377 * Bits correspond to sample event types, for instance 388 * @sample: Counter values for sampling events. 394 struct i915_pmu_sample sample[I915_ENGINE_SAMPLE_COUNT]; member in struct:intel_engine_cs::intel_engine_pmu
|
| /src/sys/arch/amd64/amd64/ |
| machdep.c | 1634 uint64_t sample; local 1638 cpu_rng_early_sample(&sample); 1639 entpool_enter(&pool, &sample, sizeof sample); 1694 cpu_rng_early_sample(&sample); 1695 entpool_enter(&pool, &sample, sizeof sample); 1705 cpu_rng_early_sample(&sample); 1706 entpool_enter(&pool, &sample, sizeof sample); [all...] |