Home
last modified time | relevance | path

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

12345678910>>...14

/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/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-pipe.c40 .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 …]
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()
459 xbar->pads = kcalloc(num_pads, sizeof(*xbar->pads), GFP_KERNEL); in mxc_isi_crossbar_init()
460 if (!xbar->pads) in mxc_isi_crossbar_init()
471 xbar->pads[i].flags = MEDIA_PAD_FL_SINK in mxc_isi_crossbar_init()
474 xbar->pads[i + xbar->num_sinks].flags = MEDIA_PAD_FL_SOURCE; in mxc_isi_crossbar_init()
476 ret = media_entity_pads_init(&sd->entity, num_pads, xbar->pads); in mxc_isi_crossbar_init()
489 kfree(xbar->pads); in mxc_isi_crossbar_init()
498 kfree(xbar->pads); in mxc_isi_crossbar_cleanup()
/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.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/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/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/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
/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/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/Documentation/admin-guide/media/
H A 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 …]
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/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/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-common.h74 /* enum for the resizer pads */
81 /* enum for the csi receiver pads */
102 /* enum for the isp pads */
198 * @pads: media pads
206 struct media_pad pads[RKISP1_CSI_PAD_NUM]; member
215 * @pads: media pads
222 struct media_pad pads[RKISP1_ISP_PAD_MAX]; member
434 * @pads: media pads
442 struct media_pad pads[RKISP1_RSZ_PAD_MAX]; member
/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/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/crypto/
H A Dhmac.c28 u8 pads[]; member
39 u8 *ipad = &tctx->pads[0]; in hmac_setkey()
40 u8 *opad = &tctx->pads[ss]; in hmac_setkey()
97 return hmac_import(pdesc, &tctx->pads[0]); in hmac_init()
114 const u8 *opad = &tctx->pads[ss]; in hmac_final()
130 const u8 *opad = &tctx->pads[ss]; in hmac_finup()
/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 …]

12345678910>>...14