Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.3-rc2/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-6.3-rc2/drivers/staging/media/atomisp/pci/
A 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()
A Datomisp_csi2.c192 struct media_pad *pads = csi2->pads; in mipi_csi2_init_entities() local
202 pads[CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in mipi_csi2_init_entities()
203 pads[CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in mipi_csi2_init_entities()
207 ret = media_entity_pads_init(me, CSI2_PADS_NUM, pads); in mipi_csi2_init_entities()
/linux-6.3-rc2/drivers/media/mc/
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
205 entity->pads = pads; in media_entity_pads_init()
259 if (entity->pads[pad0].flags & entity->pads[pad1].flags & in media_entity_has_pad_interdep()
654 while (!list_empty(&pipe->pads)) { in media_pipeline_cleanup()
674 INIT_LIST_HEAD(&pipe->pads); in media_pipeline_populate()
954 iter->cursor = pipe->pads.next; in __media_pipeline_pad_iter_next()
956 if (iter->cursor == &pipe->pads) in __media_pipeline_pad_iter_next()
985 iter->cursor = pipe->pads.next; in __media_pipeline_entity_iter_next()
987 while (iter->cursor != &pipe->pads) { in __media_pipeline_entity_iter_next()
[all …]
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()
488 compat_uptr_t pads; /* struct media_pad_desc * */ member
503 || get_user(pads_ptr, &ulinks->pads) in media_device_enum_links32()
507 links.pads = compat_ptr(pads_ptr); in media_device_enum_links32()
690 INIT_LIST_HEAD(&mdev->pads); in media_device_init()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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.
509 Streams, multiplexed media pads and internal routing
527 pads.
542 source pads.
[all …]
/linux-6.3-rc2/drivers/media/dvb-core/
A Ddvbdev.c210 kfree(dvbdev->pads); in dvb_media_device_free()
212 dvbdev->pads = NULL; in dvb_media_device_free()
273 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity()
335 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), 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()
352 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
358 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
364 kfree(dvbdev->pads); in dvb_create_media_entity()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/media/platform/
A 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()
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-6.3-rc2/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-csi.c39 .pads = csi->pad_cfg in rkisp1_csi_get_pad_fmt()
458 struct media_pad *pads; in rkisp1_csi_register() local
473 pads = csi->pads; in rkisp1_csi_register()
474 pads[RKISP1_CSI_PAD_SINK].flags = MEDIA_PAD_FL_SINK | in rkisp1_csi_register()
476 pads[RKISP1_CSI_PAD_SRC].flags = MEDIA_PAD_FL_SOURCE | in rkisp1_csi_register()
481 ret = media_entity_pads_init(&sd->entity, RKISP1_CSI_PAD_NUM, pads); in rkisp1_csi_register()
485 state.pads = csi->pad_cfg; in rkisp1_csi_register()
A Drkisp1-isp.c66 .pads = isp->pad_cfg in rkisp1_isp_get_pad_fmt()
81 .pads = isp->pad_cfg in rkisp1_isp_get_pad_crop()
852 sink_pad = &isp->pads[RKISP1_ISP_PAD_SINK_VIDEO]; in rkisp1_isp_s_stream()
933 .pads = rkisp1->isp.pad_cfg in rkisp1_isp_register()
936 struct media_pad *pads = isp->pads; in rkisp1_isp_register() local
949 pads[RKISP1_ISP_PAD_SINK_VIDEO].flags = MEDIA_PAD_FL_SINK | in rkisp1_isp_register()
951 pads[RKISP1_ISP_PAD_SINK_PARAMS].flags = MEDIA_PAD_FL_SINK; in rkisp1_isp_register()
952 pads[RKISP1_ISP_PAD_SOURCE_VIDEO].flags = MEDIA_PAD_FL_SOURCE; in rkisp1_isp_register()
953 pads[RKISP1_ISP_PAD_SOURCE_STATS].flags = MEDIA_PAD_FL_SOURCE; in rkisp1_isp_register()
959 ret = media_entity_pads_init(&sd->entity, RKISP1_ISP_PAD_MAX, pads); in rkisp1_isp_register()
/linux-6.3-rc2/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-6.3-rc2/drivers/pinctrl/ralink/
A Dpinctrl-ralink.c32 struct pinctrl_pin_desc *pads; member
282 p->pads = devm_kcalloc(p->dev, p->max_pins, in ralink_pinctrl_pins()
284 if (!p->pads || !p->gpio) 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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/media/dvb-frontends/
A Dau8522_decoder.c711 state->pads[AU8522_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK; in au8522_probe()
712 state->pads[AU8522_PAD_IF_INPUT].sig_type = PAD_SIGNAL_ANALOG; in au8522_probe()
713 state->pads[AU8522_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE; in au8522_probe()
714 state->pads[AU8522_PAD_VID_OUT].sig_type = PAD_SIGNAL_DV; in au8522_probe()
715 state->pads[AU8522_PAD_AUDIO_OUT].flags = MEDIA_PAD_FL_SOURCE; in au8522_probe()
716 state->pads[AU8522_PAD_AUDIO_OUT].sig_type = PAD_SIGNAL_AUDIO; in au8522_probe()
719 ret = media_entity_pads_init(&sd->entity, ARRAY_SIZE(state->pads), in au8522_probe()
720 state->pads); in au8522_probe()
/linux-6.3-rc2/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()
496 struct media_pad *pads = proc->pads; in sun6i_isp_proc_setup() local
518 pads[SUN6I_ISP_PROC_PAD_SINK_CSI].flags = MEDIA_PAD_FL_SINK | in sun6i_isp_proc_setup()
520 pads[SUN6I_ISP_PROC_PAD_SINK_PARAMS].flags = MEDIA_PAD_FL_SINK | in sun6i_isp_proc_setup()
522 pads[SUN6I_ISP_PROC_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in sun6i_isp_proc_setup()
525 pads); in sun6i_isp_proc_setup()
/linux-6.3-rc2/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()
/linux-6.3-rc2/drivers/media/i2c/
A Dov6650.c479 rect = &sd_state->pads->try_crop; in ov6650_get_selection()
534 struct v4l2_rect *crop = &sd_state->pads->try_crop; in ov6650_set_selection()
535 struct v4l2_mbus_framefmt *mf = &sd_state->pads->try_fmt; in ov6650_set_selection()
591 mf->width = sd_state->pads->try_fmt.width; in ov6650_get_fmt()
592 mf->height = sd_state->pads->try_fmt.height; in ov6650_get_fmt()
593 mf->code = sd_state->pads->try_fmt.code; in ov6650_get_fmt()
720 crop = &sd_state->pads->try_crop; in ov6650_set_fmt()
730 sd_state->pads->try_fmt.code = mf->code; in ov6650_set_fmt()
734 mf->width = sd_state->pads->try_fmt.width; in ov6650_set_fmt()
735 mf->height = sd_state->pads->try_fmt.height; in ov6650_set_fmt()
[all …]
/linux-6.3-rc2/drivers/media/i2c/adv748x/
A Dadv748x-csi2.c124 src = adv748x_get_remote_sd(&tx->pads[ADV748X_CSI2_SINK]); in adv748x_csi2_s_stream()
309 tx->pads[ADV748X_CSI2_SINK].flags = MEDIA_PAD_FL_SINK; in adv748x_csi2_init()
310 tx->pads[ADV748X_CSI2_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in adv748x_csi2_init()
313 tx->pads); in adv748x_csi2_init()
/linux-6.3-rc2/drivers/pinctrl/intel/
A Dpinctrl-intel.c1475 struct intel_pad_context *pads; in intel_pinctrl_pm_init() local
1478 pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL); in intel_pinctrl_pm_init()
1479 if (!pads) in intel_pinctrl_pm_init()
1507 pctrl->context.pads = pads; in intel_pinctrl_pm_init()
1761 struct intel_pad_context *pads; in intel_pinctrl_suspend_noirq() local
1764 pads = pctrl->context.pads; in intel_pinctrl_suspend_noirq()
1774 pads[i].padcfg0 = val & ~PADCFG0_GPIORXSTATE; in intel_pinctrl_suspend_noirq()
1776 pads[i].padcfg1 = val; in intel_pinctrl_suspend_noirq()
1780 pads[i].padcfg2 = readl(padcfg); in intel_pinctrl_suspend_noirq()
1871 const struct intel_pad_context *pads; in intel_pinctrl_resume_noirq() local
[all …]
/linux-6.3-rc2/Documentation/admin-guide/media/
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)

Completed in 63 milliseconds

12345678910>>...12