/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/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 */ 56 rising_edge = info->capture_clear ? in pps_gpio_irq_handler() 57 gpiod_get_value(info->gpio_pin) : !info->assert_falling_edge; in pps_gpio_irq_handler() 58 if ((rising_edge && !info->assert_falling_edge) || in pps_gpio_irq_handler() 59 (!rising_edge && info->assert_falling_edge)) in pps_gpio_irq_handler() 60 pps_event(info->pps, &ts, PPS_CAPTUREASSERT, data); in pps_gpio_irq_handler() [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/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/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/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 | j1939.rst | 1 .. SPDX-License-Identifier: (GPL-2.0 OR MIT) 14 ISO-11783 (ISOBUS). This last one specifies the so-called ETP (Extended 16 results in a maximum packet size of ((2 ^ 24) - 1) * 7 bytes == 111 MiB. 19 ------------------- 21 * SAE J1939-21 : data link layer 22 * SAE J1939-81 : network management 23 * ISO 11783-6 : Virtual Terminal (Extended Transport Protocol) 25 .. _j1939-motivation: 56 ...). In-kernel code for these would not contribute to protocol stability. 61 Since such a library does not communicate with the in-kernel implementation, care [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/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/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/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/include/linux/ |
H A D | tcp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 return th->doff * 4; in __tcp_hdrlen() 46 return inner_tcp_hdr(skb)->doff * 4; in inner_tcp_hdrlen() 50 * skb_tcp_all_headers - Returns size of all headers for a TCP packet 65 * skb_inner_tcp_all_headers - Returns size of all headers for an encap TCP packet 70 * if (skb_is_gso(skb) && skb->encapsulatio [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 103 ip netns exec $netns sysctl -q net.mptcp.pm_type=0 2>/dev/null || true 105 ip netns exec $netns sysctl -q net.mptcp.checksum_enabled=1 121 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i 122 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad 123 ip -net "$ns1" link set ns1eth$i up [all …]
|
/linux/Documentation/trace/ |
H A D | ftrace.rst | 2 ftrace - Function Tracer 13 - Written for: 2.6.28-rc2 14 - Updated for: 3.10 15 - Updated for: 4.13 - Copyright 2017 VMware Inc. Steven Rostedt 16 - Converted to rst format - Changbin Du <changbin.du@intel.com> 19 ------------ 24 performance issues that take place outside of user-space. 41 ---------------------- 43 See Documentation/trace/ftrace-design.rst for details for arch porters and such. 47 --------------- [all …]
|
/linux/drivers/bus/mhi/host/ |
H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 17 struct mhi_controller *mhi_cntrl = m->private; in mhi_debugfs_states_show() 21 to_mhi_pm_state_str(mhi_cntrl->pm_state), in mhi_debugfs_states_show() 22 mhi_is_active(mhi_cntrl) ? "Active" : "Inactive", in mhi_debugfs_states_show() 23 mhi_state_str(mhi_cntrl->dev_state), in mhi_debugfs_states_show() 24 TO_MHI_EXEC_STR(mhi_cntrl->ee), in mhi_debugfs_states_show() 25 mhi_cntrl->wake_set ? "true" : "false"); in mhi_debugfs_states_show() 28 seq_printf(m, "M0: %u M2: %u M3: %u", mhi_cntrl->M0, mhi_cntrl->M2, in mhi_debugfs_states_show() 29 mhi_cntrl->M3); in mhi_debugfs_states_show() 32 atomic_read(&mhi_cntrl->dev_wake), in mhi_debugfs_states_show() [all …]
|
/linux/fs/smb/client/ |
H A D | cifsglob.h | 1 /* SPDX-License-Identifier: LGPL-2.1 */ 58 * max attribute cache timeout (jiffies) - 2^30 81 /* echo interval in seconds */ 112 #define CIFS_DFS_ROOT_SES(ses) ((ses)->dfs_root_ses ?: (ses)) 225 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */ 227 struct shash_desc *aes_cmac; /* block-cipher based MAC function, for SMB3 signatures */ 229 struct crypto_aead *enc; /* smb3 encryption AEAD TFM (AES-CCM and AES-GCM) */ 230 struct crypto_aead *dec; /* smb3 decryption AEAD TFM (AES-CCM and AES-GCM) */ 342 * message field DataRemaining for out-of-band data read (e.g through 431 /* check if we can send an echo or nor */ [all …]
|
/linux/net/dccp/ |
H A D | output.c |
|