Home
last modified time | relevance | path

Searched refs:te (Results 1 - 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/tools/perf/util/
H A Ds390-sample-raw.c50 struct cf_trailer_entry *te; in s390_cpumcfdg_testctr() local
72 if (len - offset - sizeof(*te) == 4) in s390_cpumcfdg_testctr()
86 struct cf_trailer_entry te; in s390_cpumcfdg_dumptrail() local
88 te.flags = be64_to_cpu(tep->flags); in s390_cpumcfdg_dumptrail()
89 te.cfvn = be16_to_cpu(tep->cfvn); in s390_cpumcfdg_dumptrail()
90 te.csvn = be16_to_cpu(tep->csvn); in s390_cpumcfdg_dumptrail()
91 te.cpu_speed = be32_to_cpu(tep->cpu_speed); in s390_cpumcfdg_dumptrail()
92 te.timestamp = be64_to_cpu(tep->timestamp); in s390_cpumcfdg_dumptrail()
93 te.progusage1 = be64_to_cpu(tep->progusage1); in s390_cpumcfdg_dumptrail()
94 te in s390_cpumcfdg_dumptrail()
[all...]
H A Ds390-cpumsf.c309 static unsigned long long trailer_timestamp(struct hws_trailer_entry *te, in trailer_timestamp() argument
312 /* te->t set: TOD in STCKE format, bytes 8-15 in trailer_timestamp()
317 memcpy(&ts, &te->timestamp[idx], sizeof(ts)); in trailer_timestamp()
323 struct hws_trailer_entry *te) in s390_cpumsf_trailer_show()
327 const unsigned long long flags = be64toh(te->flags); in s390_cpumsf_trailer_show()
335 memcpy(&local.timestamp, te->timestamp, sizeof(te->timestamp)); in s390_cpumsf_trailer_show()
336 local.overflow = be64toh(te->overflow); in s390_cpumsf_trailer_show()
337 local.clock_base = be64toh(te->progusage[0]) >> 63 & 1; in s390_cpumsf_trailer_show()
338 local.progusage2 = be64toh(te in s390_cpumsf_trailer_show()
322 s390_cpumsf_trailer_show(const char *color, size_t pos, struct hws_trailer_entry *te) s390_cpumsf_trailer_show() argument
376 struct hws_trailer_entry *te; s390_cpumsf_validate() local
474 struct hws_trailer_entry te; s390_cpumsf_dump() local
548 struct hws_trailer_entry *te; get_trailer_time() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Ds390-sample-raw.c51 struct cf_trailer_entry *te; in s390_cpumcfdg_testctr() local
73 if (len - offset - sizeof(*te) == 4) in s390_cpumcfdg_testctr()
87 struct cf_trailer_entry te; in s390_cpumcfdg_dumptrail() local
89 te.flags = be64_to_cpu(tep->flags); in s390_cpumcfdg_dumptrail()
90 te.cfvn = be16_to_cpu(tep->cfvn); in s390_cpumcfdg_dumptrail()
91 te.csvn = be16_to_cpu(tep->csvn); in s390_cpumcfdg_dumptrail()
92 te.cpu_speed = be32_to_cpu(tep->cpu_speed); in s390_cpumcfdg_dumptrail()
93 te.timestamp = be64_to_cpu(tep->timestamp); in s390_cpumcfdg_dumptrail()
94 te.progusage1 = be64_to_cpu(tep->progusage1); in s390_cpumcfdg_dumptrail()
95 te in s390_cpumcfdg_dumptrail()
[all...]
H A Ds390-cpumsf.c310 static unsigned long long trailer_timestamp(struct hws_trailer_entry *te, in trailer_timestamp() argument
313 /* te->t set: TOD in STCKE format, bytes 8-15 in trailer_timestamp()
318 memcpy(&ts, &te->timestamp[idx], sizeof(ts)); in trailer_timestamp()
324 struct hws_trailer_entry *te) in s390_cpumsf_trailer_show()
328 const unsigned long long flags = be64toh(te->flags); in s390_cpumsf_trailer_show()
336 memcpy(&local.timestamp, te->timestamp, sizeof(te->timestamp)); in s390_cpumsf_trailer_show()
337 local.overflow = be64toh(te->overflow); in s390_cpumsf_trailer_show()
338 local.clock_base = be64toh(te->progusage[0]) >> 63 & 1; in s390_cpumsf_trailer_show()
339 local.progusage2 = be64toh(te in s390_cpumsf_trailer_show()
323 s390_cpumsf_trailer_show(const char *color, size_t pos, struct hws_trailer_entry *te) s390_cpumsf_trailer_show() argument
377 struct hws_trailer_entry *te; s390_cpumsf_validate() local
475 struct hws_trailer_entry te; s390_cpumsf_dump() local
549 struct hws_trailer_entry *te; get_trailer_time() local
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dpmu-events.c166 struct pmu_event *te; in test_pmu_event_table() local
174 te = &test->event; in test_pmu_event_table()
176 for (; te->name; test++, te = &test->event) { in test_pmu_event_table()
177 if (strcmp(table->name, te->name)) in test_pmu_event_table()
182 if (!is_same(table->desc, te->desc)) { in test_pmu_event_table()
184 table->name, table->desc, te->desc); in test_pmu_event_table()
188 if (!is_same(table->topic, te->topic)) { in test_pmu_event_table()
191 te->topic); in test_pmu_event_table()
195 if (!is_same(table->long_desc, te in test_pmu_event_table()
271 struct pmu_event *te; __test__pmu_event_aliases() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_pingpong.c94 struct dpu_hw_tear_check *te) in dpu_hw_pp_setup_te_config()
99 if (!pp || !te) in dpu_hw_pp_setup_te_config()
104 if (te->hw_vsync_mode) in dpu_hw_pp_setup_te_config()
107 cfg |= te->vsync_count; in dpu_hw_pp_setup_te_config()
110 DPU_REG_WRITE(c, PP_SYNC_CONFIG_HEIGHT, te->sync_cfg_height); in dpu_hw_pp_setup_te_config()
111 DPU_REG_WRITE(c, PP_VSYNC_INIT_VAL, te->vsync_init_val); in dpu_hw_pp_setup_te_config()
112 DPU_REG_WRITE(c, PP_RD_PTR_IRQ, te->rd_ptr_irq); in dpu_hw_pp_setup_te_config()
113 DPU_REG_WRITE(c, PP_START_POS, te->start_pos); in dpu_hw_pp_setup_te_config()
115 ((te->sync_threshold_continue << 16) | in dpu_hw_pp_setup_te_config()
116 te in dpu_hw_pp_setup_te_config()
93 dpu_hw_pp_setup_te_config(struct dpu_hw_pingpong *pp, struct dpu_hw_tear_check *te) dpu_hw_pp_setup_te_config() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_pingpong.c77 struct dpu_hw_tear_check *te) in dpu_hw_pp_enable_te()
82 if (!pp || !te) in dpu_hw_pp_enable_te()
87 if (te->hw_vsync_mode) in dpu_hw_pp_enable_te()
90 cfg |= te->vsync_count; in dpu_hw_pp_enable_te()
93 DPU_REG_WRITE(c, PP_SYNC_CONFIG_HEIGHT, te->sync_cfg_height); in dpu_hw_pp_enable_te()
94 DPU_REG_WRITE(c, PP_VSYNC_INIT_VAL, te->vsync_init_val); in dpu_hw_pp_enable_te()
95 DPU_REG_WRITE(c, PP_RD_PTR_IRQ, te->rd_ptr_irq); in dpu_hw_pp_enable_te()
96 DPU_REG_WRITE(c, PP_START_POS, te->start_pos); in dpu_hw_pp_enable_te()
98 ((te->sync_threshold_continue << 16) | in dpu_hw_pp_enable_te()
99 te in dpu_hw_pp_enable_te()
76 dpu_hw_pp_enable_te(struct dpu_hw_pingpong *pp, struct dpu_hw_tear_check *te) dpu_hw_pp_enable_te() argument
[all...]
H A Ddpu_hw_intf.c335 struct dpu_hw_tear_check *te) in dpu_hw_intf_enable_te()
346 if (te->hw_vsync_mode) in dpu_hw_intf_enable_te()
349 cfg |= te->vsync_count; in dpu_hw_intf_enable_te()
352 DPU_REG_WRITE(c, INTF_TEAR_SYNC_CONFIG_HEIGHT, te->sync_cfg_height); in dpu_hw_intf_enable_te()
353 DPU_REG_WRITE(c, INTF_TEAR_VSYNC_INIT_VAL, te->vsync_init_val); in dpu_hw_intf_enable_te()
354 DPU_REG_WRITE(c, INTF_TEAR_RD_PTR_IRQ, te->rd_ptr_irq); in dpu_hw_intf_enable_te()
355 DPU_REG_WRITE(c, INTF_TEAR_START_POS, te->start_pos); in dpu_hw_intf_enable_te()
357 ((te->sync_threshold_continue << 16) | in dpu_hw_intf_enable_te()
358 te->sync_threshold_start)); in dpu_hw_intf_enable_te()
360 (te in dpu_hw_intf_enable_te()
334 dpu_hw_intf_enable_te(struct dpu_hw_intf *intf, struct dpu_hw_tear_check *te) dpu_hw_intf_enable_te() argument
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dperf_cpum_sf.c117 static inline unsigned long long trailer_timestamp(struct hws_trailer_entry *te) in trailer_timestamp() argument
120 if (te->header.t) in trailer_timestamp()
121 return *((unsigned long long *)&te->timestamp[1]); in trailer_timestamp()
124 return *((unsigned long long *)&te->timestamp[0]); in trailer_timestamp()
218 struct hws_trailer_entry *te; in alloc_sample_data_block() local
225 te = trailer_entry_ptr(sdb); in alloc_sample_data_block()
226 te->header.a = 1; in alloc_sample_data_block()
1208 struct hws_trailer_entry *te; in hw_collect_samples() local
1211 te = trailer_entry_ptr((unsigned long)sdbt); in hw_collect_samples()
1213 while ((unsigned long *)sample < (unsigned long *)te) { in hw_collect_samples()
1279 struct hws_trailer_entry *te; hw_perf_event_update() local
1427 struct hws_trailer_entry *te; aux_output_end() local
1464 struct hws_trailer_entry *te; aux_output_begin() local
1526 struct hws_trailer_entry *te; aux_set_alert() local
1577 struct hws_trailer_entry *te; aux_reset_buffer() local
1728 struct hws_trailer_entry *te; aux_sdb_init() local
[all...]
H A Dperf_cpum_cf.c389 static void cfdiag_trailer(struct cf_trailer_entry *te) in cfdiag_trailer() argument
393 te->cfvn = cpumf_ctr_info.cfvn; /* Counter version numbers */ in cfdiag_trailer()
394 te->csvn = cpumf_ctr_info.csvn; in cfdiag_trailer()
397 te->mach_type = cpuid.machine; in cfdiag_trailer()
398 te->cpu_speed = cfdiag_cpu_speed; in cfdiag_trailer()
399 if (te->cpu_speed) in cfdiag_trailer()
400 te->speed = 1; in cfdiag_trailer()
401 te->clock_base = 1; /* Save clock base */ in cfdiag_trailer()
402 te->tod_base = tod_clock_base.tod; in cfdiag_trailer()
403 te in cfdiag_trailer()
[all...]
/kernel/linux/linux-6.6/drivers/staging/fbtft/
H A Dfb_st7789v.c94 struct gpio_desc *te; in init_tearing_effect_line() local
97 te = gpiod_get_optional(dev, "te", GPIOD_IN); in init_tearing_effect_line()
98 if (IS_ERR(te)) in init_tearing_effect_line()
99 return dev_err_probe(dev, PTR_ERR(te), "Failed to request te GPIO\n"); in init_tearing_effect_line()
101 /* if te is NULL, indicating no configuration, directly return success */ in init_tearing_effect_line()
102 if (!te) { in init_tearing_effect_line()
107 irq = gpiod_to_irq(te); in init_tearing_effect_line()
110 gpiod_put(te); in init_tearing_effect_line()
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dperf_cpum_sf.c166 struct hws_trailer_entry *te; in alloc_sample_data_block() local
173 te = (struct hws_trailer_entry *)trailer_entry_ptr(sdb); in alloc_sample_data_block()
174 te->header.a = 1; in alloc_sample_data_block()
1176 struct hws_trailer_entry *te; in hw_collect_samples() local
1179 te = (struct hws_trailer_entry *) trailer_entry_ptr(*sdbt); in hw_collect_samples()
1181 while ((unsigned long *) sample < (unsigned long *) te) { in hw_collect_samples()
1208 " sampling data entry: te->f %i" in hw_collect_samples()
1210 te->header.f, sample->def, sample); in hw_collect_samples()
1221 if (!te->header.f) in hw_collect_samples()
1260 struct hws_trailer_entry *te; in hw_perf_event_update() local
1394 struct hws_trailer_entry *te; aux_output_end() local
1433 struct hws_trailer_entry *te; aux_output_begin() local
1495 struct hws_trailer_entry *te; aux_set_alert() local
1547 struct hws_trailer_entry *te; aux_reset_buffer() local
1702 struct hws_trailer_entry *te; aux_sdb_init() local
[all...]
H A Dperf_cpum_cf_diag.c107 static void cf_diag_trailer(struct cf_trailer_entry *te) in cf_diag_trailer() argument
112 te->cfvn = cpuhw->info.cfvn; /* Counter version numbers */ in cf_diag_trailer()
113 te->csvn = cpuhw->info.csvn; in cf_diag_trailer()
116 te->mach_type = cpuid.machine; in cf_diag_trailer()
117 te->cpu_speed = cf_diag_cpu_speed; in cf_diag_trailer()
118 if (te->cpu_speed) in cf_diag_trailer()
119 te->speed = 1; in cf_diag_trailer()
120 te->clock_base = 1; /* Save clock base */ in cf_diag_trailer()
121 memcpy(&te->tod_base, &tod_clock_base[1], 8); in cf_diag_trailer()
122 store_tod_clock((__u64 *)&te in cf_diag_trailer()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dtxtimestamp.c111 static void init_timing_event(struct timing_event *te) in init_timing_event() argument
113 te->min = INT64_MAX; in init_timing_event()
114 te->max = 0; in init_timing_event()
115 te->total = 0; in init_timing_event()
116 te->count = 0; in init_timing_event()
119 static void add_timing_event(struct timing_event *te, in add_timing_event() argument
124 te->count++; in add_timing_event()
125 if (ts_delta < te->min) in add_timing_event()
126 te->min = ts_delta; in add_timing_event()
127 if (ts_delta > te in add_timing_event()
243 print_timing_event(char *name, struct timing_event *te) print_timing_event() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtxtimestamp.c111 static void init_timing_event(struct timing_event *te) in init_timing_event() argument
113 te->min = INT64_MAX; in init_timing_event()
114 te->max = 0; in init_timing_event()
115 te->total = 0; in init_timing_event()
116 te->count = 0; in init_timing_event()
119 static void add_timing_event(struct timing_event *te, in add_timing_event() argument
124 te->count++; in add_timing_event()
125 if (ts_delta < te->min) in add_timing_event()
126 te->min = ts_delta; in add_timing_event()
127 if (ts_delta > te in add_timing_event()
243 print_timing_event(char *name, struct timing_event *te) print_timing_event() argument
[all...]
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dwrapper.c137 struct cdrom_tocentry te; in hfsplus_get_last_session() local
142 te.cdte_track = HFSPLUS_SB(sb)->session; in hfsplus_get_last_session()
143 te.cdte_format = CDROM_LBA; in hfsplus_get_last_session()
144 if (cdrom_read_tocentry(cdi, &te) || in hfsplus_get_last_session()
145 (te.cdte_ctrl & CDROM_DATA_TRACK) != 4) { in hfsplus_get_last_session()
149 *start = (sector_t)te.cdte_addr.lba << 2; in hfsplus_get_last_session()
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dwrapper.c135 struct cdrom_tocentry te; in hfsplus_get_last_session() local
140 te.cdte_track = HFSPLUS_SB(sb)->session; in hfsplus_get_last_session()
141 te.cdte_format = CDROM_LBA; in hfsplus_get_last_session()
142 if (cdrom_read_tocentry(cdi, &te) || in hfsplus_get_last_session()
143 (te.cdte_ctrl & CDROM_DATA_TRACK) != 4) { in hfsplus_get_last_session()
147 *start = (sector_t)te.cdte_addr.lba << 2; in hfsplus_get_last_session()
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dcpu_mf.h293 static inline unsigned long long trailer_timestamp(struct hws_trailer_entry *te) in trailer_timestamp() argument
296 if (te->header.t) in trailer_timestamp()
297 return *((unsigned long long *) &te->timestamp[1]); in trailer_timestamp()
300 return *((unsigned long long *) &te->timestamp[0]); in trailer_timestamp()
/kernel/linux/linux-5.10/drivers/block/aoe/
H A Daoeblk.c64 struct aoetgt **t, **te; in aoedisk_show_netif() local
72 te = t + d->ntargets; in aoedisk_show_netif()
73 for (; t < te && *t; t++) { in aoedisk_show_netif()
116 struct aoetgt **t, **te; in aoedisk_debugfs_show() local
132 te = t + d->ntargets; in aoedisk_debugfs_show()
133 for (; t < te && *t; t++) { in aoedisk_debugfs_show()
/kernel/linux/linux-5.10/fs/hfs/
H A Dmdb.c42 struct cdrom_tocentry te; in hfs_get_last_session() local
47 te.cdte_track = HFS_SB(sb)->session; in hfs_get_last_session()
48 te.cdte_format = CDROM_LBA; in hfs_get_last_session()
49 if (cdrom_read_tocentry(cdi, &te) || in hfs_get_last_session()
50 (te.cdte_ctrl & CDROM_DATA_TRACK) != 4) { in hfs_get_last_session()
55 *start = (sector_t)te.cdte_addr.lba << 2; in hfs_get_last_session()
/kernel/linux/linux-6.6/fs/hfs/
H A Dmdb.c42 struct cdrom_tocentry te; in hfs_get_last_session() local
47 te.cdte_track = HFS_SB(sb)->session; in hfs_get_last_session()
48 te.cdte_format = CDROM_LBA; in hfs_get_last_session()
49 if (cdrom_read_tocentry(cdi, &te) || in hfs_get_last_session()
50 (te.cdte_ctrl & CDROM_DATA_TRACK) != 4) { in hfs_get_last_session()
55 *start = (sector_t)te.cdte_addr.lba << 2; in hfs_get_last_session()
/kernel/linux/linux-6.6/drivers/block/aoe/
H A Daoeblk.c62 struct aoetgt **t, **te; in aoedisk_show_netif() local
70 te = t + d->ntargets; in aoedisk_show_netif()
71 for (; t < te && *t; t++) { in aoedisk_show_netif()
114 struct aoetgt **t, **te; in aoe_debugfs_show() local
130 te = t + d->ntargets; in aoe_debugfs_show()
131 for (; t < te && *t; t++) { in aoe_debugfs_show()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Dloopback.c365 static u64 gb_loopback_calc_latency(ktime_t ts, ktime_t te) in gb_loopback_calc_latency() argument
367 return __gb_loopback_calc_latency(ktime_to_ns(ts), ktime_to_ns(te)); in gb_loopback_calc_latency()
375 ktime_t ts, te; in gb_loopback_operation_sync() local
406 te = ktime_get(); in gb_loopback_operation_sync()
409 gb->elapsed_nsecs = gb_loopback_calc_latency(ts, te); in gb_loopback_operation_sync()
427 ktime_t te; in gb_loopback_async_operation_callback() local
430 te = ktime_get(); in gb_loopback_async_operation_callback()
441 gb->elapsed_nsecs = gb_loopback_calc_latency(op_async->ts, te); in gb_loopback_async_operation_callback()
802 ktime_t te; in gb_loopback_calculate_stats() local
809 te in gb_loopback_calculate_stats()
[all...]
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Dloopback.c364 static u64 gb_loopback_calc_latency(ktime_t ts, ktime_t te) in gb_loopback_calc_latency() argument
366 return __gb_loopback_calc_latency(ktime_to_ns(ts), ktime_to_ns(te)); in gb_loopback_calc_latency()
374 ktime_t ts, te; in gb_loopback_operation_sync() local
405 te = ktime_get(); in gb_loopback_operation_sync()
408 gb->elapsed_nsecs = gb_loopback_calc_latency(ts, te); in gb_loopback_operation_sync()
426 ktime_t te; in gb_loopback_async_operation_callback() local
429 te = ktime_get(); in gb_loopback_async_operation_callback()
440 gb->elapsed_nsecs = gb_loopback_calc_latency(op_async->ts, te); in gb_loopback_async_operation_callback()
801 ktime_t te; in gb_loopback_calculate_stats() local
808 te in gb_loopback_calculate_stats()
[all...]
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dpt.c589 static inline struct topa_page *topa_entry_to_page(struct topa_entry *te) in topa_entry_to_page() argument
591 return (struct topa_page *)((unsigned long)te & PAGE_MASK); in topa_entry_to_page()
1030 pt_topa_prev_entry(struct pt_buffer *buf, struct topa_entry *te) in pt_topa_prev_entry() argument
1032 unsigned long table = (unsigned long)te & ~(PAGE_SIZE - 1); in pt_topa_prev_entry()
1037 if (tp->table != te) in pt_topa_prev_entry()
1038 return --te; in pt_topa_prev_entry()
1149 struct topa_entry *te; in pt_buffer_reset_offsets() local
1157 te = pt_topa_entry_for_page(buf, pg); in pt_buffer_reset_offsets()
1159 cur_tp = topa_entry_to_page(te); in pt_buffer_reset_offsets()
1161 buf->cur_idx = te in pt_buffer_reset_offsets()
[all...]

Completed in 21 milliseconds

123