Home
last modified time | relevance | path

Searched +full:straight +full:- +full:forward (Results 1 – 25 of 54) sorted by relevance

123

/linux/Documentation/driver-api/pldmfw/
H A Dindex.rst1 .. 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/Documentation/input/devices/
H A Dsentelic.rst8 :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/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_set_ftrace_file.tc2 # 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
34 if ! echo "$1" | grep -q "^$2\$"; then
37 echo "$1" | grep -v "^$2\$"
43 dd1=`dd if=$FILTER bs=1 | grep -v -e 'records in' -e 'records out' -e 'bytes copied'`
44 dd100=`dd if=$FILTER bs=100 | grep -v -e 'records in' -e 'records out' -e 'bytes copied'`
48 while [ $# -gt 0 ]; do
62 if [ -n "$cat" ]; then
65 if [ -n "$dd1" ]; then
[all …]
/linux/Documentation/devicetree/bindings/iio/
H A Dst,st-sensors.yaml1 # 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
16 - Denis Ciocca <denis.ciocca@st.com>
17 - Linus Walleij <linus.walleij@linaro.org>
22 - description: STMicroelectronics Accelerometers
24 - st,h3lis331dl-accel
25 - st,lis2de12
[all …]
/linux/Documentation/bpf/
H A Dbpf_prog_run.rst1 .. 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/drivers/comedi/drivers/
H A Dssv_dnp.c1 // 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/Documentation/admin-guide/
H A Dbug-bisect.rst1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0)
9 change that broke something -- for example when some functionality stopped
13 kernel, better follow Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst
17 care about the result -- for example, because the problem happens after the
29 a fully reliable and straight-forward way to reproduce the regression, too.*
38 Instead of Git tags like 'v6.0' and 'v6.1' you can specify commit-ids, too.
75 mentioning the culprit's commit-id.
85 git bisect log > ~/bisection-log
86 cp .config ~/bisection-config-culprit
95 to revert the change by specifying its commit-id::
[all …]
/linux/drivers/input/misc/
H A Dmax8997_haptic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MAX8997-haptic controller driver
17 #include <linux/mfd/max8997-private.h>
58 u8 duty_index = DIV_ROUND_UP(chip->level * 64, 100); in max8997_haptic_set_internal_duty_cycle()
60 switch (chip->internal_mode_pattern) { in max8997_haptic_set_internal_duty_cycle()
62 max8997_write_reg(chip->client, in max8997_haptic_set_internal_duty_cycle()
66 max8997_write_reg(chip->client, in max8997_haptic_set_internal_duty_cycle()
70 max8997_write_reg(chip->client, in max8997_haptic_set_internal_duty_cycle()
74 max8997_write_reg(chip->client, in max8997_haptic_set_internal_duty_cycle()
86 value = chip->type << MAX8997_MOTOR_TYPE_SHIFT | in max8997_haptic_configure()
[all …]
/linux/net/ipv4/
H A Dtcp_westwood.c1 // 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/Documentation/process/
H A Dhandling-regressions.rst1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0)
7 *We don't cause regressions* -- this document describes what this "first rule of
9 Documentation/admin-guide/reporting-regressions.rst, which covers the topic from a
21 loop by immediately sending at least a brief "Reply-all" with the list
24 * Forward or bounce any reports submitted in bug trackers to the list.
30 introduced: v5.13..v5.14-rc1``. If not, send a reply (with the regressions
39 #regzbot introduced: v5.13..v5.14-rc1
45 mandated by Documentation/process/submitting-patches.rst and
61 -----------------------------------
72 it into the loop by sending at least a brief "Reply-all" with the list CCed;
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dsubcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
32 * A core can be in one of three states, unsplit, 2-way split, and 4-way split.
37 * ------------|------------------
39 * 2-way split | 2
40 * 4-way split | 4
46 * ----------------------------
48 * ----------------------------
50 * ----------------------------
52 * 2-way split:
53 * -------------------------------------
[all …]
/linux/Documentation/arch/arm/pxa/
H A Dmfp.rst7 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/kernel/sched/
H A Didle.c1 // SPDX-License-Identifier: GPL-2.0-only
19 * sched_idle_set_state - Record idle state for the current CPU.
34 cpu_idle_force_poll--; in cpu_idle_poll_ctrl()
109 * default_idle_call - Default CPU idle routine.
137 return -EBUSY; in call_cpuidle_s2idle()
150 dev->last_residency_ns = 0; in call_cpuidle()
152 return -EBUSY; in call_cpuidle()
158 * care of re-enabling the local interrupts in call_cpuidle()
164 * cpuidle_idle_call - the main idle function
180 * case, exit the function after re-enabling the local IRQ. in cpuidle_idle_call()
[all …]
/linux/drivers/input/touchscreen/
H A Dsun4i-ts.c1 // 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/arch/parisc/math-emu/
H A Ddfsub.c1 // 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 …]
H A Ddfadd.c1 // 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 …]
/linux/Documentation/filesystems/
H A Dseq_file.rst1 .. 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/Documentation/networking/
H A Dpacket_mmap.rst1 .. 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/fs/jbd2/
H A Dcheckpoint.c1 // 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()
34 jh->b_cpnext->b_cpprev = jh->b_cpprev; in __buffer_unlink()
35 jh->b_cpprev->b_cpnext = jh->b_cpnext; in __buffer_unlink()
36 if (transaction->t_checkpoint_list == jh) { in __buffer_unlink()
37 transaction->t_checkpoint_list = jh->b_cpnext; in __buffer_unlink()
38 if (transaction->t_checkpoint_list == jh) in __buffer_unlink()
39 transaction->t_checkpoint_list = NULL; in __buffer_unlink()
46 * Called under j-state_lock *only*. It will be unlocked if we have to wait
[all …]
/linux/Documentation/i2c/
H A Di2c-topology.rst6 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/arch/arm64/kernel/
H A Dhw_breakpoint.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility,
10 #define pr_fmt(fmt) "hw-breakpoint: " fmt
23 #include <asm/debug-monitors.h>
37 /* Currently stepping a per-CPU kernel breakpoint. */
151 return -EINVAL; in debug_exception_level()
164 struct task_struct *tsk = bp->hw.target; in is_compat_bp()
167 * tsk can be NULL for per-cpu (non-ptrace) breakpoints. in is_compat_bp()
177 * hw_breakpoint_slot_setup - Find and setup a perf slot according to
187 * -ENOSPC if no slot is available/matches
[all …]
/linux/fs/xfs/
H A Dxfs_log_priv.h1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
74 * By covering, we mean changing the h_tail_lsn in the last on-disk
75 * log write such that no allocation transactions will be re-done during
76 * recovery after a system crash. Recovery starts at the last on-disk
80 * space allocation transactions which can undo non-transactional changes
93 * non-dummy transaction. The first dummy changes the h_tail_lsn to
102 * IDLE -- no logging has been done on the file system or
104 * NEED -- logging has occurred and we need a dummy transaction
106 * DONE -- we were in the NEED state and have committed a dummy
[all …]
/linux/arch/x86/entry/
H A Dentry_64.S1 /* SPDX-License-Identifier: GPL-2.0 */
9 * entry.S contains the system-call and fault low-level handling routines.
14 * - iret frame: Architecture defined interrupt frame from SS to RIP
18 * - SYM_FUNC_START/END:Define functions in the symbol table.
19 * - idtentry: Define exception entry points.
26 #include <asm/asm-offsets.h>
40 #include <asm/nospec-branch.h>
50 * 64-bit SYSCALL instruction entry. Up to 6 arguments in registers.
52 * This is the only entry point used for 64-bit system calls. The
62 * 64-bit SYSCALL saves rip to rcx, clears rflags.RF, then saves rflags to r11,
[all …]
/linux/Documentation/admin-guide/pm/
H A Dcpufreq.rst1 .. SPDX-License-Identifier: GPL-2.0
20 Operating Performance Points or P-states (in ACPI terminology). As a rule,
24 time (or the more power is drawn) by the CPU in the given P-state. Therefore
29 as possible and then there is no reason to use any P-states different from the
30 highest one (i.e. the highest-performance frequency/voltage configuration
38 put into different P-states.
41 capacity, so as to decide which P-states to put the CPUs into. Of course, since
64 information on the available P-states (or P-state ranges in some cases) and
65 access platform-specific hardware interfaces to change CPU P-states as requested
70 performance scaling algorithms for P-state selection can be represented in a
[all …]
/linux/arch/arm/kernel/
H A Dhw_breakpoint.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility,
13 #define pr_fmt(fmt) "hw-breakpoint: " fmt
151 /* We don't support the memory-mapped interface. */ in debug_arch_supported()
216 return core_has_mismatch_brps() ? brps - 1 : brps; in get_num_brps()
257 return -ENODEV; in enable_monitor_mode()
265 return -EPERM; in enable_monitor_mode()
293 * Check if 8-bit byte-address select is available.
333 addr = info->address; in arch_install_hw_breakpoint()
334 ctrl = encode_ctrl_reg(info->ctrl) | 0x1; in arch_install_hw_breakpoint()
[all …]

123