/linux-6.12.1/samples/livepatch/ |
D | livepatch-callbacks-demo.c | 1 // 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 …]
|
/linux-6.12.1/drivers/comedi/ |
D | comedi_buf.c | 1 // 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 …]
|
/linux-6.12.1/tools/perf/util/ |
D | events_stats.h | 1 /* 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 24 * The BPF program can discard samples according to the filter expressions given 27 * lost samples, perf tools sets PERF_RECORD_MISC_LOST_SAMPLES_BPF flag in the 28 * header.misc field. The number of dropped-samples events is stored in 30 * exactly how many samples the BPF program in fact dropped, i.e. it is the sum 34 * The total_period is needed because by default auto-freq is used, so
|
/linux-6.12.1/samples/bpf/ |
D | README.rst | 4 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 …]
|
/linux-6.12.1/tools/perf/tests/shell/common/ |
D | patterns.sh | 1 # SPDX-License-Identifier: GPL-2.0 3 export RE_NUMBER="[0-9\.]+" 9 export RE_NUMBER_HEX="[0-9A-Fa-f]+" 18 …xport RE_DATE_YYYYMMDD="[0-9]{4}-(?:(?:01|03|05|07|08|10|12)-(?:[0-2][0-9]|3[0-1])|02-[0-2][0-9]|(… 19 # Date in YYYY-MM-DD form 21 # 1990-02-29 22 # 0015-07-31 23 # 2456-12-31 24 #! 2012-13-01 25 #! 1963-09-31 [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/input/ |
D | microchip,qt1050.txt | 1 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 …]
|
/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_hwrt.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 22 * struct pvr_rt_mtile_info - Render target macrotile information 45 struct pvr_device *pvr_dev = pvr_file->pvr_dev; in hwrt_init_kernel_structure() 49 hwrt->pvr_dev = pvr_dev; in hwrt_init_kernel_structure() 50 hwrt->max_rts = args->layers; in hwrt_init_kernel_structure() 53 for (i = 0; i < ARRAY_SIZE(hwrt->free_lists); i++) { in hwrt_init_kernel_structure() 54 hwrt->free_lists[i] = pvr_free_list_lookup(pvr_file, args->free_list_handles[i]); in hwrt_init_kernel_structure() 55 if (!hwrt->free_lists[i]) { in hwrt_init_kernel_structure() 56 err = -EINVAL; in hwrt_init_kernel_structure() 61 if (hwrt->free_lists[ROGUE_FW_LOCAL_FREELIST]->current_pages < in hwrt_init_kernel_structure() [all …]
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | quatech_daqp_cs.c | 1 // 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 …]
|
/linux-6.12.1/tools/testing/selftests/lkdtm/ |
D | stack-entropy.sh | 2 # 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 …]
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | fsl-imx25-tcq.c | 1 // 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 …]
|
D | mainstone-wm97xx.c | 1 // 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 …]
|
/linux-6.12.1/drivers/iio/pressure/ |
D | zpa2326.c | 1 // 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 …]
|
/linux-6.12.1/tools/perf/Documentation/ |
D | tips.txt | 1 For a higher level overview, try: perf report --sort comm,dso 2 Sample related events with: perf record -e '{cycles,instructions}:S' 4 Boolean options have negative forms, e.g.: perf report --no-children 5 To not accumulate CPU time of children symbols add --no-children 6 Customize output of perf script with: perf script -F event,ip,sym 7 Generate a script for your data: perf script -g <lang> 10 Search options using a keyword: perf report -h <keyword> 11 Use parent filter to see specific call path: perf report -p <regex> 13 To see list of saved events and attributes: perf evlist -v 14 Use --symfs <dir> if your symbol files are in non-standard locations [all …]
|
D | perf-arm-spe.txt | 1 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 …]
|
D | examples.txt | 2 ------------------------------ 4 ------------------------------ 6 [ From an e-mail by Ingo Molnar, https://lore.kernel.org/lkml/20090804195717.GA5998@elte.hu ] 31 titan:~> perf stat -e kmem:mm_page_pcpu_drain -e kmem:mm_page_alloc 32 -e kmem:mm_page_free_batched -e kmem:mm_page_free ./hackbench 10 47 titan:~> perf stat --repeat 5 -e kmem:mm_page_pcpu_drain -e 48 kmem:mm_page_alloc -e kmem:mm_page_free_batched -e 58 12920 kmem:mm_page_pcpu_drain ( +- 3.359% ) 59 25035 kmem:mm_page_alloc ( +- 3.783% ) 60 6104 kmem:mm_page_free_batched ( +- 0.934% ) [all …]
|
/linux-6.12.1/Documentation/userspace-api/ |
D | perf_ring_buffer.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 2.2.2 Per-thread mode 16 2.2.3 Per-CPU mode 19 2.3.1 Producer-consumer model 21 2.3.3 Writing samples into buffer 22 2.3.4 Reading samples from buffer 55 ------------------- 63 +---------------------------+ 65 +---------------------------+ 66 `-> Tail `-> Head [all …]
|
/linux-6.12.1/sound/pci/cs46xx/ |
D | cs46xx_dsp_scb_types.h | 1 /* 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 …]
|
/linux-6.12.1/drivers/iio/common/inv_sensors/ |
D | inv_sensors_timestamp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 (((_val) * (1000 - (_jitter))) / 1000) 27 acc->values[acc->idx++] = val; in inv_update_acc() 28 if (acc->idx >= ARRAY_SIZE(acc->values)) in inv_update_acc() 29 acc->idx = 0; in inv_update_acc() 32 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { in inv_update_acc() 33 if (acc->values[i] == 0) in inv_update_acc() 35 sum += acc->values[i]; in inv_update_acc() 38 acc->val = div_u64(sum, i); in inv_update_acc() 47 ts->chip = *chip; in inv_sensors_timestamp_init() [all …]
|
/linux-6.12.1/Documentation/hwmon/ |
D | ina3221.rst | 10 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 …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | es8311.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8311.c -- es8311 ALSA SoC audio driver 38 static const DECLARE_TLV_DB_SCALE(es8311_adc_vol_tlv, -9550, 50, 0); 68 0, 1, TLV_DB_SCALE_ITEM(-3010, 600, 0), 69 2, 3, TLV_DB_SCALE_ITEM(-2060, 250, 0), 70 4, 5, TLV_DB_SCALE_ITEM(-1610, 160, 0), 71 6, 7, TLV_DB_SCALE_ITEM(-1320, 120, 0), 72 8, 9, TLV_DB_SCALE_ITEM(-1100, 90, 0), 73 10, 11, TLV_DB_SCALE_ITEM(-930, 80, 0), 74 12, 15, TLV_DB_SCALE_ITEM(-780, 60, 0), [all …]
|
/linux-6.12.1/tools/testing/selftests/ftrace/ |
D | README | 39 minimal cross-build environments. 41 * Note that the tests are run with "set -e" (errexit) option. If any 61 or the test was set up incorrectly 73 There are some sample test scripts for result code under samples/. 74 You can also run samples as below: 76 # ./ftracetest samples/
|
/linux-6.12.1/kernel/time/ |
D | posix-cpu-timers.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/posix-timers.h> 20 #include "posix-timers.h" 28 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init() 29 pct->timers_active = true; in posix_cputimers_group_init() 35 * tsk->signal->posix_cputimers.bases[clock].nextevt expiration cache if 39 * Returns 0 on success, -ESRCH on failure. Can fail if the task is exiting and 48 return -ESRCH; in update_rlimit_cpu() 102 ret = pid_for_clock(clock, false) ? 0 : -EINVAL; in validate_clock_permissions() 115 return pid_task(timer->it.cpu.pid, clock_pid_type(timer->it_clock)); in cpu_timer_task_rcu() [all …]
|
/linux-6.12.1/tools/tracing/rtla/src/ |
D | osnoise_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 50 int *samples; member 68 * osnoise_free_histogram - free runtime data 76 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram() 77 if (data->hist[cpu].samples) in osnoise_free_histogram() 78 free(data->hist[cpu].samples); in osnoise_free_histogram() 82 if (data->hist) in osnoise_free_histogram() 83 free(data->hist); in osnoise_free_histogram() 89 * osnoise_alloc_histogram - alloc runtime data 101 data->entries = entries; in osnoise_alloc_histogram() [all …]
|
/linux-6.12.1/net/ipv4/ |
D | tcp_vegas.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * IEEE Journal on Selected Areas in Communication, 13(8):1465--1480, 17 * using fine-grained timers, NewReno, and FACK. 19 * only every-other RTT during slow start, we increase during 29 * o When the sender re-starts from idle, it waits until it has 55 /* There are several situations when we must "re-start" Vegas: 65 * stale info -- both the saved cwnd and congestion feedback are 76 /* Begin taking Vegas samples next time we send something. */ in vegas_enable() 77 vegas->doing_vegas_now = 1; in vegas_enable() 80 vegas->beg_snd_nxt = tp->snd_nxt; in vegas_enable() [all …]
|
/linux-6.12.1/Documentation/sound/cards/ |
D | sb-live-mixer.rst | 19 (index 0) for a given card) allows to forward 48kHz, stereo, 16-bit 21 (coaxial or optical). The universal interface allows the creation of up 22 to 8 raw PCM devices operating at 48kHz, 16-bit little endian. It would 24 but the conversion routines exist only for stereo (2-channel streams) 34 functionality. Only the default built-in code in the ALSA driver is described 48 one-way three wire serial bus for digital sound by Philips Semiconductors 56 FX-bus 63 --------------------------------------- 64 This control is used to attenuate samples from left and right PCM FX-bus 65 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples. [all …]
|