Home
last modified time | relevance | path

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

1234567891011

/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 = kcalloc(num_pads, sizeof(*pads), GFP_KERNEL); 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/Documentation/devicetree/bindings/phy/
H A 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/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/staging/media/tegra-video/
H A 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, or NULL if not applicable (TPG, error)
65 struct media_pad pads[TEGRA_CSI_PADS_NUM]; member
H A Dvip.h26 * @pads: media pads for the subdevice entity
31 struct media_pad pads[TEGRA_VIP_PADS_NUM]; member
/linux/drivers/gpu/host1x/
H A 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/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/dvb-core/
H A Ddvbdev.c213 kfree(dvbdev->pads); in dvb_media_device_free()
215 dvbdev->pads = NULL; in dvb_media_device_free()
267 struct media_pad *pads = &dvbdev->tsout_pads[i]; in dvb_create_tsout_entity() local
276 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity()
278 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity()
322 * fixed. As we don't have yet dynamic support for PADs at in dvb_create_media_entity()
338 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), in dvb_create_media_entity()
340 if (!dvbdev->pads) { in dvb_create_media_entity()
350 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
351 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/media/test-drivers/vimc/
H A 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
230 struct media_pad *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/media/mc/
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/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
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-dv.rst19 Note that these devices can have multiple input or output pads which are
21 receive or transmit video from/to only one of those pads, the other pads
28 These pads appear in several of the controls in this section as
30 1, etc. The maximum value of the control is the set of valid pads.

1234567891011