/linux/Documentation/devicetree/bindings/pps/ |
H A D | pps-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pps/pps-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fabio Estevam <festevam@gmail.com> 14 const: pps-gpio 20 echo-gpios: 21 description: The GPIO that provides the PPS ECHO signal. 24 echo-active-ms: 25 description: Duration in ms of the active portion of the echo pulse. [all …]
|
/linux/drivers/pps/clients/ |
H A D | pps-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pps-gpio.c -- PPS client driver using GPIO 9 #define PPS_GPIO_NAME "pps-gpio" 33 struct timer_list echo_timer; /* timer to reset echo active state */ 36 unsigned int echo_active_ms; /* PPS echo active duration */ 55 rising_edge = gpiod_get_value(info->gpio_pin); in pps_gpio_irq_handler() 56 if ((rising_edge && !info->assert_falling_edge) || in pps_gpio_irq_handler() 57 (!rising_edge && info->assert_falling_edge)) in pps_gpio_irq_handler() 58 pps_event(info->pps, &ts, PPS_CAPTUREASSERT, data); in pps_gpio_irq_handler() 59 else if (info->capture_clear && in pps_gpio_irq_handler() [all …]
|
/linux/Documentation/hwmon/ |
H A D | ds1621.rst | 47 - Christian W. Zuckschwerdt <zany@triq.net> 48 - valuable contributions by Jan M. Sendler <sendler@sendler.de> 49 - ported to 2.6 by Aurelien Jarno <aurelien@aurel32.net> 53 ------------------ 58 * 0 = active high, 59 * 1 = active low 62 ----------- 66 programmed into non-volatile on-chip registers). Temperature range is -55 68 Fahrenheit range of -67 to +257 degrees with 0.9 steps. If polarity 75 ("cooler"), vice versa. That way "heater" equals "active low", whereas [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_linecard.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # LC_SLOT - If not set, all probed line cards are going to be tested, 28 echo "$current" 41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state" 48 local timeout=$3 # ms 57 local timeout=$3 # ms 67 echo "$current" 75 devlink port -j | jq -e -r ".[][] | select(.lc==$lc) | .port" | wc -l 82 local timeout=$3 # ms 91 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].nested_devlink" [all …]
|
/linux/Documentation/core-api/irq/ |
H A D | irq-affinity.rst | 6 - Started by Ingo Molnar <mingo@redhat.com> 7 - Update by Max Krasnyansky <maxk@qualcomm.com> 17 to all non-active IRQs. Once IRQ is allocated/activated its affinity bitmask 21 Here is an example of restricting IRQ44 (eth1) to CPU0-3 then restricting 22 it to CPU4-7 (this is an 8-CPU SMP box):: 28 [root@moon 44]# echo 0f > smp_affinity 31 [root@moon 44]# ping -f h 34 --- hell ping statistics --- 36 round-trip min/avg/max = 0.1/0.1/0.4 ms 39 … 1785 1785 1783 0 0 0 0 IO-APIC-level eth1 [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-trigger-pattern.txt | 3 The pattern is given by a series of tuples, of brightness and duration (ms). 6 new value, and writing malformed pattern deactivates any active one. 9 the tuple with duration less than dimming interval (50ms) is treated as a step 17 echo 0 1000 255 2000 > pattern 19 It will make the LED go gradually from zero-intensity to max (255) intensity in 24 255-| / \ / \ / 28 0-| / \/ \/ 29 +---0----1----2----3----4----5----6------------> time (s) 32 use zero-time lengths (the brightness must be same as the previous tuple's). So 37 echo 0 1000 0 0 255 2000 255 0 > pattern [all …]
|
/linux/Documentation/scheduler/ |
H A D | sched-deadline.rst | 12 3. Scheduling Real-Time Tasks 18 4.1 System-wide settings 33 system behavior. As for -rt (group) scheduling, it is assumed that root users 50 ------------------ 70 with the "traditional" real-time task model (see Section 3) can effectively 76 - Each SCHED_DEADLINE task is characterized by the "runtime", 79 - The state of the task is described by a "scheduling deadline", and 82 - When a SCHED_DEADLINE task wakes up (becomes ready for execution), 86 ---------------------------------- > --------- 87 scheduling deadline - current time period [all …]
|
/linux/Documentation/admin-guide/mm/damon/ |
H A D | lru_sort.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 DAMON-based LRU-lists Sorting 7 DAMON-based LRU-lists Sorting (DAMON_LRU_SORT) is a static kernel module that 9 (de)prioritization of pages on their LRU-lists for making LRU-lists a more 12 Where Proactive LRU-lists Sorting is Required? 15 As page-granularity access checking overhead could be significant on huge 23 Because DAMON can identify access patterns of best-effort accuracy while 24 inducing only user-specified range of overhead, proactively running 32 rates that higher than a user-specified threshold) and cold pages (pages of 34 user-specified threshold) using DAMON, and prioritizes hot pages while [all …]
|
H A D | reclaim.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 DAMON-based Reclamation 7 DAMON-based Reclamation (DAMON_RECLAIM) is a static kernel module that aimed to 9 It doesn't aim to replace the LRU-list based page_granularity reclamation, but 15 On general memory over-committed systems, proactively reclaiming cold pages 20 Free Pages Reporting [3]_ based memory over-commit virtualization systems are 24 guests could be not so memory-frugal, mainly because some kernel subsystems and 25 user-space applications are designed to use as much memory as available. Then, 54 ------- 60 no real monitoring and reclamation due to the watermarks-based activation [all …]
|
/linux/drivers/net/wireless/marvell/libertas/ |
H A D | README | 4 (c) Copyright © 2003-2006, Marvell International Ltd. 14 THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 35 Use the -i option to retrieve version information from the driver. 37 # ethtool -i eth0 39 version: COMM-USB8388-318.p4 40 firmware-version: 5.110.7 41 bus-info: 43 Use the -e option to read the EEPROM contents of the card. 46 ethtool -e ethX [raw on|off] [offset N] [length N] 48 -e retrieves and prints an EEPROM dump for the specified ethernet [all …]
|
/linux/drivers/net/ |
H A D | gtp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * (C) 2012-2014 by sysmocom - s.f.m.c. GmbH 36 /* An active session for the subscriber. */ 57 } ms; member 95 } ms; member 139 return jhash_2words((__force u32)ip6->s6_addr32[0], in ipv6_hashfn() 140 (__force u32)ip6->s6_addr32[1], gtp_h_initval); in ipv6_hashfn() 149 head = >p->tid_hash[gtp0_hashfn(tid) % gtp->hash_size]; in gtp0_pdp_find() 152 if (pdp->af == family && in gtp0_pdp_find() 153 pdp->gtp_version == GTP_V0 && in gtp0_pdp_find() [all …]
|
/linux/Documentation/admin-guide/mm/ |
H A D | multigen_lru.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Multi-Gen LRU 6 The multi-gen LRU is an alternative LRU implementation that optimizes 26 ----------- 38 0x0001 The main switch for the multi-gen LRU. 42 disabled, the multi-gen LRU will suffer a minor performance 46 0x0004 Clearing the accessed bit in non-leaf page table entries as 49 disabled, the multi-gen LRU will suffer a negligible 57 echo y >/sys/kernel/mm/lru_gen/enabled 60 echo 5 >/sys/kernel/mm/lru_gen/enabled [all …]
|
/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Driver for ETAS GmbH ES58X USB CAN(-FD) Bus Interfaces. 10 * Copyright (c) 2020-2022 Vincent Mailhol <mailhol.vincent@wanadoo.fr> 39 /* ETAS GmbH ES581.4 USB dual-channel CAN Bus Interface module. */ 43 /* ETAS GmbH ES582.1 USB dual-channel CAN FD Bus Interface module. */ 48 /* ETAS GmbH ES584.1 USB single-channel CAN FD Bus Interface module. */ 75 * es58x_calculate_crc() - Compute the crc16 of a given URB. 85 ssize_t len = urb_len - ES58X_CRC_CALC_OFFSET - sizeof(crc); in es58x_calculate_crc() 87 crc = crc16(0, &urb_cmd->raw_cmd[ES58X_CRC_CALC_OFFSET], len); in es58x_calculate_crc() 92 * es58x_get_crc() - Get the CRC value of a given URB. [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | intel_pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.] 24 For the processors supported by ``intel_pstate``, the P-state concept is broader 27 information about that). For this reason, the representation of P-states used 32 ``intel_pstate`` maps its internal representation of P-states to frequencies too 38 Since the hardware P-state selection interface used by ``intel_pstate`` is 43 time the corresponding CPU is taken offline and need to be re-initialized when 47 only way to pass early-configuration-time parameters to it is via the kernel 57 ``intel_pstate`` can operate in two different modes, active or passive. In the 58 active mode, it uses its own internal performance scaling governor algorithm or [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-usb | 10 This allows to avoid side-effects with drivers 28 drivers, non-authorized one are not. By default, wired 33 Contact: linux-usb@vger.kernel.org 48 # echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id 53 # echo "0458 7045 0 0458 704c" > /sys/bus/usb/drivers/foo/new_id 67 What: /sys/bus/usb-serial/drivers/.../new_id 69 Contact: linux-usb@vger.kernel.org 72 extra bus folder "usb-serial" in sysfs; apart from that 87 # echo "046d c315" > /sys/bus/usb/drivers/foo/remove_id 97 If CONFIG_PM is set and a USB 2.0 lpm-capable device is plugged [all …]
|
/linux/Documentation/networking/ |
H A D | can.rst | 2 SocketCAN - Controller Area Network 20 .. _socketcan-motivation: 29 functionality. Usually, there is only a hardware-specific device 32 Queueing of frames and higher-level transport protocols like ISO-TP 34 character-device implementations support only one single process to 47 protocol family module and also vice-versa. Also, the protocol family 57 communicate using a specific transport protocol, e.g. ISO-TP, just 60 CAN-IDs, frames, etc. 62 Similar functionality visible from user-space could be provided by a 74 * **Abstraction:** In most existing character-device implementations, the [all …]
|
H A D | ip-sysctl.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 ip_forward - BOOLEAN 11 - 0 - disabled (default) 12 - not 0 - enabled 20 ip_default_ttl - INTEGER 25 ip_no_pmtu_disc - INTEGER 27 fragmentation-required ICMP is received, the PMTU to this 38 accept fragmentation-needed errors if the underlying protocol 48 Possible values: 0-3 52 min_pmtu - INTEGER [all …]
|
/linux/drivers/nfc/st95hf/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * -------------------------------------------------------------------- 5 * -------------------------------------------------------------------- 100 * List of top-level cmds to be used internally by the driver. 250 struct device *dev = &st95context->spicontext.spidev->dev; in st95hf_send_recv_cmd() 253 return -EINVAL; in st95hf_send_recv_cmd() 255 return -EINVAL; in st95hf_send_recv_cmd() 257 return -EINVAL; in st95hf_send_recv_cmd() 268 return -EINVAL; in st95hf_send_recv_cmd() 273 ret = st95hf_spi_send(&st95context->spicontext, in st95hf_send_recv_cmd() [all …]
|
/linux/drivers/isdn/mISDN/ |
H A D | dsp_core.c | 12 * Real-time tone generation 14 * Real-time cross-connection and conferrence 23 * The dsp module provides layer 2 for b-channels (64kbit). It provides 26 * - (1) generation of tones 27 * - (2) detection of dtmf tones 28 * - (3) crossconnecting and conferences (clocking) 29 * - (4) echo generation for delay test 30 * - (5) volume control 31 * - (6) disable receive data 32 * - (7) pipeline [all …]
|
/linux/Documentation/networking/device_drivers/hamradio/ |
H A D | z8530drv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 SCC.C - Linux driver for Z8530 based HDLC cards for AX.25 14 1. ftp://ftp.ccac.rwth-aachen.de/pub/jr/z8530drv-utils_3.0-3.tar.gz 16 2. ftp://ftp.pspt.fi/pub/ham/linux/ax25/z8530drv-utils_3.0-3.tar.gz 41 AX.25-HOWTO on how to emulate a KISS TNC on network device drivers. 54 please read 'man insmod' that comes with module-init-tools. 64 of your rc.*-files. This has to be done BEFORE you can 92 - this is just a delimiter to make sccinit a bit simpler to 96 - the address of the data port A of this Z8530 (needed) 98 - the address of the control port A (needed) [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight.rst | 2 Coresight - HW Assisted Tracing on ARM 9 ------------ 38 0 CPU 0<-->: C : 0 CPU 0<-->: C : : C : @ STM @ || System || 39 |->0000000 : T : |->0000000 : T : : T :<--->@@@@@ || Memory || 40 | #######<-->: I : | #######<-->: I : : I : @@@<-| |||||||||||| 43 | |->### | ! | |->### | ! | ! . | || DAP || 49 *****************************************************************<-| 63 | * ===== F =====<---------| 65 |-->:: CTI ::<!! === N === 69 |------>&& ETB &&<......II I ======= [all …]
|
/linux/Documentation/core-api/ |
H A D | workqueue.rst | 33 thread system-wide. A single MT wq needed to keep around the same 60 * Use per-CPU unified worker pools shared by all wq to provide 85 worker-pools. 87 The cmwq design differentiates between the user-facing workqueues that 89 which manages worker-pools and processes the queued work items. 91 There are two worker-pools, one for normal work items and the other 93 worker-pools to serve work items queued on unbound workqueues - the 98 Each per-CPU BH worker pool contains only one pseudo worker which represents 110 When a work item is queued to a workqueue, the target worker-pool is 112 and appended on the shared worklist of the worker-pool. For example, [all …]
|
/linux/Documentation/admin-guide/cifs/ |
H A D | usage.rst | 18 MS-SMB2 (for detailed SMB2/SMB3/SMB3.1.1 protocol specification) 36 (e.g. /usr/src/linux-2.5.73) 48 the modules directory e.g. /lib/modules/6.3.0-060300-generic/kernel/fs/smb/client/cifs.ko). 57 required, mount.cifs is recommended. Most distros include a ``cifs-utils`` 63 found at cifs-utils.git on git.samba.org 122 mounts, unless umount is invoked with -i (which will avoid invoking a umount 166 disabled on a per-mount basis by specifying ``nouser_xattr`` on mount. 184 (the few optional settings are passed in on mount via -o parameters instead). 191 ln -s /mnt/foo bar 196 that is ignored by local server applications and non-cifs clients and that will [all …]
|
/linux/sound/pci/echoaudio/ |
H A D | echoaudio_dsp.c | 3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 7 This file is part of Echo Digital Audio's generic driver library. 9 Echo Digital Audio's generic driver library is free software; 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 MA 02111-1307, USA. 26 Translation from C++ and adaptation for use in ALSA-Driver 40 command and then write a non-zero value to the Handshake field in the 46 /* Wait up to 20ms for the handshake from the DSP */ in wait_handshake() 50 if (chip->comm_page->handshake) { in wait_handshake() 56 dev_err(chip->card->dev, "wait_handshake(): Timeout waiting for DSP\n"); in wait_handshake() [all …]
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 2 # SPDX-License-Identifier: GPL-2.0 46 declare -A all_tests 47 declare -a only_tests_ids 48 declare -a only_tests_names 49 declare -A failed_tests 102 ip netns exec $netns sysctl -q net.mptcp.pm_type=0 2>/dev/null || true 104 ip netns exec $netns sysctl -q net.mptcp.checksum_enabled=1 120 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i 121 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad 122 ip -net "$ns1" link set ns1eth$i up [all …]
|