| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
| D | base.c | 27 #include "pad.h" 37 struct nvkm_i2c_pad *pad; in nvkm_i2c_pad_find() local 39 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_pad_find() 40 if (pad->id == id) in nvkm_i2c_pad_find() 41 return pad; in nvkm_i2c_pad_find() 50 struct nvkm_bios *bios = i2c->subdev.device->bios; in nvkm_i2c_bus_find() 67 list_for_each_entry(bus, &i2c->bus, head) { in nvkm_i2c_bus_find() 68 if (bus->id == id) in nvkm_i2c_bus_find() 80 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find() 81 if (aux->id == id) in nvkm_i2c_aux_find() [all …]
|
| D | anx9805.c | 38 struct anx9805_pad *pad; member 46 struct anx9805_pad *pad = bus->pad; in anx9805_bus_xfer() local 47 struct i2c_adapter *adap = &pad->bus->i2c; in anx9805_bus_xfer() 49 int ret = -ETIMEDOUT; in anx9805_bus_xfer() 53 tmp = nvkm_rdi2cr(adap, pad->addr, 0x07) & ~0x10; in anx9805_bus_xfer() 54 nvkm_wri2cr(adap, pad->addr, 0x07, tmp | 0x10); in anx9805_bus_xfer() 55 nvkm_wri2cr(adap, pad->addr, 0x07, tmp); in anx9805_bus_xfer() 56 nvkm_wri2cr(adap, bus->addr, 0x43, 0x05); in anx9805_bus_xfer() 59 while (cnt--) { in anx9805_bus_xfer() 60 if ( (msg->flags & I2C_M_RD) && msg->addr == 0x50) { in anx9805_bus_xfer() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
| D | base.c | 27 #include "pad.h" 38 struct nvkm_i2c_pad *pad; in nvkm_i2c_pad_find() local 40 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_pad_find() 41 if (pad->id == id) in nvkm_i2c_pad_find() 42 return pad; in nvkm_i2c_pad_find() 51 struct nvkm_bios *bios = i2c->subdev.device->bios; in nvkm_i2c_bus_find() 68 list_for_each_entry(bus, &i2c->bus, head) { in nvkm_i2c_bus_find() 69 if (bus->id == id) in nvkm_i2c_bus_find() 81 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find() 82 if (aux->id == id) in nvkm_i2c_aux_find() [all …]
|
| /kernel/linux/linux-6.6/include/media/ |
| D | media-entity.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 26 * enum media_gobj_type - type of a graph object 29 * @MEDIA_GRAPH_PAD: Identify a media pad 42 #define MEDIA_BITS_PER_ID (32 - MEDIA_BITS_PER_TYPE) 43 #define MEDIA_ID_MASK GENMASK_ULL(MEDIA_BITS_PER_ID - 1, 0) 48 * struct media_gobj - Define a graph object. 51 * @id: Non-zero object ID identifier. The ID should be unique 53 * %MEDIA_BITS_PER_TYPE to store the type plus 55 * @list: List entry stored in one of the per-type mdev object lists 68 * struct media_entity_enum - An enumeration of media entities. [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
| D | atomisp_subdev.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <media/v4l2-event.h> 27 #include <media/v4l2-mediabus.h> 28 #include <media/videobuf2-vmalloc.h> 89 for (i = 0; i < ARRAY_SIZE(atomisp_in_fmt_conv) - 1; i++) in atomisp_subdev_is_compressed() 101 for (i = 0; i < ARRAY_SIZE(atomisp_in_fmt_conv) - 1; i++) in atomisp_find_in_fmt_conv() 113 for (i = 0; i < ARRAY_SIZE(atomisp_in_fmt_conv) - 1; i++) in atomisp_find_in_fmt_conv_by_atomisp_in_fmt() 124 sink = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion() 126 src = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion() 129 return atomisp_is_mbuscode_raw(sink->code) in atomisp_subdev_format_conversion() [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/qcom/ |
| D | pinctrl-spmi-mpp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 16 #include <linux/pinctrl/pinconf-generic.h> 20 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 23 #include "../pinctrl-utils.h" 28 * Pull Up Values - it indicates whether a pull-up should be 37 /* type registers base address bases */ 41 /* mpp peripheral type and subtype values */ 106 * struct pmic_mpp_pad - keep current MPP settings 114 * @num_sources: Number of power-sources supported by this MPP. [all …]
|
| D | pinctrl-spmi-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, 2016-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. 19 #include <linux/pinctrl/pinconf-generic.h> 23 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 26 #include "../pinctrl-utils.h" 30 /* type and subtype registers base address offsets */ 34 /* GPIO peripheral type and subtype out_values */ 99 * Output type - indicates pin should be configured as push-pull, 139 * struct pmic_gpio_pad - keep current GPIO settings [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | v4l2-subdev.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 #include <linux/v4l2-common.h> 30 #include <linux/v4l2-mediabus.h> 33 * enum v4l2_subdev_format_whence - Media bus format type 43 * struct v4l2_subdev_format - Pad-level media bus format 44 * @which: format type (from enum v4l2_subdev_format_whence) 45 * @pad: pad number, as reported by the media API 50 __u32 pad; member 56 * struct v4l2_subdev_crop - Pad-level crop settings [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/qcom/ |
| D | pinctrl-spmi-mpp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 10 #include <linux/pinctrl/pinconf-generic.h> 18 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 21 #include "../pinctrl-utils.h" 26 * Pull Up Values - it indicates whether a pull-up should be 35 /* type registers base address bases */ 39 /* mpp peripheral type and subtype values */ 104 * struct pmic_mpp_pad - keep current MPP settings 113 * @num_sources: Number of power-sources supported by this MPP. [all …]
|
| D | pinctrl-spmi-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 11 #include <linux/pinctrl/pinconf-generic.h> 19 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 22 #include "../pinctrl-utils.h" 26 /* type and subtype registers base address offsets */ 30 /* GPIO peripheral type and subtype out_values */ 93 * Output type - indicates pin should be configured as push-pull, 130 * struct pmic_gpio_pad - keep current GPIO settings 134 * @have_buffer: Set to true if GPIO output could be configured in push-pull, [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | v4l2-subdev.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 #include <linux/v4l2-common.h> 18 #include <linux/v4l2-mediabus.h> 21 * enum v4l2_subdev_format_whence - Media bus format type 31 * struct v4l2_subdev_format - Pad-level media bus format 32 * @which: format type (from enum v4l2_subdev_format_whence) 33 * @pad: pad number, as reported by the media API 40 __u32 pad; member 47 * struct v4l2_subdev_crop - Pad-level crop settings 48 * @which: format type (from enum v4l2_subdev_format_whence) [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| D | atomisp_subdev.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <media/v4l2-event.h> 27 #include <media/v4l2-mediabus.h> 87 for (i = 0; i < ARRAY_SIZE(atomisp_in_fmt_conv) - 1; i++) in atomisp_subdev_is_compressed() 99 for (i = 0; i < ARRAY_SIZE(atomisp_in_fmt_conv) - 1; i++) in atomisp_find_in_fmt_conv() 111 for (i = 0; i < ARRAY_SIZE(atomisp_in_fmt_conv) - 1; i++) in atomisp_find_in_fmt_conv_by_atomisp_in_fmt() 123 sink = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion() 126 src = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion() 129 return atomisp_is_mbuscode_raw(sink->code) in atomisp_subdev_format_conversion() 130 && !atomisp_is_mbuscode_raw(src->code); in atomisp_subdev_format_conversion() [all …]
|
| /kernel/linux/linux-5.10/include/media/ |
| D | media-entity.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 24 * enum media_gobj_type - type of a graph object 27 * @MEDIA_GRAPH_PAD: Identify a media pad 40 #define MEDIA_BITS_PER_ID (32 - MEDIA_BITS_PER_TYPE) 41 #define MEDIA_ID_MASK GENMASK_ULL(MEDIA_BITS_PER_ID - 1, 0) 46 * struct media_gobj - Define a graph object. 49 * @id: Non-zero object ID identifier. The ID should be unique 51 * %MEDIA_BITS_PER_TYPE to store the type plus 53 * @list: List entry stored in one of the per-type mdev object lists 66 * struct media_entity_enum - An enumeration of media entities. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/ |
| D | nvidia,tegra186-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra186-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra186 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 16 is controlled by a HW block referred to as a "pad" in the Tegra hardware 17 documentation. Each such "pad" may control either one or multiple lanes, [all …]
|
| D | nvidia,tegra124-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra124-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra124 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 16 is controlled by a HW block referred to as a "pad" in the Tegra hardware 17 documentation. Each such "pad" may control either one or multiple lanes, [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | vidioc-subdev-g-fmt.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subdev pad 33 Pointer to struct :c:type:`v4l2_subdev_format`. 41 To retrieve the current format applications set the ``pad`` field of a 42 struct :c:type:`v4l2_subdev_format` to the desired 43 pad number as reported by the media API and the ``which`` field to 48 To change the current format applications set both the ``pad`` and 53 :c:type:`v4l2_subdev_format` contains the current 59 and stored in the sub-device file handle. Two applications querying the 60 same sub-device would thus not interact with each other. [all …]
|
| D | vidioc-subdev-g-crop.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_G_CROP - VIDIOC_SUBDEV_S_CROP - Get or set the crop rectangle on a subdev pad 33 Pointer to struct :c:type:`v4l2_subdev_crop`. 44 To retrieve the current crop rectangle applications set the ``pad`` 45 field of a struct :c:type:`v4l2_subdev_crop` to the 46 desired pad number as reported by the media API and the ``which`` field 51 on the given pad. 53 To change the current crop rectangle applications set both the ``pad`` 58 return the struct :c:type:`v4l2_subdev_crop` 65 crop rectangles and stored in the sub-device file handle. Two [all …]
|
| D | vidioc-subdev-g-frame-interval.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the frame interval on … 33 Pointer to struct :c:type:`v4l2_subdev_frame_interval`. 40 for sub-devices that can control the frame period on their own. This 41 includes, for instance, image sensors and TV tuners. Sub-devices that 44 To retrieve the current frame interval applications set the ``pad`` 46 :c:type:`v4l2_subdev_frame_interval` to 47 the desired pad number as reported by the media controller API. When 51 To change the current frame interval applications set both the ``pad`` 57 :c:type:`v4l2_subdev_frame_interval` [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 41 same pad. Applications must thus specify the desired format and size 45 ``pad``, ``which``, ``code``, ``width`` and ``height`` fields of struct 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 [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | vidioc-subdev-g-fmt.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subdev pad 33 Pointer to struct :c:type:`v4l2_subdev_format`. 41 To retrieve the current format applications set the ``pad`` field of a 42 struct :c:type:`v4l2_subdev_format` to the desired 43 pad number as reported by the media API and the ``which`` field to 48 To change the current format applications set both the ``pad`` and 53 :c:type:`v4l2_subdev_format` contains the current 59 and stored in the sub-device file handle. Two applications querying the 60 same sub-device would thus not interact with each other. [all …]
|
| D | vidioc-subdev-g-crop.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_G_CROP - VIDIOC_SUBDEV_S_CROP - Get or set the crop rectangle on a subdev pad 33 Pointer to struct :c:type:`v4l2_subdev_crop`. 44 To retrieve the current crop rectangle applications set the ``pad`` 45 field of a struct :c:type:`v4l2_subdev_crop` to the 46 desired pad number as reported by the media API and the ``which`` field 51 on the given pad. 53 To change the current crop rectangle applications set both the ``pad`` 58 return the struct :c:type:`v4l2_subdev_crop` 65 crop rectangles and stored in the sub-device file handle. Two [all …]
|
| D | vidioc-subdev-g-frame-interval.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the frame interval on … 33 Pointer to struct :c:type:`v4l2_subdev_frame_interval`. 40 for sub-devices that can control the frame period on their own. This 41 includes, for instance, image sensors and TV tuners. Sub-devices that 44 To retrieve the current frame interval applications set the ``pad`` 46 :c:type:`v4l2_subdev_frame_interval` to 47 the desired pad number as reported by the media controller API. When 51 To change the current frame interval applications set both the ``pad`` 57 :c:type:`v4l2_subdev_frame_interval` [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 41 same pad. Applications must thus specify the desired format and size 45 ``pad``, ``which``, ``code``, ``width`` and ``height`` fields of struct 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 [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
| D | vsp1_entity.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * vsp1_entity.c -- R-Car VSP1 Base Entity 5 * Copyright (C) 2013-2014 Renesas Electronics Corporation 13 #include <media/media-entity.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-subdev.h> 30 if (entity->type == VSP1_ENTITY_HGO) { in vsp1_entity_route_setup() 35 * sink pad. in vsp1_entity_route_setup() 37 source = entity->sources[0]; in vsp1_entity_route_setup() 38 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
| D | vsp1_entity.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * vsp1_entity.c -- R-Car VSP1 Base Entity 5 * Copyright (C) 2013-2014 Renesas Electronics Corporation 13 #include <media/media-entity.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-subdev.h> 30 if (entity->type == VSP1_ENTITY_HGO) { in vsp1_entity_route_setup() 35 * sink pad. in vsp1_entity_route_setup() 37 source = entity->sources[0]; in vsp1_entity_route_setup() 38 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup() [all …]
|