Home
last modified time | relevance | path

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

12345678910>>...41

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A 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 …]
H A 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 …]
/openbmc/linux/include/media/
H A 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 …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A 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>
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 …]
/openbmc/linux/drivers/pinctrl/qcom/
H A 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 …]
H A 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 …]
/openbmc/linux/include/uapi/linux/
H A 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 …]
/openbmc/u-boot/include/
H A Dmemalign.h1 /* SPDX-License-Identifier: GPL-2.0+ */
53 * type, and NOT an array of the specified type. This can be very important
69 #define PAD_COUNT(s, pad) (((s) - 1) / (pad) + 1) argument
70 #define PAD_SIZE(s, pad) (PAD_COUNT(s, pad) * pad) argument
71 #define ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, pad) \ argument
72 char __##name[ROUND(PAD_SIZE((size) * sizeof(type), pad), align) \
73 + (align - 1)]; \
75 type *name = (type *)ALIGN((uintptr_t)__##name, align)
76 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument
77 ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, 1)
[all …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dnvidia,tegra210-xusb-padctl.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/nvidia,tegra210-xusb-padctl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra210 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 …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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 …]
H A 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`.
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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A 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 …]
/openbmc/linux/Documentation/userspace-api/media/mediactl/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/media/test-drivers/vimc/
H A 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 …]
/openbmc/linux/drivers/staging/media/omap4iss/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dmarvell,xenon-sdhci.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 mmc-controller.yaml and the properties used by the Xenon implementation.
20 - Ulf Hansson <ulf.hansson@linaro.org>
25 - enum:
26 - marvell,armada-cp110-sdhci
27 - marvell,armada-ap806-sdhci
29 - items:
[all …]
/openbmc/linux/drivers/input/joystick/
H A 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>>...41