Home
last modified time | relevance | path

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

/linux/drivers/media/v4l2-core/
H A 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()
238 vep->bus_type = V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus()
308 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_parallel_bus() argument
311 struct v4l2_mbus_config_parallel *bus = &vep->bus.parallel; in v4l2_fwnode_endpoint_parse_parallel_bus()
412 vep->bus_type = V4L2_MBUS_PARALLEL; in v4l2_fwnode_endpoint_parse_parallel_bus()
414 vep->bus_type = V4L2_MBUS_BT656; in v4l2_fwnode_endpoint_parse_parallel_bus()
417 vep->bus_type = V4L2_MBUS_PARALLEL; in v4l2_fwnode_endpoint_parse_parallel_bus()
421 vep->bus_type = V4L2_MBUS_BT656; in v4l2_fwnode_endpoint_parse_parallel_bus()
429 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_csi1_bus() argument
[all …]
/linux/drivers/usb/usbip/
H A 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);
H A 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()
H A 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()
H A Dvudc_sysfs.c26 struct vep *ep0 = to_vep(udc->gadget.ep0); in get_gadget_descs()
/linux/drivers/media/platform/ti/omap3isp/
H A Disp.c2032 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_parallel_endpoint() argument
2036 buscfg->bus.parallel.data_lane_shift = vep->bus.parallel.data_shift; in isp_parse_of_parallel_endpoint()
2038 !!(vep->bus.parallel.flags & V4L2_MBUS_PCLK_SAMPLE_FALLING); in isp_parse_of_parallel_endpoint()
2040 !!(vep->bus.parallel.flags & V4L2_MBUS_VSYNC_ACTIVE_LOW); in isp_parse_of_parallel_endpoint()
2042 !!(vep->bus.parallel.flags & V4L2_MBUS_HSYNC_ACTIVE_LOW); in isp_parse_of_parallel_endpoint()
2044 !!(vep->bus.parallel.flags & V4L2_MBUS_FIELD_EVEN_LOW); in isp_parse_of_parallel_endpoint()
2046 !!(vep->bus.parallel.flags & V4L2_MBUS_DATA_ACTIVE_LOW); in isp_parse_of_parallel_endpoint()
2047 buscfg->bus.parallel.bt656 = vep->bus_type == V4L2_MBUS_BT656; in isp_parse_of_parallel_endpoint()
2051 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_csi2_endpoint() argument
2056 buscfg->bus.csi2.lanecfg.clk.pos = vep->bus.mipi_csi2.clock_lane; in isp_parse_of_csi2_endpoint()
[all …]
/linux/include/media/
H A Dv4l2-fwnode.h186 * @vep: pointer to the V4L2 fwnode data structure
190 * obtain the type of the bus (by setting the @vep.bus_type field to
194 * When @vep.bus_type is V4L2_MBUS_UNKNOWN, the function will use the "bus-type"
196 * responsible for validating the contents of @vep.bus_type field after the call
205 * It is also possible to set @vep.bus_type corresponding to an actual bus. In
210 * The caller is required to initialise all fields of @vep, either with
225 struct v4l2_fwnode_endpoint *vep);
230 * @vep: the V4L2 fwnode the resources of which are to be released
235 void v4l2_fwnode_endpoint_free(struct v4l2_fwnode_endpoint *vep);
240 * @vep
[all...]
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_csi2_bridge.c512 struct v4l2_fwnode_endpoint vep = { in atomisp_csi2_bridge_parse_firmware() local
523 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in atomisp_csi2_bridge_parse_firmware()
527 if (vep.base.port >= ATOMISP_CAMERA_NR_PORTS) { in atomisp_csi2_bridge_parse_firmware()
528 dev_err(isp->dev, "port %d not supported\n", vep.base.port); in atomisp_csi2_bridge_parse_firmware()
533 mipi_port = atomisp_port_to_mipi_port(isp, vep.base.port); in atomisp_csi2_bridge_parse_firmware()
534 isp->sensor_lanes[mipi_port] = vep.bus.mipi_csi2.num_data_lanes; in atomisp_csi2_bridge_parse_firmware()
543 s_asd->port = vep.base.port; in atomisp_csi2_bridge_parse_firmware()
/linux/drivers/media/platform/renesas/rcar-vin/
H A Drcar-core.c325 struct v4l2_fwnode_endpoint vep = { in rvin_group_parse_of() local
336 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rvin_group_parse_of()
351 vin->group->remotes[vep.base.id].asc = asc; in rvin_group_parse_of()
354 to_of_node(fwnode), vep.base.id); in rvin_group_parse_of()
365 struct v4l2_fwnode_endpoint vep = { in rvin_parallel_parse_of() local
374 if (v4l2_fwnode_endpoint_parse(ep, &vep)) { in rvin_parallel_parse_of()
379 switch (vep.bus_type) { in rvin_parallel_parse_of()
383 vep.bus_type == V4L2_MBUS_PARALLEL ? in rvin_parallel_parse_of()
385 vin->parallel.mbus_type = vep.bus_type; in rvin_parallel_parse_of()
386 vin->parallel.bus = vep.bus.parallel; in rvin_parallel_parse_of()
/linux/drivers/media/i2c/adv748x/
H A 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/drivers/media/platform/sunxi/sun4i-csi/
H A 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/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-csi2.c804 struct v4l2_fwnode_endpoint *vep) in rzg2l_csi2_parse_v4l2() argument
807 if (vep->base.port || vep->base.id) in rzg2l_csi2_parse_v4l2()
810 csi2->lanes = vep->bus.mipi_csi2.num_data_lanes; in rzg2l_csi2_parse_v4l2()
/linux/drivers/media/i2c/
H A Dds90ub960.c1378 struct v4l2_fwnode_endpoint vep = {}; in ub960_parse_dt_txport() local
1389 vep.bus_type = V4L2_MBUS_CSI2_DPHY; in ub960_parse_dt_txport()
1390 ret = v4l2_fwnode_endpoint_alloc_parse(ep_fwnode, &vep); in ub960_parse_dt_txport()
1396 txport->non_continous_clk = vep.bus.mipi_csi2.flags & in ub960_parse_dt_txport()
1399 txport->num_data_lanes = vep.bus.mipi_csi2.num_data_lanes; in ub960_parse_dt_txport()
1401 if (vep.nr_of_link_frequencies != 1) { in ub960_parse_dt_txport()
1406 priv->tx_link_freq[0] = vep.link_frequencies[0]; in ub960_parse_dt_txport()
1418 v4l2_fwnode_endpoint_free(&vep); in ub960_parse_dt_txport()
1425 v4l2_fwnode_endpoint_free(&vep); in ub960_parse_dt_txport()
4521 struct v4l2_fwnode_endpoint vep = {}; in ub960_parse_dt_rxport_ep_properties() local
[all …]
/linux/drivers/media/platform/ti/vpe/
H A Dvip.c3326 struct v4l2_fwnode_endpoint *vep; in vip_register_subdev_notify() local
3331 vep = &port->endpoint; in vip_register_subdev_notify()
3339 ret = v4l2_fwnode_endpoint_parse(ep, vep); in vip_register_subdev_notify()
/linux/include/linux/mlx4/
H A Ddevice.h1291 u8 vep; member