/linux/Documentation/devicetree/bindings/sound/ |
H A D | da7218.txt | 3 DA7218 is an audio codec with HP detect feature. 8 - compatible : Should be "dlg,da7217" or "dlg,da7218" 9 - reg: Specifies the I2C slave address 11 - VDD-supply: VDD power supply for the device 12 - VDDMIC-supply: VDDMIC power supply for the device 13 - VDDIO-supply: VDDIO power supply for the device 18 - interrupts: IRQ line info for DA7218 chip. 19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for 21 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if 23 - wakeup-source: Flag to indicate this device can wake system (suspend/resume). [all …]
|
H A D | cirrus,cs42l43.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 21 - $ref: dai-common.yaml# 26 - cirrus,cs42l43 31 vdd-p-supply: 35 vdd-a-supply: 39 vdd-d-supply: 43 vdd-io-supply: [all …]
|
/linux/Documentation/tools/rtla/ |
H A D | rtla-hwnoise.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 rtla-hwnoise 6 ------------------------------------------ 7 Detect and quantify hardware-related noise 8 ------------------------------------------ 22 of threads as a consequence, only non-maskable interrupts and hardware-related 38 In the example below, the **rtla hwnoise** tool is set to run on CPUs *1-7* 39 on a system with 8 cores/16 threads with hyper-threading enabled. 41 The tool is set to detect any noise higher than *one microsecond*, 45 # rtla hwnoise -c 1-7 -T 1 -d 10m -q [all …]
|
/linux/drivers/usb/storage/ |
H A D | shuttle_usbat.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for SCM Microsystems (a.k.a. Shuttle) USB-ATAPI cable 20 * which does the USB-to-ATAPI conversion. By obtaining the data sheet on 46 #define DRV_NAME "ums-usbat" 48 MODULE_DESCRIPTION("Driver for SCM Microsystems (a.k.a. Shuttle) USB-ATAPI cable"); 107 #define USBAT_UIO_CDT 0x40 /* Card Detect (Read Only) */ 118 #define USBAT_UIO_ACKD 0x40 /* Enable Card Detect */ 149 static int usbat_flash_transport(struct scsi_cmnd * srb, struct us_data *us); 150 static int usbat_hp8200e_transport(struct scsi_cmnd *srb, struct us_data *us); 152 static int init_usbat_cd(struct us_data *us); [all …]
|
H A D | isd200.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Transport & Protocol Driver for In-System Design, Inc. ISD200 ASIC 6 * (C) 2001-2002 Björn Stenberg (bjorn@haxx.se) 12 * (C) 2000 In-System Design, Inc. (support@in-system.com) 20 * 2002-10-19: Removed the specialized transfer routines. 22 * 2001-02-24: Removed lots of duplicate code and simplified the structure. 24 * 2002-01-16: Fixed endianness bug so it works on the ppc arch. 26 * 2002-01-17: All bitfields removed. 51 #define DRV_NAME "ums-isd200" 53 MODULE_DESCRIPTION("Driver for In-System Design, Inc. ISD200 ASIC"); [all …]
|
/linux/Documentation/w1/masters/ |
H A D | w1-uart.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 4 Kernel driver w1-uart 11 ----------- 13 UART 1-Wire bus driver. The driver utilizes the UART interface via the 14 Serial Device Bus to create the 1-Wire timing patterns as described in 15 the document `"Using a UART to Implement a 1-Wire Bus Master"`_. 17 …g a UART to Implement a 1-Wire Bus Master": https://www.analog.com/en/technical-articles/using-a-u… 19 In short, the UART peripheral must support full-duplex and operate in 20 open-drain mode. The timing patterns are generated by a specific 21 combination of baud-rate and transmitted byte, which corresponds to a [all …]
|
/linux/include/linux/ |
H A D | integrity.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Author: Mimi Zohar <zohar@us.ibm.com> 40 * On stacked filesystems the i_version alone is not enough to detect file data 47 attrs->version = i_version; in integrity_inode_attrs_store() 48 attrs->dev = inode->i_sb->s_dev; in integrity_inode_attrs_store() 49 attrs->ino = inode->i_ino; in integrity_inode_attrs_store() 53 * On stacked filesystems detect whether the inode or its content has changed. 59 return (inode->i_sb->s_dev != attrs->dev || in integrity_inode_attrs_changed() 60 inode->i_ino != attrs->ino || in integrity_inode_attrs_changed() 61 !inode_eq_iversion(inode, attrs->version)); in integrity_inode_attrs_changed()
|
/linux/drivers/w1/masters/ |
H A D | w1-uart.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * w1-uart - UART 1-Wire bus driver 5 * Uses the UART interface (via Serial Device Bus) to create the 1-Wire 6 * timing patterns. Implements the following 1-Wire master interface: 8 * - reset_bus: requests baud-rate 9600 10 * - touch_bit: requests baud-rate 115200 27 /* Timeout to wait for completion of serdev-receive */ 31 * struct w1_uart_config - configuration for 1-Wire operation 32 * @baudrate: baud-rate returned from serdev 33 * @delay_us: delay to complete a 1-Wire cycle (in us) [all …]
|
/linux/Documentation/usb/ |
H A D | gadget_multi.rst | 18 have two configurations -- one with RNDIS and another with CDC ECM[3]. 20 Please note that if you use non-standard configuration (that is enable 26 To make use of the gadget one needs to make it work on host side -- 31 ------------------ 38 This is also true for two configuration set-up with RNDIS 43 -------------------- 50 First of all, Windows need to detect the gadget as an USB composite 61 create a proper INF -- and of course, if you do submit it! 69 For mass storage it is trivial since Windows detect it's an interface 90 Similarly, [[file:linux-cdc-acm.inf]] is provided for CDC ACM. [all …]
|
/linux/tools/testing/selftests/kvm/ |
H A D | rseq_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 * Any bug related to task migration is likely to be timing-dependent; perform 86 * Bump the sequence count twice to allow the reader to detect in migration_worker() 89 * is in-progress, while a completely different count indicates in migration_worker() 96 * stable, i.e. while changing affinity is in-progress. in migration_worker() 108 * Wait 1-10us before proceeding to the next iteration and more in migration_worker() 135 * 3. To ensure the read-side makes efficient forward progress, in migration_worker() 136 * e.g. if getcpu() involves a syscall. Stalling the read-side in migration_worker() 138 * to stabilize and less time trying to hit the timing-dependent in migration_worker() 141 * Because any bug in this area is likely to be timing-dependent, in migration_worker() [all …]
|
/linux/Documentation/hwmon/ |
H A D | k10temp.rst | 8 Socket F: Quad-Core/Six-Core/Embedded Opteron (but see below) 10 Socket AM2+: Quad-Core Opteron, Phenom (II) X3/X4, Athlon X2 (but see below) 12 Socket AM3: Quad-Core Opteron, Athlon/Phenom II X2/X3/X4, Sempron II 20 * AMD Family 12h processors: "Llano" (E2/A4/A6/A8-Series) 22 * AMD Family 14h processors: "Brazos" (C/E/G/Z-Series) 24 * AMD Family 15h processors: "Bulldozer" (FX-Series), "Trinity", "Kaveri", 43 http://support.amd.com/us/Processor_TechDocs/31116.pdf 47 http://support.amd.com/us/Processor_TechDocs/41256.pdf 51 http://support.amd.com/us/Processor_TechDocs/41131.pdf 53 BIOS and Kernel Developer's Guide (BKDG) for AMD Family 14h Models 00h-0Fh Processors: [all …]
|
H A D | zl6100.rst | 10 Addresses scanned: - 12 Datasheet: https://www.renesas.com/us/en/document/dst/zl2004-datasheet.pdf 18 Addresses scanned: - 20 Datasheet: https://www.renesas.com/us/en/document/dst/zl2005-datasheet.pdf 26 Addresses scanned: - 28 Datasheet: https://www.renesas.com/us/en/document/dst/zl2006-datasheet.pdf 34 Addresses scanned: - 36 Datasheet: https://www.renesas.com/us/en/document/dst/zl2008-datasheet.pdf 42 Addresses scanned: - 44 Datasheet: https://www.renesas.com/us/en/document/dst/zl2105-datasheet.pdf [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | stmpe-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 46 #define STMPE_TS_NAME "stmpe-ts" 50 * struct stmpe_touch - stmpe811 touch screen controller state 57 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples) 58 * @touch_det_delay: Touch detect interrupt delay 59 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us, 60 * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms) 63 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms, 64 * 4 -> 5 ms, 5 -> 10 ms, 6 for 50 ms, 7 -> 100 ms) 70 * (0 -> 20 mA typical 35 mA max, 1 -> 50 mA typical 80 mA max) [all …]
|
/linux/arch/mips/include/asm/ |
H A D | mips-cps.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 106 #include <asm/mips-cm.h> 107 #include <asm/mips-cpc.h> 108 #include <asm/mips-gic.h> 111 * mips_cps_numclusters - return the number of clusters present in the system 124 * mips_cps_cluster_config - return (GCR|CPC)_CONFIG from a cluster 147 * powered up allowing us not to need to power up the CM. in mips_cps_cluster_config() 158 * mips_cps_numcores - return the number of cores present in a cluster 175 * mips_cps_numiocu - return the number of IOCUs present in a cluster 191 * mips_cps_numvps - return the number of VPs (threads) supported by a core [all …]
|
/linux/lib/ |
H A D | Kconfig.kasan | 1 # SPDX-License-Identifier: GPL-2.0-only 23 def_bool $(cc-option, -fsanitize=kernel-address) 26 def_bool $(cc-option, -fsanitize=kernel-hwaddress) 43 Enables KASAN (Kernel Address Sanitizer) - a dynamic memory safety 44 error detector designed to find out-of-bounds and use-after-free bugs. 46 See Documentation/dev-tools/kasan.rst for details. 53 …def_bool (CC_IS_CLANG && $(cc-option,-fsanitize=kernel-address -mllvm -asan-kernel-mem-intrinsic-p… 54 (CC_IS_GCC && $(cc-option,-fsanitize=kernel-address --param asan-kernel-mem-intrinsic-prefix=1)) 69 2. Software Tag-Based KASAN (arm64 only, based on software memory 72 3. Hardware Tag-Based KASAN (arm64 only, based on hardware memory [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull-dhcom-picoitx.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 * DHCM-iMX6ULL-C080-R051-F0409-SPI-E2-CAN2-SD-RTC-ADC-I-01D2 7 * DHCOR PCB number: 578-200 or newer 8 * DHCOM PCB number: 579-200 or newer 9 * PicoITX PCB number: 487-600 or newer 11 /dts-v1/; 13 #include "imx6ull-dhcom-som.dtsi" 14 #include "imx6ull-dhcom-som-cfg-sdcard.dtsi" 18 compatible = "dh,imx6ull-dhcom-picoitx", "dh,imx6ull-dhcom-som", 19 "dh,imx6ull-dhcor-som", "fsl,imx6ull"; [all …]
|
/linux/arch/arm/boot/dts/rockchip/ |
H A D | rv1126-edgeble-neu2-io.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "rv1126-edgeble-neu2.dtsi" 13 compatible = "edgeble,neural-compute-module-2-io", 14 "edgeble,neural-compute-module-2", "rockchip,rv1126"; 21 stdout-path = "serial2:1500000n8"; 24 vcc12v_dcin: vcc12v-dcin-regulator { 25 compatible = "regulator-fixed"; 26 regulator-name = "vcc12v_dcin"; 27 regulator-always-on; [all …]
|
/linux/Documentation/trace/ |
H A D | hwlat_detector.rst | 6 ------------- 9 detect large system latencies induced by the behavior of certain underlying 11 originally to detect SMIs (System Management Interrupts) on x86 systems, 36 ------ 40 redefine the threshold in microseconds (us) above which latency spikes will 50 - width - time period to sample with CPUs held (usecs) 52 - window - total period of sampling, width being inside (usecs) 74 - tracing_threshold - minimum latency value to be considered (usecs) 75 - tracing_max_latency - maximum hardware latency actually observed (usecs) 76 - tracing_cpumask - the CPUs to move the hwlat thread across [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-ux500-samsung-gavini.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Beam GT-I8530 also known as Gavini. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/linux/sound/pci/ice1712/ |
H A D | wm8776.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2012 Ondrej Zary <linux@rainbow-software.org> 16 /* low-level access */ 24 wm->regs[addr] = data; in snd_wm8776_write() 25 wm->ops.write(wm, bus_addr, bus_data); in snd_wm8776_write() 28 /* register-level functions */ 34 struct snd_card *card = wm->card; in snd_wm8776_activate_ctl() 42 index_offset = snd_ctl_get_ioff(kctl, &kctl->id); in snd_wm8776_activate_ctl() 43 vd = &kctl->vd[index_offset]; in snd_wm8776_activate_ctl() 45 vd->access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_activate_ctl() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-power.json | 88 …"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 97 …"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 106 …"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 115 …"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 124 …"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 133 …"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 142 …"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 151 …"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 160 …so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction wit… 169 …so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction wit… [all …]
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | ethtool_rmon.sh | 2 # SPDX-License-Identifier: GPL-2.0 16 declare -A netif_mtu 22 local current=$(ip -j link show dev $iface | jq -r '.[0].mtu') 23 local required=$((len - ETH_HLEN - ETH_FCS_LEN)) 25 if [ $current -lt $required ]; then 44 # Mausezahn does not include FCS bytes in its length - but the 46 len=$((len - ETH_FCS_LEN)) 49 before=$(ethtool --json -S $iface --groups rmon | \ 50 jq -r ".[0].rmon[\"${set}-pktsNtoM\"][$bucket].val") 52 # Send 10k one way and 20k in the other, to detect counters [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | watchdog.c | 1 // SPDX-License-Identifier: GPL-2.0 37 * period, and updates a per-cpu timestamp and a "pending" cpumask. This is 41 * The local soft-NMI, and the SMP checker. 43 * The soft-NMI checker can detect lockups on the local CPU. When interrupts 44 * are disabled with local_irq_disable(), platforms that use soft-masking 48 * interrupt, and can be used to detect CPUs stuck with IRQs disabled. 50 * The soft-NMI checker will compare the heartbeat timestamp for this CPU 54 * The limitation of the soft-NMI watchdog is that it does not work when 59 * The SMP checker can detect lockups on other CPUs. A global "pending" 71 * watchdog to detect an unresponsive CPU and pull it out of its stuck [all …]
|
/linux/sound/drivers/opl3/ |
H A D | opl3_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Hannu Savolainen 1993-1996, 22 MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>, Hannu Savolainen 1993-1996, Rob Hooft"); 32 * The original 2-OP synth requires a quite long delay in snd_opl2_command() 36 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; in snd_opl2_command() 38 spin_lock_irqsave(&opl3->reg_lock, flags); in snd_opl2_command() 46 spin_unlock_irqrestore(&opl3->reg_lock, flags); in snd_opl2_command() 55 * The OPL-3 survives with just two INBs in snd_opl3_command() 59 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; in snd_opl3_command() 61 spin_lock_irqsave(&opl3->reg_lock, flags); in snd_opl3_command() [all …]
|
/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-msr-resv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * handler (implicit sigreturn), the kernel should detect reserved MSR 13 * value and send us with a SIGSEGV. 38 ucp->uc_link = ucp; in signal_usr1() 41 ucp->uc_mcontext.gp_regs[PT_MSR] |= (7ULL << 32); in signal_usr1() 43 ucp->uc_mcontext.uc_regs->gregs[PT_MSR] |= (7ULL); in signal_usr1()
|