| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | pixfmt-meta-vsp1-hgt.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-meta-fmt-vsp1-hgt: 9 Renesas R-Car VSP1 2-D Histogram Data 15 This format describes histogram data generated by the Renesas R-Car VSP1 16 2-D Histogram (HGT) engine. 18 The VSP1 HGT is a histogram computation engine that operates on HSV 21 weighted frequency histogram based on the H and S components. 23 The histogram is a matrix of 6 Hue and 32 Saturation buckets, 192 in 25 between 1 and 16 depending on the Hue areas configuration. Finding the 28 The Saturation position **n** (0 - 31) of the bucket in the matrix is [all …]
|
| D | pixfmt-meta-vsp1-hgo.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-meta-fmt-vsp1-hgo: 9 Renesas R-Car VSP1 1-D Histogram Data 15 This format describes histogram data generated by the Renesas R-Car VSP1 1-D 16 Histogram (HGO) engine. 18 The VSP1 HGO is a histogram computation engine that can operate on RGB, YCrCb 20 computes the minimum, maximum and sum of all pixels as well as per-channel 25 additionally output the histogram with 64 or 256 bins, resulting in four 28 - In *64 bins normal mode*, the HGO operates on the three channels independently 29 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are [all …]
|
| /kernel/linux/linux-5.10/tools/perf/scripts/python/ |
| D | event_analyzing_sample.py | 2 # SPDX-License-Identifier: GPL-2.0 27 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') 115 # to show the histogram in real number, but use a log2 algorithm. 120 snum = '#' * (int)(math.log(num, 2) + 1) 128 print("There is %d records in gen_events table" % t[0]) 135 …commq = con.execute("select comm, count(comm) from gen_events group by comm order by -count(comm)") 136 print("\n%16s %8s %16s\n%s" % ("comm", "number", "histogram", "="*42)) 138 print("%16s %8d %s" % (row[0], row[1], num2sym(row[1]))) 141 print("\n%32s %8s %16s\n%s" % ("symbol", "number", "histogram", "="*58)) 142 …con.execute("select symbol, count(symbol) from gen_events group by symbol order by -count(symbol)") [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/trigger/ |
| D | trigger-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test histogram trigger 8 echo $1 12 echo "Test histogram basic trigger" 15 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 23 echo "Test histogram with compound keys" 26 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 32 echo "Test histogram with string key" 35 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 42 echo "Test histogram with sort key" [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
| D | trigger-onmatch-action-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger onmatch action 7 echo $1 14 if [ ! -d events/synthetic/wakeup_latency ]; then 18 echo "Test create histogram for synthetic event" 19 echo "Test histogram variables,simple expression support and onmatch action" 22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_… 25 ping $LOCALHOST -c 5 26 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then 27 fail "Failed to create onmatch action inter-event histogram"
|
| D | trigger-trace-action-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger trace action 7 echo $1 14 if [ ! -d events/synthetic/wakeup_latency ]; then 18 echo "Test create histogram for synthetic event using trace action" 19 echo "Test histogram variables,simple expression support and trace action" 22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).trace(w… 25 ping $LOCALHOST -c 5 27 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then 28 fail "Failed to create trace action inter-event histogram"
|
| D | trigger-synthetic-event-dynstring.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger trace action with dynamic string … 7 echo $1 14 if [ ! -d events/synthetic/ping_test_latency ]; then 18 echo "Test create histogram for synthetic event using trace action and dynamic strings" 19 echo "Test histogram dynamic string variables,simple expression support and trace action" 22 echo 'hist:key=pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_process_exec).ping_test_late… 25 ping $LOCALHOST -c 5 27 if ! grep -q "ping" events/synthetic/ping_test_latency/hist; then 28 fail "Failed to create dynamic string trace action inter-event histogram"
|
| D | trigger-onmatch-onmax-action-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger onmatch-onmax action 7 echo $1 14 if [ ! -d events/synthetic/wakeup_latency ]; then 18 echo "Test create histogram for synthetic event" 19 echo "Test histogram variables,simple expression support and onmatch-onmax action" 22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_… 25 ping $LOCALHOST -c 5 26 if [ ! grep -q "ping" events/synthetic/wakeup_latency/hist -o ! grep -q "max:" events/sched/sched_s… 27 fail "Failed to create onmatch-onmax action inter-event histogram"
|
| D | trigger-inter-event-combined-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event combined histogram trigger 7 echo $1 14 if [ ! -d events/synthetic/waking_latency ]; then 18 echo "Test combined histogram" 21 echo 'hist:keys=pid:waking_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).waking_laten… 26 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts1:onmatch(sched.sched_wakeup).wakeup_… 32 ping $LOCALHOST -c 3 33 if ! grep -q "pid:" events/synthetic/waking_plus_wakeup_latency/hist; then 34 fail "Failed to create combined histogram"
|
| D | trigger-onmax-action-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger onmax action 7 echo $1 14 if [ ! -d events/synthetic/wakeup_latency ]; then 21 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmax($wakeup_lat).save(next_comm,p… 23 ping $LOCALHOST -c 3 24 if ! grep -q "max:" events/sched/sched_switch/hist; then 25 fail "Failed to create onmax action inter-event histogram"
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/ |
| D | statistics.rst | 5 Device Mapper supports the collection of I/O statistics on user-defined 7 collected so there isn't any performance impact. Only bio-based DM 10 Each user-defined region specifies a starting sector, length and step. 11 Individual statistics will be collected for each step-sized area within 14 The I/O statistics counters for each step-sized area of a region are 16 Documentation/admin-guide/iostats.rst). But two extra counters (12 and 13) are 17 provided: total time spent reading and writing. When the histogram 19 histogram of latencies. All these counters may be accessed by sending 34 fallback to using vmalloc space. At most, 1/4 of the overall system 47 "-" [all …]
|
| /kernel/linux/linux-5.10/drivers/s390/block/ |
| D | dasd_proc.c | 1 // SPDX-License-Identifier: GPL-2.0 42 device = dasd_device_from_devindex((unsigned long) v - 1); in dasd_devices_show() 45 if (device->block) in dasd_devices_show() 46 block = device->block; in dasd_devices_show() 52 seq_printf(m, "%s", dev_name(&device->cdev->dev)); in dasd_devices_show() 54 if (device->discipline != NULL) in dasd_devices_show() 55 seq_printf(m, "(%s)", device->discipline->name); in dasd_devices_show() 59 if (block->gdp) in dasd_devices_show() 60 seq_printf(m, " at (%3d:%6d)", in dasd_devices_show() 61 MAJOR(disk_devt(block->gdp)), in dasd_devices_show() [all …]
|
| /kernel/linux/linux-5.10/Documentation/trace/ |
| D | histogram.rst | 7 1. Introduction 10 Histogram triggers are special event triggers that can be used to 15 2. Histogram Trigger Command 18 A histogram trigger command is an event trigger command that 33 numeric fields - on an event hit, the value(s) will be added to a 35 in place of an explicit value field - this is simply a count of 45 useful for providing more fine-grained summaries of event data. 51 its histogram data will be shared with other triggers of the same 69 numeric fields are displayed as base-10 integers. This can be 76 .sym-offset display an address as a symbol and offset [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
| D | ia_css_s3a.host.c | 1 // SPDX-License-Identifier: GPL-2.0 34 {-3344, -6104, -19143, 19143, 6104, 3344, 0}, 35 {1027, 0, -9219, 16384, -9219, 1027, 0} 54 to->y_coef_r = in ia_css_ae_encode() 55 uDIGIT_FITTING(from->ae_y_coef_r, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode() 56 to->y_coef_g = in ia_css_ae_encode() 57 uDIGIT_FITTING(from->ae_y_coef_g, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode() 58 to->y_coef_b = in ia_css_ae_encode() 59 uDIGIT_FITTING(from->ae_y_coef_b, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode() 70 to->lg_high_raw = in ia_css_awb_encode() [all …]
|
| /kernel/linux/linux-5.10/drivers/md/ |
| D | dm-stats.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/device-mapper.h> 14 #include "dm-core.h" 15 #include "dm-stats.h" 22 * Using 64-bit values to avoid overflow (which is a 33 unsigned long long *histogram; member 62 #define STAT_PRECISE_TIMESTAMPS 1 72 * exhaust 1/4 of all memory or 1/2 of vmalloc space. 91 if (a > (VMALLOC_END - VMALLOC_START) / DM_STATS_VMALLOC_FACTOR) in __check_shared_memory() 138 shared_memory_amount -= alloc_size; in free_shared_memory() [all …]
|
| /kernel/linux/linux-5.10/arch/s390/include/uapi/asm/ |
| D | dasd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 11 * to userspace by the DASDAPIVER-ioctl 20 #define DASD_IOCTL_LETTER 'D' 67 #define DASD_FORMAT_LDL 1 121 * Read Subsystem Data - Performance Statistics 124 unsigned char invalid:1; 164 unsigned int dasd_io_secs[32]; /* histogram of request's sizes */ 165 unsigned int dasd_io_times[32]; /* histogram of requests's times */ 166 unsigned int dasd_io_timps[32]; /* histogram of requests's times per sector */ 167 unsigned int dasd_io_time1[32]; /* histogram of time from build to start */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
| D | debugfs_htt_stats.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 15 HTT_STATS_TX_PDEV_UNDERRUN_TAG = 1, 118 HTT_STATS_TX_PDEV_DATA_UNDERRUN_BETWEEN_MPDU = 1, 230 * Tried_mpdu_cnt_hist is the histogram of MPDUs tries per HWQ. 234 * The histogram bins are 0-29, 30-59, 60-89 and so on. The are 235 * 10 bins in this histogram. They are defined in FW using the 425 /* element 0,1, ...7 -> NSS 1,2, ...8 */ 427 /* element 0: 20 MHz, 1: 40 MHz, 2: 80 MHz, 3: 160 and 80+80 MHz */ 433 * (400us, 800us, 1600us & 3200us) in each mcs (0-11) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
| D | debugfs.c | 4 * Copyright 2011-2020 NXP 11 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 12 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 14 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 46 * It prints the following driver related information - 47 * - Driver name 48 * - Driver version 49 * - Driver extended version 50 * - Interface name 51 * - BSS mode [all …]
|
| D | util.c | 4 * Copyright 2011-2020 NXP 11 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 12 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 14 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 30 item_addr(debug_mask), 1}, 32 item_addr(int_counter), 1}, 34 item_addr(packets_out[WMM_AC_VO]), 1}, 36 item_addr(packets_out[WMM_AC_VI]), 1}, 38 item_addr(packets_out[WMM_AC_BE]), 1}, 40 item_addr(packets_out[WMM_AC_BK]), 1}, [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| D | renesas,cmm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car Color Management Module (CMM) 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 11 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 12 - Jacopo Mondi <jacopo+renesas@jmondi.org> 15 Renesas R-Car color management module connected to R-Car DU video channels. 16 It provides image enhancement functions such as 1-D look-up tables (LUT), 17 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
| D | vsp1_hgo.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * vsp1_hgo.h -- R-Car VSP1 Histogram Generator 1D 12 #include <media/media-entity.h> 13 #include <media/v4l2-ctrls.h> 14 #include <media/v4l2-subdev.h>
|
| /kernel/linux/linux-5.10/drivers/staging/media/rkisp1/uapi/ |
| D | rkisp1-config.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 12 /* Vendor specific - used for RK_ISP1 camera sub-system */ 13 #define V4L2_META_FMT_RK_ISP1_PARAMS v4l2_fourcc('R', 'K', '1', 'P') /* Rockchip ISP1 params */ 14 #define V4L2_META_FMT_RK_ISP1_STAT_3A v4l2_fourcc('R', 'K', '1', 'S') /* Rockchip ISP1 3A statisti… 17 #define RKISP1_CIF_ISP_MODULE_DPCC (1U << 0) 19 #define RKISP1_CIF_ISP_MODULE_BLS (1U << 1) 20 /* Sensor De-gamma */ 21 #define RKISP1_CIF_ISP_MODULE_SDG (1U << 2) 22 /* Histogram */ 23 #define RKISP1_CIF_ISP_MODULE_HST (1U << 3) [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
| D | ispstat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - Statistics core 15 #include <linux/dma-mapping.h> 22 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL) 56 #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af) 57 #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb) 68 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 69 dma_sync(stat->isp->dev, buf->dma_addr + (buf_size & PAGE_MASK), in __isp_stat_buf_sync_magic() 101 buf->buf_size + AF_EXTRA_DATA : buf->buf_size; in isp_stat_buf_check_magic() 104 int ret = -EINVAL; in isp_stat_buf_check_magic() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/tests/ |
| D | nandbiterrs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Test for multi-bit error recovery on a NAND page This mostly tests the 11 * 0 - artificially inserting bit errors until the ECC fails 15 * 1 - re-writing the same pattern repeatedly until the ECC fails. 17 * generate '0' bits if '1' has been written sufficient times. 55 MODULE_PARM_DESC(mode, "0=incremental errors, 1=overwrite test"); 85 c = (c & 0x55) << 1 | (c & 0xAA) >> 1; in hash() 95 return mtdtest_write(mtd, offset, mtd->writesize, wbuffer); in write_page() 98 /* Re-writes the data area while leaving the OOB alone. */ 108 ops.len = mtd->writesize; in rewrite_page() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
| D | kvm-recheck-rcuscale.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 6 # Usage: kvm-recheck-rcuscale.sh resdir 12 i="$1" 13 if test -d "$i" -a -r "$i" 18 exit 1 23 if kvm-recheck-rcuscale-ftrace.sh $i 29 configfile=`echo $i | sed -e 's/^.*\///'` 31 sed -e 's/^\[[^]]*]//' < $i/console.log | 33 /-scale: .* gps: .* batches:/ { 38 /-scale: .*writer-duration/ { [all …]
|