Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-fwnode.c123 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_csi2_bus() argument
126 struct v4l2_mbus_config_mipi_csi2 *bus = &vep->bus.mipi_csi2; in v4l2_fwnode_endpoint_parse_csi2_bus()
225 vep->bus_type = V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus()
265 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_parallel_bus() argument
268 struct v4l2_mbus_config_parallel *bus = &vep->bus.parallel; in v4l2_fwnode_endpoint_parse_parallel_bus()
354 vep->bus_type = V4L2_MBUS_PARALLEL; in v4l2_fwnode_endpoint_parse_parallel_bus()
356 vep->bus_type = V4L2_MBUS_BT656; in v4l2_fwnode_endpoint_parse_parallel_bus()
359 vep->bus_type = V4L2_MBUS_PARALLEL; in v4l2_fwnode_endpoint_parse_parallel_bus()
363 vep->bus_type = V4L2_MBUS_BT656; in v4l2_fwnode_endpoint_parse_parallel_bus()
371 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_csi1_bus() argument
[all …]
/linux-6.1.9/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()
520 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()
Dvudc_sysfs.c26 struct vep *ep0 = to_vep(udc->gadget.ep0); in get_gadget_descs()
/linux-6.1.9/drivers/media/platform/rockchip/rkisp1/
Drkisp1-dev.c196 struct v4l2_fwnode_endpoint vep = { }; in rkisp1_subdev_notifier_register() local
216 vep.bus_type = V4L2_MBUS_CSI2_DPHY; in rkisp1_subdev_notifier_register()
225 vep.bus_type = V4L2_MBUS_UNKNOWN; in rkisp1_subdev_notifier_register()
230 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rkisp1_subdev_notifier_register()
237 if (vep.base.port == 1) { in rkisp1_subdev_notifier_register()
238 if (vep.bus_type != V4L2_MBUS_PARALLEL && in rkisp1_subdev_notifier_register()
239 vep.bus_type != V4L2_MBUS_BT656) { in rkisp1_subdev_notifier_register()
267 rk_asd->mbus_type = vep.bus_type; in rkisp1_subdev_notifier_register()
268 rk_asd->port = vep.base.port; in rkisp1_subdev_notifier_register()
270 if (vep.bus_type == V4L2_MBUS_CSI2_DPHY) { in rkisp1_subdev_notifier_register()
[all …]
/linux-6.1.9/include/media/
Dv4l2-fwnode.h229 struct v4l2_fwnode_endpoint *vep);
239 void v4l2_fwnode_endpoint_free(struct v4l2_fwnode_endpoint *vep);
287 struct v4l2_fwnode_endpoint *vep);
411 struct v4l2_fwnode_endpoint *vep,
/linux-6.1.9/drivers/media/platform/ti/omap3isp/
Disp.c2066 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_parallel_endpoint() argument
2070 buscfg->bus.parallel.data_lane_shift = vep->bus.parallel.data_shift; in isp_parse_of_parallel_endpoint()
2072 !!(vep->bus.parallel.flags & V4L2_MBUS_PCLK_SAMPLE_FALLING); in isp_parse_of_parallel_endpoint()
2074 !!(vep->bus.parallel.flags & V4L2_MBUS_VSYNC_ACTIVE_LOW); in isp_parse_of_parallel_endpoint()
2076 !!(vep->bus.parallel.flags & V4L2_MBUS_HSYNC_ACTIVE_LOW); in isp_parse_of_parallel_endpoint()
2078 !!(vep->bus.parallel.flags & V4L2_MBUS_FIELD_EVEN_LOW); in isp_parse_of_parallel_endpoint()
2080 !!(vep->bus.parallel.flags & V4L2_MBUS_DATA_ACTIVE_LOW); in isp_parse_of_parallel_endpoint()
2081 buscfg->bus.parallel.bt656 = vep->bus_type == V4L2_MBUS_BT656; in isp_parse_of_parallel_endpoint()
2085 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_csi2_endpoint() argument
2090 buscfg->bus.csi2.lanecfg.clk.pos = vep->bus.mipi_csi2.clock_lane; in isp_parse_of_csi2_endpoint()
[all …]
/linux-6.1.9/drivers/media/platform/renesas/rcar-vin/
Drcar-core.c312 struct v4l2_fwnode_endpoint vep = { in rvin_group_parse_of() local
323 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rvin_group_parse_of()
338 vin->group->remotes[vep.base.id].asd = asd; in rvin_group_parse_of()
341 to_of_node(fwnode), vep.base.id); in rvin_group_parse_of()
657 struct v4l2_fwnode_endpoint vep = { in rvin_parallel_parse_of() local
668 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rvin_parallel_parse_of()
676 switch (vep.bus_type) { in rvin_parallel_parse_of()
680 vep.bus_type == V4L2_MBUS_PARALLEL ? in rvin_parallel_parse_of()
682 vin->parallel.mbus_type = vep.bus_type; in rvin_parallel_parse_of()
683 vin->parallel.bus = vep.bus.parallel; in rvin_parallel_parse_of()
Drcar-csi2.c1011 struct v4l2_fwnode_endpoint *vep) in rcsi2_parse_v4l2() argument
1016 if (vep->base.port || vep->base.id) in rcsi2_parse_v4l2()
1019 if (vep->bus_type != V4L2_MBUS_CSI2_DPHY) { in rcsi2_parse_v4l2()
1020 dev_err(priv->dev, "Unsupported bus: %u\n", vep->bus_type); in rcsi2_parse_v4l2()
1024 priv->lanes = vep->bus.mipi_csi2.num_data_lanes; in rcsi2_parse_v4l2()
1033 vep->bus.mipi_csi2.data_lanes[i] : i; in rcsi2_parse_v4l2()
/linux-6.1.9/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_csi.c118 struct v4l2_fwnode_endpoint vep = { in sun4i_csi_notifier_init() local
132 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in sun4i_csi_notifier_init()
136 csi->bus = vep.bus.parallel; in sun4i_csi_notifier_init()
/linux-6.1.9/drivers/staging/media/imx/
Dimx6-mipi-csi2.c631 struct v4l2_fwnode_endpoint vep = { in csi2_async_register() local
645 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in csi2_async_register()
649 csi2->data_lanes = vep.bus.mipi_csi2.num_data_lanes; in csi2_async_register()
651 dev_dbg(csi2->dev, "data lanes: %d\n", vep.bus.mipi_csi2.num_data_lanes); in csi2_async_register()
652 dev_dbg(csi2->dev, "flags: 0x%08x\n", vep.bus.mipi_csi2.flags); in csi2_async_register()
Dimx8mq-mipi-csi2.c636 struct v4l2_fwnode_endpoint vep = { in imx8mq_mipi_csi_async_register() local
651 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in imx8mq_mipi_csi_async_register()
655 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in imx8mq_mipi_csi_async_register()
656 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in imx8mq_mipi_csi_async_register()
664 state->bus = vep.bus.mipi_csi2; in imx8mq_mipi_csi_async_register()
/linux-6.1.9/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.1.9/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi.c656 struct v4l2_fwnode_endpoint *vep, in sun6i_csi_fwnode_parse() argument
661 if (vep->base.port || vep->base.id) { in sun6i_csi_fwnode_parse()
666 switch (vep->bus_type) { in sun6i_csi_fwnode_parse()
669 csi_dev->v4l2.v4l2_ep = *vep; in sun6i_csi_fwnode_parse()
/linux-6.1.9/drivers/media/platform/xilinx/
Dxilinx-csi2rxss.c862 struct v4l2_fwnode_endpoint vep = { in xcsi2rxss_parse_of() local
926 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in xcsi2rxss_parse_of()
934 vep.bus.mipi_csi2.num_data_lanes); in xcsi2rxss_parse_of()
936 xcsi2rxss->max_num_lanes = vep.bus.mipi_csi2.num_data_lanes; in xcsi2rxss_parse_of()
/linux-6.1.9/drivers/media/platform/nxp/
Dimx-mipi-csis.c1287 struct v4l2_fwnode_endpoint vep = { in mipi_csis_async_register() local
1302 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in mipi_csis_async_register()
1306 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in mipi_csis_async_register()
1307 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in mipi_csis_async_register()
1315 csis->bus = vep.bus.mipi_csi2; in mipi_csis_async_register()
/linux-6.1.9/drivers/media/platform/qcom/camss/
Dcamss.c1039 struct v4l2_fwnode_endpoint vep = { { 0 } }; in camss_of_parse_endpoint_node() local
1042 v4l2_fwnode_endpoint_parse(of_fwnode_handle(node), &vep); in camss_of_parse_endpoint_node()
1044 csd->interface.csiphy_id = vep.base.port; in camss_of_parse_endpoint_node()
1046 mipi_csi2 = &vep.bus.mipi_csi2; in camss_of_parse_endpoint_node()
/linux-6.1.9/drivers/media/i2c/
Dmax9286.c1255 struct v4l2_fwnode_endpoint vep = { in max9286_parse_dt() local
1261 of_fwnode_handle(node), &vep); in max9286_parse_dt()
1268 vep.bus.mipi_csi2.num_data_lanes; in max9286_parse_dt()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vcn.c236 unsigned int dec_ver, enc_major, enc_minor, vep, fw_rev; in amdgpu_vcn_sw_init() local
242 vep = (le32_to_cpu(hdr->ucode_version) >> 28) & 0xf; in amdgpu_vcn_sw_init()
244 enc_major, enc_minor, dec_ver, vep, fw_rev); in amdgpu_vcn_sw_init()
/linux-6.1.9/drivers/media/pci/intel/ipu3/
Dipu3-cio2-main.c1464 struct v4l2_fwnode_endpoint vep = { in cio2_parse_firmware() local
1475 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in cio2_parse_firmware()
1487 s_asd->csi2.port = vep.base.port; in cio2_parse_firmware()
1488 s_asd->csi2.lanes = vep.bus.mipi_csi2.num_data_lanes; in cio2_parse_firmware()
/linux-6.1.9/include/linux/mlx4/
Ddevice.h1271 u8 vep; member