Home
last modified time | relevance | path

Searched full:lat (Results 1 – 25 of 90) sorted by relevance

1234

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.h37 * @ready_queue: list of ready lat buffer queues
38 * @ready_lock: spin lock to protect the lat buffer usage
45 /* protect lat buffer */
52 * struct vdec_lat_buf - lat buffer message used to store lat info for core decode
53 * @wdma_err_addr: wdma error address used for lat hardware
54 * @slice_bc_addr: slice bc address used for lat hardware
55 * @rd_mv_addr: mv addr for av1 lat hardware output, core hardware input
60 * @private_data: shared information used to lat and core hardware
63 * @lat_list: add lat buffer to lat head list
64 * @core_list: add lat buffer to core head list
[all …]
/linux/Documentation/devicetree/bindings/media/
H A Dmediatek,vcodec-subdev-decoder.yaml22 | input -> lat soc HW -> lat HW -> lat buffer --|--> lat buffer -> core HW -> output |
25 || lat || | core workqueue <parent>
32 | (lat/lat soc/core0/core1) |
38 There are two workqueues in parent device: lat workqueue and core workqueue. They are used
39 to lat and core hardware decoder. Lat workqueue need to get input bitstream and lat buffer,
40 then enable lat to decode, writing the result to lat buffer, dislabe hardware when lat decode
41 done. Core workqueue need to get lat buffer and output buffer, then enable core to decode,
48 Lat soc is a hardware which is related with some larb(local arbiter) ports. For mt8195
49 platform, there are some ports like RDMA, UFO in lat soc larb, need to enable its power and
50 clock when lat start to work, don't have interrupt.
[all …]
/linux/kernel/
H A Dlatencytop.c112 struct latency_record *lat) in account_global_scheduler_latency() argument
131 unsigned long record = lat->backtrace[q]; in account_global_scheduler_latency()
144 latency_record[i].time += lat->time; in account_global_scheduler_latency()
145 if (lat->time > latency_record[i].max) in account_global_scheduler_latency()
146 latency_record[i].max = lat->time; in account_global_scheduler_latency()
156 memcpy(&latency_record[i], lat, sizeof(struct latency_record)); in account_global_scheduler_latency()
180 struct latency_record lat; in __account_scheduler_latency() local
191 memset(&lat, 0, sizeof(lat)); in __account_scheduler_latency()
192 lat.count = 1; in __account_scheduler_latency()
193 lat.time = usecs; in __account_scheduler_latency()
[all …]
/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A Dtrigger-inter-event-combined-hist.tc13 echo 'waking_latency u64 lat pid_t pid' > synthetic_events
22 echo 'hist:keys=pid,lat:sort=pid,lat' > events/synthetic/waking_latency/trigger
24 echo 'wakeup_latency u64 lat pid_t pid' >> synthetic_events
28 echo 'waking_plus_wakeup_latency u64 lat; pid_t pid' >> synthetic_events
29 echo 'hist:keys=pid,lat:sort=pid,lat:ww_lat=$waking_lat+$wakeup_lat:onmatch(synthetic.wakeup_latenc…
30 echo 'hist:keys=pid,lat:sort=pid,lat' >> events/synthetic/waking_plus_wakeup_latency/trigger
H A Dtrigger-synthetic-event-dynstring.tc13 echo 'ping_test_latency u64 lat; char filename[]' > synthetic_events
22 echo 'hist:key=pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_process_exec).ping_test_late…
23 echo 'hist:keys=filename,lat:sort=filename,lat' > events/synthetic/ping_test_latency/trigger
H A Dtrigger-onmatch-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
H A Dtrigger-trace-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
H A Dtrigger-onmatch-onmax-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
H A Dtrigger-synthetic-event-createremove.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
21 echo '!wakeup_latency u64 lat pid_t pid char comm[16]' >> synthetic_events
29 echo 'wakeup_latency u64 lat pid_t pid char' > synthetic_events > /dev/null
/linux/tools/testing/ktest/examples/bootconfigs/
H A Dboottrace.bconf12 fields = "unsigned long func", "u64 lat"
14 keys = func.sym,lat
15 values = lat
16 sort = lat
25 var.lat = common_timestamp.usecs - $ts0
28 trace = initcall_latency, func, $lat
H A Dverify-boottrace.sh55 …ial "events/synthetic/initcall_latency/trigger" "hist:keys=func.sym,lat:vals=hitcount,lat:sort=lat"
61 …itcount:lat=common_timestamp.usecs-\$ts0:sort=hitcount:size=2048:clock=global:onmatch(initcall.ini…
/linux/tools/testing/selftests/ftrace/test.d/trigger/
H A Dtrigger-trace-marker-synthetic-kernel.tc14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).latency($lat
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
H A Dtrigger-trace-marker-synthetic.tc14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) if b…
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
/linux/fs/ceph/
H A Dmetric.c80 ktime_to_ceph_timespec(&read->lat, sum); in ceph_mdsc_send_metrics()
93 ktime_to_ceph_timespec(&write->lat, sum); in ceph_mdsc_send_metrics()
106 ktime_to_ceph_timespec(&meta->lat, sum); in ceph_mdsc_send_metrics()
329 ktime_t *sq_sump, ktime_t lat) in __update_mean_and_stdev() argument
334 *lavg = lat; in __update_mean_and_stdev()
336 /* the sq is (lat - old_avg) * (lat - new_avg) */ in __update_mean_and_stdev()
337 avg = *lavg + div64_s64(lat - *lavg, total); in __update_mean_and_stdev()
338 *sq_sump += (lat - *lavg)*(lat - avg); in __update_mean_and_stdev()
347 ktime_t lat = ktime_sub(r_end, r_start); in ceph_update_metrics() local
357 m->latency_sum += lat; in ceph_update_metrics()
[all …]
/linux/include/trace/events/
H A Dwbt.h57 * @lat: latency trigger
61 TP_PROTO(struct backing_dev_info *bdi, unsigned long lat),
63 TP_ARGS(bdi, lat),
67 __field(unsigned long, lat)
73 __entry->lat = div_u64(lat, 1000);
77 (unsigned long long) __entry->lat)
/linux/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dgeneric_clear_event.tc13 echo "s:latency1 u64 lat; pid_t pid;" >> dynamic_events
15 echo "s:latency2 u64 lat; pid_t pid;" >> dynamic_events
31 echo "!s:latency1 u64 lat; pid_t pid;" >> dynamic_events
40 echo "!s:latency2 u64 lat; pid_t pid;" >> dynamic_events
H A Dadd_remove_synth.tc9 echo "s:latency1 u64 lat; pid_t pid;" >> dynamic_events
10 echo "s:latency2 u64 lat; pid_t pid;" >> dynamic_events
/linux/tools/testing/selftests/net/
H A Dfin_ack_lat.c37 unsigned long lat, sum_lat = 0, nr_lat = 0; in client() local
69 lat = timediff(start, end); in client()
70 sum_lat += lat; in client()
72 if (lat < 100000) in client()
77 printf("port: %d, lat: %lu, avg: %lu, nr: %lu\n", in client()
78 ntohs(laddr.sin_port), lat, in client()
/linux/tools/testing/selftests/timers/
H A D.gitignore8 mqueue-lat
10 nsleep-lat
16 set-timer-lat
H A DMakefile7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
/linux/tools/perf/scripts/python/
H A Devent_analyzing_sample.py66 lat integer
104 event.ip, event.status, event.dse, event.dla, event.lat))
186 latq = con.execute("select lat, count(lat) from pebs_ll group by lat order by lat")
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DEventClass.py83 # LAT: the actual latency in cycles
89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf)
93 self.lat = lat
/linux/sound/soc/codecs/
H A Dwm8741.h44 #define WM8741_LAT_4_0_MASK 0x001F /* LAT[4:0] - [4:0] */
45 #define WM8741_LAT_4_0_SHIFT 0 /* LAT[4:0] - [4:0] */
46 #define WM8741_LAT_4_0_WIDTH 5 /* LAT[4:0] - [4:0] */
55 #define WM8741_LAT_9_5_0_MASK 0x001F /* LAT[9:5] - [4:0] */
56 #define WM8741_LAT_9_5_0_SHIFT 0 /* LAT[9:5] - [4:0] */
57 #define WM8741_LAT_9_5_0_WIDTH 5 /* LAT[9:5] - [4:0] */
/linux/Documentation/trace/
H A Dboottime-trace.rst224 fields = "unsigned long func", "u64 lat"
226 keys = func.sym, lat
227 values = lat
228 sort = lat
237 var.lat = common_timestamp.usecs - $ts0
240 trace = initcall_latency, func, $lat
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_multi_if.c94 /* LAT dec addr */
113 * message between lat and core
139 * @vsi: vsi used for lat
425 mtk_vdec_debug(ctx, "lat struct size = %d,%d,%d,%d vsi: %d\n", in vdec_h264_slice_init()
431 mtk_vdec_debug(ctx, "lat H264 instance >> %p, codec_type = 0x%x", in vdec_h264_slice_init()
548 * 20 bytes for cavlc bitstream, or lat will decode fail. This pending data is in vdec_h264_insert_startcode()
594 mtk_vdec_debug(inst->ctx, "failed to get lat buffer"); in vdec_h264_slice_lat_decode()
646 mtk_vdec_debug(inst->ctx, "lat:trans(0x%llx 0x%llx) err:0x%llx", in vdec_h264_slice_lat_decode()
658 mtk_vdec_debug(inst->ctx, "lat decode err: %d", err); in vdec_h264_slice_lat_decode()
677 mtk_vdec_err(inst->ctx, "lat decode timeout: pic_%d", inst->slice_dec_num); in vdec_h264_slice_lat_decode()
[all …]

1234