/linux-master/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-common.c | 16 /* Helper function to allocate and initialize pads */ 19 struct media_pad *pads; local 22 /* Allocate memory for the pads */ 23 pads = kcalloc(num_pads, sizeof(*pads), GFP_KERNEL); 24 if (!pads) 27 /* Initialize the pads */ 29 pads[i].index = i; 30 pads[i].flags = pads_flags[i]; 33 return pads; [all...] |
H A D | dcmipp-common.h | 65 * @pads: the list of pads of the node 87 struct media_pad *pads; member in struct:dcmipp_ent_device 98 * dcmipp_pads_init - initialize pads 100 * @num_pads: number of pads to initialize 103 * Helper functions to allocate/initialize pads 109 * dcmipp_pads_cleanup - free pads 111 * @pads: pointer to the pads 113 * Helper function to free the pads initialize 115 dcmipp_pads_cleanup(struct media_pad *pads) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_tpg.h | 30 struct media_pad pads[1]; member in struct:atomisp_tpg_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_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);
|
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | common.c | 19 struct media_pad *pad = &entity->pads[0]; 34 pad = &sd->entity.pads[0];
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss_ipipe.h | 22 /* Sink and source IPIPE pads */ 31 * @pads: Sink and source media entity pads 42 struct media_pad pads[IPIPE_PADS_NUM]; member in struct:iss_ipipe_device
|
H A D | iss_ipipeif.h | 24 /* Sink and source IPIPEIF pads */ 34 * @pads: Sink and source media entity pads 61 struct media_pad pads[IPIPEIF_PADS_NUM]; member in struct:iss_ipipeif_device
|
H A D | iss_resizer.h | 23 /* Sink and source RESIZER pads */ 32 * @pads: Sink and source media entity pads 44 struct media_pad pads[RESIZER_PADS_NUM]; member in struct:iss_resizer_device
|
/linux-master/drivers/staging/media/tegra-video/ |
H A D | vip.h | 26 * @pads: media pads for the subdevice entity 31 struct media_pad pads[TEGRA_VIP_PADS_NUM]; member in struct:tegra_vip_channel
|
/linux-master/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-pipe.c | 40 .pads = BIT(MXC_ISI_PIPE_PAD_SINK), 45 .pads = BIT(MXC_ISI_PIPE_PAD_SOURCE), 52 .pads = BIT(MXC_ISI_PIPE_PAD_SINK), 57 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 65 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 71 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 77 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 83 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 89 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 95 .pads [all...] |
H A D | imx8-isi-crossbar.c | 162 pad = media_pad_remote_pad_first(&xbar->pads[sink_pad]); 224 * The media bus code on source pads is identical to the 259 media_pad_is_streaming(&xbar->pads[fmt->pad])) 459 xbar->pads = kcalloc(num_pads, sizeof(*xbar->pads), GFP_KERNEL); 460 if (!xbar->pads) 471 xbar->pads[i].flags = MEDIA_PAD_FL_SINK 474 xbar->pads[i + xbar->num_sinks].flags = MEDIA_PAD_FL_SOURCE; 476 ret = media_entity_pads_init(&sd->entity, num_pads, xbar->pads); 489 kfree(xbar->pads); [all...] |
/linux-master/drivers/pinctrl/actions/ |
H A D | pinctrl-owl.h | 21 .pads = group_name##_pads, \ 39 .pads = group_name##_pads, \ 55 .pads = group_name##_pads, \ 194 * @pads: list of pins assigned to this pingroup 195 * @npads: size of @pads array 210 unsigned int *pads; member in struct:owl_pingroup
|
/linux-master/drivers/media/platform/sunxi/sun6i-mipi-csi2/ |
H A D | sun6i_mipi_csi2.h | 32 struct media_pad pads[SUN6I_MIPI_CSI2_PAD_COUNT]; member in struct:sun6i_mipi_csi2_bridge
|
/linux-master/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
H A D | sun8i_a83t_mipi_csi2.h | 33 struct media_pad pads[SUN8I_A83T_MIPI_CSI2_PAD_COUNT]; member in struct:sun8i_a83t_mipi_csi2_bridge
|
/linux-master/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_proc.h | 43 struct media_pad pads[3]; member in struct:sun6i_isp_proc
|
/linux-master/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi_bridge.h | 44 struct media_pad pads[2]; member in struct:sun6i_csi_bridge
|
/linux-master/drivers/gpu/host1x/ |
H A D | mipi.c | 96 const struct tegra_mipi_pad *pads; member in struct:tegra_mipi_soc 133 unsigned long pads; member in struct:tegra_mipi_device 185 * supplies the DSI pads. This must be kept enabled until none of the 242 dev->pads = args.args[0]; 341 if (device->pads & BIT(i)) { 351 tegra_mipi_writel(device->mipi, data, soc->pads[i].data); 353 if (soc->has_clk_lane && soc->pads[i].clk != 0) 354 tegra_mipi_writel(device->mipi, clk, soc->pads[i].clk); 380 * sequence codes before waiting for pads idle state to apply the 403 .pads [all...] |
/linux-master/drivers/media/mc/ |
H A D | mc-entity.c | 158 list_add_tail(&gobj->list, &mdev->pads); 195 struct media_pad *pads) 206 entity->pads = pads; 243 * media_entity_has_pad_interdep - Check interdependency between two pads 250 * and @pad1. If two pads are interdependent they are part of the same pipeline 251 * and enabling one of the pads means that the other pad will become "locked" 256 * has_pad_interdep operation is not implemented, all pads of the entity are 260 * The function returns false if both pads are sinks or sources. 264 * Return: true if the pads ar 194 media_entity_pads_init(struct media_entity *entity, u16 num_pads, struct media_pad *pads) argument [all...] |
/linux-master/drivers/media/usb/uvc/ |
H A D | uvc_entity.c | 36 if (!(entity->pads[i].flags & MEDIA_PAD_FL_SINK)) 117 entity->num_pads, entity->pads); 126 entity->num_pads, entity->pads);
|
/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/crypto/ |
H A D | hmac.c | 28 u8 pads[]; member in struct:hmac_ctx 39 u8 *ipad = &tctx->pads[0]; 40 u8 *opad = &tctx->pads[ss]; 97 return hmac_import(pdesc, &tctx->pads[0]); 114 const u8 *opad = &tctx->pads[ss]; 130 const u8 *opad = &tctx->pads[ss];
|
/linux-master/drivers/media/platform/ |
H A D | video-mux.c | 26 struct media_pad *pads; member in struct:video_mux 128 pad = media_pad_remote_pad_first(&sd->entity.pads[vmux->active]); 154 struct media_pad *pad = &vmux->pads[sdformat->pad]; 269 /* Source pad mirrors active sink pad, no limitations on sink pads */ 413 * total number of pads. 435 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), 437 if (!vmux->pads) 441 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK 446 vmux->pads); [all...] |
/linux-master/drivers/input/joystick/ |
H A D | gamecon.c | 72 struct gc_pad pads[GC_MAX_DEVICES]; member in struct:gc 119 #define GC_N64_OUT 0x1d /* output bits to the 4 pads */ 158 * Each pad uses one bit per byte. So all pads connected to this port 213 if (gc->pads[i].type != GC_N64) 216 dev = gc->pads[i].dev; 316 #define GC_NES_LENGTH 8 /* The NES pads use 8 bits of data */ 334 * Each pad uses one bit per byte. So all pads connected to 370 pad = &gc->pads[i]; 478 pad = &gc->pads[i]; 562 struct gc_pad *pad = &gc->pads[ 925 int *pads, n_pads; local [all...] |
/linux-master/drivers/media/dvb-core/ |
H A D | dvbdev.c | 208 kfree(dvbdev->pads); 210 dvbdev->pads = NULL; 262 struct media_pad *pads = &dvbdev->tsout_pads[i]; local 271 pads->flags = MEDIA_PAD_FL_SINK; 273 ret = media_entity_pads_init(entity, 1, pads); 333 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), 335 if (!dvbdev->pads) { 345 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; 346 dvbdev->pads[ [all...] |