Searched refs:pads (Results 26 - 50 of 191) sorted by relevance

12345678

/linux-master/drivers/media/platform/ti/omap3isp/
H A Dispccp2.h22 /* Sink and source ccp2 pads */
63 struct media_pad pads[CCP2_PADS_NUM]; member in struct:isp_ccp2_device
H A Dispresizer.h80 /* Sink and source resizer pads */
93 struct media_pad pads[RESZ_PADS_NUM]; member in struct:isp_res_device
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 in struct:isp_ccdc_device
H A Disppreview.h97 /* Sink and source previewer pads */
105 * @pads: Media entity pads
122 struct media_pad pads[PREV_PADS_NUM]; member in struct:isp_prev_device
/linux-master/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 in struct:tegra_csi_channel
H A Dvip.c44 remote_pad = media_pad_remote_pad_first(&chan->pads[TEGRA_VIP_PAD_SINK]);
143 dev_err_probe(dev, err, "%pOF: need 2 pads, got %d\n", np, num_pads);
148 vip->chan.pads[TEGRA_VIP_PAD_SINK].flags = MEDIA_PAD_FL_SINK;
149 vip->chan.pads[TEGRA_VIP_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE;
173 err = media_entity_pads_init(&subdev->entity, TEGRA_VIP_PADS_NUM, vip->chan.pads);
/linux-master/drivers/staging/media/atomisp/pci/
H A Datomisp_csi2.h57 struct media_pad pads[CSI2_PADS_NUM]; member in struct:atomisp_mipi_csi2_device
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss-ispif.h44 struct media_pad pads[MSM_ISPIF_PADS_NUM]; member in struct:ispif_line
H A Dcamss-csiphy.h70 struct media_pad pads[MSM_CSIPHY_PADS_NUM]; member in struct:csiphy_device
/linux-master/drivers/media/i2c/adv748x/
H A Dadv748x-csi2.c124 src = adv748x_get_remote_sd(&tx->pads[ADV748X_CSI2_SINK]);
138 * The CSI2 bus pads are ignorant to the data sizes or formats.
306 tx->pads[ADV748X_CSI2_SINK].flags = MEDIA_PAD_FL_SINK;
307 tx->pads[ADV748X_CSI2_SOURCE].flags = MEDIA_PAD_FL_SOURCE;
310 tx->pads);
/linux-master/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];
499 struct media_pad *pads = proc->pads; local
522 pads[SUN6I_ISP_PROC_PAD_SINK_CSI].flags = MEDIA_PAD_FL_SINK |
524 pads[SUN6I_ISP_PROC_PAD_SINK_PARAMS].flags = MEDIA_PAD_FL_SINK |
526 pads[SUN6I_ISP_PROC_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE;
529 pads);
/linux-master/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-csi.c439 struct media_pad *pads; local
454 pads = csi->pads;
455 pads[RKISP1_CSI_PAD_SINK].flags = MEDIA_PAD_FL_SINK |
457 pads[RKISP1_CSI_PAD_SRC].flags = MEDIA_PAD_FL_SOURCE |
460 ret = media_entity_pads_init(&sd->entity, RKISP1_CSI_PAD_NUM, pads);
/linux-master/drivers/media/test-drivers/vimc/
H A Dvimc-streamer.c31 if (ent->pads[i].flags & MEDIA_PAD_FL_SOURCE)
33 pad = media_pad_remote_pad_first(&ent->pads[i]);
/linux-master/include/media/
H A Dmedia-device.h95 * @pads: List of registered pads
164 struct list_head pads; member in struct:media_device
313 * If the device has pads, media_entity_pads_init() should be called before
389 /* Iterate over all pads. */
391 list_for_each_entry(pad, &(mdev)->pads, graph_obj.list)
H A Dmedia-entity.h105 * @pads: List of media_pipeline_pad
111 struct list_head pads; member in struct:media_pipeline
118 * @list: Entry in the media_pad pads list
124 * pipeline, and stored in the &media_pad.pads list. media_pipeline_stop()
227 * @index: Pad index in the entity pads array, numbered from 0 to n
262 * @has_pad_interdep: Return whether two pads of the entity are
263 * interdependent. If two pads are interdependent they are
264 * part of the same pipeline and enabling one of the pads
270 * Optional: If the operation isn't implemented all pads
328 * @num_pads: Number of sink and source pads
361 struct media_pad *pads; member in struct:media_entity
[all...]
/linux-master/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-cru.h55 struct media_pad pads[2]; member in struct:rzg2l_cru_ip
H A Drzg2l-ip.c220 ip->pads[0].flags = MEDIA_PAD_FL_SINK;
221 ip->pads[1].flags = MEDIA_PAD_FL_SOURCE;
223 ret = media_entity_pads_init(&ip->subdev.entity, 2, ip->pads);
/linux-master/drivers/staging/media/imx/
H A Dimx-media-internal-sd.c12 /* max pads per internal-sd */
141 if (media_entity_find_link(&src->entity.pads[link->local_pad],
142 &sink->entity.pads[link->remote_pad]))
170 pad = &sd->entity.pads[i];
/linux-master/drivers/staging/media/omap4iss/
H A Diss_ipipe.c379 * ipipe_init_formats - Initialize formats on all pads
500 struct media_pad *pads = ipipe->pads; local
513 pads[IPIPE_PAD_SINK].flags = MEDIA_PAD_FL_SINK;
514 pads[IPIPE_PAD_SOURCE_VP].flags = MEDIA_PAD_FL_SOURCE;
517 ret = media_entity_pads_init(me, IPIPE_PADS_NUM, pads);
/linux-master/drivers/staging/media/starfive/camss/
H A Dstf-isp.c337 struct media_pad *pads = isp_dev->pads; local
346 pads[STF_ISP_PAD_SINK].flags = MEDIA_PAD_FL_SINK;
347 pads[STF_ISP_PAD_SRC].flags = MEDIA_PAD_FL_SOURCE;
351 ret = media_entity_pads_init(&sd->entity, STF_ISP_PAD_MAX, pads);
/linux-master/drivers/pinctrl/intel/
H A Dpinctrl-intel.c1447 struct intel_pad_context *pads; local
1450 pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL);
1451 if (!pads)
1479 pctrl->context.pads = pads;
1732 struct intel_pad_context *pads; local
1735 pads = pctrl->context.pads;
1745 pads[
1841 const struct intel_pad_context *pads; local
[all...]
/linux-master/drivers/media/mc/
H A Dmc-device.c116 entd->pads = ent->num_pads;
160 if (links->pads) {
167 media_device_kpad_to_upad(&entity->pads[p], &pad);
168 if (copy_to_user(&links->pads[p], &pad, sizeof(pad)))
219 link = media_entity_find_link(&source->pads[linkd->source.index],
220 &sink->pads[linkd->sink.index]);
310 /* Get pads and number of pads */
484 compat_uptr_t pads; /* struct media_pad_desc * */ member in struct:media_links_enum32
499 || get_user(pads_ptr, &ulinks->pads)
[all...]
/linux-master/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-bytecap.c351 pad = media_pad_remote_pad_first(&vcap->vdev.entity.pads[0]);
410 ret = media_pipeline_start(entity->pads, &vcap->pipe);
447 media_pipeline_stop(entity->pads);
488 media_pipeline_stop(vcap->vdev.entity.pads);
641 dcmipp_pads_cleanup(vcap->ved.pads);
864 /* Allocate the pads */
865 vcap->ved.pads = dcmipp_pads_init(1, &pad_flag);
866 if (IS_ERR(vcap->ved.pads)) {
867 ret = PTR_ERR(vcap->ved.pads);
875 ret = media_entity_pads_init(&vcap->vdev.entity, 1, vcap->ved.pads);
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-subdev.c191 if (which == V4L2_SUBDEV_FORMAT_TRY && (!state || !state->pads))
959 const struct media_pad *pads = sd->entity.pads; local
968 if (!(pads[route->sink_pad].flags &
975 if (!(pads[route->source_pad].flags &
1471 state->pads = kvcalloc(sd->entity.num_pads,
1472 sizeof(*state->pads), GFP_KERNEL);
1473 if (!state->pads) {
1495 if (state && state->pads)
1496 kvfree(state->pads);
[all...]
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_entity.c629 /* Allocate and initialize pads. */
630 entity->pads = devm_kcalloc(vsp1->dev,
631 num_pads, sizeof(*entity->pads),
633 if (entity->pads == NULL)
637 entity->pads[i].flags = MEDIA_PAD_FL_SINK;
645 entity->pads[num_pads - 1].flags = num_pads > 1 ? MEDIA_PAD_FL_SOURCE
650 entity->pads);

Completed in 401 milliseconds

12345678