/linux-master/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi_bridge.c | 412 struct media_pad *local_pad = &bridge->pads[SUN6I_CSI_BRIDGE_PAD_SINK]; 775 struct media_pad *pads = bridge->pads; local 803 pads[SUN6I_CSI_BRIDGE_PAD_SINK].flags = MEDIA_PAD_FL_SINK; 804 pads[SUN6I_CSI_BRIDGE_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE | 808 SUN6I_CSI_BRIDGE_PAD_COUNT, pads);
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss_ipipeif.c | 598 * ipipeif_init_formats - Initialize formats on all pads 735 struct media_pad *pads = ipipeif->pads; local 748 pads[IPIPEIF_PAD_SINK].flags = MEDIA_PAD_FL_SINK; 749 pads[IPIPEIF_PAD_SOURCE_ISIF_SF].flags = MEDIA_PAD_FL_SOURCE; 750 pads[IPIPEIF_PAD_SOURCE_VP].flags = MEDIA_PAD_FL_SOURCE; 753 ret = media_entity_pads_init(me, IPIPEIF_PADS_NUM, pads); 820 * omap4iss_ipipeif_create_links() - IPIPEIF pads links creation
|
H A D | iss_csi2.h | 120 struct media_pad pads[CSI2_PADS_NUM]; member in struct:iss_csi2_device
|
/linux-master/drivers/media/test-drivers/vimc/ |
H A D | vimc-common.c | 184 if (ent->pads[i].flags & MEDIA_PAD_FL_SINK) 360 struct media_pad *pads, 382 ret = media_entity_pads_init(&sd->entity, num_pads, pads); 354 vimc_ent_sd_register(struct vimc_ent_device *ved, struct v4l2_subdev *sd, struct v4l2_device *v4l2_dev, const char *const name, u32 function, u16 num_pads, struct media_pad *pads, const struct v4l2_subdev_ops *sd_ops) argument
|
H A D | vimc-common.h | 163 * 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 229 struct media_pad *pads,
|
H A D | vimc-scaler.c | 35 struct media_pad pads[2]; member in struct:vimc_scaler_device 418 vscaler->pads[VIMC_SCALER_SINK].flags = MEDIA_PAD_FL_SINK; 419 vscaler->pads[VIMC_SCALER_SRC].flags = MEDIA_PAD_FL_SOURCE; 424 vscaler->pads, &vimc_scaler_ops);
|
/linux-master/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-core.h | 36 /* Pipeline pads */ 104 u32 pads; member in struct:mxc_isi_bus_format_info 196 struct media_pad *pads; member in struct:mxc_isi_crossbar 241 struct media_pad pads[MXC_ISI_PIPE_PADS_NUM]; member in struct:mxc_isi_pipe
|
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media-dev-common.c | 49 * Continues upstream from the pad entity's sink pads. 96 /* move upstream from this entity's sink pads */ 98 struct media_pad *pad = &entity->pads[i]; 146 /* form the vdev lists in all imx-media source pads */ 194 * Continues upstream from the entity's sink pads. 218 struct media_pad *pad, *spad = &entity->pads[i]; 312 struct media_pad *pad = &entity->pads[i];
|
H A D | imx-media-utils.c | 428 * Initializes the TRY format to the ACTIVE format on all pads 665 struct media_pad *spad = &me->pads[i]; 765 ret = __media_pipeline_start(entity->pads, &imxmd->pipe); 770 __media_pipeline_stop(entity->pads); 773 if (media_pad_pipeline(entity->pads)) 774 __media_pipeline_stop(entity->pads);
|
/linux-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-common.h | 73 /* enum for the resizer pads */ 80 /* enum for the csi receiver pads */ 101 /* enum for the isp pads */ 189 * @pads: media pads 197 struct media_pad pads[RKISP1_CSI_PAD_NUM]; member in struct:rkisp1_csi 206 * @pads: media pads 213 struct media_pad pads[RKISP1_ISP_PAD_MAX]; member in struct:rkisp1_isp 400 * @pads 408 struct media_pad pads[RKISP1_RSZ_PAD_MAX]; member in struct:rkisp1_resizer [all...] |
H A D | rkisp1-isp.c | 935 sink_pad = &isp->pads[RKISP1_ISP_PAD_SINK_VIDEO]; 1028 struct media_pad *pads = isp->pads; local 1042 pads[RKISP1_ISP_PAD_SINK_VIDEO].flags = MEDIA_PAD_FL_SINK | 1044 pads[RKISP1_ISP_PAD_SINK_PARAMS].flags = MEDIA_PAD_FL_SINK; 1045 pads[RKISP1_ISP_PAD_SOURCE_VIDEO].flags = MEDIA_PAD_FL_SOURCE; 1046 pads[RKISP1_ISP_PAD_SOURCE_STATS].flags = MEDIA_PAD_FL_SOURCE; 1048 ret = media_entity_pads_init(&sd->entity, RKISP1_ISP_PAD_MAX, pads);
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsi2.h | 120 struct media_pad pads[CSI2_PADS_NUM]; member in struct:isp_csi2_device
|
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-lantiq.h | 73 /* we expose our pads to the subsystem */ 74 struct pinctrl_pin_desc *pads; member in struct:ltq_pinmux_info 76 /* the number of pads. this varies between socs */
|
/linux-master/drivers/media/i2c/adv748x/ |
H A D | adv748x-afe.c | 321 tx = adv748x_get_remote_sd(&afe->pads[ADV748X_AFE_SOURCE]); 352 /* It makes no sense to get the format of the analog sink pads */ 374 /* It makes no sense to get the format of the analog sink pads */ 528 /* Entity pads and sinks are 0-indexed to match the pads */ 530 afe->pads[i].flags = MEDIA_PAD_FL_SINK; 532 afe->pads[ADV748X_AFE_SOURCE].flags = MEDIA_PAD_FL_SOURCE; 535 afe->pads);
|
/linux-master/drivers/media/platform/renesas/ |
H A D | rcar-isp.c | 120 struct media_pad pads[RCAR_ISP_NUM_PADS]; member in struct:rcar_isp 477 isp->pads[RCAR_ISP_SINK].flags = MEDIA_PAD_FL_SINK; 479 isp->pads[i].flags = MEDIA_PAD_FL_SOURCE; 482 isp->pads);
|
/linux-master/drivers/media/i2c/ |
H A D | msp3400-driver.h | 115 struct media_pad pads[MSP3400_NUM_PADS]; member in struct:msp_state
|
/linux-master/include/uapi/linux/ |
H A D | media.h | 156 __u16 pads; member in struct:media_entity_desc 237 /* Should have enough room for pads elements */ 238 struct media_pad_desc __user *pads; member in struct:media_links_enum
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | au8522_decoder.c | 711 state->pads[AU8522_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK; 712 state->pads[AU8522_PAD_IF_INPUT].sig_type = PAD_SIGNAL_ANALOG; 713 state->pads[AU8522_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE; 714 state->pads[AU8522_PAD_VID_OUT].sig_type = PAD_SIGNAL_DV; 715 state->pads[AU8522_PAD_AUDIO_OUT].flags = MEDIA_PAD_FL_SOURCE; 716 state->pads[AU8522_PAD_AUDIO_OUT].sig_type = PAD_SIGNAL_AUDIO; 719 ret = media_entity_pads_init(&sd->entity, ARRAY_SIZE(state->pads), 720 state->pads);
|
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-csiphy.c | 451 * csiphy_get_format - Handle get format by pads subdev method 475 * csiphy_set_format - Handle set format by pads subdev method 513 * csiphy_init_formats - Initialize formats on all pads 764 struct media_pad *pads = csiphy->pads; local 781 pads[MSM_CSIPHY_PAD_SINK].flags = MEDIA_PAD_FL_SINK; 782 pads[MSM_CSIPHY_PAD_SRC].flags = MEDIA_PAD_FL_SOURCE; 786 ret = media_entity_pads_init(&sd->entity, MSM_CSIPHY_PADS_NUM, pads);
|
H A D | camss-csid.c | 251 !media_pad_remote_pad_first(&csid->pads[MSM_CSID_PAD_SINK])) 431 * csid_get_format - Handle get format by pads subdev method 455 * csid_set_format - Handle set format by pads subdev method 477 /* Propagate the format from sink to source pads */ 491 * csid_init_formats - Initialize formats on all pads 527 if (value && media_pad_remote_pad_first(&csid->pads[MSM_CSID_PAD_SINK])) 760 /* Decide which virtual channels to enable based on which source pads are enabled */ 823 struct media_pad *pads = csid->pads; local 861 pads[MSM_CSID_PAD_SIN [all...] |
/linux-master/drivers/media/platform/cadence/ |
H A D | cdns-csi2tx.c | 111 struct media_pad pads[CSI2TX_PAD_MAX]; member in struct:csi2tx_priv 335 /* Only consider our enabled input pads */ 337 struct media_pad *pad = &csi2tx->pads[i]; 601 /* Create our media pads */ 603 csi2tx->pads[CSI2TX_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; 605 csi2tx->pads[i].flags = MEDIA_PAD_FL_SINK; 608 * Only the input pads are considered to have a format at the 617 csi2tx->pads);
|
/linux-master/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
H A D | sun8i_a83t_mipi_csi2.c | 538 struct media_pad *pads = bridge->pads; local 563 pads[SUN8I_A83T_MIPI_CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK | 565 pads[SUN8I_A83T_MIPI_CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE | 569 SUN8I_A83T_MIPI_CSI2_PAD_COUNT, pads);
|
/linux-master/drivers/media/platform/sunxi/sun6i-mipi-csi2/ |
H A D | sun6i_mipi_csi2.c | 500 struct media_pad *pads = bridge->pads; local 525 pads[SUN6I_MIPI_CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK | 527 pads[SUN6I_MIPI_CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE | 531 pads);
|
/linux-master/drivers/phy/tegra/ |
H A D | xusb.c | 88 struct device_node *pads, *np; local 90 pads = of_get_child_by_name(padctl->dev->of_node, "pads"); 91 if (!pads) 94 np = of_get_child_by_name(pads, name); 95 of_node_put(pads); 307 list_for_each_entry_safe_reverse(pad, tmp, &padctl->pads, list) { 365 const struct tegra_xusb_pad_soc *soc = padctl->soc->pads[i]; 381 list_add_tail(&pad->list, &padctl->pads); 384 list_for_each_entry(pad, &padctl->pads, lis [all...] |
/linux-master/drivers/pinctrl/intel/ |
H A D | pinctrl-baytrail.c | 1513 vg->context.pads = devm_kcalloc(vg->dev, gc->ngpio, sizeof(*vg->context.pads), 1515 if (!vg->context.pads) 1641 vg->context.pads[i].conf0 = value; 1649 vg->context.pads[i].val = value; 1674 vg->context.pads[i].conf0) { 1676 value |= vg->context.pads[i].conf0; 1688 vg->context.pads[i].val) { 1692 v |= vg->context.pads[i].val;
|