| /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/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_acpi.c | 1 // SPDX-License-Identifier: MIT 20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 108 struct amdgpu_atif_functions functions; member 125 struct amdgpu_atcs_functions functions; member 136 * amdgpu_atif_call - call an ATIF method 163 atif_arg_elements[1].buffer.length = params->length; in amdgpu_atif_call() 164 atif_arg_elements[1].buffer.pointer = params->pointer; in amdgpu_atif_call() 171 status = acpi_evaluate_object(atif->handle, NULL, &atif_arg, in amdgpu_atif_call() 183 if (obj->type != ACPI_TYPE_BUFFER) { in amdgpu_atif_call() 185 obj->type); in amdgpu_atif_call() [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/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/tools/power/pm-graph/ |
| 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/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/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/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/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 …]
|
| /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)\ 6 //! C header: [`include/uapi/asm-generic/errno.h`](srctree/include/uapi/asm-generic/errno.h)\ 19 /// Contains the C-compatibl [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/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/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/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- [all...] |
| /linux/Documentation/security/ |
| H A D | siphash.rst | 2 SipHash - a short input PRF 7 SipHash is a cryptographically secure PRF -- a keyed hash function -- that 9 cryptographers Daniel J. Bernstein and Jean-Philippe Aumasson. It is intended 14 an input buffer or several input integers. It spits out an integer that is 29 Using the functions 49 will constant fold at compile-time and automatically choose one of the 50 optimized functions. 61 get_random_bytes(&table->key, sizeof(table->key)); 66 …return &table->hashtable[siphash(input, sizeof(*input), &table->key) & (HASH_SIZE(table->hashtable… 74 SipHash has a very high security margin, with its 128-bit key. So long as the [all …]
|
| /linux/Documentation/sound/cards/ |
| H A D | maya44.rst | 8 keep here as reference -- tiwai 18 Development is carried out by Rainer Zimmermann (mail@lightshed.de). 22 …tunately it has turned out difficult to get detailed programming information, so I (Rainer Zimmerm… 24 This is the first testing version of the Maya44 driver released to the alsa-devel mailing list (Feb… 27 The following functions work, as tested by Rainer Zimmermann and Piotr Makowski: 29 - playback and capture at all sampling rates 30 - input/output level 31 - crossmixing 32 - line/mic switch 33 - phantom power switch [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/tools/testing/selftests/bpf/prog_tests/ |
| H A D | module_fentry_shadow.c | 1 // SPDX-License-Identifier: GPL-2.0 30 err = -errno; in get_bpf_testmod_btf_fd() 42 err = -errno; in get_bpf_testmod_btf_fd() 53 return -ENOENT; in get_bpf_testmod_btf_fd() 85 goto out; in test_module_fentry_shadow() 89 goto out; in test_module_fentry_shadow() 93 goto out; in test_module_fentry_shadow() 97 goto out; in test_module_fentry_shadow() 107 goto out; in test_module_fentry_shadow() 110 * shadowed functions and uses the same address for both the in test_module_fentry_shadow() [all …]
|
| /linux/include/linux/usb/ |
| H A D | serial.h | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1999 - 2012 6 * Greg Kroah-Hartman (greg@kroah.com) 35 * @interrupt_out_buffer: pointer to the interrupt out buffer for this port. 37 * @interrupt_out_urb: pointer to the interrupt out struct urb for this port. 38 * @interrupt_out_endpointAddress: endpoint address for the interrupt out pipe 48 * @bulk_out_buffer: pointer to the bulk out buffer for this port. 50 * @write_urb: pointer to the bulk out struct urb for this port. 52 * @bulk_out_buffers: pointers to the bulk out buffers for this port 53 * @write_urbs: pointers to the bulk out urbs for this port [all …]
|
| /linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
| H A D | func_set_ftrace_file.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: ftrace - test reading of set_ftrace_filter 8 # The set_ftrace_filter file of ftrace is used to list functions as well as 9 # triggers (probes) attached to functions. The code to read this file is not 11 # to add functions and triggers to that file in various ways and read that 31 ALL_FUNCS="#### all functions enabled ####" 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'` [all …]
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | method-tracing.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 This document describes the functions and the interfaces of the 20 ACPICA provides method tracing capability. And two functions are 24 ----------- 28 ACPI_DEBUG_PRINT() macro can be reduced at 2 levels - per-component 30 /sys/module/acpi/parameters/debug_layer) and per-type level (known as 35 large to be put into the kernel log buffer. The idea thus is worked out 43 a. Filter out the debug layer/level matched logs when control methods 51 b. Filter out the debug layer/level matched logs when the specified 60 c. Filter out the debug layer/level matched logs when the specified [all …]
|