Home
last modified time | relevance | path

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

12345678910>>...17

/Linux-v6.1/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-v6.1/include/media/
Dmedia-entity.h105 * @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()
207 * @index: Pad index in the entity pads array, numbered from 0 to n
240 * @has_pad_interdep: Return whether a two pads inside the entity are
241 * interdependent. If two pads are interdependent they are
242 * part of the same pipeline and enabling one of the pads
246 * Optional: If the operation isn't implemented all pads
304 * @num_pads: Number of sink and source pads.
[all …]
/Linux-v6.1/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-v6.1/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
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.1/Documentation/devicetree/bindings/phy/
Dnvidia,tegra20-usb-phy.yaml50 - 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.1/Documentation/devicetree/bindings/display/
Darm,pl11x.yaml94 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.1/drivers/media/mc/
Dmc-entity.c158 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()
231 * and @pad1. If two pads are interdependent they are part of the same pipeline
232 * and enabling one of the pads means that the other pad will become "locked"
237 * has_pad_interdep operation is not implemented, all pads of the entity are
246 if (entity->pads[pad0].flags & entity->pads[pad1].flags & in media_entity_has_pad_interdep()
405 * The pipeline traversal stack stores pads that are reached during graph
410 * To find further pads in the pipeline, the traversal algorithm follows
552 list_for_each_entry(ppad, &pipe->pads, list) { in media_pipeline_add_pad()
[all …]
/Linux-v6.1/drivers/staging/media/tegra-video/
Dcsi.h25 /* 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
65 struct media_pad pads[TEGRA_CSI_PADS_NUM]; member
/Linux-v6.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-common.h64 /* 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.1/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-v6.1/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-v6.1/drivers/input/joystick/
Dgamecon.c72 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.1/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-v6.1/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-v6.1/drivers/staging/media/atomisp/pci/
Datomisp_tpg.c50 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.1/drivers/media/dvb-core/
Ddvbdev.c207 kfree(dvbdev->pads); in dvb_media_device_free()
209 dvbdev->pads = NULL; in dvb_media_device_free()
261 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()
342 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
343 dvbdev->pads[1].flags = MEDIA_PAD_FL_SOURCE; in dvb_create_media_entity()
[all …]
/Linux-v6.1/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 …]
Dimx7.rst47 This is the video multiplexer. It has two sink pads to select from either camera
88 # Configure pads for pipeline
113 - entity 1: csi (2 pads, 2 links)
129 - entity 10: csi-mux (3 pads, 2 links)
141 - entity 14: imx7-mipi-csis.0 (2 pads, 2 links)
171 # Configure pads for pipeline
195 - entity 1: csi (2 pads, 2 links)
/Linux-v6.1/drivers/media/platform/
Dvideo-mux.c26 struct media_pad *pads; member
121 pad = media_pad_remote_pad_first(&sd->entity.pads[vmux->active]); in video_mux_s_stream()
181 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format()
299 /* Source pad mirrors active sink pad, no limitations on sink pads */ in video_mux_set_format()
428 * total number of pads. in video_mux_probe()
450 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe()
452 if (!vmux->pads) in video_mux_probe()
462 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe()
469 vmux->pads); in video_mux_probe()
/Linux-v6.1/drivers/media/test-drivers/vimc/
Dvimc-common.h163 * vimc_is_source - returns true if the entity has only source pads
215 * @num_pads: number of pads to initialize
216 * @pads: the array of pads of the entity, the caller should set the
217 * flags of the pads
229 struct media_pad *pads,
/Linux-v6.1/Documentation/devicetree/bindings/ata/
Dcortina,gemini-sata-bridge.yaml58 ata0 slave interface brought out on IDE pads
61 ata1 slave interface brought out on IDE pads
64 ata0 master and slave interfaces brought out on IDE pads
67 ata1 master and slave interfaces brought out on IDE pads
/Linux-v6.1/drivers/pinctrl/ralink/
Dpinctrl-ralink.c32 struct pinctrl_pin_desc *pads; member
281 /* the pads needed to tell pinctrl about our pins */ in ralink_pinctrl_pins()
282 p->pads = devm_kcalloc(p->dev, p->max_pins, in ralink_pinctrl_pins()
284 if (!p->pads || !p->gpio) in ralink_pinctrl_pins()
299 /* set the pads */ in ralink_pinctrl_pins()
307 p->pads[i].number = i; in ralink_pinctrl_pins()
308 p->pads[i].name = name; in ralink_pinctrl_pins()
310 p->desc->pins = p->pads; in ralink_pinctrl_pins()
/Linux-v6.1/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

12345678910>>...17