Home
last modified time | relevance | path

Searched full:pads (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/linux-5.10/Documentation/userspace-api/media/mediactl/
Dmedia-ioc-enum-links.rst13 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-5.10/Documentation/userspace-api/media/v4l/
Ddev-subdev.rst18 and discover the hardware topology using the media entities, pads and
30 - negotiate image formats on individual pads
131 whole pipeline and making sure that connected pads have compatible
145 Acceptable formats on pads can (and usually do) depend on a number of
146 external parameters, such as formats on other pads, active links, or
147 even controls. Finding a combination of formats on all pads in a video
180 (as long as external parameters, such as formats on other pads or links'
184 or active format is set on a pad, corresponding formats on other pads of
189 - Formats should be propagated from sink pads to source pads. Modifying
194 reset the scale factors to default values when sink pads formats are
[all …]
/linux-5.10/Documentation/devicetree/bindings/display/
Darm,pl11x.txt48 - arm,pl11x,tft-r0g0b0-pads: an array of three 32-bit values,
49 defining the way CLD pads are wired up; first value
58 arm,pl11x,tft-r0g0b0-pads = <4 15 20>;
60 arm,pl11x,tft-r0g0b0-pads = <1 7 13>;
62 arm,pl11x,tft-r0g0b0-pads = <3 11 19>;
64 arm,pl11x,tft-r0g0b0-pads = <3 10 19>;
66 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
68 arm,pl11x,tft-r0g0b0-pads = <16 8 0>;
/linux-5.10/Documentation/driver-api/media/
Dmc-core.rst19 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
58 Drivers initialize entity pads by calling
80 Pads chapter
82 Pads are represented by a struct media_pad instance,
83 defined in ``include/media/media-entity.h``. Each entity stores its pads in
84 a pads array managed by the entity driver. Drivers usually embed the array in
87 Pads are identified by their entity and their 0-based index in the pads
94 Pads have flags that describe the pad capabilities and state.
[all …]
/linux-5.10/drivers/staging/media/tegra-video/
Dcsi.h21 /* each CSI channel can have one sink and one source pads */
42 * @pads: media pads for the subdevice entity
43 * @numpads: number of pads.
53 * @mipi: mipi device for corresponding csi channel pads
59 struct media_pad pads[TEGRA_CSI_PADS_NUM]; member
/linux-5.10/drivers/staging/media/omap4iss/
Diss_ipipe.h22 /* Sink and source IPIPE pads */
31 * @pads: Sink and source media entity pads
42 struct media_pad pads[IPIPE_PADS_NUM]; member
Diss_resizer.h23 /* Sink and source RESIZER pads */
32 * @pads: Sink and source media entity pads
44 struct media_pad pads[RESIZER_PADS_NUM]; member
Diss_ipipeif.h24 /* Sink and source IPIPEIF pads */
34 * @pads: Sink and source media entity pads
61 struct media_pad pads[IPIPEIF_PADS_NUM]; member
/linux-5.10/include/media/
Dmedia-entity.h183 * @index: Pad index in the entity pads array, numbered from 0 to n
262 * @num_pads: Number of sink and source pads.
267 * @pads: Pads array with the size defined by @num_pads.
302 struct media_pad *pads; member
628 * media_entity_pads_init() - Initialize the entity pads
630 * @entity: entity where the pads belong
631 * @num_pads: total number of sink and source pads
632 * @pads: Array of @num_pads pads.
634 * The pads array is managed by the entity driver and passed to
638 * If no pads are needed, drivers could either directly fill
[all …]
/linux-5.10/drivers/gpu/host1x/
Dmipi.c96 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-5.10/drivers/input/joystick/
Dgamecon.c75 struct gc_pad pads[GC_MAX_DEVICES]; member
122 #define GC_N64_OUT 0x1d /* output bits to the 4 pads */
161 * Each pad uses one bit per byte. So all pads connected to this port
216 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet()
219 dev = gc->pads[i].dev; in gc_n64_process_packet()
319 #define GC_NES_LENGTH 8 /* The NES pads use 8 bits of data */
337 * Each pad uses one bit per byte. So all pads connected to
373 pad = &gc->pads[i]; in gc_nes_process_packet()
481 pad = &gc->pads[i]; in gc_multi_process_packet()
565 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command()
[all …]
/linux-5.10/Documentation/devicetree/bindings/pci/
Dnvidia,tegra20-pcie.txt17 "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-5.10/arch/powerpc/include/asm/
Dspu_csa.h95 * 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-5.10/Documentation/devicetree/bindings/ata/
Dcortina,gemini-sata-bridge.txt20 ata0 slave interface brought out on IDE pads
23 ata1 slave interface brought out on IDE pads
27 on IDE pads
31 on IDE pads
/linux-5.10/drivers/media/dvb-core/
Ddvbdev.c217 kfree(dvbdev->pads); in dvb_media_device_free()
219 dvbdev->pads = NULL; in dvb_media_device_free()
270 struct media_pad *pads = &dvbdev->tsout_pads[i]; in dvb_create_tsout_entity() local
278 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity()
280 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity()
324 * fixed. As we don't have yet dynamic support for PADs at in dvb_create_media_entity()
340 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), in dvb_create_media_entity()
342 if (!dvbdev->pads) { in dvb_create_media_entity()
351 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
352 dvbdev->pads[1].flags = MEDIA_PAD_FL_SOURCE; in dvb_create_media_entity()
[all …]
/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra210-p2371-2180.dts22 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>,
23 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>,
24 <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>,
25 <&{/padctl@7009f000/pads/pcie/lanes/pcie-3}>;
31 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>;
/linux-5.10/Documentation/admin-guide/media/
Dimx.rst142 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-5.10/drivers/media/mc/
Dmc-entity.c161 list_add_tail(&gobj->list, &mdev->pads); in media_gobj_create()
198 struct media_pad *pads) in media_entity_pads_init() argument
207 entity->pads = pads; in media_entity_pads_init()
213 pads[i].entity = entity; in media_entity_pads_init()
214 pads[i].index = i; in media_entity_pads_init()
217 &entity->pads[i].graph_obj); in media_entity_pads_init()
378 if (entity->pads[i].flags & direction_flags) in media_entity_get_fwnode_pad()
396 if (!(entity->pads[ret].flags & direction_flags)) in media_entity_get_fwnode_pad()
458 * Pads that either do not need to connect or in __media_pipeline_start()
642 if (entity->pads[i].flags & MEDIA_PAD_FL_SINK) in media_get_pad_index()
[all …]
Dmc-device.c116 entd->pads = ent->num_pads; in media_device_enum_entities()
160 if (links->pads) { in media_device_enum_links()
167 media_device_kpad_to_upad(&entity->pads[p], &pad); in media_device_enum_links()
168 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) in media_device_enum_links()
219 link = media_entity_find_link(&source->pads[linkd->source.index], in media_device_setup_link()
220 &sink->pads[linkd->sink.index]); in media_device_setup_link()
310 /* Get pads and number of pads */ in media_device_get_topology()
488 compat_uptr_t pads; /* struct media_pad_desc * */ member
503 || get_user(pads_ptr, &ulinks->pads) in media_device_enum_links32()
507 links.pads = compat_ptr(pads_ptr); in media_device_enum_links32()
[all …]
/linux-5.10/drivers/media/platform/
Dvideo-mux.c26 struct media_pad *pads; member
121 pad = media_entity_remote_pad(&sd->entity.pads[vmux->active]); in video_mux_s_stream()
180 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format()
297 /* Source pad mirrors active sink pad, no limitations on sink pads */ in video_mux_set_format()
425 * total number of pads. in video_mux_probe()
449 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe()
451 if (!vmux->pads) in video_mux_probe()
461 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe()
468 vmux->pads); in video_mux_probe()
/linux-5.10/drivers/media/test-drivers/vimc/
Dvimc-common.h156 * vimc_is_source - returns true if the entity has only source pads
207 * @num_pads: number of pads to initialize
208 * @pads: the array of pads of the entity, the caller should set the
209 * flags of the pads
221 struct media_pad *pads,
/linux-5.10/drivers/staging/media/rkisp1/
Drkisp1-common.h61 /* enum for the resizer pads */
82 /* enum for the isp pads */
118 * @pads: media pads
119 * @pad_cfg: pads configurations
128 struct media_pad pads[RKISP1_ISP_PAD_MAX]; member
289 * @pads: media pads
290 * @pad_cfg: configurations for the pads
299 struct media_pad pads[RKISP1_RSZ_PAD_MAX]; member
/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_tpg.c144 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-5.10/drivers/pinctrl/actions/
Dpinctrl-owl.h21 .pads = group_name##_pads, \
39 .pads = group_name##_pads, \
55 .pads = group_name##_pads, \
194 * @pads: list of pins assigned to this pingroup
195 * @npads: size of @pads array
210 unsigned int *pads; member
/linux-5.10/drivers/media/platform/omap3isp/
Disppreview.h97 /* Sink and source previewer pads */
105 * @pads: Media entity pads
122 struct media_pad pads[PREV_PADS_NUM]; member

12345678910>>...15