Home
last modified time | relevance | path

Searched refs:pads (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/linux/drivers/media/platform/st/stm32/stm32-dcmipp/
A Ddcmipp-common.c19 struct media_pad *pads; in dcmipp_pads_init() local
23 pads = kcalloc(num_pads, sizeof(*pads), GFP_KERNEL); in dcmipp_pads_init()
24 if (!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()
55 ved->pads = dcmipp_pads_init(num_pads, pads_flag); in dcmipp_ent_sd_register()
56 if (IS_ERR(ved->pads)) in dcmipp_ent_sd_register()
57 return PTR_ERR(ved->pads); in dcmipp_ent_sd_register()
77 ret = media_entity_pads_init(&sd->entity, num_pads, ved->pads); in dcmipp_ent_sd_register()
[all …]
/linux/drivers/media/platform/nxp/imx8-isi/
A Dimx8-isi-pipe.c40 .pads = BIT(MXC_ISI_PIPE_PAD_SINK),
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)
218 if (!(info->pads & BIT(pad))) in mxc_isi_bus_format_by_index()
[all …]
A Dimx8-isi-crossbar.c162 pad = media_pad_remote_pad_first(&xbar->pads[sink_pad]); in mxc_isi_crossbar_xlate_streams()
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/userspace-api/media/mediactl/
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/drivers/gpu/host1x/
A Dmipi.c96 const struct tegra_mipi_pad *pads; member
133 unsigned long pads; member
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()
403 .pads = tegra114_mipi_pads,
430 .pads = tegra124_mipi_pads,
447 .pads = tegra124_mipi_pads,
[all …]
/linux/drivers/media/mc/
A Dmc-entity.c195 struct media_pad *pads) in media_entity_pads_init() argument
206 entity->pads = pads; in media_entity_pads_init()
272 if (entity->pads[pad0].flags & entity->pads[pad1].flags & in media_entity_has_pad_interdep()
709 while (!list_empty(&pipe->pads)) { in media_pipeline_cleanup()
729 INIT_LIST_HEAD(&pipe->pads); in media_pipeline_populate()
1007 iter->cursor = pipe->pads.next; in __media_pipeline_pad_iter_next()
1009 if (iter->cursor == &pipe->pads) in __media_pipeline_pad_iter_next()
1038 iter->cursor = pipe->pads.next; in __media_pipeline_entity_iter_next()
1040 while (iter->cursor != &pipe->pads) { in __media_pipeline_entity_iter_next()
1120 if ((entity->pads[i].flags & in media_get_pad_index()
[all …]
/linux/Documentation/devicetree/bindings/display/
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/arch/arm64/boot/dts/nvidia/
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}>;
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}>;
A Dtegra234-p3737-0000+p3701-0000.dts124 pads {
228 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
229 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
236 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
237 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>,
238 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>,
239 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>,
240 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
241 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>,
242 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
/linux/Documentation/userspace-api/media/v4l/
A Ddev-subdev.rst18 and discover the hardware topology using the media entities, pads and
30 - negotiate image formats on individual pads
191 - Formats should be propagated from sink pads to source pads. Modifying
198 source pads formats should be reset to the sink pads formats.
375 On source pads, cropping is similar to sink pads, with the exception
497 The subdev driver supports two sink pads and two source pads. The images
501 source pads.
511 Streams, multiplexed media pads and internal routing
529 pads.
544 source pads.
[all …]
/linux/Documentation/devicetree/bindings/phy/
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/drivers/media/dvb-core/
A Ddvbdev.c213 kfree(dvbdev->pads); in dvb_media_device_free()
215 dvbdev->pads = NULL; in dvb_media_device_free()
276 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_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()
355 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
361 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
367 kfree(dvbdev->pads); in dvb_create_media_entity()
[all …]
/linux/drivers/input/joystick/
A Dgamecon.c72 struct gc_pad pads[GC_MAX_DEVICES]; member
213 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet()
216 dev = gc->pads[i].dev; in gc_n64_process_packet()
370 pad = &gc->pads[i]; in gc_nes_process_packet()
478 pad = &gc->pads[i]; in gc_multi_process_packet()
717 pad = &gc->pads[i]; in gc_psx_process_packet()
925 int *pads, n_pads; in gc_attach() local
940 pads = gc_cfg[port_idx].args + 1; in gc_attach()
965 if (!pads[i]) in gc_attach()
984 if (gc->pads[i].dev) in gc_attach()
[all …]
/linux/drivers/media/platform/
A Dvideo-mux.c26 struct media_pad *pads; member
128 pad = media_pad_remote_pad_first(&sd->entity.pads[vmux->active]); in video_mux_s_stream()
154 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format()
435 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe()
437 if (!vmux->pads) in video_mux_probe()
441 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe()
446 vmux->pads); in video_mux_probe()
/linux/crypto/
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/staging/media/atomisp/pci/
A Datomisp_csi2.c171 struct media_pad *pads = csi2->pads; in mipi_csi2_init_entities() local
181 pads[CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in mipi_csi2_init_entities()
182 pads[CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in mipi_csi2_init_entities()
186 ret = media_entity_pads_init(me, CSI2_PADS_NUM, pads); in mipi_csi2_init_entities()
/linux/drivers/pinctrl/actions/
A Dpinctrl-owl.h21 .pads = group_name##_pads, \
39 .pads = group_name##_pads, \
55 .pads = group_name##_pads, \
210 unsigned int *pads; member
/linux/drivers/pinctrl/mediatek/
A Dpinctrl-mtmips.c32 struct pinctrl_pin_desc *pads; member
282 p->pads = devm_kcalloc(p->dev, p->max_pins, in mtmips_pinctrl_pins()
284 if (!p->pads || !p->gpio) 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/Documentation/devicetree/bindings/ata/
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/dvb-frontends/
A Dau8522_decoder.c712 state->pads[AU8522_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK; in au8522_probe()
713 state->pads[AU8522_PAD_IF_INPUT].sig_type = PAD_SIGNAL_ANALOG; in au8522_probe()
714 state->pads[AU8522_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE; in au8522_probe()
715 state->pads[AU8522_PAD_VID_OUT].sig_type = PAD_SIGNAL_DV; in au8522_probe()
716 state->pads[AU8522_PAD_AUDIO_OUT].flags = MEDIA_PAD_FL_SOURCE; in au8522_probe()
717 state->pads[AU8522_PAD_AUDIO_OUT].sig_type = PAD_SIGNAL_AUDIO; in au8522_probe()
720 ret = media_entity_pads_init(&sd->entity, ARRAY_SIZE(state->pads), in au8522_probe()
721 state->pads); in au8522_probe()
/linux/drivers/media/platform/samsung/exynos4-is/
A Dcommon.c19 struct media_pad *pad = &entity->pads[0]; in fimc_find_remote_sensor()
34 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
/linux/drivers/staging/media/sunxi/sun6i-isp/
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
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/Documentation/driver-api/media/
A Dmc-core.rst19 through pads.
32 A link is a point-to-point oriented connection between two pads, either
65 Drivers initialize entity pads by calling
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
120 to all links originating at or targeting any of its pads.
194 source devices (such as a sensors) and flowing through media entity pads
244 for any entity which has sink pads in the pipeline. The
259 drivers can iterate over entities or pads in the pipeline with the
[all …]
/linux/drivers/media/usb/uvc/
A Duvc_entity.c36 if (!(entity->pads[i].flags & MEDIA_PAD_FL_SINK)) in uvc_mc_create_links()
117 entity->num_pads, entity->pads); in uvc_mc_init_entity()
126 entity->num_pads, entity->pads); in uvc_mc_init_entity()

Completed in 65 milliseconds

12345678910>>...13