/linux-6.6.21/drivers/media/platform/renesas/vsp1/ ! |
D | vsp1_brx.c | 158 if (fmt->pad != brx->entity.source_pad) { in brx_set_format() 172 for (i = 0; i <= brx->entity.source_pad; ++i) { in brx_set_format() 191 if (sel->pad == brx->entity.source_pad) in brx_get_selection() 228 if (sel->pad == brx->entity.source_pad) in brx_set_selection() 248 brx->entity.source_pad); in brx_set_selection() 297 brx->entity.source_pad); in brx_configure_stream() 339 for (i = 0; i < brx->entity.source_pad; ++i) { in brx_configure_stream()
|
D | vsp1_entity.c | 381 if (fmt->pad == entity->source_pad) { in vsp1_subdev_set_pad_format() 407 format = vsp1_entity_get_pad_format(entity, config, entity->source_pad); in vsp1_subdev_set_pad_format() 440 static int vsp1_entity_link_setup_source(const struct media_pad *source_pad, in vsp1_entity_link_setup_source() argument 446 source = media_entity_to_vsp1_entity(source_pad->entity); in vsp1_entity_link_setup_source() 474 static int vsp1_entity_link_setup_sink(const struct media_pad *source_pad, in vsp1_entity_link_setup_sink() argument 482 source = media_entity_to_vsp1_entity(source_pad->entity); in vsp1_entity_link_setup_sink() 634 entity->source_pad = num_pads - 1; in vsp1_entity_init()
|
D | vsp1_entity.h | 111 unsigned int source_pad; member
|
D | vsp1_drm.c | 338 format.pad = brx->source_pad; in vsp1_du_pipeline_setup_brx() 350 format.format.code, BRX_NAME(brx), brx->source_pad); in vsp1_du_pipeline_setup_brx() 413 for (i = 0; i < pipe->brx->source_pad; ++i) { in vsp1_du_pipeline_setup_inputs() 452 pipe->brx, pipe->brx->source_pad, in vsp1_du_pipeline_setup_inputs()
|
/linux-6.6.21/drivers/media/platform/nxp/imx8-isi/ ! |
D | imx8-isi-crossbar.c | 112 route->source_pad != xbar->num_sinks) { in __mxc_isi_crossbar_set_routing() 116 route->source_pad - xbar->num_sinks); in __mxc_isi_crossbar_set_routing() 128 u32 source_pad, u64 source_streams, in mxc_isi_crossbar_xlate_streams() argument 147 if (route->source_pad != source_pad || in mxc_isi_crossbar_xlate_streams() 158 source_pad - xbar->num_sinks); in mxc_isi_crossbar_xlate_streams() 200 route->source_pad = i + xbar->num_sinks; in mxc_isi_crossbar_init_cfg() 299 source_fmt = v4l2_subdev_state_get_stream_format(state, route->source_pad, in mxc_isi_crossbar_set_fmt()
|
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/ ! |
D | rkisp1-csi.c | 52 unsigned int source_pad) in rkisp1_csi_link_sensor() argument 66 ret = media_create_pad_link(&sd->entity, source_pad, in rkisp1_csi_link_sensor() 397 struct media_pad *source_pad; in rkisp1_csi_s_stream() local 409 source_pad = media_entity_remote_source_pad_unique(&sd->entity); in rkisp1_csi_s_stream() 410 if (IS_ERR(source_pad)) { in rkisp1_csi_s_stream() 412 PTR_ERR(source_pad)); in rkisp1_csi_s_stream() 416 source = media_entity_to_v4l2_subdev(source_pad->entity); in rkisp1_csi_s_stream()
|
D | rkisp1-dev.c | 132 int source_pad; in rkisp1_subdev_notifier_bound() local 137 source_pad = media_entity_get_fwnode_pad(&sd->entity, s_asd->source_ep, in rkisp1_subdev_notifier_bound() 139 if (source_pad < 0) { in rkisp1_subdev_notifier_bound() 142 return source_pad; in rkisp1_subdev_notifier_bound() 146 return rkisp1_csi_link_sensor(rkisp1, sd, s_asd, source_pad); in rkisp1_subdev_notifier_bound() 148 ret = media_create_pad_link(&sd->entity, source_pad, in rkisp1_subdev_notifier_bound()
|
D | rkisp1-csi.h | 26 unsigned int source_pad);
|
D | rkisp1-isp.c | 854 struct media_pad *source_pad; in rkisp1_isp_s_stream() local 867 source_pad = media_pad_remote_pad_unique(sink_pad); in rkisp1_isp_s_stream() 868 if (IS_ERR(source_pad)) { in rkisp1_isp_s_stream() 870 PTR_ERR(source_pad)); in rkisp1_isp_s_stream() 874 rkisp1->source = media_entity_to_v4l2_subdev(source_pad->entity); in rkisp1_isp_s_stream()
|
/linux-6.6.21/drivers/media/v4l2-core/ ! |
D | v4l2-subdev.c | 904 if (route->source_pad >= sd->entity.num_pads) in subdev_do_ioctl() 907 if (!(pads[route->source_pad].flags & in subdev_do_ioctl() 1188 route_pad = route->source_pad; in __v4l2_link_validate_get_streams() 1368 if ((route->sink_pad == pad0 && route->source_pad == pad1) || in v4l2_subdev_has_pad_interdep() 1369 (route->source_pad == pad0 && route->sink_pad == pad1)) { in v4l2_subdev_has_pad_interdep() 1518 new_configs.configs[idx].pad = route->source_pad; in v4l2_subdev_init_stream_configs() 1704 if (route->source_pad == pad && in v4l2_subdev_routing_find_opposite_end() 1715 *other_pad = route->source_pad; in v4l2_subdev_routing_find_opposite_end() 1753 if (route->sink_pad == pad0 && route->source_pad == pad1 && in v4l2_subdev_state_xlate_streams() 1758 if (route->source_pad == pad0 && route->sink_pad == pad1 && in v4l2_subdev_state_xlate_streams() [all …]
|
/linux-6.6.21/drivers/media/platform/xilinx/ ! |
D | xilinx-vipp.c | 198 struct media_pad *source_pad; in xvip_graph_build_dma() local 257 source_pad = &dma->pad; in xvip_graph_build_dma() 262 source_pad = &source->pads[link.remote_port]; in xvip_graph_build_dma() 271 source->name, source_pad->index, in xvip_graph_build_dma() 274 ret = media_create_pad_link(source, source_pad->index, in xvip_graph_build_dma() 280 source->name, source_pad->index, in xvip_graph_build_dma()
|
/linux-6.6.21/drivers/media/platform/cadence/ ! |
D | cdns-csi2rx.c | 95 int source_pad; member 321 csi2rx->source_pad = media_entity_get_fwnode_pad(&s_subdev->entity, in csi2rx_async_bound() 324 if (csi2rx->source_pad < 0) { in csi2rx_async_bound() 327 return csi2rx->source_pad; in csi2rx_async_bound() 333 csi2rx->source_pad); in csi2rx_async_bound() 336 csi2rx->source_pad, in csi2rx_async_bound()
|
/linux-6.6.21/drivers/media/platform/ ! |
D | video-mux.c | 56 u16 source_pad = entity->num_pads - 1; in video_mux_link_setup() local 93 source_pad); in video_mux_link_setup() 155 u16 source_pad = sd->entity.num_pads - 1; in video_mux_set_format() local 161 source_mbusformat = v4l2_subdev_get_pad_format(sd, sd_state, source_pad); in video_mux_set_format()
|
/linux-6.6.21/drivers/media/platform/renesas/rcar-vin/ ! |
D | rcar-core.c | 508 vin->parallel.source_pad = ret; in rvin_parallel_subdevice_attach() 521 code.pad = vin->parallel.source_pad; in rvin_parallel_subdevice_attach() 602 ret = media_create_pad_link(source, vin->parallel.source_pad, in rvin_parallel_notify_complete() 640 subdev->name, vin->parallel.source_pad, in rvin_parallel_notify_bound() 898 struct media_pad *source_pad = &source->pads[source_idx]; in rvin_csi2_create_link() local 901 if (media_entity_find_link(source_pad, sink_pad)) in rvin_csi2_create_link() 1002 struct media_pad *source_pad, *sink_pad; in rvin_isp_setup_links() local 1015 source_pad = &source->pads[source_idx]; in rvin_isp_setup_links() 1021 if (media_entity_find_link(source_pad, sink_pad)) in rvin_isp_setup_links()
|
D | rcar-vin.h | 124 unsigned int source_pad; member
|
D | rcar-v4l2.c | 219 .pad = vin->parallel.source_pad, in rvin_reset_format() 259 .pad = vin->parallel.source_pad, in rvin_try_format() 447 index = vin->parallel.source_pad; in rvin_remote_rectangle()
|
/linux-6.6.21/drivers/media/mc/ ! |
D | mc-entity.c | 1076 media_create_pad_link(struct media_entity *source, u16 source_pad, in media_create_pad_link() argument 1083 WARN_ON(source_pad >= source->num_pads) || in media_create_pad_link() 1086 if (WARN_ON(!(source->pads[source_pad].flags & MEDIA_PAD_FL_SOURCE))) in media_create_pad_link() 1095 link->source = &source->pads[source_pad]; in media_create_pad_link() 1112 backlink->source = &source->pads[source_pad]; in media_create_pad_link() 1135 const u16 source_pad, in media_create_pad_links() argument 1148 return media_create_pad_link(source, source_pad, in media_create_pad_links() 1161 ret = media_create_pad_link(source, source_pad, in media_create_pad_links() 1184 ret = media_create_pad_link(source, source_pad, in media_create_pad_links() 1187 ret = media_create_pad_link(entity, source_pad, in media_create_pad_links()
|
/linux-6.6.21/drivers/media/i2c/ ! |
D | ds90ub960.c | 2307 tx = ub960_pad_to_port(priv, route->source_pad); in ub960_get_vc_maps() 2438 txport = priv->txports[ub960_pad_to_port(priv, route->source_pad)]; in ub960_configure_ports_for_streaming() 2442 rx_data[nport].tx_port = ub960_pad_to_port(priv, route->source_pad); in ub960_configure_ports_for_streaming() 2557 struct v4l2_subdev_state *state, u32 source_pad, in ub960_enable_streams() argument 2576 if (!priv->stream_enable_mask[source_pad]) { in ub960_enable_streams() 2578 ub960_pad_to_port(priv, source_pad)); in ub960_enable_streams() 2583 priv->stream_enable_mask[source_pad] |= source_streams_mask; in ub960_enable_streams() 2587 if (route->source_pad != source_pad) in ub960_enable_streams() 2657 priv->stream_enable_mask[source_pad] &= ~source_streams_mask; in ub960_enable_streams() 2659 if (!priv->stream_enable_mask[source_pad]) in ub960_enable_streams() [all …]
|
D | st-mipid02.c | 852 int source_pad; in mipid02_async_bound() local 857 source_pad = media_entity_get_fwnode_pad(&s_subdev->entity, in mipid02_async_bound() 860 if (source_pad < 0) { in mipid02_async_bound() 863 return source_pad; in mipid02_async_bound() 866 ret = media_create_pad_link(&s_subdev->entity, source_pad, in mipid02_async_bound()
|
D | adv7604.c | 176 unsigned int source_pad; member 1485 if (timings->pad >= state->source_pad) in adv76xx_enum_dv_timings() 1499 if (cap->pad >= state->source_pad) in adv76xx_dv_timings_cap() 1924 if (format->pad != state->source_pad) in adv76xx_get_format() 1968 if (format->pad != state->source_pad) in adv76xx_set_format() 2827 pdata->default_input < state->source_pad) { in adv76xx_core_init() 3604 state->source_pad = state->info->num_dv_ports in adv76xx_probe() 3606 for (i = 0; i < state->source_pad; ++i) in adv76xx_probe() 3608 state->pads[state->source_pad].flags = MEDIA_PAD_FL_SOURCE; in adv76xx_probe() 3611 err = media_entity_pads_init(&sd->entity, state->source_pad + 1, in adv76xx_probe()
|
/linux-6.6.21/include/uapi/linux/ ! |
D | v4l2-subdev.h | 215 __u32 source_pad; member
|
/linux-6.6.21/include/media/ ! |
D | media-entity.h | 787 u16 source_pad, struct media_entity *sink, 836 const u16 source_pad,
|
/linux-6.6.21/drivers/media/platform/ti/omap3isp/ ! |
D | ispvideo.c | 960 struct media_pad *source_pad; in isp_video_check_external_subdevs() local 981 source_pad = media_pad_remote_pad_first(&ents[i]->pads[0]); in isp_video_check_external_subdevs() 982 if (source_pad == NULL) in isp_video_check_external_subdevs() 985 source = source_pad->entity; in isp_video_check_external_subdevs() 1000 fmt.pad = source_pad->index; in isp_video_check_external_subdevs()
|
/linux-6.6.21/drivers/media/i2c/ccs/ ! |
D | ccs.h | 189 unsigned short source_pad; member
|
D | ccs-core.c | 2064 if (fmt->pad == ssd->source_pad) in __ccs_get_format() 2065 r = &ssd->crop[ssd->source_pad]; in __ccs_get_format() 2230 if (fmt->pad == ssd->source_pad) { in ccs_set_format() 2529 if (sel->pad == ssd->source_pad) in __ccs_sel_supported() 2954 u16 source_pad, u16 sink_pad, u32 link_flags) in ccs_register_subdev() argument 2974 rval = media_create_pad_link(&ssd->sd.entity, source_pad, in ccs_register_subdev() 3052 ssd->source_pad = num_pads - 1; in ccs_create_subdev() 3060 ssd->crop[ssd->source_pad] = ssd->compose; in ccs_create_subdev() 3061 ssd->pads[ssd->source_pad].flags = MEDIA_PAD_FL_SOURCE; in ccs_create_subdev()
|