| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 39 * @type: type of match that will be used 54 enum v4l2_async_match_type type; member 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 [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. 58 * @type: Event type. 60 * @flags: Copy of v4l2_event_subscription->flags. [all …]
|
| /kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
| D | v4l2-event.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * v4l2-event.c 7 * Copyright (C) 2009--2010 Nokia Corporation. 12 #include <media/v4l2-dev.h> 13 #include <media/v4l2-fh.h> 14 #include <media/v4l2-event.h> 23 idx += sev->first; in sev_pos() 24 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos() 33 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in __v4l2_event_dequeue() 35 if (list_empty(&fh->available)) { in __v4l2_event_dequeue() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
| D | v4l2-event.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * v4l2-event.c 7 * Copyright (C) 2009--2010 Nokia Corporation. 12 #include <media/v4l2-dev.h> 13 #include <media/v4l2-fh.h> 14 #include <media/v4l2-event.h> 23 idx += sev->first; in sev_pos() 24 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos() 33 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in __v4l2_event_dequeue() 35 if (list_empty(&fh->available)) { in __v4l2_event_dequeue() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | stddef.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) argument 19 #define offsetof(TYPE, MEMBER) ((size_t)&((TYPE *)0)->MEMBER) argument 23 * sizeof_field(TYPE, MEMBER) 25 * @TYPE: The structure containing the field of interest 28 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument 31 * offsetofend(TYPE, MEMBER) 33 * @TYPE: The type of the structure 36 #define offsetofend(TYPE, MEMBER) \ argument 37 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER)) [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | stddef.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) argument 19 * sizeof_field() - Report the size of a struct field in bytes 21 * @TYPE: The structure containing the field of interest 24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument 27 * offsetofend() - Report the offset of a struct field within the struct 29 * @TYPE: The type of the structure 32 #define offsetofend(TYPE, MEMBER) \ argument 33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER)) 36 * struct_group() - Wrap a set of declarations in a mirrored struct [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/ |
| D | qcom,q6v5.txt | 6 - compatible: 8 Value type: <string> 10 "qcom,q6v5-pil", 11 "qcom,ipq8074-wcss-pil" 12 "qcom,msm8916-mss-pil", 13 "qcom,msm8974-mss-pil" 14 "qcom,msm8996-mss-pil" 15 "qcom,msm8998-mss-pil" 16 "qcom,sc7180-mss-pil" 17 "qcom,sdm845-mss-pil" [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/dma/ |
| D | adi,axi-dmac.txt | 1 Analog Devices AXI-DMAC DMA controller 4 - compatible: Must be "adi,axi-dmac-1.00.a". 5 - reg: Specification for the controllers memory mapped register map. 6 - interrupts: Specification for the controllers interrupt. 7 - clocks: Phandle and specifier to the controllers AXI interface clock 8 - #dma-cells: Must be 1. 10 Required sub-nodes: 11 - adi,channels: This sub-node must contain a sub-node for each DMA channel. For 12 the channel sub-nodes the following bindings apply. They must match the 15 Required properties for adi,channels sub-node: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
| D | adi,axi-dmac.txt | 1 Analog Devices AXI-DMAC DMA controller 4 - compatible: Must be "adi,axi-dmac-1.00.a". 5 - reg: Specification for the controllers memory mapped register map. 6 - interrupts: Specification for the controllers interrupt. 7 - clocks: Phandle and specifier to the controllers AXI interface clock 8 - #dma-cells: Must be 1. 10 Required sub-nodes: 11 - adi,channels: This sub-node must contain a sub-node for each DMA channel. For 12 the channel sub-nodes the following bindings apply. They must match the 15 Required properties for adi,channels sub-node: [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_catalog.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved. 4 * Copyright (c) 2015-2018, 2020 The Linux Foundation. All rights reserved. 52 * SSPP sub-blocks/features 59 * @DPU_SSPP_CSC_10BIT, Support of 10-bit Color space conversion 62 * @DPU_SSPP_QOS_8LVL, SSPP support 8-level QoS control 94 * MIXER sub-blocks/features 96 * @DPU_MIXER_SOURCESPLIT Layer mixer supports source-split configuration 112 * DSPP sub-blocks 121 * PINGPONG sub-blocks [all …]
|
| /kernel/linux/linux-5.10/include/media/ |
| 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. 58 * @type: Event type. 60 * @flags: Copy of v4l2_event_subscription->flags. [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 80 * @bus_type: bus type [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_catalog.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 94 * SSPP sub-blocks/features 101 * @DPU_SSPP_CSC_10BIT, Support of 10-bit Color space conversion 104 * @DPU_SSPP_QOS_8LVL, SSPP support 8-level QoS control 134 * MIXER sub-blocks/features 136 * @DPU_MIXER_SOURCESPLIT Layer mixer supports source-split configuration 150 * DSPP sub-blocks 161 * PINGPONG sub-blocks 179 * CTL sub-blocks [all …]
|
| /kernel/linux/linux-5.10/arch/sparc/lib/ |
| D | GENmemcpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 23 #define LOAD(type,addr,dest) type [addr], dest argument 27 #define STORE(type,src,addr) type src, [addr] argument 72 .type FUNC_NAME,#function 90 sub %o0, %o1, %o3 93 sub %o4, 0x8, %o4 94 sub %g0, %o4, %o4 95 sub %o2, %o4, %o2 104 sub %o2, %g1, %o2 113 sub %o0, %o1, %o3 [all …]
|
| /kernel/linux/linux-6.6/arch/sparc/lib/ |
| D | GENmemcpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 23 #define LOAD(type,addr,dest) type [addr], dest argument 27 #define STORE(type,src,addr) type src, [addr] argument 72 .type FUNC_NAME,#function 90 sub %o0, %o1, %o3 93 sub %o4, 0x8, %o4 94 sub %g0, %o4, %o4 95 sub %o2, %o4, %o2 104 sub %o2, %g1, %o2 113 sub %o0, %o1, %o3 [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | vidioc-subdev-querycap.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_QUERYCAP - Query sub-device capabilities 29 Pointer to struct :c:type:`v4l2_subdev_capability`. 34 All V4L2 sub-devices support the ``VIDIOC_SUBDEV_QUERYCAP`` ioctl. It is used to 37 a struct :c:type:`v4l2_subdev_capability` which is filled by the driver. When 43 .. c:type:: v4l2_subdev_capability 45 .. flat-table:: struct v4l2_subdev_capability 46 :header-rows: 0 47 :stub-columns: 0 50 * - __u32 [all …]
|
| D | vidioc-subdev-enum-frame-interval.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL - Enumerate frame intervals 29 Pointer to struct :c:type:`v4l2_subdev_frame_interval_enum`. 35 given sub-device pad. Frame intervals only makes sense for sub-devices 40 on the sub-device output pad depend on the frame format and size on the 46 :c:type:`v4l2_subdev_frame_interval_enum` 54 other pads of the sub-device, as well as on the current active links. 58 Sub-devices that support the frame interval enumeration ioctl should 60 multiple pads of the same sub-device is not defined. 62 .. c:type:: v4l2_subdev_frame_interval_enum [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | vidioc-subdev-querycap.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_QUERYCAP - Query sub-device capabilities 29 Pointer to struct :c:type:`v4l2_subdev_capability`. 34 All V4L2 sub-devices support the ``VIDIOC_SUBDEV_QUERYCAP`` ioctl. It is used to 37 a struct :c:type:`v4l2_subdev_capability` which is filled by the driver. When 43 .. c:type:: v4l2_subdev_capability 45 .. flat-table:: struct v4l2_subdev_capability 46 :header-rows: 0 47 :stub-columns: 0 50 * - __u32 [all …]
|
| D | vidioc-subdev-enum-frame-interval.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL - Enumerate frame intervals 29 Pointer to struct :c:type:`v4l2_subdev_frame_interval_enum`. 35 given sub-device pad. Frame intervals only makes sense for sub-devices 40 on the sub-device output pad depend on the frame format and size on the 46 :c:type:`v4l2_subdev_frame_interval_enum` 54 other pads of the sub-device, as well as on the current active links. 58 Sub-devices that support the frame interval enumeration ioctl should 60 multiple pads of the same sub-device is not defined. 62 .. c:type:: v4l2_subdev_frame_interval_enum [all …]
|
| /kernel/linux/linux-5.10/net/tipc/ |
| D | subscr.c | 4 * Copyright (c) 2000-2017, Ericsson AB 5 * Copyright (c) 2005-2007, 2010-2013, Wind River Systems 41 static void tipc_sub_send_event(struct tipc_subscription *sub, in tipc_sub_send_event() argument 45 struct tipc_event *evt = &sub->evt; in tipc_sub_send_event() 47 if (sub->inactive) in tipc_sub_send_event() 54 tipc_topsrv_queue_evt(sub->net, sub->conid, event, evt); in tipc_sub_send_event() 58 * tipc_sub_check_overlap - test for subscription overlap with the 66 if (found_lower < seq->lower) in tipc_sub_check_overlap() 67 found_lower = seq->lower; in tipc_sub_check_overlap() 68 if (found_upper > seq->upper) in tipc_sub_check_overlap() [all …]
|
| /kernel/linux/linux-6.6/net/tipc/ |
| D | name_table.c | 4 * Copyright (c) 2000-2006, 2014-2018, Ericsson AB 5 * Copyright (c) 2004-2008, 2010-2014, Wind River Systems 6 * Copyright (c) 2020-2021, Red Hat Inc 52 * struct service_range - container for all bindings of a service range 60 * Used by round-robin lookup algorithm 72 * struct tipc_service - container for all published instances of a service type 73 * @type: 32 bit 'type' value for service 77 * @subscriptions: list of subscriptions for this service type 82 u32 type; member 91 #define service_range_upper(sr) ((sr)->upper) [all …]
|