/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | dev-subdev.rst | 18 and discover the hardware topology using the media entities, pads and 30 - negotiate image formats on individual pads 32 - inspect and modify internal data routing between pads of the same entity 133 whole pipeline and making sure that connected pads have compatible 147 Acceptable formats on pads can (and usually do) depend on a number of 148 external parameters, such as formats on other pads, active links, or 149 even controls. Finding a combination of formats on all pads in a video 182 (as long as external parameters, such as formats on other pads or links' 186 or active format is set on a pad, corresponding formats on other pads of 191 - Formats should be propagated from sink pads to source pads. Modifying [all …]
|
/openbmc/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-ioc-enum-links.rst | 13 MEDIA_IOC_ENUM_LINKS - Enumerate all pads and links for a given entity 34 To enumerate pads and/or links for a given entity, applications set the 39 the ``pads`` and ``links`` fields. They then call the 42 If the ``pads`` field is not NULL, the driver fills the ``pads`` array 43 with information about the entity's pads. The array must have enough 44 room to store all the entity's pads. The number of pads can be retrieved 52 Only forward links that originate at one of the entity's source pads are 69 - \*\ ``pads`` 70 - Pointer to a pads array allocated by the application. Ignored if
|
/openbmc/u-boot/board/inversepath/usbarmory/ |
H A D | usbarmory.c | 66 static const iomux_v3_cfg_t pads[] = { in setup_iomux_sd() local 80 imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)); in setup_iomux_sd() 85 static const iomux_v3_cfg_t pads[] = { in setup_iomux_led() local 90 imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)); in setup_iomux_led() 95 static const iomux_v3_cfg_t pads[] = { in setup_iomux_i2c() local 100 imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)); in setup_iomux_i2c() 105 static const iomux_v3_cfg_t pads[] = { in setup_iomux_pinheader() local 115 imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)); in setup_iomux_pinheader() 120 static const iomux_v3_cfg_t pads[] = { in setup_iomux_unused_boot() local 121 /* Pulled-up pads */ in setup_iomux_unused_boot() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra234-p3740-0002.dtsi | 77 pads { 168 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 169 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 176 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 177 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 178 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 179 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>, 180 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 181 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>, 182 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
|
H A D | tegra234-p3768-0000.dtsi | 44 pads { 119 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 120 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 127 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 128 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 129 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 130 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 131 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
|
H A D | tegra234-p3737-0000+p3701-0000.dts | 50 pads { 154 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 155 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 162 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 163 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 164 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 165 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>, 166 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 167 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>, 168 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
|
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-pipe.c | 40 .pads = BIT(MXC_ISI_PIPE_PAD_SINK), 45 .pads = BIT(MXC_ISI_PIPE_PAD_SOURCE), 52 .pads = BIT(MXC_ISI_PIPE_PAD_SINK), 57 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 65 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 71 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 77 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 83 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 89 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 95 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) [all …]
|
H A D | imx8-isi-crossbar.c | 162 pad = media_pad_remote_pad_first(&xbar->pads[sink_pad]); in mxc_isi_crossbar_xlate_streams() 224 * The media bus code on source pads is identical to the in mxc_isi_crossbar_enum_mbus_code() 259 media_pad_is_streaming(&xbar->pads[fmt->pad])) in mxc_isi_crossbar_set_fmt() 455 xbar->pads = kcalloc(num_pads, sizeof(*xbar->pads), GFP_KERNEL); in mxc_isi_crossbar_init() 456 if (!xbar->pads) in mxc_isi_crossbar_init() 467 xbar->pads[i].flags = MEDIA_PAD_FL_SINK in mxc_isi_crossbar_init() 470 xbar->pads[i + xbar->num_sinks].flags = MEDIA_PAD_FL_SOURCE; in mxc_isi_crossbar_init() 472 ret = media_entity_pads_init(&sd->entity, num_pads, xbar->pads); in mxc_isi_crossbar_init() 485 kfree(xbar->pads); in mxc_isi_crossbar_init() 494 kfree(xbar->pads); in mxc_isi_crossbar_cleanup()
|
/openbmc/linux/include/media/ |
H A D | media-entity.h | 105 * @pads: List of media_pipeline_pad 111 struct list_head pads; member 118 * @list: Entry in the media_pad pads list 124 * pipeline, and stored in the &media_pad.pads list. media_pipeline_stop() 227 * @index: Pad index in the entity pads array, numbered from 0 to n 262 * @has_pad_interdep: Return whether two pads of the entity are 263 * interdependent. If two pads are interdependent they are 264 * part of the same pipeline and enabling one of the pads 270 * Optional: If the operation isn't implemented all pads 328 * @num_pads: Number of sink and source pads. [all …]
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | mc-core.rst | 19 through pads. 29 flows from the entity's output to one or more entity inputs. Pads should 32 A link is a point-to-point oriented connection between two pads, either 65 Drivers initialize entity pads by calling 87 Pads chapter 89 Pads are represented by a struct media_pad instance, 90 defined in ``include/media/media-entity.h``. Each entity stores its pads in 91 a pads array managed by the entity driver. Drivers usually embed the array in 94 Pads are identified by their entity and their 0-based index in the pads 101 Pads have flags that describe the pad capabilities and state. [all …]
|
/openbmc/linux/drivers/media/mc/ |
H A D | mc-entity.c | 158 list_add_tail(&gobj->list, &mdev->pads); in media_gobj_create() 195 struct media_pad *pads) in media_entity_pads_init() argument 205 entity->pads = pads; in media_entity_pads_init() 230 * media_entity_has_pad_interdep - Check interdependency between two pads 237 * and @pad1. If two pads are interdependent they are part of the same pipeline 238 * and enabling one of the pads means that the other pad will become "locked" 243 * has_pad_interdep operation is not implemented, all pads of the entity are 247 * The function returns false if both pads are sinks or sources. 251 * Return: true if the pads are connected internally and false otherwise. 259 if (entity->pads[pad0].flags & entity->pads[pad1].flags & in media_entity_has_pad_interdep() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | arm,pl11x.yaml | 94 arm,pl11x,tft-r0g0b0-pads: 103 CLD[23:0] pads are wired up. 111 arm,pl11x,tft-r0g0b0-pads = <4 15 20>; 113 arm,pl11x,tft-r0g0b0-pads = <1 7 13>; 115 arm,pl11x,tft-r0g0b0-pads = <3 11 19>; 117 arm,pl11x,tft-r0g0b0-pads = <3 10 19>; 119 arm,pl11x,tft-r0g0b0-pads = <0 8 16>; 121 arm,pl11x,tft-r0g0b0-pads = <16 8 0>;
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | nvidia,tegra20-usb-phy.yaml | 50 - description: UTMI pads control registers clock 56 - description: UTMI pads control registers clock 72 - const: utmi-pads 78 - const: utmi-pads 90 - description: UTMI pads reset 98 - const: utmi-pads 271 - const: utmi-pads 288 - const: utmi-pads 340 clock-names = "reg", "pll_u", "utmi-pads"; 342 reset-names = "usb", "utmi-pads"; [all …]
|
/openbmc/linux/drivers/staging/media/omap4iss/ |
H A D | iss_ipipe.h | 22 /* Sink and source IPIPE pads */ 31 * @pads: Sink and source media entity pads 42 struct media_pad pads[IPIPE_PADS_NUM]; member
|
H A D | iss_resizer.h | 23 /* Sink and source RESIZER pads */ 32 * @pads: Sink and source media entity pads 44 struct media_pad pads[RESIZER_PADS_NUM]; member
|
/openbmc/linux/drivers/staging/media/tegra-video/ |
H A D | csi.h | 25 /* each CSI channel can have one sink and one source pads */ 46 * @pads: media pads for the subdevice entity 47 * @numpads: number of pads. 59 * @mipi: mipi device for corresponding csi channel pads, or NULL if not applicable (TPG, error) 65 struct media_pad pads[TEGRA_CSI_PADS_NUM]; member
|
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-common.h | 72 /* enum for the resizer pads */ 79 /* enum for the csi receiver pads */ 100 /* enum for the isp pads */ 177 * @pads: media pads 178 * @pad_cfg: configurations for the pads 188 struct media_pad pads[RKISP1_CSI_PAD_NUM]; member 200 * @pads: media pads 201 * @pad_cfg: pads configurations 210 struct media_pad pads[RKISP1_ISP_PAD_MAX]; member 400 * @pads: media pads [all …]
|
/openbmc/linux/drivers/gpu/host1x/ |
H A D | mipi.c | 96 const struct tegra_mipi_pad *pads; member 133 unsigned long pads; member 185 * supplies the DSI pads. This must be kept enabled until none of the in tegra_mipi_power_down() 242 dev->pads = args.args[0]; in tegra_mipi_request() 341 if (device->pads & BIT(i)) { in tegra_mipi_start_calibration() 351 tegra_mipi_writel(device->mipi, data, soc->pads[i].data); in tegra_mipi_start_calibration() 353 if (soc->has_clk_lane && soc->pads[i].clk != 0) in tegra_mipi_start_calibration() 354 tegra_mipi_writel(device->mipi, clk, soc->pads[i].clk); in tegra_mipi_start_calibration() 380 * sequence codes before waiting for pads idle state to apply the in tegra_mipi_start_calibration() 403 .pads = tegra114_mipi_pads, [all …]
|
/openbmc/linux/drivers/input/joystick/ |
H A D | gamecon.c | 72 struct gc_pad pads[GC_MAX_DEVICES]; member 119 #define GC_N64_OUT 0x1d /* output bits to the 4 pads */ 158 * Each pad uses one bit per byte. So all pads connected to this port 213 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet() 216 dev = gc->pads[i].dev; in gc_n64_process_packet() 316 #define GC_NES_LENGTH 8 /* The NES pads use 8 bits of data */ 334 * Each pad uses one bit per byte. So all pads connected to 370 pad = &gc->pads[i]; in gc_nes_process_packet() 478 pad = &gc->pads[i]; in gc_multi_process_packet() 562 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | nvidia,tegra20-pcie.txt | 17 "pads": PADS registers 171 reg = <0x80003000 0x00000800 /* PADS registers */ 174 reg-names = "pads", "afi", "cs"; 272 reg = <0x00003000 0x00000800 /* PADS registers */ 275 reg-names = "pads", "afi", "cs"; 377 reg = <0x0 0x01003000 0x0 0x00000800 /* PADS registers */ 380 reg-names = "pads", "afi", "cs"; 452 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>; 459 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>; 473 reg = <0x0 0x01003000 0x0 0x00000800 /* PADS registers */ [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_tpg.c | 50 sd_state->pads->try_fmt = *fmt; in tpg_set_fmt() 144 struct media_pad *pads = tpg->pads; in atomisp_tpg_init() local 154 pads[0].flags = MEDIA_PAD_FL_SINK; in atomisp_tpg_init() 157 ret = media_entity_pads_init(me, 1, pads); in atomisp_tpg_init()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | spu_csa.h | 95 * struct spu_problem_collapsed - condensed problem state area, w/o pads. 120 * struct spu_priv1_collapsed - condensed privileged 1 area, w/o pads. 184 * struct spu_priv2_collapsed - condensed privileged 2 area, w/o pads. 211 * @prob: Collapsed Problem State Area, w/o pads. 212 * @priv1: Collapsed Privileged 1 Area, w/o pads. 213 * @priv2: Collapsed Privileged 2 Area, w/o pads.
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | imx.rst | 142 four source pads, corresponding to the four MIPI CSI-2 demuxed virtual 143 channel outputs. Multiple source pads can be enabled to independently 165 These are the video multiplexers. They have two or more sink pads to 172 the four MIPI CSI-2 virtual channels (a total of five sink pads). The 173 other mux sits in front of IPU1-CSI1, and again has five sink pads to 179 channel 0 (two sink pads). The other mux sits in front of IPU2-CSI1 to 181 sink pads). 190 This entity has two source pads. The first source pad can link directly 257 sink and source pads. The ipuX_csiY entity then applies the best 280 has two sink pads and a single source pad. [all …]
|
/openbmc/u-boot/board/freescale/mx6memcal/ |
H A D | Kconfig | 32 prompt "UART pads" 34 Select the RX and TX pads used for your serial console. 42 Choose this configuration if you're using pads 51 Choose this configuration if you're using pads 59 Choose this configuration if you're using pads
|
/openbmc/linux/drivers/media/platform/ |
H A D | video-mux.c | 26 struct media_pad *pads; member 128 pad = media_pad_remote_pad_first(&sd->entity.pads[vmux->active]); in video_mux_s_stream() 154 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format() 269 /* Source pad mirrors active sink pad, no limitations on sink pads */ in video_mux_set_format() 409 * total number of pads. in video_mux_probe() 431 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe() 433 if (!vmux->pads) in video_mux_probe() 437 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe() 442 vmux->pads); in video_mux_probe()
|