/linux-6.12.1/drivers/media/platform/renesas/vsp1/ |
D | vsp1_brx.c | 150 if (fmt->pad != brx->entity.source_pad) { in brx_set_format() 164 for (i = 0; i <= brx->entity.source_pad; ++i) { in brx_set_format() 182 if (sel->pad == brx->entity.source_pad) in brx_get_selection() 219 if (sel->pad == brx->entity.source_pad) in brx_set_selection() 237 format = v4l2_subdev_state_get_format(state, brx->entity.source_pad); in brx_set_selection() 285 format = v4l2_subdev_state_get_format(state, brx->entity.source_pad); in brx_configure_stream() 327 for (i = 0; i < brx->entity.source_pad; ++i) { in brx_configure_stream()
|
D | vsp1_entity.c | 311 if (fmt->pad == entity->source_pad) { in vsp1_subdev_set_pad_format() 337 format = v4l2_subdev_state_get_format(state, entity->source_pad); in vsp1_subdev_set_pad_format() 391 static int vsp1_entity_link_setup_source(const struct media_pad *source_pad, in vsp1_entity_link_setup_source() argument 397 source = media_entity_to_vsp1_entity(source_pad->entity); in vsp1_entity_link_setup_source() 425 static int vsp1_entity_link_setup_sink(const struct media_pad *source_pad, in vsp1_entity_link_setup_sink() argument 433 source = media_entity_to_vsp1_entity(source_pad->entity); in vsp1_entity_link_setup_sink() 585 entity->source_pad = num_pads - 1; in vsp1_entity_init()
|
D | vsp1_entity.h | 121 unsigned int source_pad; member
|
D | vsp1_drm.c | 342 format.pad = brx->source_pad; in vsp1_du_pipeline_setup_brx() 354 format.format.code, BRX_NAME(brx), brx->source_pad); in vsp1_du_pipeline_setup_brx() 417 for (i = 0; i < pipe->brx->source_pad; ++i) { in vsp1_du_pipeline_setup_inputs() 456 pipe->brx, pipe->brx->source_pad, in vsp1_du_pipeline_setup_inputs()
|
/linux-6.12.1/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() 199 route->source_pad = i + xbar->num_sinks; in mxc_isi_crossbar_init_state() 298 route->source_pad, in mxc_isi_crossbar_set_fmt()
|
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-csi.c | 35 unsigned int source_pad) in rkisp1_csi_link_sensor() argument 49 ret = media_create_pad_link(&sd->entity, source_pad, in rkisp1_csi_link_sensor() 357 struct media_pad *source_pad; in rkisp1_csi_s_stream() local 369 source_pad = media_entity_remote_source_pad_unique(&sd->entity); in rkisp1_csi_s_stream() 370 if (IS_ERR(source_pad)) { in rkisp1_csi_s_stream() 372 PTR_ERR(source_pad)); in rkisp1_csi_s_stream() 376 source = media_entity_to_v4l2_subdev(source_pad->entity); in rkisp1_csi_s_stream()
|
D | rkisp1-dev.c | 133 int source_pad; in rkisp1_subdev_notifier_bound() local 138 source_pad = media_entity_get_fwnode_pad(&sd->entity, s_asd->source_ep, in rkisp1_subdev_notifier_bound() 140 if (source_pad < 0) { in rkisp1_subdev_notifier_bound() 143 return source_pad; in rkisp1_subdev_notifier_bound() 147 return rkisp1_csi_link_sensor(rkisp1, sd, s_asd, source_pad); in rkisp1_subdev_notifier_bound() 149 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 | 924 struct media_pad *source_pad; in rkisp1_isp_s_stream() local 937 source_pad = media_pad_remote_pad_unique(sink_pad); in rkisp1_isp_s_stream() 938 if (IS_ERR(source_pad)) { in rkisp1_isp_s_stream() 940 PTR_ERR(source_pad)); in rkisp1_isp_s_stream() 944 rkisp1->source = media_entity_to_v4l2_subdev(source_pad->entity); in rkisp1_isp_s_stream() 975 ret = rkisp1_isp_start(isp, sd_state, source_pad); in rkisp1_isp_s_stream()
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 1016 if (route->source_pad >= sd->entity.num_pads) in subdev_do_ioctl() 1019 if (!(pads[route->source_pad].flags & in subdev_do_ioctl() 1318 route_pad = route->source_pad; in __v4l2_link_validate_get_streams() 1531 if ((route->sink_pad == pad0 && route->source_pad == pad1) || in v4l2_subdev_has_pad_interdep() 1532 (route->source_pad == pad0 && route->sink_pad == pad1)) { in v4l2_subdev_has_pad_interdep() 1851 new_configs.configs[idx].pad = route->source_pad; in v4l2_subdev_init_stream_configs() 1983 if (route->source_pad == pad && in v4l2_subdev_routing_find_opposite_end() 1994 *other_pad = route->source_pad; in v4l2_subdev_routing_find_opposite_end() 2031 if (route->sink_pad == pad0 && route->source_pad == pad1 && in v4l2_subdev_state_xlate_streams() 2036 if (route->source_pad == pad0 && route->sink_pad == pad1 && in v4l2_subdev_state_xlate_streams() [all …]
|
/linux-6.12.1/drivers/media/platform/xilinx/ |
D | xilinx-vipp.c | 198 struct media_pad *source_pad; in xvip_graph_build_dma() local 252 source_pad = &dma->pad; in xvip_graph_build_dma() 257 source_pad = &source->pads[link.remote_port]; in xvip_graph_build_dma() 266 source->name, source_pad->index, in xvip_graph_build_dma() 269 ret = media_create_pad_link(source, source_pad->index, in xvip_graph_build_dma() 275 source->name, source_pad->index, in xvip_graph_build_dma()
|
/linux-6.12.1/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_state_get_format(sd_state, source_pad); in video_mux_set_format()
|
/linux-6.12.1/drivers/media/platform/cadence/ |
D | cdns-csi2rx.c | 105 int source_pad; member 489 csi2rx->source_pad = media_entity_get_fwnode_pad(&s_subdev->entity, in csi2rx_async_bound() 492 if (csi2rx->source_pad < 0) { in csi2rx_async_bound() 495 return csi2rx->source_pad; in csi2rx_async_bound() 501 csi2rx->source_pad); in csi2rx_async_bound() 504 csi2rx->source_pad, in csi2rx_async_bound()
|
/linux-6.12.1/drivers/media/mc/ |
D | mc-entity.c | 1132 media_create_pad_link(struct media_entity *source, u16 source_pad, in media_create_pad_link() argument 1144 WARN_ON(source_pad >= source->num_pads) || in media_create_pad_link() 1147 if (WARN_ON(!(source->pads[source_pad].flags & MEDIA_PAD_FL_SOURCE))) in media_create_pad_link() 1156 link->source = &source->pads[source_pad]; in media_create_pad_link() 1173 backlink->source = &source->pads[source_pad]; in media_create_pad_link() 1199 const u16 source_pad, in media_create_pad_links() argument 1212 return media_create_pad_link(source, source_pad, in media_create_pad_links() 1225 ret = media_create_pad_link(source, source_pad, in media_create_pad_links() 1248 ret = media_create_pad_link(source, source_pad, in media_create_pad_links() 1251 ret = media_create_pad_link(entity, source_pad, in media_create_pad_links()
|
/linux-6.12.1/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
|
/linux-6.12.1/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() 2556 struct v4l2_subdev_state *state, u32 source_pad, in ub960_enable_streams() argument 2575 if (!priv->stream_enable_mask[source_pad]) { in ub960_enable_streams() 2577 ub960_pad_to_port(priv, source_pad)); in ub960_enable_streams() 2582 priv->stream_enable_mask[source_pad] |= source_streams_mask; in ub960_enable_streams() 2586 if (route->source_pad != source_pad) in ub960_enable_streams() 2656 priv->stream_enable_mask[source_pad] &= ~source_streams_mask; in ub960_enable_streams() 2658 if (!priv->stream_enable_mask[source_pad]) in ub960_enable_streams() [all …]
|
D | st-mipid02.c | 671 int source_pad; in mipid02_async_bound() local 676 source_pad = media_entity_get_fwnode_pad(&s_subdev->entity, in mipid02_async_bound() 679 if (source_pad < 0) { in mipid02_async_bound() 682 return source_pad; in mipid02_async_bound() 685 ret = media_create_pad_link(&s_subdev->entity, source_pad, in mipid02_async_bound()
|
/linux-6.12.1/drivers/media/pci/intel/ipu6/ |
D | ipu6-isys-subdev.c | 295 if (routes[i].source_pad == pad) { in ipu6_isys_get_src_stream_by_src_pad() 312 .source_pad = 1, in ipu6_isys_subdev_init_state()
|
D | ipu6-isys-video.c | 1181 struct media_pad *source_pad, *remote_pad; in ipu6_isys_setup_video() local 1194 source_pad = media_pad_remote_pad_first(&remote_pad->entity->pads[0]); in ipu6_isys_setup_video() 1195 if (!source_pad) { in ipu6_isys_setup_video() 1200 *source_entity = source_pad->entity; in ipu6_isys_setup_video() 1207 if (r->source_pad == remote_pad->index) in ipu6_isys_setup_video()
|
/linux-6.12.1/include/media/ |
D | media-entity.h | 785 u16 source_pad, struct media_entity *sink, 834 const u16 source_pad,
|
/linux-6.12.1/include/uapi/linux/ |
D | v4l2-subdev.h | 221 __u32 source_pad; member
|
/linux-6.12.1/drivers/media/platform/broadcom/ |
D | bcm2835-unicam.c | 1175 if (route->source_pad == UNICAM_SD_PAD_SOURCE_IMAGE) in __unicam_subdev_set_routing() 1183 fmt = v4l2_subdev_state_get_format(state, route->source_pad, in __unicam_subdev_set_routing() 1198 .source_pad = UNICAM_SD_PAD_SOURCE_IMAGE, in unicam_subdev_init_state() 1321 u32 source_pad, source_stream; in unicam_subdev_set_format() local 1339 &source_pad, &source_stream); in unicam_subdev_set_format() 1343 fmtinfo = unicam_find_format_by_code(format->format.code, source_pad); in unicam_subdev_set_format() 1345 fmtinfo = source_pad == UNICAM_SD_PAD_SOURCE_IMAGE in unicam_subdev_set_format() 1350 if (source_pad == UNICAM_SD_PAD_SOURCE_IMAGE) { in unicam_subdev_set_format() 1380 source_format = v4l2_subdev_state_get_format(state, source_pad, in unicam_subdev_set_format()
|
/linux-6.12.1/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.12.1/drivers/media/i2c/ccs/ |
D | ccs.h | 187 unsigned short source_pad; member
|