| /linux/drivers/input/touchscreen/ |
| H A D | tps6507x-ts.c | 50 static int tps6507x_read_u8(struct tps6507x_ts *tsc, u8 reg, u8 *data) in tps6507x_read_u8() argument 52 return tsc->mfd->read_dev(tsc->mfd, reg, 1, data); in tps6507x_read_u8() 55 static int tps6507x_write_u8(struct tps6507x_ts *tsc, u8 reg, u8 data) in tps6507x_write_u8() argument 57 return tsc->mfd->write_dev(tsc->mfd, reg, 1, &data); in tps6507x_write_u8() 60 static s32 tps6507x_adc_conversion(struct tps6507x_ts *tsc, in tps6507x_adc_conversion() argument 69 ret = tps6507x_write_u8(tsc, TPS6507X_REG_TSCMODE, tsc_mode); in tps6507x_adc_conversion() 71 dev_err(tsc->dev, "TSC mode read failed\n"); in tps6507x_adc_conversion() 77 ret = tps6507x_write_u8(tsc, TPS6507X_REG_ADCONFIG, in tps6507x_adc_conversion() 80 dev_err(tsc->dev, "ADC config write failed\n"); in tps6507x_adc_conversion() 85 ret = tps6507x_read_u8(tsc, TPS6507X_REG_ADCONFIG, in tps6507x_adc_conversion() [all …]
|
| H A D | cy8ctmg110_ts.c | 61 static int cy8ctmg110_write_regs(struct cy8ctmg110 *tsc, unsigned char reg, in cy8ctmg110_write_regs() argument 64 struct i2c_client *client = tsc->client; in cy8ctmg110_write_regs() 82 static int cy8ctmg110_read_regs(struct cy8ctmg110 *tsc, in cy8ctmg110_read_regs() argument 85 struct i2c_client *client = tsc->client; in cy8ctmg110_read_regs() 110 static int cy8ctmg110_touch_pos(struct cy8ctmg110 *tsc) in cy8ctmg110_touch_pos() argument 112 struct input_dev *input = tsc->input; in cy8ctmg110_touch_pos() 118 if (cy8ctmg110_read_regs(tsc, reg_p, 9, CY8CTMG110_TOUCH_X1) != 0) in cy8ctmg110_touch_pos() 156 struct cy8ctmg110 *tsc = dev_id; in cy8ctmg110_irq_thread() local 158 cy8ctmg110_touch_pos(tsc); in cy8ctmg110_irq_thread()
|
| H A D | tsc2007.h | 88 int tsc2007_xfer(struct tsc2007 *tsc, u8 cmd); 89 u32 tsc2007_calculate_resistance(struct tsc2007 *tsc, struct ts_event *tc);
|
| H A D | ti_am335x_tsc.c | 67 static void titsc_writel(struct titsc *tsc, unsigned int reg, in titsc_writel() argument 70 writel(val, tsc->mfd_tscadc->tscadc_base + reg); in titsc_writel() 433 tscadc_dev->tsc = ts_dev; in titsc_probe()
|
| /linux/drivers/thermal/tegra/ |
| H A D | tegra30-tsensor.c | 163 const struct tegra_tsensor_channel *tsc = thermal_zone_device_priv(tz); in tegra_tsensor_get_temp() local 164 const struct tegra_tsensor *ts = tsc->ts; in tegra_tsensor_get_temp() 172 err = readl_relaxed_poll_timeout(tsc->regs + TSENSOR_SENSOR0_STATUS0, val, in tegra_tsensor_get_temp() 177 dev_err_once(ts->dev, "ch%u: counter invalid\n", tsc->id); in tegra_tsensor_get_temp() 181 val = readl_relaxed(tsc->regs + TSENSOR_SENSOR0_TS_STATUS1); in tegra_tsensor_get_temp() 190 dev_err_once(ts->dev, "ch%u: counter overflow\n", tsc->id); in tegra_tsensor_get_temp() 221 const struct tegra_tsensor_channel *tsc = thermal_zone_device_priv(tz); in tegra_tsensor_set_trips() local 222 const struct tegra_tsensor *ts = tsc->ts; in tegra_tsensor_set_trips() 232 val = readl_relaxed(tsc->regs + TSENSOR_SENSOR0_CONFIG1); in tegra_tsensor_set_trips() 237 writel_relaxed(val, tsc->regs + TSENSOR_SENSOR0_CONFIG1); in tegra_tsensor_set_trips() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-tegra186.c | 104 struct clocksource tsc; in wdt_writel() 387 tsc); in tegra186_timer_osc_read() 410 tegra->tsc.name = "tsc"; in tegra186_timer_usec_init() 411 tegra->tsc.rating = 300; in tegra186_timer_usec_init() 412 tegra->tsc.read = tegra186_timer_tsc_read; in tegra186_timer_usec_init() 413 tegra->tsc.mask = CLOCKSOURCE_MASK(56); in tegra186_timer_usec_init() 414 tegra->tsc.flags = CLOCK_SOURCE_IS_CONTINUOUS; in tegra186_timer_usec_init() 415 tegra->tsc.owner = THIS_MODULE; in tegra186_timer_usec_init() 417 return clocksource_register_hz(&tegra->tsc, 3125000 in tegra186_timer_usec_init() 94 struct clocksource tsc; global() member [all...] |
| /linux/tools/testing/selftests/prctl/ |
| H A D | .gitignore | 2 disable-tsc-ctxt-sw-stress-test 3 disable-tsc-on-off-stress-test 4 disable-tsc-test
|
| H A D | Makefile | 7 TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \ 8 disable-tsc-test set-anon-vma-name-test set-process-name
|
| /linux/tools/testing/selftests/intel_pstate/ |
| H A D | aperf.c | 26 long long tsc, old_tsc, new_tsc; in main() local 82 tsc = new_tsc-old_tsc; in main() 91 printf("freq: %7.0f\n", tsc / (1.0*aperf / (1.0 * mperf)) / total); in main()
|
| /linux/tools/power/x86/amd_pstate_tracer/ |
| H A D | amd_pstate_trace.py | 155 def store_csv(cpu_int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, common_comm, load, duration_ms, sample_num, elapsed_time, cpu_mask): argument 165 string_buffer = "CPU_%03u, %05u, %06u, %u, %u, %u, %.4f, %u, %u, %u, %.2f, %.3f, %u, %.3f, %s\n" % (cpu_int, int(time_pre_dec), int(time_post_dec), int(min_perf), int(des_perf), int(max_perf), freq_ghz, int(mperf), int(aperf), int(tsc), load, duration_ms, sample_num, elapsed_time, common_comm) 181 f_handle.write('common_cpu, common_secs, common_usecs, min_perf, des_perf, max_perf, freq, mperf, aperf, tsc, load, duration_ms, sample_num, elapsed_time, common_comm') 199 re.search(r'(^(.*?)\[)((\d+)[^\]])(.*?)(\d+)([.])(\d+)(.*?amd_min_perf=)(\d+)(.*?amd_des_perf=)(\d+)(.*?amd_max_perf=)(\d+)(.*?freq=)(\d+)(.*?mperf=)(\d+)(.*?aperf=)(\d+)(.*?tsc=)(\d+)' 215 tsc = search_obj.group(22) 232 load = Decimal(int(mperf)*100)/ Decimal(tsc) 234 store_csv(cpu_int, time_pre_dec, time_post_dec, min_perf, des_perf, max_perf, freq_ghz, mperf, aperf, tsc, common_comm, load, duration_ms, sample_num, elapsed_time, cpu_mask)
|
| /linux/tools/arch/x86/include/asm/ |
| H A D | pvclock.h | 79 u64 __pvclock_read_cycles(const struct pvclock_vcpu_time_info *src, u64 tsc) in __pvclock_read_cycles() argument 81 u64 delta = tsc - src->tsc_timestamp; in __pvclock_read_cycles()
|
| /linux/arch/x86/include/asm/ |
| H A D | pvclock.h | 84 u64 __pvclock_read_cycles(const struct pvclock_vcpu_time_info *src, u64 tsc) in __pvclock_read_cycles() argument 86 u64 delta = tsc - src->tsc_timestamp; in __pvclock_read_cycles()
|
| /linux/tools/power/x86/intel_pstate_tracer/ |
| H A D | intel_pstate_tracer.py | 326 … time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io_boost… argument 336 …core_busy), int(scaled), int(_from), int(_to), int(mperf), int(aperf), int(tsc), freq_ghz, int(io_… 450 tsc = search_obj.group(22) 473 load = Decimal(int(mperf)*100)/ Decimal(tsc) 479 tsc_ghz = Decimal(tsc)/duration_ms/Decimal(1000000) 480 … time_pre_dec, time_post_dec, core_busy, scaled, _from, _to, mperf, aperf, tsc, freq_ghz, io_boost…
|
| /linux/fs/smb/smbdirect/ |
| H A D | socket.c | 270 struct smbdirect_socket *psc, *tsc; in __smbdirect_socket_schedule_cleanup() local 311 list_for_each_entry_safe(psc, tsc, &sc->listen.pending, accept.list) in __smbdirect_socket_schedule_cleanup() 375 struct smbdirect_socket *psc, *tsc; in smbdirect_socket_cleanup_work() local 411 list_for_each_entry_safe(psc, tsc, &sc->listen.pending, accept.list) in smbdirect_socket_cleanup_work() 471 struct smbdirect_socket *psc, *tsc; in smbdirect_socket_destroy() local 542 list_for_each_entry_safe(psc, tsc, &all_list, accept.list) { in smbdirect_socket_destroy()
|
| /linux/tools/power/cpupower/utils/idle_monitor/ |
| H A D | mperf_monitor.c | 83 static int mperf_get_tsc(unsigned long long *tsc) in mperf_get_tsc() argument 87 ret = read_msr(base_cpu, MSR_TSC, tsc); in mperf_get_tsc() 89 dprint("Reading TSC MSR failed, returning %llu\n", *tsc); in mperf_get_tsc()
|
| /linux/tools/perf/pmu-events/ |
| H A D | intel_metrics.py | 22 tsc = Event("msr/tsc/") 23 low = max(tsc - cyc, 0) 27 d_ratio(low, tsc), "100%") 422 tsc = Event("msr/tsc/") 424 low = tsc - c0 438 d_ratio(low, tsc), "100%"),
|
| H A D | amd_metrics.py | 455 tsc = Event("msr/tsc/") 456 low = max(tsc - cyc, 0) 460 d_ratio(low, tsc), "100%")
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | brcm,iproc-touchscreen.txt | 9 - clocks: The clock provided by the SOC to driver the tsc 21 the tsc waits to allow the voltage to settle after
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6ulz-14x14-evk.dts | 15 /delete-node/ &tsc;
|
| /linux/tools/perf/arch/arm64/util/ |
| H A D | Build | 9 perf-util-y += tsc.o
|
| /linux/drivers/cpufreq/ |
| H A D | amd-pstate.c | 606 u64 aperf, mperf, tsc; in shmem_update_perf() 612 tsc = rdtsc(); in amd_pstate_sample() 614 if (cpudata->prev.mperf == mperf || cpudata->prev.tsc == tsc) { in amd_pstate_sample() 623 cpudata->cur.tsc = tsc; in amd_pstate_sample() 626 cpudata->cur.tsc -= cpudata->prev.tsc; in amd_pstate_sample() 630 cpudata->prev.tsc = tsc; in amd_pstate_sample() 611 u64 aperf, mperf, tsc; amd_pstate_sample() local [all...] |
| /linux/tools/perf/arch/x86/util/ |
| H A D | Build | 2 perf-util-y += tsc.o
|
| /linux/tools/testing/ktest/examples/bootconfigs/ |
| H A D | boottrace.bconf | 47 trace_clock = x86-tsc
|
| /linux/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-decoder.c | 2320 bool tsc, pip, vmcs, tma, psbend; 2343 data->tsc = true; in intel_pt_vm_psb_lookahead_cb() 2556 if (data->tsc && !data->psbend) in intel_pt_vm_tm_corr_psb() 4165 * @tsc: TSC value returned 4174 static bool intel_pt_next_tsc(unsigned char *buf, size_t len, uint64_t *tsc, in intel_pt_next_tsc() 4186 *tsc = packet.payload; in intel_pt_next_tsc() 4414 uint64_t tsc; in intel_pt_ff_cb() 4422 !intel_pt_next_tsc(buf, len, &tsc, &rem)) in intel_pt_ff_cb() 4425 tsc = intel_pt_8b_tsc(tsc, buffe in intel_pt_ff_cb() 2318 bool tsc, pip, vmcs, tma, psbend; global() member 4172 intel_pt_next_tsc(unsigned char * buf,size_t len,uint64_t * tsc,size_t * rem) intel_pt_next_tsc() argument 4412 uint64_t tsc; intel_pt_ff_cb() local 4489 uint64_t tsc; intel_pt_fast_forward() local [all...] |
| /linux/arch/x86/include/uapi/asm/ |
| H A D | kvm_para.h | 78 __u64 tsc; member
|