/linux-6.3-rc2/drivers/media/v4l2-core/ |
A D | v4l2-fwnode.c | 433 vep->bus_type); in __v4l2_fwnode_endpoint_parse() 448 vep->bus_type = mbus_type; in __v4l2_fwnode_endpoint_parse() 451 switch (vep->bus_type) { in __v4l2_fwnode_endpoint_parse() 464 vep->bus_type); in __v4l2_fwnode_endpoint_parse() 469 v4l2_fwnode_endpoint_parse_csi1_bus(fwnode, vep, vep->bus_type); in __v4l2_fwnode_endpoint_parse() 475 vep->bus_type); in __v4l2_fwnode_endpoint_parse() 483 vep->bus_type); in __v4l2_fwnode_endpoint_parse() 511 if (IS_ERR_OR_NULL(vep)) in v4l2_fwnode_endpoint_free() 532 vep->link_frequencies = in v4l2_fwnode_endpoint_alloc_parse() 835 vep.base.id); in v4l2_async_nf_fwnode_parse_endpoint() [all …]
|
/linux-6.3-rc2/drivers/usb/usbip/ |
A D | vudc.h | 25 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);
|
A D | vudc_dev.c | 73 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()
|
A D | vudc_transfer.c | 62 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()
|
A D | vudc_sysfs.c | 26 struct vep *ep0 = to_vep(udc->gadget.ep0); in get_gadget_descs()
|
/linux-6.3-rc2/drivers/media/platform/rockchip/rkisp1/ |
A D | rkisp1-dev.c | 196 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.3-rc2/include/media/ |
A D | v4l2-fwnode.h | 229 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.3-rc2/drivers/media/platform/ti/omap3isp/ |
A D | isp.c | 2065 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_parallel_endpoint() argument 2084 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_csi2_endpoint() argument 2091 vep->bus.mipi_csi2.lane_polarities[0]; in isp_parse_of_csi2_endpoint() 2100 vep->bus.mipi_csi2.data_lanes[i]; in isp_parse_of_csi2_endpoint() 2116 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_csi1_endpoint() argument 2127 vep->bus.mipi_csi1.lane_polarity[1]; in isp_parse_of_csi1_endpoint() 2163 struct v4l2_fwnode_endpoint vep = { in isp_parse_of_endpoints() local 2184 struct v4l2_fwnode_endpoint vep = { in isp_parse_of_endpoints() local 2201 vep = (struct v4l2_fwnode_endpoint) in isp_parse_of_endpoints() 2206 vep = (struct v4l2_fwnode_endpoint) in isp_parse_of_endpoints() [all …]
|
/linux-6.3-rc2/drivers/media/platform/renesas/rcar-vin/ |
A D | rcar-core.c | 312 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()
|
A D | rcar-csi2.c | 1011 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.3-rc2/drivers/media/platform/sunxi/sun4i-csi/ |
A D | sun4i_csi.c | 118 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.3-rc2/drivers/media/platform/renesas/rzg2l-cru/ |
A D | rzg2l-core.c | 138 struct v4l2_fwnode_endpoint vep = { in rzg2l_cru_mc_parse_of() local 150 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rzg2l_cru_mc_parse_of() 175 to_of_node(fwnode), vep.base.id); in rzg2l_cru_mc_parse_of()
|
A D | rzg2l-csi2.c | 634 struct v4l2_fwnode_endpoint *vep) in rzg2l_csi2_parse_v4l2() argument 637 if (vep->base.port || vep->base.id) in rzg2l_csi2_parse_v4l2() 640 csi2->lanes = vep->bus.mipi_csi2.num_data_lanes; in rzg2l_csi2_parse_v4l2()
|
/linux-6.3-rc2/drivers/staging/media/imx/ |
A D | imx6-mipi-csi2.c | 631 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()
|
A D | imx8mq-mipi-csi2.c | 636 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.3-rc2/drivers/media/i2c/adv748x/ |
A D | adv748x-core.c | 612 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.3-rc2/drivers/media/i2c/ |
A D | tc358746.c | 1303 struct v4l2_fwnode_endpoint *vep; in tc358746_init_output_port() local 1317 vep = &tc358746->csi_vep; in tc358746_init_output_port() 1318 vep->bus_type = V4L2_MBUS_CSI2_DPHY; in tc358746_init_output_port() 1319 err = v4l2_fwnode_endpoint_alloc_parse(ep, vep); in tc358746_init_output_port() 1326 csi_lanes = vep->bus.mipi_csi2.num_data_lanes; in tc358746_init_output_port() 1328 vep->nr_of_link_frequencies == 0) { in tc358746_init_output_port() 1335 csi_link_rate = (unsigned long)vep->link_frequencies[0]; in tc358746_init_output_port() 1353 v4l2_fwnode_endpoint_free(vep); in tc358746_init_output_port() 1445 struct v4l2_fwnode_endpoint vep = { in tc358746_async_register() local 1457 err = v4l2_fwnode_endpoint_parse(ep, &vep); in tc358746_async_register()
|
A D | ov8858.c | 1840 struct v4l2_fwnode_endpoint vep = { .bus_type = V4L2_MBUS_CSI2_DPHY }; in ov8858_parse_of() local 1852 ret = v4l2_fwnode_endpoint_parse(endpoint, &vep); in ov8858_parse_of() 1859 ov8858->num_lanes = vep.bus.mipi_csi2.num_data_lanes; in ov8858_parse_of()
|
A D | max9286.c | 1483 struct v4l2_fwnode_endpoint vep = { in max9286_parse_dt() local 1489 of_fwnode_handle(node), &vep); in max9286_parse_dt() 1496 vep.bus.mipi_csi2.num_data_lanes; in max9286_parse_dt()
|
/linux-6.3-rc2/drivers/media/platform/xilinx/ |
A D | xilinx-csi2rxss.c | 862 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.3-rc2/drivers/media/platform/nxp/ |
A D | imx-mipi-csis.c | 1247 struct v4l2_fwnode_endpoint vep = { in mipi_csis_async_register() local 1262 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in mipi_csis_async_register() 1266 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in mipi_csis_async_register() 1267 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in mipi_csis_async_register() 1275 csis->bus = vep.bus.mipi_csi2; in mipi_csis_async_register()
|
/linux-6.3-rc2/drivers/media/platform/qcom/camss/ |
A D | camss.c | 1039 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.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_vcn.c | 128 unsigned int dec_ver, enc_major, enc_minor, vep, fw_rev; in amdgpu_vcn_sw_init() local 134 vep = (le32_to_cpu(hdr->ucode_version) >> 28) & 0xf; in amdgpu_vcn_sw_init() 136 enc_major, enc_minor, dec_ver, vep, fw_rev); in amdgpu_vcn_sw_init()
|
/linux-6.3-rc2/drivers/media/pci/intel/ipu3/ |
A D | ipu3-cio2-main.c | 1464 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.3-rc2/include/linux/mlx4/ |
A D | device.h | 1271 u8 vep; member
|