Home
last modified time | relevance | path

Searched refs:vep (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.12.1/drivers/media/v4l2-core/
Dv4l2-fwnode.c125 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_csi2_bus() argument
128 struct v4l2_mbus_config_mipi_csi2 *bus = &vep->bus.mipi_csi2; in v4l2_fwnode_endpoint_parse_csi2_bus()
227 vep->bus_type = V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus()
267 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_parallel_bus() argument
270 struct v4l2_mbus_config_parallel *bus = &vep->bus.parallel; in v4l2_fwnode_endpoint_parse_parallel_bus()
371 vep->bus_type = V4L2_MBUS_PARALLEL; in v4l2_fwnode_endpoint_parse_parallel_bus()
373 vep->bus_type = V4L2_MBUS_BT656; in v4l2_fwnode_endpoint_parse_parallel_bus()
376 vep->bus_type = V4L2_MBUS_PARALLEL; in v4l2_fwnode_endpoint_parse_parallel_bus()
380 vep->bus_type = V4L2_MBUS_BT656; in v4l2_fwnode_endpoint_parse_parallel_bus()
388 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_csi1_bus() argument
[all …]
/linux-6.12.1/drivers/usb/usbip/
Dvudc.h25 struct vep { struct
47 struct vep *ep; argument
104 struct vep *ep;
122 static inline struct vep *to_vep(struct usb_ep *_ep) in to_vep()
124 return container_of(_ep, struct vep, ep); in to_vep()
139 static inline struct vudc *ep_to_vudc(struct vep *ep) in ep_to_vudc()
170 struct vep *vudc_find_endpoint(struct vudc *udc, u8 address);
Dvudc_dev.c73 static void nuke(struct vudc *udc, struct vep *ep) in nuke()
106 struct vep *vudc_find_endpoint(struct vudc *udc, u8 address) in vudc_find_endpoint()
114 struct vep *ep = &udc->ep[i]; in vudc_find_endpoint()
232 struct vep *ep; in vep_enable()
262 struct vep *ep; in vep_disable()
311 struct vep *ep; in vep_queue()
335 struct vep *ep; in vep_dequeue()
372 struct vep *ep; in vep_set_halt_and_wedge()
519 struct vep *ep; in init_vudc_hw()
Dvudc_transfer.c62 struct vep *ep2; in handle_control_request()
184 struct urb *urb, struct vep *ep, int limit) in transfer()
309 struct vep *ep; in v_timer()
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-dev.c198 struct v4l2_fwnode_endpoint vep = { }; in rkisp1_subdev_notifier_register() local
218 vep.bus_type = V4L2_MBUS_CSI2_DPHY; in rkisp1_subdev_notifier_register()
227 vep.bus_type = V4L2_MBUS_UNKNOWN; in rkisp1_subdev_notifier_register()
232 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rkisp1_subdev_notifier_register()
239 if (vep.base.port == 1) { in rkisp1_subdev_notifier_register()
240 if (vep.bus_type != V4L2_MBUS_PARALLEL && in rkisp1_subdev_notifier_register()
241 vep.bus_type != V4L2_MBUS_BT656) { in rkisp1_subdev_notifier_register()
269 rk_asd->mbus_type = vep.bus_type; in rkisp1_subdev_notifier_register()
270 rk_asd->port = vep.base.port; in rkisp1_subdev_notifier_register()
272 if (vep.bus_type == V4L2_MBUS_CSI2_DPHY) { in rkisp1_subdev_notifier_register()
[all …]
/linux-6.12.1/drivers/media/platform/st/stm32/stm32-dcmipp/
Ddcmipp-core.c263 struct v4l2_fwnode_endpoint vep = { .bus_type = V4L2_MBUS_PARALLEL }; in dcmipp_graph_notify_bound() local
285 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in dcmipp_graph_notify_bound()
287 vep.bus_type = V4L2_MBUS_BT656; in dcmipp_graph_notify_bound()
288 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in dcmipp_graph_notify_bound()
298 if (vep.bus.parallel.bus_width == 0) { in dcmipp_graph_notify_bound()
304 if (vep.bus_type == V4L2_MBUS_BT656 && in dcmipp_graph_notify_bound()
305 vep.bus.parallel.bus_width != 8) { in dcmipp_graph_notify_bound()
307 vep.bus.parallel.bus_width); in dcmipp_graph_notify_bound()
313 sink->bus.flags = vep.bus.parallel.flags; in dcmipp_graph_notify_bound()
314 sink->bus.bus_width = vep.bus.parallel.bus_width; in dcmipp_graph_notify_bound()
[all …]
/linux-6.12.1/drivers/media/platform/ti/omap3isp/
Disp.c2062 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_parallel_endpoint() argument
2066 buscfg->bus.parallel.data_lane_shift = vep->bus.parallel.data_shift; in isp_parse_of_parallel_endpoint()
2068 !!(vep->bus.parallel.flags & V4L2_MBUS_PCLK_SAMPLE_FALLING); in isp_parse_of_parallel_endpoint()
2070 !!(vep->bus.parallel.flags & V4L2_MBUS_VSYNC_ACTIVE_LOW); in isp_parse_of_parallel_endpoint()
2072 !!(vep->bus.parallel.flags & V4L2_MBUS_HSYNC_ACTIVE_LOW); in isp_parse_of_parallel_endpoint()
2074 !!(vep->bus.parallel.flags & V4L2_MBUS_FIELD_EVEN_LOW); in isp_parse_of_parallel_endpoint()
2076 !!(vep->bus.parallel.flags & V4L2_MBUS_DATA_ACTIVE_LOW); in isp_parse_of_parallel_endpoint()
2077 buscfg->bus.parallel.bt656 = vep->bus_type == V4L2_MBUS_BT656; in isp_parse_of_parallel_endpoint()
2081 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_csi2_endpoint() argument
2086 buscfg->bus.csi2.lanecfg.clk.pos = vep->bus.mipi_csi2.clock_lane; in isp_parse_of_csi2_endpoint()
[all …]
/linux-6.12.1/include/media/
Dv4l2-fwnode.h225 struct v4l2_fwnode_endpoint *vep);
235 void v4l2_fwnode_endpoint_free(struct v4l2_fwnode_endpoint *vep);
283 struct v4l2_fwnode_endpoint *vep);
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_csi2_bridge.c695 struct v4l2_fwnode_endpoint vep = { in atomisp_csi2_bridge_parse_firmware() local
706 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in atomisp_csi2_bridge_parse_firmware()
710 if (vep.base.port >= ATOMISP_CAMERA_NR_PORTS) { in atomisp_csi2_bridge_parse_firmware()
711 dev_err(isp->dev, "port %d not supported\n", vep.base.port); in atomisp_csi2_bridge_parse_firmware()
716 mipi_port = atomisp_port_to_mipi_port(isp, vep.base.port); in atomisp_csi2_bridge_parse_firmware()
717 isp->sensor_lanes[mipi_port] = vep.bus.mipi_csi2.num_data_lanes; in atomisp_csi2_bridge_parse_firmware()
726 s_asd->port = vep.base.port; in atomisp_csi2_bridge_parse_firmware()
/linux-6.12.1/drivers/media/i2c/
Dmax96714.c100 struct v4l2_fwnode_endpoint vep; member
762 struct v4l2_fwnode_endpoint vep = { .bus_type = V4L2_MBUS_CSI2_DPHY }; in max96714_parse_dt_txport() local
772 ret = v4l2_fwnode_endpoint_alloc_parse(ep_fwnode, &vep); in max96714_parse_dt_txport()
779 if (vep.nr_of_link_frequencies != 1) { in max96714_parse_dt_txport()
784 priv->tx_link_freq = vep.link_frequencies[0]; in max96714_parse_dt_txport()
793 num_data_lanes = vep.bus.mipi_csi2.num_data_lanes; in max96714_parse_dt_txport()
801 priv->mipi_csi2 = vep.bus.mipi_csi2; in max96714_parse_dt_txport()
804 v4l2_fwnode_endpoint_free(&vep); in max96714_parse_dt_txport()
Dtc358746.c1310 struct v4l2_fwnode_endpoint *vep; in tc358746_init_output_port() local
1324 vep = &tc358746->csi_vep; in tc358746_init_output_port()
1325 vep->bus_type = V4L2_MBUS_CSI2_DPHY; in tc358746_init_output_port()
1326 err = v4l2_fwnode_endpoint_alloc_parse(ep, vep); in tc358746_init_output_port()
1333 csi_lanes = vep->bus.mipi_csi2.num_data_lanes; in tc358746_init_output_port()
1335 vep->nr_of_link_frequencies == 0) { in tc358746_init_output_port()
1342 csi_link_rate = (unsigned long)vep->link_frequencies[0]; in tc358746_init_output_port()
1360 v4l2_fwnode_endpoint_free(vep); in tc358746_init_output_port()
1452 struct v4l2_fwnode_endpoint vep = { in tc358746_async_register() local
1464 err = v4l2_fwnode_endpoint_parse(ep, &vep); in tc358746_async_register()
Dds90ub913.c680 struct v4l2_fwnode_endpoint vep = { in ub913_parse_dt() local
691 ret = v4l2_fwnode_endpoint_parse(ep_fwnode, &vep); in ub913_parse_dt()
699 if (vep.bus.parallel.flags & V4L2_MBUS_PCLK_SAMPLE_RISING) in ub913_parse_dt()
701 else if (vep.bus.parallel.flags & V4L2_MBUS_PCLK_SAMPLE_FALLING) in ub913_parse_dt()
Dds90ub960.c1120 struct v4l2_fwnode_endpoint vep = {}; in ub960_parse_dt_txport() local
1131 vep.bus_type = V4L2_MBUS_CSI2_DPHY; in ub960_parse_dt_txport()
1132 ret = v4l2_fwnode_endpoint_alloc_parse(ep_fwnode, &vep); in ub960_parse_dt_txport()
1138 txport->non_continous_clk = vep.bus.mipi_csi2.flags & in ub960_parse_dt_txport()
1141 txport->num_data_lanes = vep.bus.mipi_csi2.num_data_lanes; in ub960_parse_dt_txport()
1143 if (vep.nr_of_link_frequencies != 1) { in ub960_parse_dt_txport()
1148 priv->tx_link_freq[0] = vep.link_frequencies[0]; in ub960_parse_dt_txport()
1160 v4l2_fwnode_endpoint_free(&vep); in ub960_parse_dt_txport()
1167 v4l2_fwnode_endpoint_free(&vep); in ub960_parse_dt_txport()
3323 struct v4l2_fwnode_endpoint vep = {}; in ub960_parse_dt_rxport_ep_properties() local
[all …]
Dmax96717.c997 struct v4l2_fwnode_endpoint vep = { .bus_type = V4L2_MBUS_CSI2_DPHY }; in max96717_parse_dt() local
1007 ret = v4l2_fwnode_endpoint_parse(ep_fwnode, &vep); in max96717_parse_dt()
1014 num_data_lanes = vep.bus.mipi_csi2.num_data_lanes; in max96717_parse_dt()
1019 priv->mipi_csi2 = vep.bus.mipi_csi2; in max96717_parse_dt()
/linux-6.12.1/drivers/media/platform/renesas/rcar-vin/
Drcar-core.c310 struct v4l2_fwnode_endpoint vep = { in rvin_group_parse_of() local
321 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rvin_group_parse_of()
336 vin->group->remotes[vep.base.id].asc = asc; in rvin_group_parse_of()
339 to_of_node(fwnode), vep.base.id); in rvin_group_parse_of()
655 struct v4l2_fwnode_endpoint vep = { in rvin_parallel_parse_of() local
666 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rvin_parallel_parse_of()
674 switch (vep.bus_type) { in rvin_parallel_parse_of()
678 vep.bus_type == V4L2_MBUS_PARALLEL ? in rvin_parallel_parse_of()
680 vin->parallel.mbus_type = vep.bus_type; in rvin_parallel_parse_of()
681 vin->parallel.bus = vep.bus.parallel; in rvin_parallel_parse_of()
/linux-6.12.1/drivers/media/platform/renesas/rzg2l-cru/
Drzg2l-core.c137 struct v4l2_fwnode_endpoint vep = { in rzg2l_cru_mc_parse_of() local
149 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rzg2l_cru_mc_parse_of()
174 to_of_node(fwnode), vep.base.id); in rzg2l_cru_mc_parse_of()
Drzg2l-csi2.c644 struct v4l2_fwnode_endpoint *vep) in rzg2l_csi2_parse_v4l2() argument
647 if (vep->base.port || vep->base.id) in rzg2l_csi2_parse_v4l2()
650 csi2->lanes = vep->bus.mipi_csi2.num_data_lanes; in rzg2l_csi2_parse_v4l2()
/linux-6.12.1/drivers/media/i2c/adv748x/
Dadv748x-core.c612 struct v4l2_fwnode_endpoint vep = { .bus_type = V4L2_MBUS_CSI2_DPHY }; in adv748x_parse_csi2_lanes() local
619 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(ep), &vep); in adv748x_parse_csi2_lanes()
623 num_lanes = vep.bus.mipi_csi2.num_data_lanes; in adv748x_parse_csi2_lanes()
625 if (vep.base.port == ADV748X_PORT_TXA) { in adv748x_parse_csi2_lanes()
637 if (vep.base.port == ADV748X_PORT_TXB) { in adv748x_parse_csi2_lanes()
/linux-6.12.1/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_csi.c128 struct v4l2_fwnode_endpoint vep = { in sun4i_csi_notifier_init() local
142 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in sun4i_csi_notifier_init()
146 csi->bus = vep.bus.parallel; in sun4i_csi_notifier_init()
/linux-6.12.1/drivers/staging/media/starfive/camss/
Dstf-camss.c72 struct v4l2_fwnode_endpoint vep = { { 0 } }; in stfcamss_of_parse_endpoint_node() local
75 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(node), &vep); in stfcamss_of_parse_endpoint_node()
81 csd->port = vep.base.port; in stfcamss_of_parse_endpoint_node()
/linux-6.12.1/drivers/media/platform/nxp/
Dimx8mq-mipi-csi2.c590 struct v4l2_fwnode_endpoint vep = { in imx8mq_mipi_csi_async_register() local
605 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in imx8mq_mipi_csi_async_register()
609 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in imx8mq_mipi_csi_async_register()
610 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in imx8mq_mipi_csi_async_register()
618 state->bus = vep.bus.mipi_csi2; in imx8mq_mipi_csi_async_register()
Dimx-mipi-csis.c1290 struct v4l2_fwnode_endpoint vep = { in mipi_csis_async_register() local
1305 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in mipi_csis_async_register()
1309 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in mipi_csis_async_register()
1310 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in mipi_csis_async_register()
1318 csis->bus = vep.bus.mipi_csi2; in mipi_csis_async_register()
/linux-6.12.1/drivers/staging/media/imx/
Dimx6-mipi-csi2.c676 struct v4l2_fwnode_endpoint vep = { in csi2_async_register() local
690 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in csi2_async_register()
694 csi2->data_lanes = vep.bus.mipi_csi2.num_data_lanes; in csi2_async_register()
696 dev_dbg(csi2->dev, "data lanes: %d\n", vep.bus.mipi_csi2.num_data_lanes); in csi2_async_register()
697 dev_dbg(csi2->dev, "flags: 0x%08x\n", vep.bus.mipi_csi2.flags); in csi2_async_register()
/linux-6.12.1/drivers/media/platform/xilinx/
Dxilinx-csi2rxss.c805 struct v4l2_fwnode_endpoint vep = { in xcsi2rxss_parse_of() local
869 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in xcsi2rxss_parse_of()
877 vep.bus.mipi_csi2.num_data_lanes); in xcsi2rxss_parse_of()
879 xcsi2rxss->max_num_lanes = vep.bus.mipi_csi2.num_data_lanes; in xcsi2rxss_parse_of()
/linux-6.12.1/drivers/media/platform/renesas/
Drcar-csi2.c1338 struct v4l2_fwnode_endpoint *vep) in rcsi2_parse_v4l2() argument
1343 if (vep->base.port || vep->base.id) in rcsi2_parse_v4l2()
1346 priv->lanes = vep->bus.mipi_csi2.num_data_lanes; in rcsi2_parse_v4l2()
1348 switch (vep->bus_type) { in rcsi2_parse_v4l2()
1380 dev_err(priv->dev, "Unsupported bus: %u\n", vep->bus_type); in rcsi2_parse_v4l2()
1386 vep->bus.mipi_csi2.data_lanes[i] : i; in rcsi2_parse_v4l2()

12