/Linux-v6.1/Documentation/devicetree/bindings/iio/ |
D | st,st-sensors.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/st,st-sensors.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 description: The STMicroelectronics sensor devices are pretty straight-forward 14 The STMicroelectronics sensor devices are pretty straight-forward I2C or 19 - Denis Ciocca <denis.ciocca@st.com> 20 - Linus Walleij <linus.walleij@linaro.org> 25 - description: STMicroelectronics Accelerometers 27 - st,h3lis331dl-accel [all …]
|
/Linux-v6.1/fs/nfs/ |
D | symlink.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM 26 * and straight-forward than readdir caching. 31 struct inode *inode = folio->mapping->host; in nfs_symlink_filler() 34 error = NFS_PROTO(inode)->readlink(inode, &folio->page, 0, PAGE_SIZE); in nfs_symlink_filler() 44 return -EIO; in nfs_symlink_filler() 58 page = find_get_page(inode->i_mapping, 0); in nfs_get_link() 60 return ERR_PTR(-ECHILD); in nfs_get_link() 63 return ERR_PTR(-ECHILD); in nfs_get_link() 66 err = ERR_PTR(nfs_revalidate_mapping(inode, inode->i_mapping)); in nfs_get_link() [all …]
|
/Linux-v6.1/Documentation/x86/x86_64/ |
D | 5level-paging.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 5-level paging 9 Original x86-64 was limited by 4-level paging to 256 TiB of virtual address 14 5-level paging. It is a straight-forward extension of the current page 20 QEMU 2.9 and later support 5-level paging. 22 Virtual memory layout for 5-level paging is described in 26 Enabling 5-level paging 30 Kernel with CONFIG_X86_5LEVEL=y still able to boot on 4-level hardware. 31 In this case additional page table level -- p4d -- will be folded at 34 User-space and large virtual address space [all …]
|
/Linux-v6.1/Documentation/driver-api/pldmfw/ |
D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 <https://www.dmtf.org/documents/pmci/pldm-firmware-update-specification-100>. 14 file-format 15 driver-ops 39 The PLDM file format uses packed binary data, with most multi-byte fields 42 Due to this, it is not straight forward to index the record, record 50 unaligned access of multi-byte fields, and to properly convert from Little 71 6. After all components are programmed, perform any final device-specific
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/ |
D | adi,ad7476.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Michael Hennerich <michael.hennerich@analog.com> 14 A lot of simple SPI ADCs have very straight forward interfaces. 21 - adi,ad7091 22 - adi,ad7091r 23 - adi,ad7273 24 - adi,ad7274 25 - adi,ad7276 [all …]
|
/Linux-v6.1/Documentation/input/devices/ |
D | sentelic.rst | 8 :Copyright: |copy| 2002-2011 Sentelic Corporation. 10 :Last update: Dec-07-2011 15 A) MSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward 28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 30 |---------------| |---------------| |---------------| |---------------| 40 Byte 2: X Movement(9-bit 2's complement integers) 41 Byte 3: Y Movement(9-bit 2's complement integers) 43 valid values, -8 ~ +7 44 Bit4 => 1 = 4th mouse button is pressed, Forward one page. 51 - Set bit 1 in register 0x40 to 1 [all …]
|
/Linux-v6.1/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func_set_ftrace_file.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: ftrace - test reading of set_ftrace_filter 10 # straight forward and has had various bugs in the past. This test is designed 27 if ! echo "$1" | grep -q "^$2\$"; then 30 echo "$1" | grep -v "^$2\$" 36 dd1=`dd if=$FILTER bs=1 | grep -v -e 'records in' -e 'records out' -e 'bytes copied'` 37 dd100=`dd if=$FILTER bs=100 | grep -v -e 'records in' -e 'records out' -e 'bytes copied'` 41 while [ $# -gt 0 ]; do 55 if [ -n "$cat" ]; then 58 if [ -n "$dd1" ]; then [all …]
|
/Linux-v6.1/include/linux/ |
D | rcutiny.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion, the Bloatwatch edition. 9 * For detailed explanation of Read-Copy Update mechanism see - 22 // not-yet-completed RCU grace periods. 32 return rgosp1->rgos_norm == rgosp2->rgos_norm; in same_state_synchronize_rcu_full() 39 rgosp->rgos_norm = get_state_synchronize_rcu(); in get_state_synchronize_rcu_full() 46 rgosp->rgos_norm = start_poll_synchronize_rcu(); in start_poll_synchronize_rcu_full() 53 return poll_state_synchronize_rcu(rgosp->rgos_norm); in poll_state_synchronize_rcu_full() 63 cond_synchronize_rcu(rgosp->rgos_norm); in cond_synchronize_rcu_full() 73 rgosp->rgos_norm = start_poll_synchronize_rcu_expedited(); in start_poll_synchronize_rcu_expedited_full() [all …]
|
/Linux-v6.1/Documentation/bpf/ |
D | bpf_prog_run.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 -------- 20 can be used to unit test BPF programs against user-supplied context objects, and 28 - ``BPF_PROG_TYPE_SOCKET_FILTER`` 29 - ``BPF_PROG_TYPE_SCHED_CLS`` 30 - ``BPF_PROG_TYPE_SCHED_ACT`` 31 - ``BPF_PROG_TYPE_XDP`` 32 - ``BPF_PROG_TYPE_SK_LOOKUP`` 33 - ``BPF_PROG_TYPE_CGROUP_SKB`` 34 - ``BPF_PROG_TYPE_LWT_IN`` [all …]
|
/Linux-v6.1/drivers/comedi/drivers/ |
D | ssv_dnp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * generic comedi driver for SSV Embedded Systems' DIL/Net-PCs 7 * COMEDI - Linux Control and Measurement Device Interface 13 * Description: SSV Embedded Systems DIL/Net-PC 15 * Devices: [SSV Embedded Systems] DIL/Net-PC 1486 (dnp-1486) 19 /* include files ----------------------------------------------------------- */ 24 /* Some global definitions: the registers of the DNP ----------------------- */ 27 /* pins, where Bit-N = 0 -> input, Bit-N = 1 -> output. Note that bits */ 50 * Ports A and B are straight forward: each bit corresponds to an in dnp_dio_insn_bits() 58 outb(s->state & 0xff, CSCDR); in dnp_dio_insn_bits() [all …]
|
/Linux-v6.1/drivers/uio/ |
D | uio_sercos3.c | 1 // SPDX-License-Identifier: GPL-2.0 7 This is a straight-forward UIO driver, where interrupts are disabled 8 by the interrupt handler and re-enabled via a write to the UIO device 9 by the userspace-part. 13 userspace-part could directly modify the Interrupt Enable Register 18 Race conditions exist if the userspace-part directly modifies the 21 this reason, the userspace-part should only directly modify the 23 The userspace-part can safely disable interrupts at any time using 55 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_disable_interrupts() 58 priv->ier0_cache |= ioread32(ier0); in sercos3_disable_interrupts() [all …]
|
/Linux-v6.1/net/ipv4/ |
D | tcp_westwood.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TCP Westwood+: end-to-end bandwidth estimation for TCP 10 * - Mascolo S, Casetti, M. Gerla et al. 13 * - A. Grieco, s. Mascolo 17 * - A. Dell'Aera, L. Grieco, S. Mascolo. 18 * "Linux 2.4 Implementation of Westwood+ TCP with Rate-Halving : 21 * Westwood+ employs end-to-end bandwidth measurement to set cwnd and 65 w->bk = 0; in tcp_westwood_init() 66 w->bw_ns_est = 0; in tcp_westwood_init() 67 w->bw_est = 0; in tcp_westwood_init() [all …]
|
/Linux-v6.1/fs/ocfs2/cluster/ |
D | quorum.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 /* this is horribly heavy-handed. It should instead flip the file 60 switch (o2nm_single_cluster->cl_fence_method) { in o2quo_fence_self() 66 WARN_ON(o2nm_single_cluster->cl_fence_method >= in o2quo_fence_self() 96 spin_lock(&qs->qs_lock); in o2quo_make_decision() 98 lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); in o2quo_make_decision() 100 lowest_reachable = test_bit(lowest_hb, qs->qs_conn_bm); in o2quo_make_decision() 103 "lowest: %d (%sreachable)\n", qs->qs_heartbeating, in o2quo_make_decision() 104 qs->qs_connected, lowest_hb, lowest_reachable ? "" : "un"); in o2quo_make_decision() 106 if (!test_bit(o2nm_this_node(), qs->qs_hb_bm) || in o2quo_make_decision() [all …]
|
/Linux-v6.1/arch/powerpc/platforms/powernv/ |
D | subcore.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 * A core can be in one of three states, unsplit, 2-way split, and 4-way split. 35 * ------------|------------------ 37 * 2-way split | 2 38 * 4-way split | 4 44 * ---------------------------- 46 * ---------------------------- 48 * ---------------------------- 50 * 2-way split: 51 * ------------------------------------- [all …]
|
/Linux-v6.1/Documentation/arm/pxa/ |
D | mfp.rst | 7 MFP stands for Multi-Function Pin, which is the pin-mux logic on PXA3xx and 15 mechanism is introduced from PXA3xx to completely move the pin-mux functions 16 out of the GPIO controller. In addition to pin-mux configurations, the MFP 17 also controls the low power state, driving strength, pull-up/down and event 21 +--------+ 22 | |--(GPIO19)--+ 24 | |--(GPIO...) | 25 +--------+ | 26 | +---------+ 27 +--------+ +------>| | [all …]
|
/Linux-v6.1/drivers/usb/host/ |
D | ohci-s3c2410.c | 1 // SPDX-License-Identifier: GPL-1.0+ 6 * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net> 7 * (C) Copyright 2002 Hewlett-Packard Company 14 * Modified for S3C2410 from ohci-sa1111.c, ohci-omap.c and ohci-lh7a40.c 28 #include <linux/platform_data/usb-ohci-s3c2410.h> 47 /* forward definitions */ 55 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info() 60 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev); in s3c2410_start_hc() 62 dev_dbg(&dev->dev, "s3c2410_start_hc:\n"); in s3c2410_start_hc() 70 info->hcd = hcd; in s3c2410_start_hc() [all …]
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | sun4i-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2013 - 2014 Hans de Goede <hdegoede@redhat.com> 12 * The sun4i-ts controller is capable of detecting a second touch, but when a 18 * open / close movement, and then reports emulated multi-touch events around 19 * the last touch coordinate (as the dual-touch coordinates are worthless). 22 * in the kernel). So this driver offers straight forward, reliable single 122 x = readl(ts->base + TP_DATA); in sun4i_ts_irq_handle_input() 123 y = readl(ts->base + TP_DATA); in sun4i_ts_irq_handle_input() 125 if (!ts->ignore_fifo_data) { in sun4i_ts_irq_handle_input() 126 input_report_abs(ts->input, ABS_X, x); in sun4i_ts_irq_handle_input() [all …]
|
/Linux-v6.1/arch/parisc/math-emu/ |
D | dfadd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 263 diff_exponent = result_exponent - right_exponent; in dbl_fadd() 293 /* A straight forward algorithm would now shift the result in dbl_fadd() 310 /* Must have been "x-x" or "x+(-x)". */ in dbl_fadd() 316 result_exponent--; in dbl_fadd() 352 if((result_exponent -= 8) <= 0 && !underflowtrap) in dbl_fadd() 360 if((result_exponent -= 4) <= 0 && !underflowtrap) in dbl_fadd() [all …]
|
D | dfsub.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 266 diff_exponent = result_exponent - right_exponent; in dbl_fsub() 296 /* A straight forward algorithm would now shift the result in dbl_fsub() 313 /* Must have been "x-x" or "x+(-x)". */ in dbl_fsub() 319 result_exponent--; in dbl_fsub() 355 if((result_exponent -= 8) <= 0 && !underflowtrap) in dbl_fsub() 363 if((result_exponent -= 4) <= 0 && !underflowtrap) in dbl_fsub() [all …]
|
/Linux-v6.1/Documentation/admin-guide/ |
D | reporting-issues.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 36 ensure it's vanilla (IOW: not patched and not using add-on modules). Also make 44 to pin-point the culprit with a bisection; if you succeed, include its 45 commit-id and CC everyone in the sign-off-by chain. 51 Step-by-step guide how to report issues to the kernel maintainers 58 step-by-step approach. It still tries to be brief for readability and leaves 59 out a lot of details; those are described below the step-by-step guide in a 89 kernel modules on-the-fly, which solutions like DKMS might be doing locally 169 -------------------------------------------------------------- 204 ------------------------------------------------------------- [all …]
|
/Linux-v6.1/Documentation/filesystems/ |
D | seq_file.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 https://lwn.net/Articles/driver-porting/ 16 Virtual files can provide human-readable output that is easy to get at 23 string. But life gets trickier if the output is long - anything greater 26 position within the virtual file - that position is, likely as not, in the 68 - entry = create_proc_entry("sequence", 0, NULL); 69 - if (entry) 70 - entry->proc_fops = &ct_file_ops; 79 is able to move to a specific position - like the file they implement, 81 in whatever way is convenient - the iterator need only exist [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | packet_mmap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 - Ulisses Alonso Camaró <uaca@i.hate.spam.alumni.uv.es> 23 - Johann Baudy 67 [setup] socket() -------> creation of the capture socket 68 setsockopt() ---> allocation of the circular buffer (ring) 70 mmap() ---------> mapping of the allocated buffer to the 73 [capture] poll() ---------> to wait for incoming packets 75 [shutdown] close() --------> destruction of the capture socket and 80 socket creation and destruction is straight forward, and is done 88 supported and a link level pseudo-header is provided [all …]
|
/Linux-v6.1/drivers/net/ipvlan/ |
D | ipvlan_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 pcptr = this_cpu_ptr(ipvlan->pcpu_stats); in ipvlan_count_rx() 21 u64_stats_update_begin(&pcptr->syncp); in ipvlan_count_rx() 22 u64_stats_inc(&pcptr->rx_pkts); in ipvlan_count_rx() 23 u64_stats_add(&pcptr->rx_bytes, len); in ipvlan_count_rx() 25 u64_stats_inc(&pcptr->rx_mcast); in ipvlan_count_rx() 26 u64_stats_update_end(&pcptr->syncp); in ipvlan_count_rx() 28 this_cpu_inc(ipvlan->pcpu_stats->rx_errs); in ipvlan_count_rx() 52 return jhash_1word(ip4_addr->s_addr, ipvlan_jhash_secret) & in ipvlan_get_v4_hash() 58 if (!is_v6 && addr->atype == IPVL_IPV4) { in addr_equal() [all …]
|
/Linux-v6.1/Documentation/i2c/ |
D | i2c-topology.rst | 6 than a straight-forward I2C bus with one adapter and one or more devices. 25 I2C transfers, and all adapters with a parent are part of an "i2c-mux" 40 mux-locked or parent-locked muxes. 43 Mux-locked muxes 44 ---------------- 46 Mux-locked muxes does not lock the entire parent adapter during the 47 full select-transfer-deselect transaction, only the muxes on the parent 48 adapter are locked. Mux-locked muxes are mostly interesting if the 55 Mux-locked Example 60 .----------. .--------. [all …]
|
/Linux-v6.1/fs/jbd2/ |
D | checkpoint.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright 1999 Red Hat Software --- All Rights Reserved 32 transaction_t *transaction = jh->b_cp_transaction; in __buffer_unlink_first() 34 jh->b_cpnext->b_cpprev = jh->b_cpprev; in __buffer_unlink_first() 35 jh->b_cpprev->b_cpnext = jh->b_cpnext; in __buffer_unlink_first() 36 if (transaction->t_checkpoint_list == jh) { in __buffer_unlink_first() 37 transaction->t_checkpoint_list = jh->b_cpnext; in __buffer_unlink_first() 38 if (transaction->t_checkpoint_list == jh) in __buffer_unlink_first() 39 transaction->t_checkpoint_list = NULL; in __buffer_unlink_first() 50 transaction_t *transaction = jh->b_cp_transaction; in __buffer_unlink() [all …]
|