Home
last modified time | relevance | path

Searched +full:up +full:- +full:samples (Results 1 – 25 of 843) sorted by relevance

12345678910>>...34

/kernel/linux/linux-5.10/arch/powerpc/oprofile/cell/
Dspu_profiler.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #include <asm/cell-pmu.h>
20 static u32 *samples; variable
83 * the two 64-bit buffer entries that make up the in spu_pc_extract()
84 * 128-bit trace_buffer entry. Process two 64-bit values in spu_pc_extract()
92 for (spu = SPUS_PER_TB_ENTRY-1; spu >= 0; spu--) { in spu_pc_extract()
96 samples[spu * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
98 samples[(spu + SPUS_PER_TB_ENTRY) * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
148 * the samples. In the very unlikely case that the processing in profile_spus()
150 * started to process the samples. Make sure only one kernel in profile_spus()
[all …]
/kernel/linux/linux-6.6/samples/livepatch/
Dlivepatch-callbacks-demo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * livepatch-callbacks-demo.c - (un)patching callbacks livepatch demo
11 * -------
17 * -----
19 * Step 1 - load the simple module
21 * insmod samples/livepatch/livepatch-callbacks-mod.ko
24 * Step 2 - load the demonstration livepatch (with callbacks)
26 * insmod samples/livepatch/livepatch-callbacks-demo.ko
29 * Step 3 - cleanup
38 * NOTE: swap the insmod order of livepatch-callbacks-mod.ko and
[all …]
/kernel/linux/linux-5.10/samples/livepatch/
Dlivepatch-callbacks-demo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * livepatch-callbacks-demo.c - (un)patching callbacks livepatch demo
11 * -------
17 * -----
19 * Step 1 - load the simple module
21 * insmod samples/livepatch/livepatch-callbacks-mod.ko
24 * Step 2 - load the demonstration livepatch (with callbacks)
26 * insmod samples/livepatch/livepatch-callbacks-demo.ko
29 * Step 3 - cleanup
38 * NOTE: swap the insmod order of livepatch-callbacks-mod.ko and
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/
Dcomedi_buf.c1 // SPDX-License-Identifier: GPL-2.0+
5 * COMEDI - Linux Control and Measurement Device Interface
6 * Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org>
29 if (bm->page_list) { in comedi_buf_map_kref_release()
30 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_kref_release()
35 buf = &bm->page_list[0]; in comedi_buf_map_kref_release()
36 dma_free_coherent(bm->dma_hw_dev, in comedi_buf_map_kref_release()
37 PAGE_SIZE * bm->n_pages, in comedi_buf_map_kref_release()
38 buf->virt_addr, buf->dma_addr); in comedi_buf_map_kref_release()
40 for (i = 0; i < bm->n_pages; i++) { in comedi_buf_map_kref_release()
[all …]
/kernel/linux/linux-6.6/drivers/comedi/
Dcomedi_buf.c1 // SPDX-License-Identifier: GPL-2.0+
5 * COMEDI - Linux Control and Measurement Device Interface
6 * Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org>
28 if (bm->page_list) { in comedi_buf_map_kref_release()
29 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_kref_release()
34 buf = &bm->page_list[0]; in comedi_buf_map_kref_release()
35 dma_free_coherent(bm->dma_hw_dev, in comedi_buf_map_kref_release()
36 PAGE_SIZE * bm->n_pages, in comedi_buf_map_kref_release()
37 buf->virt_addr, buf->dma_addr); in comedi_buf_map_kref_release()
39 for (i = 0; i < bm->n_pages; i++) { in comedi_buf_map_kref_release()
[all …]
/kernel/linux/linux-6.6/samples/bpf/
DREADME.rst4 This directory contains a test stubs, verifier test-suite and examples
7 Note that the XDP-specific samples have been removed from this directory and
8 moved to the xdp-tools repository: https://github.com/xdp-project/xdp-tools
10 convert specific command invocations between the old samples and the utilities
11 in xdp-tools.
24 command: ``llc --version``
27 -----------------------
29 It can be needed to clean tools, samples or kernel before trying new arch or
32 make -C tools clean
33 make -C samples/bpf clean
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_timestamp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 /* allow a jitter of +/- 2% */
19 (((_p) * (100 - INV_ICM42600_TIMESTAMP_JITTER)) / 100)
29 acc->values[acc->idx++] = val; in inv_update_acc()
30 if (acc->idx >= ARRAY_SIZE(acc->values)) in inv_update_acc()
31 acc->idx = 0; in inv_update_acc()
34 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { in inv_update_acc()
35 if (acc->values[i] == 0) in inv_update_acc()
37 sum += acc->values[i]; in inv_update_acc()
40 acc->val = div_u64(sum, i); in inv_update_acc()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dmicrochip,qt1050.txt1 Microchip AT42QT1050 Five-channel Touch Sensor IC
11 - compatible: Must be "microchip,qt1050"
12 - reg: The I2C address of the device
13 - interrupts: The sink for the touchpad's IRQ output,
14 see ../interrupt-controller/interrupts.txt
17 - wakeup-source: touch keys can be used as a wakeup source
19 Each button (key) is represented as a sub-node:
25 - linux,code: Keycode to emit.
26 - reg: The key number. Valid values: 0, 1, 2, 3, 4.
28 Optional subnode-properties:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Dmicrochip,qt1050.txt1 Microchip AT42QT1050 Five-channel Touch Sensor IC
11 - compatible: Must be "microchip,qt1050"
12 - reg: The I2C address of the device
13 - interrupts: The sink for the touchpad's IRQ output,
14 see ../interrupt-controller/interrupts.txt
17 - wakeup-source: touch keys can be used as a wakeup source
19 Each button (key) is represented as a sub-node:
25 - linux,code: Keycode to emit.
26 - reg: The key number. Valid values: 0, 1, 2, 3, 4.
28 Optional subnode-properties:
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/lkdtm/
Dstack-entropy.sh2 # SPDX-License-Identifier: GPL-2.0
5 set -e
6 samples="${1:-1000}"
7 TRIGGER=/sys/kernel/debug/provoke-crash/DIRECT
11 if [ ! -r $TRIGGER ] ; then
12 /sbin/modprobe -q lkdtm || true
13 if [ ! -r $TRIGGER ] ; then
22 # Capture dmesg continuously since it may fill up depending on sample size.
23 log=$(mktemp -t stack-entropy-XXXXXX)
24 dmesg --follow >"$log" & pid=$!
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dzylonite-wm97xx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * zylonite-wm97xx.c -- Zylonite Continuous Touch screen driver
28 #include <mach/regs-ac97.h>
93 * to buffer up samples otherwise we end up spinning polling in wm97xx_acc_pen_down()
94 * for samples. The controller can't have a suitably low in wm97xx_acc_pen_down()
117 dev_dbg(wm->dev, "Raw coordinates: x=%x, y=%x, p=%x\n", in wm97xx_acc_pen_down()
120 /* are samples valid */ in wm97xx_acc_pen_down()
124 goto up; in wm97xx_acc_pen_down()
128 input_report_abs(wm->input_dev, ABS_X, x & 0xfff); in wm97xx_acc_pen_down()
129 input_report_abs(wm->input_dev, ABS_Y, y & 0xfff); in wm97xx_acc_pen_down()
[all …]
Dfsl-imx25-tcq.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2014-2015 Pengutronix, Markus Pargmann <mpa@pengutronix.de>
14 #include <linux/mfd/imx25-tsadc.h>
20 static const char mx25_tcq_name[] = "mx25-tcq";
50 { .compatible = "fsl,imx25-tcq", },
103 regmap_write(priv->core_regs, MX25_TSC_TICR, precharge_cfg); in imx25_setup_queue_cfgs()
106 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_PRECHARGE), in imx25_setup_queue_cfgs()
110 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_TOUCH_DETECT), in imx25_setup_queue_cfgs()
114 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_X_MEASUREMENT), in imx25_setup_queue_cfgs()
121 MX25_ADCQ_CFG_NOS(priv->sample_count) | in imx25_setup_queue_cfgs()
[all …]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
Dfsl-imx25-tcq.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2014-2015 Pengutronix, Markus Pargmann <mpa@pengutronix.de>
14 #include <linux/mfd/imx25-tsadc.h>
20 static const char mx25_tcq_name[] = "mx25-tcq";
50 { .compatible = "fsl,imx25-tcq", },
103 regmap_write(priv->core_regs, MX25_TSC_TICR, precharge_cfg); in imx25_setup_queue_cfgs()
106 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_PRECHARGE), in imx25_setup_queue_cfgs()
110 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_TOUCH_DETECT), in imx25_setup_queue_cfgs()
114 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_X_MEASUREMENT), in imx25_setup_queue_cfgs()
121 MX25_ADCQ_CFG_NOS(priv->sample_count) | in imx25_setup_queue_cfgs()
[all …]
Dmainstone-wm97xx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * mainstone-wm97xx.c -- Mainstone Continuous Touch screen driver for
16 * - codecs supported:- WM9705, WM9712, WM9713
17 * - processors supported:- Intel XScale PXA25x, PXA26x, PXA27x
31 #include <sound/pxa2xx-lib.h>
33 #include <asm/mach-types.h>
122 * to buffer up samples otherwise we end up spinning polling in wm97xx_acc_pen_down()
123 * for samples. The controller can't have a suitably low in wm97xx_acc_pen_down()
146 dev_dbg(wm->dev, "Raw coordinates: x=%x, y=%x, p=%x\n", in wm97xx_acc_pen_down()
149 /* are samples valid */ in wm97xx_acc_pen_down()
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dquatech_daqp_cs.c1 // SPDX-License-Identifier: GPL-2.0
8 * COMEDI - Linux Control and Measurement Device Interface
13 * ftp://ftp.quatech.com/Manuals/daqp-208.pdf
15 * This manual is for both the DAQP-208 and the DAQP-308.
18 * - A/D conversion
19 * - 8 channels
20 * - 4 gain ranges
21 * - ground ref or differential
22 * - single-shot and timed both supported
23 * - D/A conversion, single-shot
[all …]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
Dquatech_daqp_cs.c1 // SPDX-License-Identifier: GPL-2.0
8 * COMEDI - Linux Control and Measurement Device Interface
13 * ftp://ftp.quatech.com/Manuals/daqp-208.pdf
15 * This manual is for both the DAQP-208 and the DAQP-308.
18 * - A/D conversion
19 * - 8 channels
20 * - 4 gain ranges
21 * - ground ref or differential
22 * - single-shot and timed both supported
23 * - D/A conversion, single-shot
[all …]
/kernel/linux/linux-6.6/tools/perf/util/
Devents_stats.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 * The kernel discards mixed up samples and sends the number in a
18 * PERF_RECORD_LOST_SAMPLES event. The number of lost-samples events is stored
20 * exactly how many samples the kernel in fact dropped, i.e. it is the sum of
23 * The total_period is needed because by default auto-freq is used, so
/kernel/linux/linux-5.10/tools/perf/util/
Devents_stats.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 * The kernel discards mixed up samples and sends the number in a
18 * PERF_RECORD_LOST_SAMPLES event. The number of lost-samples events is stored
20 * exactly how many samples the kernel in fact dropped, i.e. it is the sum of
23 * The total_period is needed because by default auto-freq is used, so
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dzpa2326.c1 // SPDX-License-Identifier: GPL-2.0-only
30 * process continuously pushing samples into an internal hardware FIFO (for
31 * pressure samples only). Measurement cycle completion may be signaled by a
34 * - get device out of low power mode,
35 * - setup hardware sampling period,
36 * - at end of period, upon data ready interrupt: pop pressure samples out of
38 * - when no longer needed, stop sampling process by putting device into
51 * hardware samples averaging.
70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
[all …]
/kernel/linux/linux-6.6/drivers/iio/pressure/
Dzpa2326.c1 // SPDX-License-Identifier: GPL-2.0-only
30 * process continuously pushing samples into an internal hardware FIFO (for
31 * pressure samples only). Measurement cycle completion may be signaled by a
34 * - get device out of low power mode,
35 * - setup hardware sampling period,
36 * - at end of period, upon data ready interrupt: pop pressure samples out of
38 * - when no longer needed, stop sampling process by putting device into
51 * hardware samples averaging.
70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
[all …]
/kernel/linux/linux-6.6/tools/perf/Documentation/
Dperf-arm-spe.txt1 perf-arm-spe(1)
5 ----
6 perf-arm-spe - Support for Arm Statistical Profiling Extension within Perf tools
9 --------
11 'perf record' -e arm_spe//
14 -----------
17 events down to individual instructions. Rather than being interrupt-driven, it picks an
33 architectural instructions or all micro-ops. Sampling happens at a programmable interval. The
35 sample. This minimum interval is used by the driver if no interval is specified. A pseudo-random
62 ----------------
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dposix-cpu-timers.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/posix-timers.h>
19 #include "posix-timers.h"
27 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init()
28 pct->timers_active = true; in posix_cputimers_group_init()
34 * tsk->signal->posix_cputimers.bases[clock].nextevt expiration cache if
42 spin_lock_irq(&task->sighand->siglock); in update_rlimit_cpu()
44 spin_unlock_irq(&task->sighand->siglock); in update_rlimit_cpu()
95 ret = pid_for_clock(clock, false) ? 0 : -EINVAL; in validate_clock_permissions()
108 return pid_task(timer->it.cpu.pid, clock_pid_type(timer->it_clock)); in cpu_timer_task_rcu()
[all …]
/kernel/linux/linux-5.10/sound/pci/cs46xx/
Dcs46xx_dsp_scb_types.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
32 31 [30-28]27 [26:24] 23 22 21 20 [19:18] [17:16] 15 14 13 12 11 10 9 8 7 6 [5:0]
35 |H|_____ |H|_________|S_|D |__|__|______|_______|___|ne|__ |__ |__|__|_|_|_|_|_Count -1|
44 u32 npaw; /* Next-Page Address Word */
48 31-30 29 28 [27:16] [15:12] [11:3] [2:0]
50 |SV |LE|SE| Sample-end byte offset | | Page-map entry offset for next | |
51 |page|__|__| ___________________________|_________|__page, if !sample-end___________|____|
53 u32 npcw; /* Next-Page Control Word */
54 u32 lbaw; /* Loop-Begin Address Word */
55 u32 nplbaw; /* Next-Page after Loop-Begin Address Word */
[all …]
/kernel/linux/linux-6.6/sound/pci/cs46xx/
Dcs46xx_dsp_scb_types.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
32 31 [30-28]27 [26:24] 23 22 21 20 [19:18] [17:16] 15 14 13 12 11 10 9 8 7 6 [5:0]
35 |H|_____ |H|_________|S_|D |__|__|______|_______|___|ne|__ |__ |__|__|_|_|_|_|_Count -1|
44 u32 npaw; /* Next-Page Address Word */
48 31-30 29 28 [27:16] [15:12] [11:3] [2:0]
50 |SV |LE|SE| Sample-end byte offset | | Page-map entry offset for next | |
51 |page|__|__| ___________________________|_________|__page, if !sample-end___________|____|
53 u32 npcw; /* Next-Page Control Word */
54 u32 lbaw; /* Loop-Begin Address Word */
55 u32 nplbaw; /* Next-Page after Loop-Begin Address Word */
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dina3221.rst10 Addresses: I2C 0x40 - 0x43
19 -----------
22 side of up to three D.C. power supplies. The INA3221 monitors both shunt drop
24 and power are calculated host-side from these.
27 -------------
56 samples Number of samples using in the averaging mode.
58 Supports the list of number of samples:
67 * S: number of samples
68 * BC: bus-voltage conversion time in millisecond
69 * SC: shunt-voltage conversion time in millisecond
[all …]

12345678910>>...34