num_pads 97 drivers/gpu/host1x/mipi.c unsigned int num_pads; num_pads 337 drivers/gpu/host1x/mipi.c for (i = 0; i < soc->num_pads; i++) { num_pads 401 drivers/gpu/host1x/mipi.c .num_pads = ARRAY_SIZE(tegra114_mipi_pads), num_pads 428 drivers/gpu/host1x/mipi.c .num_pads = ARRAY_SIZE(tegra124_mipi_pads), num_pads 445 drivers/gpu/host1x/mipi.c .num_pads = ARRAY_SIZE(tegra124_mipi_pads), num_pads 475 drivers/gpu/host1x/mipi.c .num_pads = ARRAY_SIZE(tegra210_mipi_pads), num_pads 1673 drivers/media/i2c/smiapp/smiapp-core.c for (i = 0; i < subdev->entity.num_pads; i++) num_pads 1679 drivers/media/i2c/smiapp/smiapp-core.c for (i = 0; i < subdev->entity.num_pads; i++) { num_pads 2594 drivers/media/i2c/smiapp/smiapp-core.c unsigned short num_pads) num_pads 2607 drivers/media/i2c/smiapp/smiapp-core.c ssd->npads = num_pads; num_pads 2608 drivers/media/i2c/smiapp/smiapp-core.c ssd->source_pad = num_pads - 1; num_pads 116 drivers/media/mc/mc-device.c entd->pads = ent->num_pads; num_pads 163 drivers/media/mc/mc-device.c for (p = 0; p < entity->num_pads; p++) { num_pads 215 drivers/media/mc/mc-device.c if (linkd->source.index >= source->num_pads || num_pads 216 drivers/media/mc/mc-device.c linkd->sink.index >= sink->num_pads) num_pads 318 drivers/media/mc/mc-device.c if (i > topo->num_pads) { num_pads 335 drivers/media/mc/mc-device.c topo->num_pads = i; num_pads 616 drivers/media/mc/mc-device.c for (i = 0; i < entity->num_pads; i++) num_pads 668 drivers/media/mc/mc-device.c for (i = 0; i < entity->num_pads; i++) num_pads 197 drivers/media/mc/mc-entity.c int media_entity_pads_init(struct media_entity *entity, u16 num_pads, num_pads 203 drivers/media/mc/mc-entity.c if (num_pads >= MEDIA_ENTITY_MAX_PADS) num_pads 206 drivers/media/mc/mc-entity.c entity->num_pads = num_pads; num_pads 212 drivers/media/mc/mc-entity.c for (i = 0; i < num_pads; i++) { num_pads 377 drivers/media/mc/mc-entity.c for (i = 0; i < entity->num_pads; i++) { num_pads 393 drivers/media/mc/mc-entity.c if (ret >= entity->num_pads) num_pads 447 drivers/media/mc/mc-entity.c bitmap_zero(active, entity->num_pads); num_pads 448 drivers/media/mc/mc-entity.c bitmap_fill(has_no_links, entity->num_pads); num_pads 486 drivers/media/mc/mc-entity.c bitmap_or(active, active, has_no_links, entity->num_pads); num_pads 488 drivers/media/mc/mc-entity.c if (!bitmap_full(active, entity->num_pads)) { num_pads 494 drivers/media/mc/mc-entity.c active, entity->num_pads)); num_pads 641 drivers/media/mc/mc-entity.c for (i = 0; i < entity->num_pads; i++) { num_pads 666 drivers/media/mc/mc-entity.c BUG_ON(source_pad >= source->num_pads); num_pads 667 drivers/media/mc/mc-entity.c BUG_ON(sink_pad >= sink->num_pads); num_pads 1445 drivers/media/pci/intel/ipu3/ipu3-cio2.c for (pad = 0; pad < q->sensor->entity.num_pads; pad++) num_pads 1450 drivers/media/pci/intel/ipu3/ipu3-cio2.c if (pad == q->sensor->entity.num_pads) { num_pads 815 drivers/media/platform/exynos4-is/fimc-capture.c sfmt.pad = me->num_pads - 1; num_pads 874 drivers/media/platform/exynos4-is/fimc-capture.c pad = sensor->entity.num_pads - 1; num_pads 1123 drivers/media/platform/exynos4-is/fimc-capture.c for (i = 0; i < sd->entity.num_pads; i++) { num_pads 79 drivers/media/platform/exynos4-is/media-dev.c for (i = 0; i < me->num_pads; i++) { num_pads 115 drivers/media/platform/exynos4-is/media-dev.c if (me->num_pads == 1) num_pads 911 drivers/media/platform/exynos4-is/media-dev.c if (sink->num_pads == 0) num_pads 962 drivers/media/platform/exynos4-is/media-dev.c pad = sensor->entity.num_pads - 1; num_pads 1662 drivers/media/platform/omap3isp/isp.c if (!input->num_pads) { num_pads 1668 drivers/media/platform/omap3isp/isp.c for (i = 0; i < entity->num_pads; i++) { num_pads 1672 drivers/media/platform/omap3isp/isp.c if (i == entity->num_pads) { num_pads 351 drivers/media/platform/omap3isp/isp.h if (pad >= subdev->entity.num_pads) num_pads 768 drivers/media/platform/qcom/camss/camss.c for (i = 0; i < sensor->num_pads; i++) { num_pads 772 drivers/media/platform/qcom/camss/camss.c if (i == sensor->num_pads) { num_pads 422 drivers/media/platform/rcar-vin/rcar-core.c if (sd->entity.num_pads <= 1) num_pads 425 drivers/media/platform/rcar-vin/rcar-core.c for (pad = 0; pad < sd->entity.num_pads; pad++) num_pads 629 drivers/media/platform/stm32/stm32-dcmi.c for (i = 0; i < entity->num_pads; i++) { num_pads 49 drivers/media/platform/video-mux.c u16 source_pad = entity->num_pads - 1; num_pads 172 drivers/media/platform/video-mux.c u16 source_pad = sd->entity.num_pads - 1; num_pads 312 drivers/media/platform/video-mux.c for (i = 0; i < sd->entity.num_pads; i++) { num_pads 371 drivers/media/platform/video-mux.c unsigned int num_pads = 0; num_pads 394 drivers/media/platform/video-mux.c num_pads = max(num_pads, endpoint.port + 1); num_pads 397 drivers/media/platform/video-mux.c if (num_pads < 2) { num_pads 398 drivers/media/platform/video-mux.c dev_err(dev, "Not enough ports %d\n", num_pads); num_pads 412 drivers/media/platform/video-mux.c vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), num_pads 417 drivers/media/platform/video-mux.c vmux->format_mbus = devm_kcalloc(dev, num_pads, num_pads 423 drivers/media/platform/video-mux.c for (i = 0; i < num_pads; i++) { num_pads 424 drivers/media/platform/video-mux.c vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK num_pads 430 drivers/media/platform/video-mux.c ret = media_entity_pads_init(&vmux->subdev.entity, num_pads, num_pads 437 drivers/media/platform/video-mux.c return video_mux_async_register(vmux, num_pads - 1); num_pads 201 drivers/media/platform/vimc/vimc-common.c struct media_pad *vimc_pads_init(u16 num_pads, const unsigned long *pads_flag) num_pads 207 drivers/media/platform/vimc/vimc-common.c pads = kcalloc(num_pads, sizeof(*pads), GFP_KERNEL); num_pads 212 drivers/media/platform/vimc/vimc-common.c for (i = 0; i < num_pads; i++) { num_pads 228 drivers/media/platform/vimc/vimc-common.c for (i = 0; i < ent->num_pads; i++) { num_pads 371 drivers/media/platform/vimc/vimc-common.c u16 num_pads, num_pads 379 drivers/media/platform/vimc/vimc-common.c ved->pads = vimc_pads_init(num_pads, pads_flag); num_pads 401 drivers/media/platform/vimc/vimc-common.c ret = media_entity_pads_init(&sd->entity, num_pads, ved->pads); num_pads 122 drivers/media/platform/vimc/vimc-common.h struct media_pad *vimc_pads_init(u16 num_pads, num_pads 191 drivers/media/platform/vimc/vimc-common.h u16 num_pads, num_pads 148 drivers/media/platform/vimc/vimc-debayer.c for (i = 1; i < sd->entity.num_pads; i++) { num_pads 59 drivers/media/platform/vimc/vimc-scaler.c for (i = 1; i < sd->entity.num_pads; i++) { num_pads 47 drivers/media/platform/vimc/vimc-sensor.c for (i = 0; i < sd->entity.num_pads; i++) { num_pads 31 drivers/media/platform/vimc/vimc-streamer.c for (i = 0; i < ent->num_pads; i++) { num_pads 411 drivers/media/platform/vsp1/vsp1_brx.c unsigned int num_pads; num_pads 424 drivers/media/platform/vsp1/vsp1_brx.c num_pads = vsp1->info->num_bru_inputs + 1; num_pads 427 drivers/media/platform/vsp1/vsp1_brx.c num_pads = 3; num_pads 431 drivers/media/platform/vsp1/vsp1_brx.c ret = vsp1_entity_init(vsp1, &brx->entity, name, num_pads, &brx_ops, num_pads 114 drivers/media/platform/vsp1/vsp1_drv.c for (pad = 0; pad < entity->num_pads; ++pad) { num_pads 188 drivers/media/platform/vsp1/vsp1_entity.c for (pad = 0; pad < subdev->entity.num_pads - 1; ++pad) { num_pads 610 drivers/media/platform/vsp1/vsp1_entity.c const char *name, unsigned int num_pads, num_pads 631 drivers/media/platform/vsp1/vsp1_entity.c entity->source_pad = num_pads - 1; num_pads 635 drivers/media/platform/vsp1/vsp1_entity.c num_pads, sizeof(*entity->pads), num_pads 640 drivers/media/platform/vsp1/vsp1_entity.c for (i = 0; i < num_pads - 1; ++i) num_pads 643 drivers/media/platform/vsp1/vsp1_entity.c entity->sources = devm_kcalloc(vsp1->dev, max(num_pads - 1, 1U), num_pads 649 drivers/media/platform/vsp1/vsp1_entity.c entity->pads[num_pads - 1].flags = num_pads > 1 ? MEDIA_PAD_FL_SOURCE num_pads 653 drivers/media/platform/vsp1/vsp1_entity.c ret = media_entity_pads_init(&entity->subdev.entity, num_pads, num_pads 129 drivers/media/platform/vsp1/vsp1_entity.h const char *name, unsigned int num_pads, num_pads 102 drivers/media/platform/xilinx/xilinx-vipp.c if (link.local_port >= local->num_pads) { num_pads 139 drivers/media/platform/xilinx/xilinx-vipp.c if (link.remote_port >= remote->num_pads) { num_pads 239 drivers/media/platform/xilinx/xilinx-vipp.c if (link.remote_port >= ent->entity->num_pads) { num_pads 962 drivers/media/usb/uvc/uvc_driver.c unsigned int num_pads, unsigned int extra_size) num_pads 970 drivers/media/usb/uvc/uvc_driver.c num_inputs = (type & UVC_TERM_OUTPUT) ? num_pads : num_pads - 1; num_pads 971 drivers/media/usb/uvc/uvc_driver.c size = sizeof(*entity) + extra_size + sizeof(*entity->pads) * num_pads num_pads 981 drivers/media/usb/uvc/uvc_driver.c entity->num_pads = num_pads; num_pads 987 drivers/media/usb/uvc/uvc_driver.c entity->pads[num_pads-1].flags = MEDIA_PAD_FL_SOURCE; num_pads 990 drivers/media/usb/uvc/uvc_driver.c entity->baSourceID = (u8 *)(&entity->pads[num_pads]); num_pads 1796 drivers/media/usb/uvc/uvc_driver.c if (entity->num_pads != 2) num_pads 31 drivers/media/usb/uvc/uvc_entity.c for (i = 0; i < entity->num_pads; ++i) { num_pads 49 drivers/media/usb/uvc/uvc_entity.c remote_pad = remote->num_pads - 1; num_pads 81 drivers/media/usb/uvc/uvc_entity.c entity->num_pads, entity->pads); num_pads 90 drivers/media/usb/uvc/uvc_entity.c entity->num_pads, entity->pads); num_pads 307 drivers/media/usb/uvc/uvcvideo.h unsigned int num_pads; num_pads 731 drivers/media/v4l2-core/v4l2-mem2mem.c int num_pads; num_pads 739 drivers/media/v4l2-core/v4l2-mem2mem.c num_pads = 1; num_pads 745 drivers/media/v4l2-core/v4l2-mem2mem.c num_pads = 1; num_pads 752 drivers/media/v4l2-core/v4l2-mem2mem.c num_pads = 2; num_pads 771 drivers/media/v4l2-core/v4l2-mem2mem.c ret = media_entity_pads_init(entity, num_pads, pads); num_pads 28 drivers/media/v4l2-core/v4l2-subdev.c if (sd->entity.num_pads) { num_pads 127 drivers/media/v4l2-core/v4l2-subdev.c if (sd->entity.num_pads) { num_pads 128 drivers/media/v4l2-core/v4l2-subdev.c if (pad >= sd->entity.num_pads) num_pads 752 drivers/media/v4l2-core/v4l2-subdev.c if (!sd->entity.num_pads) num_pads 755 drivers/media/v4l2-core/v4l2-subdev.c cfg = kvmalloc_array(sd->entity.num_pads, sizeof(*cfg), num_pads 1724 drivers/phy/tegra/xusb-tegra124.c .num_pads = ARRAY_SIZE(tegra124_pads), num_pads 873 drivers/phy/tegra/xusb-tegra186.c .num_pads = ARRAY_SIZE(tegra186_pads), num_pads 2020 drivers/phy/tegra/xusb-tegra210.c .num_pads = ARRAY_SIZE(tegra210_pads), num_pads 346 drivers/phy/tegra/xusb.c for (i = 0; i < padctl->soc->num_pads; i++) { num_pads 379 drivers/phy/tegra/xusb.h unsigned int num_pads; num_pads 76 drivers/pinctrl/pinctrl-lantiq.h unsigned int num_pads; num_pads 1748 drivers/pinctrl/pinctrl-xway.c xway_info.num_pads = xway_chip.ngpio; num_pads 494 drivers/staging/media/hantro/hantro_drv.c struct media_pad *pads, int num_pads, num_pads 514 drivers/staging/media/hantro/hantro_drv.c ret = media_entity_pads_init(entity, num_pads, pads); num_pads 120 drivers/staging/media/imx/imx-media-dev-common.c for (i = 0; i < entity->num_pads; i++) { num_pads 154 drivers/staging/media/imx/imx-media-dev-common.c entity->num_pads, sizeof(*vdev_lists), num_pads 162 drivers/staging/media/imx/imx-media-dev-common.c for (i = 0; i < entity->num_pads; i++) num_pads 242 drivers/staging/media/imx/imx-media-dev-common.c for (i = 0; i < entity->num_pads; i++) { num_pads 332 drivers/staging/media/imx/imx-media-dev-common.c for (i = 0; i < entity->num_pads; i++) { num_pads 168 drivers/staging/media/imx/imx-media-internal-sd.c for (i = 0; i < sd->entity.num_pads; i++) { num_pads 92 drivers/staging/media/imx/imx-media-of.c if (link->local_port >= sd->entity.num_pads) num_pads 496 drivers/staging/media/imx/imx-media-utils.c for (pad = 0; pad < sd->entity.num_pads; pad++) { num_pads 789 drivers/staging/media/imx/imx-media-utils.c for (i = 0; i < me->num_pads; i++) { num_pads 296 include/media/media-entity.h u16 num_pads; num_pads 648 include/media/media-entity.h int media_entity_pads_init(struct media_entity *entity, u16 num_pads, num_pads 938 include/media/v4l2-subdev.h if (WARN_ON(pad >= sd->entity.num_pads)) num_pads 956 include/media/v4l2-subdev.h if (WARN_ON(pad >= sd->entity.num_pads)) num_pads 974 include/media/v4l2-subdev.h if (WARN_ON(pad >= sd->entity.num_pads)) num_pads 361 include/uapi/linux/media.h __u32 num_pads;