/linux-6.12.1/Documentation/driver-api/media/ |
D | v4l2-subdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 V4L2 sub-devices 4 ---------------- 6 Many drivers need to communicate with sub-devices. These devices can do all 8 encoding or decoding. For webcams common sub-devices are sensors and camera 12 driver with a consistent interface to these sub-devices the 13 :c:type:`v4l2_subdev` struct (v4l2-subdev.h) was created. 15 Each sub-device driver must have a :c:type:`v4l2_subdev` struct. This struct 16 can be stand-alone for simple sub-devices or it might be embedded in a larger 18 low-level device struct (e.g. ``i2c_client``) that contains the device data as [all …]
|
/linux-6.12.1/sound/soc/uniphier/ |
D | aio-core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2016-2018 Socionext Inc. 17 #include "aio-reg.h" 22 return wr - rd; in rb_cnt() 24 return len - (rd - wr); in rb_cnt() 30 return wr - rd; in rb_cnt_to_end() 32 return len - rd; in rb_cnt_to_end() 38 return len - (wr - rd) - 8; in rb_space() 40 return rd - wr - 8; in rb_space() 46 return rd - wr - 8; in rb_space_to_end() [all …]
|
D | aio-dma.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2016-2018 Socionext Inc. 7 #include <linux/dma-mapping.h> 28 static void aiodma_pcm_irq(struct uniphier_aio_sub *sub) in aiodma_pcm_irq() argument 30 struct snd_pcm_runtime *runtime = sub->substream->runtime; in aiodma_pcm_irq() 31 int bytes = runtime->period_size * in aiodma_pcm_irq() 32 runtime->channels * samples_to_bytes(runtime, 1); in aiodma_pcm_irq() 35 spin_lock(&sub->lock); in aiodma_pcm_irq() 36 ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes, in aiodma_pcm_irq() 37 sub->threshold + bytes); in aiodma_pcm_irq() [all …]
|
/linux-6.12.1/include/media/ |
D | v4l2-async.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2012-2013, Guennadi Liakhovetski <g.liakhovetski@gmx.de> 22 * enum v4l2_async_match_type - type of asynchronous subdevice logic to be used 37 * struct v4l2_async_match_desc - async connection match information 65 * struct v4l2_async_connection - sub-device connection descriptor, as known to 68 * @match: struct of match type and per-bus type matching data sets 73 * @sd: the related sub-device 88 * struct v4l2_async_notifier_operations - Asynchronous V4L2 notifier operations 89 * @bound: a sub-device has been bound by the given connection 107 * struct v4l2_async_notifier - v4l2_device notifier data [all …]
|
D | v4l2-device.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #include <media/media-device.h> 13 #include <media/v4l2-subdev.h> 14 #include <media/v4l2-dev.h> 19 * struct v4l2_device - main struct to for V4L2 device drivers 27 * @notify: notify operation called by some sub-devices. 31 * @release: Release function that is called when the ref count 35 * either stand-alone or embedded in a larger struct. 37 * It allows easy access to sub-devices (see v4l2-subdev.h) and provides 38 * basic V4L2 device-level support. [all …]
|
D | v4l2-flash-led-class.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * V4L2 flash LED sub-device registration helpers. 12 #include <media/v4l2-ctrls.h> 13 #include <media/v4l2-subdev.h> 21 * struct v4l2_flash_ctrl_data - flash control initialization data, filled 34 * struct v4l2_flash_ops - V4L2 flash operations 53 * struct v4l2_flash_config - V4L2 Flash sub-device initialization data 56 * @intensity: non-flash strobe constraints for the LED 60 * <linux/led-class-flash.h> 71 * struct v4l2_flash - Flash sub-device context [all …]
|
D | v4l2-event.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * v4l2-event.h 7 * Copyright (C) 2009--2010 Nokia Corporation. 25 * struct v4l2_kevent - Internal kernel event struct. 26 * @list: List node for the v4l2_fh->available list. 39 * struct v4l2_subscribed_event_ops - Subscribed event operations. 54 * struct v4l2_subscribed_event - Internal struct representing a subscribed 57 * @list: List node for the v4l2_fh->subscribed list. 60 * @flags: Copy of v4l2_event_subscription->flags. 85 * v4l2_event_dequeue - Dequeue events from video device. [all …]
|
/linux-6.12.1/Documentation/filesystems/ |
D | relay.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 to userspace via user-defined 'relay channels'. 11 A 'relay channel' is a kernel->user data relay mechanism implemented 12 as a set of per-cpu kernel buffers ('channel buffers'), each 25 filtering - this also is left to the kernel client. The purpose is to 29 details of the function parameters are documented along with the 30 functions in the relay interface code - please see that for details. 36 sub-buffers. Messages are written to the first sub-buffer until it is 38 the next (if available). Messages are never split across sub-buffers. 40 sub-buffer, while the kernel continues writing to the next. [all …]
|
/linux-6.12.1/include/linux/mfd/ |
D | dln2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 u16 handle; /* sub-driver handle (internally used only) */ 13 * dln2_event_cb_t - event callback function signature 15 * @pdev - the sub-device that registered this callback 16 * @echo - the echo header field received in the message 17 * @data - the data payload 18 * @len - the data payload length 20 * The callback function is called in interrupt context and the data payload is 29 * dl2n_register_event_cb - register a callback function for an event 31 * @pdev - the sub-device that registers the callback [all …]
|
/linux-6.12.1/Documentation/leds/ |
D | leds-class-flash.rst | 5 Some LED devices provide two modes - torch and flash. In the LED subsystem 6 those modes are supported by LED class (see Documentation/leds/leds-class.rst) 13 registered in the LED subsystem with led_classdev_flash_register function. 16 (see Documentation/ABI/testing/sysfs-class-led-flash) 18 - flash_brightness 19 - max_flash_brightness 20 - flash_timeout 21 - max_flash_timeout 22 - flash_strobe 23 - flash_fault [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | setup.py | 3 from re import sub 7 # Check if CC has options, as is the case in yocto, where it uses CC="cc --sysroot..." 15 cc_is_clang = b"clang version" in Popen([cc, "-v"], stderr=PIPE).stderr.readline() 19 …cc_output = Popen([cc, cc_options + option, path.join(src_feature_tests, "test-hello.c") ], stderr… 26 vars[var] = sub("-specs=[^ ]+", "", vars[var]) 27 if not clang_has_option("-mcet"): 28 vars[var] = sub("-mcet", "", vars[var]) 29 if not clang_has_option("-fcf-protection"): 30 vars[var] = sub("-fcf-protection", "", vars[var]) 31 if not clang_has_option("-fstack-clash-protection"): [all …]
|
/linux-6.12.1/arch/sparc/kernel/ |
D | helpers.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 .type __flushw_user,#function 9 1: save %sp, -128, %sp 13 1: sub %g2, 1, %g2 18 .size __flushw_user,.-__flushw_user 27 .type stack_trace_flush,#function 34 sub %g1, 1, %g3 37 sub %g2, 1, %g2 42 sub %g3, 1, %g3 49 .size stack_trace_flush,.-stack_trace_flush [all …]
|
/linux-6.12.1/scripts/ |
D | kernel-doc | 2 # SPDX-License-Identifier: GPL-2.0 11 ## Copyright (C) 2005-2012 Randy Dunlap ## 23 kernel-doc - Print formatted kernel documentation to stdout 27 …kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-desc[ription]] [-Wcontents-before-secti… 28 [ -man | 29 -rst [-sphinx-version VERSION] [-enable-lineno] | 30 -none 33 -export | 34 -internal | 35 [-function NAME] ... | [all …]
|
D | generate_initcall_order.pl | 2 # SPDX-License-Identifier: GPL-2.0 18 my $jobs = {}; # child process pid -> file handle 20 my $results = {}; # object index -> [ { level, secname }, ... ] 24 sub get_online_processors { 39 sub write_results { 45 my $level = $initcalls->{$counter}->{'level'}; 47 # section name for the initcall function 48 my $secname = $initcalls->{$counter}->{'module'} . '__' . 50 $initcalls->{$counter}->{'line'} . '_' . 51 $initcalls->{$counter}->{'function'}; [all …]
|
/linux-6.12.1/arch/sparc/lib/ |
D | NGbzero.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 .type NGmemset, #function 32 .type NGbzero, #function 39 * %g7: store-init %asi to use 40 * %o4: non-store-init %asi to use 53 sub %g2, %g1, %g1 54 sub %o1, %g1, %o1 61 andcc %o0, (64 - 1), %g1 64 sub %g2, %g1, %g1 65 sub %o1, %g1, %o1 [all …]
|
D | GENbzero.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 .type GENmemset, #function 33 .type GENbzero, #function 52 sub %g2, %g1, %g1 53 sub %o1, %g1, %o1 60 andcc %o0, (64 - 1), %g1 63 sub %g2, %g1, %g1 64 sub %o1, %g1, %o1 71 andn %o1, (64 - 1), %g1 72 sub %o1, %g1, %o1 [all …]
|
/linux-6.12.1/arch/mips/include/asm/ |
D | asm.h | 14 * away by gas in -O mode. These nops are however required to fill delay 21 #include <asm/asm-eva.h> 22 #include <asm/isa-rev.h> 42 * LEAF - declare leaf routine 48 .type symbol, @function; \ 55 * NESTED - declare nested routine entry point 61 .type symbol, @function; \ 68 * END - mark end of function 70 #define END(function) \ 72 .end function; \ [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | abilis,tb10x-iomux.txt | 5 ------------------- 7 - compatible: should be "abilis,tb10x-iomux"; 8 - reg: should contain the physical address and size of the pin controller's 12 Function definitions 13 -------------------- 15 Functions are defined (and referenced) by sub-nodes of the pin controller. 16 Every sub-node defines exactly one function (implying a set of pins). 17 Every function is associated to one named pin group inside the pin controller 19 controller sub-nodes. 21 Required function definition subnode properties: [all …]
|
D | img,pistachio-pinctrl.txt | 8 each. The GPIO banks are represented as sub-nodes of the pad controller node. 10 Please refer to pinctrl-bindings.txt, ../gpio/gpio.txt, and 11 ../interrupt-controller/interrupts.txt for generic information regarding 15 -------------------------------------------- 16 - compatible: "img,pistachio-system-pinctrl". 17 - reg: Address range of the pinctrl registers. 19 Required properties for GPIO bank sub-nodes: 20 -------------------------------------------- 21 - interrupts: Interrupt line for the GPIO bank. 22 - gpio-controller: Indicates the device is a GPIO controller. [all …]
|
D | renesas,rza1-ports.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/renesas,rza1-ports.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - Geert Uytterhoeven <geert+renesas@glider.be> 16 Pin multiplexing and GPIO configuration is performed on a per-pin basis 17 writing configuration values to per-port register sets. 19 function (port mode) or in alternate function mode. 20 Up to 8 different alternate function modes exist for each single pin. [all …]
|
/linux-6.12.1/drivers/gpu/drm/display/ |
D | drm_dp_aux_bus.c | 1 // SPDX-License-Identifier: GPL-2.0 31 * dp_aux_ep_match() - The match function for the dp_aux_bus. 41 return !!of_match_device(drv->of_match_table, dev); in dp_aux_ep_match() 45 * dp_aux_ep_probe() - The probe function for the dp_aux_bus. 54 struct dp_aux_ep_driver *aux_ep_drv = to_dp_aux_ep_drv(dev->driver); in dp_aux_ep_probe() 64 ret = aux_ep_drv->probe(aux_ep); in dp_aux_ep_probe() 68 if (aux_ep_with_data->done_probing) { in dp_aux_ep_probe() 69 ret = aux_ep_with_data->done_probing(aux_ep->aux); in dp_aux_ep_probe() 73 * -EPROBE_DEFER to us. If it does, we treat it as an in dp_aux_ep_probe() 74 * error. Passing it on as-is would cause the _panel_ in dp_aux_ep_probe() [all …]
|
/linux-6.12.1/arch/hexagon/mm/ |
D | copy_from_user.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 16 * Therefore, we duplicate the function, and handle faulting addresses 17 * differently for each function 48 /* Normal copy loops. Do epilog. Use src-src_sav to compute distance */ 49 /* X - (A - B) == X + B - A */ 54 r2 += sub(src_sav,src) 64 r2 += sub(src_sav,src) 74 r2 += sub(src_sav,src) 84 r2 += sub(src_sav,src)
|
/linux-6.12.1/drivers/base/ |
D | auxiliary.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2019-2020 Intel Corporation 5 * Please see Documentation/driver-api/auxiliary_bus.rst for more information. 27 * interface for another subsystem to drive (e.g. SIOV Physical Function export 28 * Virtual Function management). A split of the functionality into child- 29 * devices representing sub-domains of functionality makes it possible to 30 * compartmentalize, layer, and distribute domain-specific concerns via a Linux 31 * device-driver model. 38 * and focused on hardware-specific control and communication. 42 * an auxiliary_device within other domain-specific structures and the use of [all …]
|
/linux-6.12.1/arch/arm64/kernel/ |
D | entry-ftrace.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm64/kernel/entry-ftrace.S 11 #include <asm/asm-offsets.h> 18 * Due to -fpatchable-function-entry=2, the compiler has placed two NOPs before 19 * the regular function prologue. For an enabled callsite, ftrace_init_nop() and 25 * Each instrumented function follows the AAPCS, so here x0-x8 and x18-x30 are 26 * live (x18 holds the Shadow Call Stack pointer), and x9-x17 are safe to 41 * The literal pointer to the ops is at an 8-byte aligned boundary 47 * aligning to an 8-byte boundary and subtracting 16. We do the 52 ldr x11, [x11, #-(4 * AARCH64_INSN_SIZE)] // op [all …]
|
/linux-6.12.1/tools/perf/pmu-events/ |
D | metric.py | 1 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 13 def ToPerfJson(self) -> str: 17 def ToPython(self) -> str: 25 def Equals(self, other) -> bool: 29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression': 32 def __str__(self) -> str: 35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator': 38 def __ror__(self, other: Union[int, float, 'Expression']) -> 'Operator': 41 def __xor__(self, other: Union[int, float, 'Expression']) -> 'Operator': 44 def __and__(self, other: Union[int, float, 'Expression']) -> 'Operator': [all …]
|