Home
last modified time | relevance | path

Searched +full:pad +full:- +full:type (Results 1 – 25 of 1054) sorted by relevance

12345678910>>...43

/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbase.c27 #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 …]
Danx9805.c38 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 …]
/linux-6.12.1/include/media/
Dmedia-entity.h1 /* 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 …]
/linux-6.12.1/Documentation/netlink/specs/
Dtc.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
4 protocol: netlink-raw
12 -
14 type: struct
16 -
18 type: u8
19 -
20 name: pad
21 type: pad
23 -
[all …]
/linux-6.12.1/drivers/pinctrl/qcom/
Dpinctrl-spmi-mpp.c1 // 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 …]
Dpinctrl-spmi-gpio.c1 // 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 …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c1 // SPDX-License-Identifier: GPL-2.0
26 #include <media/v4l2-event.h>
27 #include <media/v4l2-mediabus.h>
28 #include <media/videobuf2-vmalloc.h>
90 for (i = 0; i < ARRAY_SIZE(atomisp_in_fmt_conv) - 1; i++) in atomisp_subdev_is_compressed()
102 for (i = 0; i < ARRAY_SIZE(atomisp_in_fmt_conv) - 1; i++) in atomisp_find_in_fmt_conv()
114 for (i = 0; i < ARRAY_SIZE(atomisp_in_fmt_conv) - 1; i++) in atomisp_find_in_fmt_conv_by_atomisp_in_fmt()
125 sink = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion()
127 src = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion()
130 return atomisp_is_mbuscode_raw(sink->code) in atomisp_subdev_format_conversion()
[all …]
/linux-6.12.1/include/uapi/linux/
Dv4l2-subdev.h1 /* 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 …]
/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Dvirtchnl2.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 * all the structures in this header follow little-endian format.
74 * enum virtchnl2_vport_type - Type of virtual port.
75 * @VIRTCHNL2_VPORT_TYPE_DEFAULT: Default virtual port type.
82 * enum virtchnl2_queue_model - Type of queue model.
144 /* Receive Side Scaling Flow type capability flags */
210 /* underlying device type */
216 * enum virtchnl2_txq_sched_mode - Transmit Queue Scheduling Modes.
231 * enum virtchnl2_rxq_flags - Receive Queue Feature flags.
248 /* Type of RSS algorithm */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/phy/
Dnvidia,tegra186-xusb-padctl.yaml1 # 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 …]
Dnvidia,tegra124-xusb-padctl.yaml1 # 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 …]
Dnvidia,tegra194-xusb-padctl.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/nvidia,tegra194-xusb-padctl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra194 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 …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dvidioc-subdev-g-crop.rst1 .. 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`.
42 extensions to the :c:type:`v4l2_subdev_crop` structure will be accepted.
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`
[all …]
Dvidioc-subdev-g-fmt.rst1 .. 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 …]
Dvidioc-subdev-g-frame-interval.rst1 .. 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 …]
Dvidioc-subdev-enum-frame-interval.rst1 .. 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 …]
Dvidioc-subdev-enum-frame-size.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes
29 Pointer to struct :c:type:`v4l2_subdev_frame_size_enum`.
35 supported by a sub-device on the specified pad
42 of the struct :c:type:`v4l2_subdev_frame_size_enum`.
43 Each pair of ``pad`` and ``code`` correspond to a separate enumeration.
47 Therefore, to enumerate frame sizes allowed on the specified pad
49 ``pad``, ``which``, and ``code`` fields to desired values,
59 Sub-devices that only support discrete frame sizes (such as most
64 supported. For instance, a scaler that uses a fixed-point scaling ratio
[all …]
Dvidioc-enum-dv-timings.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_ENUM_DV_TIMINGS - VIDIOC_SUBDEV_ENUM_DV_TIMINGS - Enumerate supported Digital Video timings
33 Pointer to struct :c:type:`v4l2_enum_dv_timings`.
46 field, set the ``pad`` field to 0, zero the reserved array of struct
47 :c:type:`v4l2_enum_dv_timings` and call the
63 pad number in the struct
64 :c:type:`v4l2_enum_dv_timings` ``pad`` field.
65 Attempts to enumerate timings on a pad that doesn't support them will
68 .. c:type:: v4l2_enum_dv_timings
72 .. flat-table:: struct v4l2_enum_dv_timings
[all …]
/linux-6.12.1/Documentation/userspace-api/media/mediactl/
Dmedia-ioc-g-topology.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 MEDIA_IOC_G_TOPOLOGY - Enumerate the graph topology and graph element properties
29 Pointer to struct :c:type:`media_v2_topology`.
36 :c:type:`media_v2_topology` should be zeroed. At
51 .. c:type:: media_v2_topology
53 .. flat-table:: struct media_v2_topology
54 :header-rows: 0
55 :stub-columns: 0
58 * - __u64
59 - ``topology_version``
[all …]
Dmedia-types.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _media-controller-types:
10 .. _media-entity-functions:
11 .. _MEDIA-ENT-F-UNKNOWN:
12 .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN:
13 .. _MEDIA-ENT-F-IO-V4L:
14 .. _MEDIA-ENT-F-IO-VBI:
15 .. _MEDIA-ENT-F-IO-SWRADIO:
16 .. _MEDIA-ENT-F-IO-DTV:
17 .. _MEDIA-ENT-F-DTV-DEMOD:
[all …]
/linux-6.12.1/drivers/media/platform/renesas/vsp1/
Dvsp1_entity.c1 // 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 …]
/linux-6.12.1/drivers/media/test-drivers/vimc/
Dvimc-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * vimc-core.c Virtual Media Controller Driver
5 * Copyright (C) 2015-2017 Helen Koike <helen.fornazier@gmail.com>
8 #include <linux/dma-mapping.h>
13 #include <media/media-device.h>
14 #include <media/tpg/v4l2-tpg.h>
15 #include <media/v4l2-device.h>
17 #include "vimc-common.h"
23 "\t\t 1 == dma-contig");
80 /* --------------------------------------------------------------------------
[all …]
/linux-6.12.1/Documentation/driver-api/media/
Dmc-core.rst1 .. SPDX-License-Identifier: GPL-2.0
4 ------------------------
11 on the kernel-side implementation of the media framework.
24 in a System-on-Chip image processing pipeline), DMA channels or physical
27 A pad is a connection endpoint through which an entity can interact with
32 A link is a point-to-point oriented connection between two pads, either
34 pad to a sink pad.
40 instance, defined in ``include/media/media-device.h``.
42 embedding the :c:type:`media_device` instance in a larger driver-specific
60 instance, defined in ``include/media/media-entity.h``. The structure is usually
[all …]
/linux-6.12.1/drivers/staging/media/omap4iss/
Diss_video.c1 // SPDX-License-Identifier: GPL-2.0+
3 * TI OMAP4 ISS V4L2 Driver - Generic video node
18 #include <media/v4l2-dev.h>
19 #include <media/v4l2-ioctl.h>
20 #include <media/v4l2-mc.h>
25 /* -----------------------------------------------------------------------------
103 * iss_video_mbus_to_pix - Convert v4l2_mbus_framefmt to v4l2_pix_format
118 unsigned int bpl = pix->bytesperline; in iss_video_mbus_to_pix()
123 pix->width = mbus->width; in iss_video_mbus_to_pix()
124 pix->height = mbus->height; in iss_video_mbus_to_pix()
[all …]
/linux-6.12.1/drivers/input/joystick/
Dgamecon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 1999-2004 Vojtech Pavlik <vojtech@suse.cz>
6 * Copyright (c) 2004 Peter Nelson <rufus-kernel@hackish.org>
66 enum gc_type type; member
89 NULL, "SNES pad", "NES pad", "NES FourPort", "Multisystem joystick",
90 "Multisystem 2-button joystick", "N64 controller", "PSX controller",
120 /* Reading the main axes of any N64 pad is known to fail if the corresponding bit */
133 struct parport *port = gc->pd->port; in gc_n64_send_command()
146 struct parport *port = gc->pd->port; in gc_n64_send_stop_bit()
158 * Each pad uses one bit per byte. So all pads connected to this port
[all …]

12345678910>>...43