/Linux-v6.6/Documentation/userspace-api/media/v4l/ |
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 …]
|
/Linux-v6.6/Documentation/userspace-api/media/mediactl/ |
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
|
/Linux-v6.6/drivers/media/platform/nxp/imx8-isi/ |
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 …]
|
D | imx8-isi-crossbar.c | 162 pad = media_pad_remote_pad_first(&xbar->pads[sink_pad]); in mxc_isi_crossbar_xlate_streams() 225 * The media bus code on source pads is identical to the in mxc_isi_crossbar_enum_mbus_code() 260 media_pad_is_streaming(&xbar->pads[fmt->pad])) in mxc_isi_crossbar_set_fmt() 456 xbar->pads = kcalloc(num_pads, sizeof(*xbar->pads), GFP_KERNEL); in mxc_isi_crossbar_init() 457 if (!xbar->pads) in mxc_isi_crossbar_init() 468 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()
|
/Linux-v6.6/arch/arm64/boot/dts/nvidia/ |
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}>;
|
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}>;
|
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}>;
|
/Linux-v6.6/include/media/ |
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 260 * @has_pad_interdep: Return whether two pads of the entity are 261 * interdependent. If two pads are interdependent they are 262 * part of the same pipeline and enabling one of the pads 268 * Optional: If the operation isn't implemented all pads 326 * @num_pads: Number of sink and source pads. [all …]
|
/Linux-v6.6/Documentation/driver-api/media/ |
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 subsection 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 …]
|
/Linux-v6.6/Documentation/devicetree/bindings/phy/ |
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 …]
|
/Linux-v6.6/Documentation/devicetree/bindings/display/ |
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>;
|
/Linux-v6.6/drivers/media/mc/ |
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 …]
|
/Linux-v6.6/drivers/staging/media/tegra-video/ |
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
|
/Linux-v6.6/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-common.h | 64 /* enum for the resizer pads */ 71 /* enum for the csi receiver pads */ 92 /* enum for the isp pads */ 169 * @pads: media pads 170 * @pad_cfg: configurations for the pads 180 struct media_pad pads[RKISP1_CSI_PAD_NUM]; member 192 * @pads: media pads 193 * @pad_cfg: pads configurations 202 struct media_pad pads[RKISP1_ISP_PAD_MAX]; member 392 * @pads: media pads [all …]
|
/Linux-v6.6/drivers/staging/media/omap4iss/ |
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
|
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
|
D | iss_ipipeif.h | 24 /* Sink and source IPIPEIF pads */ 34 * @pads: Sink and source media entity pads 61 struct media_pad pads[IPIPEIF_PADS_NUM]; member
|
/Linux-v6.6/drivers/gpu/host1x/ |
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 …]
|
/Linux-v6.6/drivers/input/joystick/ |
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 …]
|
/Linux-v6.6/Documentation/devicetree/bindings/pci/ |
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 …]
|
/Linux-v6.6/arch/powerpc/include/asm/ |
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.
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/ |
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()
|
/Linux-v6.6/Documentation/admin-guide/media/ |
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 …]
|
/Linux-v6.6/drivers/media/platform/ |
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()
|
/Linux-v6.6/drivers/media/dvb-core/ |
D | dvbdev.c | 206 kfree(dvbdev->pads); in dvb_media_device_free() 208 dvbdev->pads = NULL; in dvb_media_device_free() 260 struct media_pad *pads = &dvbdev->tsout_pads[i]; in dvb_create_tsout_entity() local 269 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity() 271 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity() 315 * fixed. As we don't have yet dynamic support for PADs at in dvb_create_media_entity() 331 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), in dvb_create_media_entity() 333 if (!dvbdev->pads) { in dvb_create_media_entity() 343 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity() 344 dvbdev->pads[1].flags = MEDIA_PAD_FL_SOURCE; in dvb_create_media_entity() [all …]
|