| /Linux-v5.15/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-v5.15/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 28 * This enum is used by the asynchronous sub-device logic to define the 37 * struct v4l2_async_subdev - sub-device descriptor, as known to a bridge 40 * @match: union of per-bus type matching data sets 57 * probed, to a notifier->waiting list 73 /* v4l2-async core private: not to be used by drivers */ 79 * struct v4l2_async_notifier_operations - Asynchronous V4L2 notifier operations 96 * 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> 21 * struct v4l2_device - main struct to for V4L2 device drivers 29 * @notify: notify operation called by some sub-devices. 33 * @release: Release function that is called when the ref count 37 * either stand-alone or embedded in a larger struct. 39 * It allows easy access to sub-devices (see v4l2-subdev.h) and provides 40 * basic V4L2 device-level support. [all …]
|
| D | v4l2-fwnode.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd. 22 #include <media/v4l2-mediabus.h> 31 * struct v4l2_fwnode_bus_mipi_csi2 - MIPI CSI-2 bus data structure 48 * struct v4l2_fwnode_bus_parallel - parallel data bus data structure 60 * struct v4l2_fwnode_bus_mipi_csi1 - CSI-1/CCP2 data bus structure 62 * false - not inverted, true - inverted 63 * @strobe: false - data/clock, true - data/strobe 78 * struct v4l2_fwnode_endpoint - the endpoint data structure 112 * V4L2_FWNODE_PROPERTY_UNSET - identify a non initialized property [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 …]
|
| /Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/scripts/ |
| D | kernel-doc | 2 # SPDX-License-Identifier: GPL-2.0 10 ## Copyright (C) 2005-2012 Randy Dunlap ## 19 # 18/01/2001 - Cleanups 22 # -- huggie@earth.li 24 # 27/06/2001 - Allowed whitespace after initial "/**" and 25 # allowed comments before function declarations. 26 # -- Christian Kreibich <ck@whoop.org> 29 # - add perldoc documentation 30 # - Look more closely at some of the scarier bits :) 32 # 26/05/2001 - Support for separate source and object trees. [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-v5.15/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> 40 * LEAF - declare leaf routine 46 .type symbol, @function; \ 53 * NESTED - declare nested routine entry point 59 .type symbol, @function; \ 66 * END - mark end of function 68 #define END(function) \ argument 70 .end function; \ 71 .size function, .-function [all …]
|
| /Linux-v5.15/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-v5.15/Documentation/devicetree/bindings/leds/ |
| D | leds-an30259a.txt | 1 * Panasonic AN30259A 3-channel LED driver 7 - compatible: Must be "panasonic,an30259a". 8 - reg: I2C slave address. 9 - #address-cells: Must be 1. 10 - #size-cells: Must be 0. 12 Each LED is represented as a sub-node of the panasonic,an30259a node. 14 Required sub-node properties: 15 - reg: Pin that the LED is connected to. Must be 1, 2, or 3. 17 Optional sub-node properties: 18 - function : [all …]
|
| /Linux-v5.15/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 | meson,pinctrl.txt | 4 - compatible: one of "amlogic,meson8-cbus-pinctrl" 5 "amlogic,meson8b-cbus-pinctrl" 6 "amlogic,meson8m2-cbus-pinctrl" 7 "amlogic,meson8-aobus-pinctrl" 8 "amlogic,meson8b-aobus-pinctrl" 9 "amlogic,meson8m2-aobus-pinctrl" 10 "amlogic,meson-gxbb-periphs-pinctrl" 11 "amlogic,meson-gxbb-aobus-pinctrl" 12 "amlogic,meson-gxl-periphs-pinctrl" 13 "amlogic,meson-gxl-aobus-pinctrl" [all …]
|
| /Linux-v5.15/arch/arm64/kernel/ |
| D | entry-ftrace.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm64/kernel/entry-ftrace.S 10 #include <asm/asm-offsets.h> 17 * Due to -fpatchable-function-entry=2, the compiler has placed two NOPs before 18 * the regular function prologue. For an enabled callsite, ftrace_init_nop() and 26 * Each instrumented function follows the AAPCS, so here x0-x8 and x18-x30 are 27 * live (x18 holds the Shadow Call Stack pointer), and x9-x17 are safe to 38 sub sp, sp, #(PT_REGS_SIZE + 16) 40 /* Save function arguments (and x9 for simplicity) */ 47 /* Optionally save the callee-saved registers, always save the FP */ [all …]
|
| /Linux-v5.15/Documentation/driver-api/ |
| D | auxiliary_bus.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 13 export an interface for another subsystem to drive (e.g. SIOV Physical Function 14 export Virtual Function management). A split of the functionality into child- 15 devices representing sub-domains of functionality makes it possible to 16 compartmentalize, layer, and distribute domain-specific concerns via a Linux 17 device-driver model. 23 allows for the audio core device to be minimal and focused on hardware-specific 28 auxiliary_device within other domain-specific structures and the use of .ops 30 of a communication channel with the parent is domain-specific. 51 One example is a PCI network device that is RDMA-capable and exports a child [all …]
|
| /Linux-v5.15/include/linux/surface_aggregator/ |
| D | device.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Surface System Aggregator Module (SSAM) bus and client-device subsystem. 5 * Main interface for the surface-aggregator bus, surface-aggregator client 7 * Provides support for non-platform/non-ACPI SSAM clients via dedicated 10 * Copyright (C) 2019-2021 Maximilian Luz <luzmaximilian@gmail.com> 23 /* -- Surface System Aggregator Module bus. --------------------------------- */ 26 * enum ssam_device_domain - SAM device domain. 36 * enum ssam_virtual_tc - Target categories for the virtual SAM domain. 44 * struct ssam_device_uid - Unique identifier for SSAM device. 49 * @function: Sub-function of the device. This field can be used to split a [all …]
|
| /Linux-v5.15/arch/arm/kernel/ |
| D | entry-ftrace.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 #include "entry-header.S" 10 * When compiling with -pg, gcc inserts a call to the mcount routine at the 11 * start of every function. In mcount, apart from the function's address (in 12 * lr), we need to get hold of the function's caller's address. 22 * mcount can be thought of as a function called in the middle of a subroutine 36 sub \rd, \rd, #MCOUNT_INSN_SIZE 63 mcount_adjust_addr r0, lr @ instrumented function 73 sub sp, sp, #8 @ space for PC and CPSR OLD_R0, 86 stmdb sp!, {r0-r11, lr} [all …]
|
| /Linux-v5.15/Documentation/devicetree/bindings/mfd/ |
| D | samsung,sec-core.txt | 1 Binding for Samsung S2M and S5M family multi-function device 4 This is a part of device tree bindings for S2M and S5M family multi-function 8 of multi-function devices which include voltage and current regulators, RTC, 9 charger controller, clock outputs and other sub-blocks. It is interfaced 10 to the host controller using an I2C interface. Each sub-block is usually 14 This document describes bindings for main device node. Optional sub-blocks 15 must be a sub-nodes to it. Bindings for them can be found in: 16 - bindings/regulator/samsung,s2mpa01.txt 17 - bindings/regulator/samsung,s2mps11.txt 18 - bindings/regulator/samsung,s5m8767.txt [all …]
|