Home
last modified time | relevance | path

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

12345678910

/linux/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-common.c16 /* Helper function to allocate and initialize pads */
19 struct media_pad *pads; in dcmipp_pads_init() local
22 /* Allocate memory for the pads */ in dcmipp_pads_init()
23 pads = kzalloc_objs(*pads, num_pads); in dcmipp_pads_init()
24 if (!pads) in dcmipp_pads_init()
27 /* Initialize the pads */ in dcmipp_pads_init()
29 pads[i].index = i; in dcmipp_pads_init()
30 pads[i].flags = pads_flags[i]; in dcmipp_pads_init()
33 return pads; in dcmipp_pads_init()
54 /* Allocate the pads. Should be released from the sd_int_op release */ in dcmipp_ent_sd_register()
[all …]
/linux/Documentation/userspace-api/media/mediactl/
H A 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/Documentation/driver-api/media/
H A 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 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 …]
/linux/drivers/media/mc/
H A 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
206 entity->pads = pads; in media_entity_pads_init()
243 * media_entity_has_pad_interdep - Check interdependency between two pads
250 * and @pad1. If two pads are interdependent they are part of the same pipeline
251 * and enabling one of the pads means that the other pad will become "locked"
256 * has_pad_interdep operation is not implemented, all pads of the entity are
260 * The function returns false if both pads are sinks or sources.
264 * Return: true if the pads are connected internally and false otherwise.
272 if (entity->pads[pad0].flags & entity->pads[pad1].flags & in media_entity_has_pad_interdep()
[all …]
H A 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()
484 compat_uptr_t pads; /* struct media_pad_desc * */ member
499 || get_user(pads_ptr, &ulinks->pads) in media_device_enum_links32()
503 links.pads = compat_ptr(pads_ptr); in media_device_enum_links32()
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Darm,pl11x.yaml97 arm,pl11x,tft-r0g0b0-pads:
106 CLD[23:0] pads are wired up.
114 arm,pl11x,tft-r0g0b0-pads = <4 15 20>;
116 arm,pl11x,tft-r0g0b0-pads = <1 7 13>;
118 arm,pl11x,tft-r0g0b0-pads = <3 11 19>;
120 arm,pl11x,tft-r0g0b0-pads = <3 10 19>;
122 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
124 arm,pl11x,tft-r0g0b0-pads = <16 8 0>;
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dthead,th1520-pinctrl.yaml15 The TH1520 has 3 groups of pads each controlled from different memory ranges.
22 pads only a few of those 6 configurations are valid though, and a few pads in
25 Pinconf is fairly regular except for a few pads in group 1 that either can't
30 Certain pads in group 1 can be muxed to AUDIO_PA0 - AUDIO_PA30 functions and
80 or more pads and their associated pinmux and pinconf settings.
84 description: List of pads that properties in the node apply to.
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3768-0000+p3767.dtsi63 pads {
138 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
139 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
146 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
147 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>,
148 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>,
149 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
150 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
H A Dtegra234-p3740-0002+p3701-0008.dts126 pads {
213 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
214 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
221 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
222 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>,
223 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>,
224 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>,
225 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
226 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>,
227 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
/linux/drivers/input/joystick/
H A 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/Documentation/devicetree/bindings/pci/
H A 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/arch/powerpc/include/asm/
H A 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/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-crossbar.c162 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()
457 xbar->pads = kzalloc_objs(*xbar->pads, num_pads); in mxc_isi_crossbar_init()
458 if (!xbar->pads) in mxc_isi_crossbar_init()
468 xbar->pads[i].flags = MEDIA_PAD_FL_SINK in mxc_isi_crossbar_init()
471 xbar->pads[i + xbar->num_sinks].flags = MEDIA_PAD_FL_SOURCE; in mxc_isi_crossbar_init()
473 ret = media_entity_pads_init(&sd->entity, num_pads, xbar->pads); in mxc_isi_crossbar_init()
486 kfree(xbar->pads); in mxc_isi_crossbar_init()
495 kfree(xbar->pads); in mxc_isi_crossbar_cleanup()
/linux/drivers/media/dvb-core/
H A Ddvbdev.c213 kfree(dvbdev->pads); in dvb_media_device_free()
215 dvbdev->pads = NULL; in dvb_media_device_free()
265 struct media_pad *pads = &dvbdev->tsout_pads[i]; in dvb_create_tsout_entity() local
274 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity()
276 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity()
320 * fixed. As we don't have yet dynamic support for PADs at in dvb_create_media_entity()
336 dvbdev->pads = kzalloc_objs(*dvbdev->pads, npads); in dvb_create_media_entity()
337 if (!dvbdev->pads) { in dvb_create_media_entity()
347 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
348 dvbdev->pads[1].flags = MEDIA_PAD_FL_SOURCE; in dvb_create_media_entity()
[all …]
/linux/Documentation/admin-guide/media/
H A 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/Documentation/devicetree/bindings/ata/
H A 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/drivers/pinctrl/mediatek/
H A Dpinctrl-mtmips.c32 struct pinctrl_pin_desc *pads; member
281 /* the pads needed to tell pinctrl about our pins */ in mtmips_pinctrl_pins()
282 p->pads = devm_kcalloc(p->dev, p->max_pins, in mtmips_pinctrl_pins()
284 if (!p->pads || !p->gpio) in mtmips_pinctrl_pins()
299 /* set the pads */ in mtmips_pinctrl_pins()
307 p->pads[i].number = i; in mtmips_pinctrl_pins()
308 p->pads[i].name = name; in mtmips_pinctrl_pins()
310 p->desc->pins = p->pads; in mtmips_pinctrl_pins()
/linux/drivers/pinctrl/actions/
H A 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/drivers/staging/media/imx/
H A Dimx-media-dev-common.c49 * Continues upstream from the pad entity's sink pads.
96 /* move upstream from this entity's sink pads */ in imx_media_add_vdev_to_pad()
98 struct media_pad *pad = &entity->pads[i]; in imx_media_add_vdev_to_pad()
146 /* form the vdev lists in all imx-media source pads */
194 * Continues upstream from the entity's sink pads.
218 struct media_pad *pad, *spad = &entity->pads[i]; in imx_media_inherit_controls()
312 struct media_pad *pad = &entity->pads[i]; in imx_media_notify()
/linux/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_proc.c171 struct media_pad *local_pad = &proc->pads[SUN6I_ISP_PROC_PAD_SINK_CSI]; in sun6i_isp_proc_s_stream()
499 struct media_pad *pads = proc->pads; in sun6i_isp_proc_setup() local
520 /* Media Pads */ in sun6i_isp_proc_setup()
522 pads[SUN6I_ISP_PROC_PAD_SINK_CSI].flags = MEDIA_PAD_FL_SINK | in sun6i_isp_proc_setup()
524 pads[SUN6I_ISP_PROC_PAD_SINK_PARAMS].flags = MEDIA_PAD_FL_SINK | in sun6i_isp_proc_setup()
526 pads[SUN6I_ISP_PROC_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in sun6i_isp_proc_setup()
529 pads); in sun6i_isp_proc_setup()
/linux/drivers/media/platform/ti/omap3isp/
H A Disppreview.h97 /* Sink and source previewer pads */
105 * @pads: Media entity pads
122 struct media_pad pads[PREV_PADS_NUM]; member
H A Dispccdc.h87 /* Sink and source CCDC pads */
101 * @pads: Sink and source media entity pads
129 struct media_pad pads[CCDC_PADS_NUM]; member
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-dv.rst20 Note that these devices can have multiple input or output pads which are
22 receive or transmit video from/to only one of those pads, the other pads
29 These pads appear in several of the controls in this section as
31 1, etc. The maximum value of the control is the set of valid pads.
/linux/drivers/media/platform/synopsys/
H A Ddw-mipi-csi2rx.c110 struct media_pad pads[DW_MIPI_CSI2RX_PAD_MAX]; member
336 &csi2->pads[DW_MIPI_CSI2RX_PAD_SINK]); in dw_mipi_csi2rx_start()
503 sink_pad = &sd->entity.pads[DW_MIPI_CSI2RX_PAD_SINK]; in dw_mipi_csi2rx_enable_streams()
546 sink_pad = &sd->entity.pads[DW_MIPI_CSI2RX_PAD_SINK]; in dw_mipi_csi2rx_disable_streams()
571 remote_pad = media_pad_remote_pad_unique(&csi2->pads[DW_MIPI_CSI2RX_PAD_SINK]); in dw_mipi_csi2rx_get_frame_desc()
629 struct media_pad *sink_pad = &csi2->pads[DW_MIPI_CSI2RX_PAD_SINK]; in dw_mipi_csi2rx_notifier_bound()
700 struct media_pad *pads = csi2->pads; in dw_mipi_csi2rx_register() local
717 pads[DW_MIPI_CSI2RX_PAD_SINK].flags = MEDIA_PAD_FL_SINK | in dw_mipi_csi2rx_register()
719 pads[DW_MIPI_CSI2RX_PAD_SRC].flags = MEDIA_PAD_FL_SOURCE; in dw_mipi_csi2rx_register()
720 ret = media_entity_pads_init(&sd->entity, DW_MIPI_CSI2RX_PAD_MAX, pads); in dw_mipi_csi2rx_register()
/linux/Documentation/input/devices/
H A Dxpad.rst29 pads" (module option dpad_to_buttons)
36 dpad_to_buttons has no effect for known pads. A erroneous commit message
63 Xbox Dance Pads
68 For dance style pads (like the redoctane pad) several changes
73 Known dance pads automatically map the d-pad to buttons and will work
231 - added stuff for dance pads, new d-pad->axes mappings

12345678910