/linux/Documentation/devicetree/bindings/usb/ |
H A D | brcm,usb-pinmap.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/brcm,usb-pinmap.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Al Cooper <alcooperx@gmail.com> 15 - const: brcm,usb-pinmap 22 description: Interrupt for signals mirrored to out-gpios. 24 in-gpios: 29 brcm,in-functions: 30 $ref: /schemas/types.yaml#/definitions/string-array [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_acpi.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 53 u32 function_bits; /* supported functions bit vector */ 68 u8 thermal_state; /* thermal state: state id (0: exit state, non-0: state) */ 72 u8 backlight_level; /* panel backlight level (0-255) */ 83 u32 function_bits; /* supported functions bit vector */ 90 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */ 105 * radeon_atif_call - call an ATIF method 130 atif_arg_elements[1].buffer.length = params->length; in radeon_atif_call() 131 atif_arg_elements[1].buffer.pointer = params->pointer; in radeon_atif_call() 152 * radeon_atif_parse_notification - parse supported notifications [all …]
|
/linux/drivers/usb/misc/ |
H A D | brcmstb-usb-pinmap.c | 1 // SPDX-License-Identifier: GPL-2.0 64 val = gpiod_get_value(pin->gpiod); in sync_in_pin() 66 pinmap_set(pin->pdata->regs, pin->value_mask); in sync_in_pin() 68 pinmap_unset(pin->pdata->regs, pin->value_mask); in sync_in_pin() 83 pr_debug("%s: reg: 0x%x\n", __func__, readl(pdata->regs)); in brcmstb_usb_pinmap_ovr_isr() 84 pout = pdata->out_pins; in brcmstb_usb_pinmap_ovr_isr() 85 for (x = 0; x < pdata->out_count; x++) { in brcmstb_usb_pinmap_ovr_isr() 86 val = readl(pdata->regs); in brcmstb_usb_pinmap_ovr_isr() 87 if (val & pout->changed_mask) { in brcmstb_usb_pinmap_ovr_isr() 88 pinmap_set(pdata->regs, pout->clr_changed_mask); in brcmstb_usb_pinmap_ovr_isr() [all …]
|
/linux/Documentation/sound/designs/ |
H A D | midi-2.0.rst | 12 - Support of Universal MIDI Packet (UMP) 13 - Support of MIDI 2.0 protocol messages 14 - Transparent conversions between UMP and legacy MIDI 1.0 byte stream 15 - MIDI-CI for property and profile configurations 26 MIDI-CI is a high-level protocol that can talk with the MIDI device 31 the encoding/decoding of MIDI protocols on UMP, while MIDI-CI is 32 supported in user-space over the standard SysEx. 65 When a device supports MIDI 2.0, the USB-audio driver probes and uses 69 `midi2_enable=0` option to snd-usb-audio driver module, too. 78 option to snd-usb-audio driver for skipping the UMP v1.1 inquiries. [all …]
|
/linux/tools/power/pm-graph/ |
H A D | sleepgraph.8 | 3 sleepgraph \- Suspend/Resume timing analysis 21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS 27 \fB-h\fR 30 \fB-v\fR 33 \fB-verbose\fR 36 \fB-config \fIfile\fR 39 \fB-m \fImode\fR 42 \fB-o \fIname\fR 46 e.g. suspend-{hostnam [all...] |
H A D | README | 8 pm-graph: suspend/resume/boot timing analysis tools 11 …Home Page: https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overvi… 13 Report bugs/issues at bugzilla.kernel.org Tools/pm-graph 14 - https://bugzilla.kernel.org/buglist.cgi?component=pm-graph&product=Tools 17 - Getting Started: 20 - Feature Summary: 21 https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/features.html 23 - upstream version in git: 24 git clone https://github.com/intel/pm-graph/ 27 - Overview [all …]
|
/linux/fs/befs/ |
H A D | ChangeLog | 1 Version 0.92 (2002-03-29) 5 Version 0.92 (2002-03-27) 12 Version 0.91 (2002-03-26) 15 Thanks to Laszlo Boszormenyi for pointing this out to me. 17 Version 0.9 (2002-03-14) 22 * Segregated the functions that interface directly with the linux vfs 25 Version 0.64 (2002-02-07) 32 * Andrew Farnham <andrewfarnham@uq.net.au> pointed out that the module 41 * Made a debian package of the source for use with kernel-package. [WD] 44 Version 0.63 (2002-01-31) [all …]
|
/linux/arch/m68k/ifpsp060/ |
H A D | isp.doc | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 30 ------------------------------------------------ 41 64-bit divide 42 64-bit multiply 50 -------------------- 70 ----------------------- 73 ----------------- 74 | | - 128 byte-sized section 75 (1) | Call-Out | - 4 bytes per entry (user fills these in) [all …]
|
/linux/lib/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 bool "Automatically choose fastest RAID6 PQ functions" 19 Benchmark all available RAID6 PQ functions on init and choose the 31 converting bitfields between a CPU-usable representation and a 33 - Is little endian (bytes are reversed within a 32-bit group) 34 - The least-significant 32-bit word comes first (within a 64-bit 36 - The most significant bit of a byte is at its right (bit 0 of a 51 please refer to the KUnit documentation in Documentation/dev-tools/kunit/. 62 This option enables the use of hardware bit-reversal instructions on 102 bool "Access I/O in non-MMIO mode" [all …]
|
/linux/Documentation/trace/ |
H A D | ftrace-design.rst | 8 This document is out of date. Some of the description below doesn't 12 ------------ 27 ------------- 30 - STACKTRACE_SUPPORT - implement save_stack_trace() 31 - TRACE_IRQFLAGS_SUPPORT - implement include/asm/irqflags.h 35 -------------------- 37 You will need to implement the mcount and the ftrace_stub functions. 40 "mcount", "_mcount", or even "__mcount". You can probably figure it out by 43 $ echo 'main(){}' | gcc -x c -S -o - - -pg | grep mcount 56 be (semi-)relevant. [all …]
|
/linux/Documentation/filesystems/iomap/ |
H A D | porting.rst | 1 .. SPDX-License-Identifier: GPL-2.0 27 This worked well enough for direct/indirect-mapped filesystems such 28 as ext2, but is very inefficient for extent-based filesystems such 34 3. Direct access to storage on memory-like devices (fsdax) is only 40 No ->write_begin(), ->write_end() or direct_IO 49 Build the kernel, run fstests with the ``-g all`` option across a wide 53 The recommended approach is first to implement ``->iomap_begin`` (and 54 ``->iomap_end`` if necessary) to allow iomap to obtain a read-only 57 ``get_block()`` function for read-only mappings. 62 other read-only mapping operations will do the right thing. [all …]
|
/linux/Documentation/driver-api/ |
H A D | reset.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 13 the `consumer driver interface <#consumer-driver-interface>`__ (`API reference 14 <#reset-consumer-api>`__), which allows peripheral drivers to request control 16 <#reset-controller-driver-interface>`__ (`API reference 17 <#reset-controller-driver-api>`__), which is used by drivers for reset 22 functionality, restart handlers are out of scope for the reset controller API. 25 -------- 39 is self-clearing and can be used to trigger a predetermined pulse on the 60 Functions are provided to assert and deassert the controlled reset lines, 71 --------------------------- [all …]
|
H A D | mtdnand.rst | 10 The generic NAND driver supports almost all NAND and AG-AND based chips 31 -------------------------- 33 The functions are marked with [XXX] identifiers in the short comment. 34 The identifiers explain the usage and scope of the functions. Following 37 - [MTD Interface] 39 These functions provide the interface to the MTD kernel API. They are 43 - [NAND Interface] 45 These functions are exported and provide the interface to the NAND 48 - [GENERIC] 50 Generic functions are not replaceable and provide functionality which [all …]
|
/linux/Documentation/arch/sh/ |
H A D | new-machine.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Paul Mundt <lethal@linux-sh.org> 18 of the board-specific code (with the exception of stboards) ended up 19 in arch/sh/kernel/ directly, with board-specific headers ending up in 20 include/asm-sh/. For the new kernel, things are broken out by board type, 24 Board-specific code:: 27 |-- arch 28 | `-- sh 29 | `-- boards 30 | |-- adx [all …]
|
/linux/kernel/trace/ |
H A D | trace_stack.c | 1 // SPDX-License-Identifier: GPL-2.0 43 " ----- ---- --------\n", in print_max_stack() 50 size = stack_trace_index[i] - stack_trace_index[i+1]; in print_max_stack() 82 * The save_stack_trace() is called returning all the functions it finds in the 89 * Now to figure out how much each of these functions' local variable size is, 95 * ------------------ + ------------------- 104 * size = i == nr_entries - 1 ? stack_trace_index[i] : 105 * stack_trace_index[i] - stack_trace_index[i+1] 112 * ----- ---- -------- 117 * Now for architectures that might save the return address after the functions [all …]
|
/linux/Documentation/process/ |
H A D | 4.Coding.rst | 6 While there is much to be said for a solid and community-oriented design 19 --------- 25 :ref:`Documentation/process/coding-style.rst <codingstyle>`. For much of 38 strangely-formatted code. 43 giving up a degree of control in a number of ways - including control over 49 as a way of getting their name into the kernel changelogs - or both. But 59 80-column limit, for example), just do it. 61 Note that you can also use the ``clang-format`` tool to help you with 62 these rules, to quickly re-format parts of your code automatically, 66 See the file :ref:`Documentation/dev-tools/clang-format.rst <clangformat>` [all …]
|
H A D | coding-style.rst | 12 First off, I'd suggest printing out a copy of the GNU coding standards, 19 -------------- 31 Now, some people will claim that having 8-character indentations makes 33 80-character terminal screen. The answer to that is that if you need 37 In short, 8-char indents make things easier to read, and have the added 38 benefit of warning you when you're nesting your functions too deep. 43 instead of ``double-indenting`` the ``case`` labels. E.g.: 45 .. code-block:: c 67 .. code-block:: c 74 .. code-block:: c [all …]
|
/linux/Documentation/dev-tools/kunit/ |
H A D | usage.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ---------- 13 .. code-block:: c 38 .. code-block:: c 59 To learn about more KUnit expectations, see Documentation/dev-tools/kunit/api/test.rst. 69 .. code-block:: c 79 KUNIT_EXPECT_EQ(test, 0, add(-1, 1)); 85 KUNIT_EXPECT_EQ(test, -1, add(INT_MAX, INT_MIN)); 99 .. code-block:: c 111 for (i = 0; i < TEST_LEN-1; i++) [all …]
|
/linux/Documentation/arch/x86/ |
H A D | sgx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 * Privileged (ring-0) ENCLS functions orchestrate the construction of the 15 * Unprivileged (ring-3) ENCLU functions allow an application to enter and 21 ENCLS functions, only the threads inside the enclave can access its memory. The 38 with an enclave. It is contained in a BIOS-reserved region of physical memory. 49 ------------------ 67 ---------------------- 76 remain read-only. EPCM permissions may only impose additional restrictions on 87 Enclave build functions 88 ----------------------- [all …]
|
/linux/drivers/media/common/saa7146/ |
H A D | saa7146_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <media/drv-intf/saa7146_vv.h> 8 /* DEB_I2C("'%s'\n", adapter->name); */ in saa7146_i2c_func() 16 /* this function returns the status-register of our i2c-device */ 24 /* this function runs through the i2c-messages and prepares the data to be 26 to understand this. it returns the number of u32s to send, or -1 41 mem = 1 + ((mem-1) / 3); in saa7146_i2c_msg_prepare() 47 /* DEB_I2C("cannot prepare i2c-message\n"); */ in saa7146_i2c_msg_prepare() 48 return -ENOMEM; in saa7146_i2c_msg_prepare() 51 /* be careful: clear out the i2c-mem first */ in saa7146_i2c_msg_prepare() [all …]
|
/linux/net/vmw_vsock/ |
H A D | af_vsock_tap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Tap functions for AF_VSOCK sockets. 5 * Code based on net/netlink/af_netlink.c tap functions. 19 if (unlikely(vt->dev->type != ARPHRD_VSOCKMON)) in vsock_add_tap() 20 return -EINVAL; in vsock_add_tap() 22 __module_get(vt->module); in vsock_add_tap() 25 list_add_rcu(&vt->list, &vsock_tap_all); in vsock_add_tap() 41 list_del_rcu(&vt->list); in vsock_remove_tap() 43 goto out; in vsock_remove_tap() 48 out: in vsock_remove_tap() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_core.h | 1 /* SPDX-License-Identifier: MIT */ 65 * fills out the pipe-config with the hw state. 80 /* functions used for watermark calcs for display. */ 193 * if we get a HPD irq from DP and a HPD irq from non-DP 194 * the non-DP HPD could block the workqueue on a mode config 197 * blocked behind the non-DP one. 275 * protects * intel_crtc->wm.active and 276 * crtc_state->wm.need_postvbl_update. 290 /* Display functions */ 292 /* Top level crtc-ish functions */ [all …]
|
/linux/rust/kernel/ |
H A D | error.rs | 1 // SPDX-License-Identifier: GPL-2.0 5 //! C header: [`include/uapi/asm-generic/errno-base.h`](srctree/include/uapi/asm-generic/errno-base.h) 16 /// Contains the C-compatible error codes. 25 match super::Error::try_from_errno(-(crate::bindings::$err as i32)) { 43 declare_err!(ENOMEM, "Out o [all...] |
/linux/Documentation/sphinx/ |
H A D | kerneldoc.py | 1 # coding=utf-8 21 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 47 """Extract kernel-doc comments from the specified file""" 55 'no-identifiers': directives.unchanged, 56 'functions': directives.unchanged, 62 cmd = [env.config.kerneldoc_bin, '-rst', '-enable-lineno'] 64 # Pass the version string to kernel-doc, as it needs to use a different 67 cmd += ['-sphinx-version', sphinx.__version__] 75 tab_width = self.options.get('tab-width', self.state.document.settings.tab_width) 78 if 'functions' in self.options: [all …]
|
/linux/include/net/sctp/ |
H A D | sm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 14 * lksctp developers <linux-sctp@vger.kernel.org> 44 SCTP_DISPOSITION_NOMEM, /* We ran out of memory--recover. */ 66 /* A naming convention of "sctp_sf_xxx" applies to all the state functions 70 /* Prototypes for generic state functions. */ 74 /* Prototypes for gener timer state functions. */ 77 /* Prototypes for chunk state functions. */ 125 /* Prototypes for primitive event state functions. */ [all …]
|