/linux-master/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtmips.c | 32 struct pinctrl_pin_desc *pads; member in struct:mtmips_priv 281 /* the pads needed to tell pinctrl about our pins */ 282 p->pads = devm_kcalloc(p->dev, p->max_pins, 284 if (!p->pads || !p->gpio) 299 /* set the pads */ 307 p->pads[i].number = i; 308 p->pads[i].name = name; 310 p->desc->pins = p->pads;
|
/linux-master/drivers/pinctrl/nxp/ |
H A D | pinctrl-s32cc.c | 80 unsigned int *pads; member in struct:s32_pinctrl_context 703 saved_context->pads[i] = config; 725 saved_context->pads[i]); 974 saved_context->pads = 976 sizeof(*saved_context->pads), 978 if (!saved_context->pads)
|
/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 */
|
H A D | pinctrl-xway.c | 1466 /* find out how many pads we have */ 1470 xway_info.pads = devm_kcalloc(&pdev->dev, 1473 if (!xway_info.pads) 1482 xway_info.pads[i].number = GPIO0 + i; 1483 xway_info.pads[i].name = name; 1485 xway_pctrl_desc.pins = xway_info.pads;
|
/linux-master/drivers/pinctrl/qcom/ |
H A D | pinctrl-spmi-gpio.c | 1059 struct pmic_gpio_pad *pad, *pads; local 1090 pads = devm_kcalloc(dev, npins, sizeof(*pads), GFP_KERNEL); 1091 if (!pads) 1112 pad = &pads[i];
|
H A D | pinctrl-spmi-mpp.c | 859 struct pmic_mpp_pad *pad, *pads; local 888 pads = devm_kcalloc(dev, npins, sizeof(*pads), GFP_KERNEL); 889 if (!pads) 911 pad = &pads[i];
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2.c | 63 * csi2_get_format - Handle get format by pads subdev method 126 * csi2_set_format - Handle set format by pads subdev method 191 struct media_pad *pads = csi2->pads; local 201 pads[CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; 202 pads[CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK; 206 ret = media_entity_pads_init(me, CSI2_PADS_NUM, pads);
|
H A D | atomisp_csi2.h | 57 struct media_pad pads[CSI2_PADS_NUM]; member in struct:atomisp_mipi_csi2_device
|
H A D | atomisp_subdev.c | 440 /* Only compose target is supported on source pads. */ 495 /* Set format dimensions on non-sink pads as well. */ 821 struct media_pad *pads = asd->pads; local 831 pads[ATOMISP_SUBDEV_PAD_SINK].flags = MEDIA_PAD_FL_SINK; 832 pads[ATOMISP_SUBDEV_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; 839 ret = media_entity_pads_init(me, ATOMISP_SUBDEV_PADS_NUM, pads);
|
H A D | atomisp_subdev.h | 240 struct media_pad pads[ATOMISP_SUBDEV_PADS_NUM]; member in struct:atomisp_sub_device
|
H A D | atomisp_tpg.c | 144 struct media_pad *pads = tpg->pads; local 154 pads[0].flags = MEDIA_PAD_FL_SINK; 157 ret = media_entity_pads_init(me, 1, pads);
|
H A D | atomisp_tpg.h | 30 struct media_pad pads[1]; member in struct:atomisp_tpg_device
|
/linux-master/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-isc-base.c | 862 .pads = &pad_cfg,
|
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media-csi.c | 1413 * alternate mode at its source pads. If user has not 1554 /* propagate format to source pads */ 1682 * the source pads. If the KEEP_CONFIG flag is set, just return 1703 * the source pads. If the KEEP_CONFIG flag is set, just return 1729 /* Reset source pads to sink compose rectangle */ 1912 struct media_pad *sink = &priv->sd.entity.pads[CSI_SINK_PAD];
|
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-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];
|
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);
|
H A D | imx6-mipi-csi2.c | 23 * there must be 5 pads: 1 input pad from sensor, and 24 * the 4 virtual channel output pads 545 /* Output pads mirror active input pad, no limits on input pads */ 642 struct media_pad *sink = &csi2->sd.entity.pads[CSI2_SINK_PAD];
|
/linux-master/drivers/staging/media/max96712/ |
H A D | max96712.c | 38 struct media_pad pads[1]; member in struct:max96712_priv 320 priv->pads[0].flags = MEDIA_PAD_FL_SOURCE; 321 ret = media_entity_pads_init(&priv->sd.entity, 1, priv->pads);
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss.c | 394 pad = &entity->pads[0]; 463 pad = &entity->pads[0]; 1093 dev_err(iss->dev, "CSI2 pads links creation failed\n"); 1099 dev_err(iss->dev, "ISP IPIPEIF pads links creation failed\n"); 1105 dev_err(iss->dev, "ISP RESIZER pads links creation failed\n");
|
H A D | iss_csi2.c | 541 pad = media_pad_remote_pad_first(&csi2->pads[CSI2_PAD_SINK]); 559 * decompression, so every set_format call configures both pads 965 * csi2_get_format - Handle get format by pads subdev method 987 * csi2_set_format - Handle set format by pads subdev method 1037 * csi2_init_formats - Initialize formats on all pads 1259 struct media_pad *pads = csi2->pads; local 1273 pads[CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; 1274 pads[CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK; 1277 ret = media_entity_pads_init(me, CSI2_PADS_NUM, pads); [all...] |
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);
|
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_resizer.c | 650 * resizer_init_formats - Initialize formats on all pads 776 struct media_pad *pads = resizer->pads; local 789 pads[RESIZER_PAD_SINK].flags = MEDIA_PAD_FL_SINK; 790 pads[RESIZER_PAD_SOURCE_MEM].flags = MEDIA_PAD_FL_SOURCE; 793 ret = media_entity_pads_init(me, RESIZER_PADS_NUM, pads); 860 * omap4iss_resizer_create_links() - RESIZER pads links creation
|
/linux-master/drivers/staging/media/starfive/camss/ |
H A D | stf-camss.c | 184 pad = &isp_dev->pads[STF_ISP_PAD_SINK];
|