/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispccp2.h | 22 /* Sink and source ccp2 pads */ 63 struct media_pad pads[CCP2_PADS_NUM]; member in struct:isp_ccp2_device
|
H A D | ispresizer.h | 80 /* Sink and source resizer pads */ 93 struct media_pad pads[RESZ_PADS_NUM]; member in struct:isp_res_device
|
H A D | ispccdc.h | 87 /* 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 D | isppreview.h | 97 /* 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 D | csi.h | 25 /* 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 D | vip.c | 44 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 D | atomisp_csi2.h | 57 struct media_pad pads[CSI2_PADS_NUM]; member in struct:atomisp_mipi_csi2_device
|
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-ispif.h | 44 struct media_pad pads[MSM_ISPIF_PADS_NUM]; member in struct:ispif_line
|
H A D | camss-csiphy.h | 70 struct media_pad pads[MSM_CSIPHY_PADS_NUM]; member in struct:csiphy_device
|
/linux-master/drivers/media/i2c/adv748x/ |
H A D | adv748x-csi2.c | 124 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 D | sun6i_isp_proc.c | 171 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 D | rkisp1-csi.c | 439 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 D | vimc-streamer.c | 31 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 D | media-device.h | 95 * @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 D | media-entity.h | 105 * @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 D | rzg2l-cru.h | 55 struct media_pad pads[2]; member in struct:rzg2l_cru_ip
|
H A D | rzg2l-ip.c | 220 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 D | imx-media-internal-sd.c | 12 /* 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 D | iss_ipipe.c | 379 * 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 D | stf-isp.c | 337 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 D | pinctrl-intel.c | 1447 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 D | mc-device.c | 116 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 D | dcmipp-bytecap.c | 351 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 D | v4l2-subdev.c | 191 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 D | vsp1_entity.c | 629 /* 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);
|