/Linux-v4.19/drivers/media/platform/ |
D | video-mux.c | 55 u16 source_pad = entity->num_pads - 1; in video_mux_link_setup() 178 u16 source_pad = sd->entity.num_pads - 1; in video_mux_set_format() 298 for (i = 0; i < sd->entity.num_pads; i++) { in video_mux_init_cfg() 325 unsigned int num_pads = 0; in video_mux_probe() local 348 num_pads = max(num_pads, endpoint.port + 1); in video_mux_probe() 351 if (num_pads < 2) { in video_mux_probe() 352 dev_err(dev, "Not enough ports %d\n", num_pads); in video_mux_probe() 366 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe() 368 vmux->format_mbus = devm_kcalloc(dev, num_pads, in video_mux_probe() 372 for (i = 0; i < num_pads; i++) { in video_mux_probe() [all …]
|
/Linux-v4.19/drivers/media/usb/uvc/ |
D | uvc_entity.c | 36 for (i = 0; i < entity->num_pads; ++i) { in uvc_mc_create_links() 54 remote_pad = remote->num_pads - 1; in uvc_mc_create_links() 86 entity->num_pads, entity->pads); in uvc_mc_init_entity() 95 entity->num_pads, entity->pads); in uvc_mc_init_entity()
|
D | uvc_driver.c | 910 unsigned int num_pads, unsigned int extra_size) in uvc_alloc_entity() argument 918 num_inputs = (type & UVC_TERM_OUTPUT) ? num_pads : num_pads - 1; in uvc_alloc_entity() 919 size = sizeof(*entity) + extra_size + sizeof(*entity->pads) * num_pads in uvc_alloc_entity() 929 entity->num_pads = num_pads; in uvc_alloc_entity() 935 entity->pads[num_pads-1].flags = MEDIA_PAD_FL_SOURCE; in uvc_alloc_entity() 938 entity->baSourceID = (u8 *)(&entity->pads[num_pads]); in uvc_alloc_entity() 1724 if (entity->num_pads != 2) in uvc_scan_fallback()
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 35 if (sd->entity.num_pads) { in subdev_fh_init() 135 if (format->pad >= sd->entity.num_pads) in check_format() 147 if (crop->pad >= sd->entity.num_pads) in check_crop() 160 if (sel->pad >= sd->entity.num_pads) in check_selection() 168 if (edid->pad >= sd->entity.num_pads) in check_edid() 369 if (code->pad >= sd->entity.num_pads) in subdev_do_ioctl() 384 if (fse->pad >= sd->entity.num_pads) in subdev_do_ioctl() 395 if (fi->pad >= sd->entity.num_pads) in subdev_do_ioctl() 405 if (fi->pad >= sd->entity.num_pads) in subdev_do_ioctl() 419 if (fie->pad >= sd->entity.num_pads) in subdev_do_ioctl() [all …]
|
D | v4l2-mem2mem.c | 709 int num_pads; in v4l2_m2m_register_entity() local 717 num_pads = 1; in v4l2_m2m_register_entity() 723 num_pads = 1; in v4l2_m2m_register_entity() 730 num_pads = 2; in v4l2_m2m_register_entity() 749 ret = media_entity_pads_init(entity, num_pads, pads); in v4l2_m2m_register_entity()
|
/Linux-v4.19/drivers/media/platform/vimc/ |
D | vimc-common.c | 246 struct media_pad *vimc_pads_init(u16 num_pads, const unsigned long *pads_flag) in vimc_pads_init() argument 252 pads = kcalloc(num_pads, sizeof(*pads), GFP_KERNEL); in vimc_pads_init() 257 for (i = 0; i < num_pads; i++) { in vimc_pads_init() 273 for (i = 0; i < ent->num_pads; i++) { in vimc_pipeline_s_stream() 414 u16 num_pads, in vimc_ent_sd_register() argument 421 ved->pads = vimc_pads_init(num_pads, pads_flag); in vimc_ent_sd_register() 442 ret = media_entity_pads_init(&sd->entity, num_pads, ved->pads); in vimc_ent_sd_register()
|
D | vimc-common.h | 141 struct media_pad *vimc_pads_init(u16 num_pads, 209 u16 num_pads,
|
D | vimc-scaler.c | 69 for (i = 1; i < sd->entity.num_pads; i++) { in vimc_sca_init_cfg() 364 for (i = 1; i < vsca->sd.entity.num_pads; i++) { in vimc_sca_process_frame()
|
D | vimc-sensor.c | 60 for (i = 0; i < sd->entity.num_pads; i++) { in vimc_sen_init_cfg() 220 for (i = 0; i < vsen->sd.entity.num_pads; i++) in vimc_sen_tpg_thread()
|
D | vimc-debayer.c | 158 for (i = 1; i < sd->entity.num_pads; i++) { in vimc_deb_init_cfg() 503 for (i = 1; i < vdeb->sd.entity.num_pads; i++) { in vimc_deb_process_frame()
|
/Linux-v4.19/drivers/media/platform/vsp1/ |
D | vsp1_entity.c | 187 for (pad = 0; pad < subdev->entity.num_pads - 1; ++pad) { in vsp1_entity_init_cfg() 609 const char *name, unsigned int num_pads, in vsp1_entity_init() argument 630 entity->source_pad = num_pads - 1; in vsp1_entity_init() 634 num_pads, sizeof(*entity->pads), in vsp1_entity_init() 639 for (i = 0; i < num_pads - 1; ++i) in vsp1_entity_init() 642 entity->sources = devm_kcalloc(vsp1->dev, max(num_pads - 1, 1U), in vsp1_entity_init() 648 entity->pads[num_pads - 1].flags = num_pads > 1 ? MEDIA_PAD_FL_SOURCE in vsp1_entity_init() 652 ret = media_entity_pads_init(&entity->subdev.entity, num_pads, in vsp1_entity_init()
|
D | vsp1_brx.c | 410 unsigned int num_pads; in vsp1_brx_create() local 423 num_pads = vsp1->info->num_bru_inputs + 1; in vsp1_brx_create() 426 num_pads = 3; in vsp1_brx_create() 430 ret = vsp1_entity_init(vsp1, &brx->entity, name, num_pads, &brx_ops, in vsp1_brx_create()
|
D | vsp1_entity.h | 127 const char *name, unsigned int num_pads,
|
/Linux-v4.19/drivers/media/ |
D | media-entity.c | 206 int media_entity_pads_init(struct media_entity *entity, u16 num_pads, in media_entity_pads_init() argument 212 if (num_pads >= MEDIA_ENTITY_MAX_PADS) in media_entity_pads_init() 215 entity->num_pads = num_pads; in media_entity_pads_init() 221 for (i = 0; i < num_pads; i++) { in media_entity_pads_init() 386 for (i = 0; i < entity->num_pads; i++) { in media_entity_get_fwnode_pad() 402 if (ret >= entity->num_pads) in media_entity_get_fwnode_pad() 453 bitmap_zero(active, entity->num_pads); in __media_pipeline_start() 454 bitmap_fill(has_no_links, entity->num_pads); in __media_pipeline_start() 492 bitmap_or(active, active, has_no_links, entity->num_pads); in __media_pipeline_start() 494 if (!bitmap_full(active, entity->num_pads)) { in __media_pipeline_start() [all …]
|
D | media-device.c | 123 entd->pads = ent->num_pads; in media_device_enum_entities() 170 for (p = 0; p < entity->num_pads; p++) { in media_device_enum_links() 222 if (linkd->source.index >= source->num_pads || in media_device_setup_link() 223 linkd->sink.index >= sink->num_pads) in media_device_setup_link() 325 if (i > topo->num_pads) { in media_device_get_topology() 342 topo->num_pads = i; in media_device_get_topology() 601 for (i = 0; i < entity->num_pads; i++) in media_device_register_entity() 653 for (i = 0; i < entity->num_pads; i++) in __media_device_unregister_entity()
|
/Linux-v4.19/drivers/gpu/host1x/ |
D | mipi.c | 97 unsigned int num_pads; member 337 for (i = 0; i < soc->num_pads; i++) { in tegra_mipi_calibrate() 401 .num_pads = ARRAY_SIZE(tegra114_mipi_pads), 428 .num_pads = ARRAY_SIZE(tegra124_mipi_pads), 445 .num_pads = ARRAY_SIZE(tegra124_mipi_pads), 475 .num_pads = ARRAY_SIZE(tegra210_mipi_pads),
|
/Linux-v4.19/drivers/staging/media/imx/ |
D | imx-media-dev.c | 273 for (i = 0; i < entity->num_pads; i++) { in imx_media_add_vdev_to_pad() 308 entity->num_pads, sizeof(*vdev_lists), in imx_media_alloc_pad_vdev_lists() 316 for (i = 0; i < entity->num_pads; i++) in imx_media_alloc_pad_vdev_lists() 400 for (i = 0; i < entity->num_pads; i++) { in imx_media_inherit_controls()
|
D | imx-media-of.c | 173 if (link->local_port >= sd->entity.num_pads) in create_of_link()
|
/Linux-v4.19/include/media/ |
D | v4l2-subdev.h | 930 if (WARN_ON(pad >= sd->entity.num_pads)) in v4l2_subdev_get_try_format() 948 if (WARN_ON(pad >= sd->entity.num_pads)) in v4l2_subdev_get_try_crop() 966 if (WARN_ON(pad >= sd->entity.num_pads)) in v4l2_subdev_get_try_compose()
|
D | media-entity.h | 274 u16 num_pads; member 626 int media_entity_pads_init(struct media_entity *entity, u16 num_pads,
|
/Linux-v4.19/drivers/media/platform/xilinx/ |
D | xilinx-vipp.c | 101 if (link.local_port >= local->num_pads) { in xvip_graph_build_one() 142 if (link.remote_port >= remote->num_pads) { in xvip_graph_build_one() 243 if (link.remote_port >= ent->entity->num_pads) { in xvip_graph_build_dma()
|
/Linux-v4.19/drivers/pinctrl/ |
D | pinctrl-lantiq.h | 79 unsigned int num_pads; member
|
/Linux-v4.19/Documentation/media/uapi/mediactl/ |
D | media-ioc-g-topology.rst | 95 - ``num_pads`` 106 won't store the pads. It will just update ``num_pads`` 294 num_interfaces, num_links or num_pads are non-zero and are
|
/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | isp.h | 354 if (pad >= subdev->entity.num_pads) in isp_pad_buffer_type()
|
/Linux-v4.19/include/uapi/linux/ |
D | media.h | 356 __u32 num_pads; member
|