/linux-master/drivers/usb/usbip/ |
H A D | vudc.h | 25 struct vep { struct 47 struct vep *ep; 104 struct vep *ep; 122 static inline struct vep *to_vep(struct usb_ep *_ep) 124 return container_of(_ep, struct vep, ep); 139 static inline struct vudc *ep_to_vudc(struct vep *ep) 170 struct vep *vudc_find_endpoint(struct vudc *udc, u8 address);
|
H A D | vudc_dev.c | 73 static void nuke(struct vudc *udc, struct vep *ep) 106 struct vep *vudc_find_endpoint(struct vudc *udc, u8 address) 114 struct vep *ep = &udc->ep[i]; 232 struct vep *ep; 262 struct vep *ep; 311 struct vep *ep; 335 struct vep *ep; 372 struct vep *ep; 519 struct vep *ep;
|
H A D | vudc_transfer.c | 62 struct vep *ep2; 184 struct urb *urb, struct vep *ep, int limit) 309 struct vep *ep;
|
H A D | vudc_sysfs.c | 26 struct vep *ep0 = to_vep(udc->gadget.ep0);
|
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 125 struct v4l2_fwnode_endpoint *vep, 128 struct v4l2_mbus_config_mipi_csi2 *bus = &vep->bus.mipi_csi2; 227 vep->bus_type = V4L2_MBUS_CSI2_DPHY; 267 struct v4l2_fwnode_endpoint *vep, 270 struct v4l2_mbus_config_parallel *bus = &vep->bus.parallel; 371 vep->bus_type = V4L2_MBUS_PARALLEL; 373 vep->bus_type = V4L2_MBUS_BT656; 376 vep->bus_type = V4L2_MBUS_PARALLEL; 380 vep->bus_type = V4L2_MBUS_BT656; 388 struct v4l2_fwnode_endpoint *vep, 124 v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep, enum v4l2_mbus_type bus_type) argument 266 v4l2_fwnode_endpoint_parse_parallel_bus(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep, enum v4l2_mbus_type bus_type) argument 387 v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep, enum v4l2_mbus_type bus_type) argument 420 __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep) argument 496 v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep) argument 509 v4l2_fwnode_endpoint_free(struct v4l2_fwnode_endpoint *vep) argument 519 v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep) argument [all...] |
/linux-master/include/media/ |
H A D | v4l2-fwnode.h | 186 * @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-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-dev.c | 198 struct v4l2_fwnode_endpoint vep = { }; local 218 vep.bus_type = V4L2_MBUS_CSI2_DPHY; 227 vep.bus_type = V4L2_MBUS_UNKNOWN; 232 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 239 if (vep.base.port == 1) { 240 if (vep.bus_type != V4L2_MBUS_PARALLEL && 241 vep.bus_type != V4L2_MBUS_BT656) { 269 rk_asd->mbus_type = vep.bus_type; 270 rk_asd->port = vep.base.port; 272 if (vep [all...] |
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | isp.c | 2062 struct v4l2_fwnode_endpoint *vep, 2066 buscfg->bus.parallel.data_lane_shift = vep->bus.parallel.data_shift; 2068 !!(vep->bus.parallel.flags & V4L2_MBUS_PCLK_SAMPLE_FALLING); 2070 !!(vep->bus.parallel.flags & V4L2_MBUS_VSYNC_ACTIVE_LOW); 2072 !!(vep->bus.parallel.flags & V4L2_MBUS_HSYNC_ACTIVE_LOW); 2074 !!(vep->bus.parallel.flags & V4L2_MBUS_FIELD_EVEN_LOW); 2076 !!(vep->bus.parallel.flags & V4L2_MBUS_DATA_ACTIVE_LOW); 2077 buscfg->bus.parallel.bt656 = vep->bus_type == V4L2_MBUS_BT656; 2081 struct v4l2_fwnode_endpoint *vep, 2086 buscfg->bus.csi2.lanecfg.clk.pos = vep 2061 isp_parse_of_parallel_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct isp_bus_cfg *buscfg) argument 2080 isp_parse_of_csi2_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct isp_bus_cfg *buscfg) argument 2112 isp_parse_of_csi1_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct isp_bus_cfg *buscfg) argument 2160 struct v4l2_fwnode_endpoint vep = { local 2181 struct v4l2_fwnode_endpoint vep = { local [all...] |
/linux-master/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-core.c | 263 struct v4l2_fwnode_endpoint vep = { .bus_type = V4L2_MBUS_PARALLEL }; local 285 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 287 vep.bus_type = V4L2_MBUS_BT656; 288 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 298 if (vep.bus.parallel.bus_width == 0) { 304 if (vep.bus_type == V4L2_MBUS_BT656 && 305 vep.bus.parallel.bus_width != 8) { 307 vep.bus.parallel.bus_width); 313 sink->bus.flags = vep.bus.parallel.flags; 314 sink->bus.bus_width = vep [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2_bridge.c | 679 struct v4l2_fwnode_endpoint vep = { local 690 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 694 if (vep.base.port >= ATOMISP_CAMERA_NR_PORTS) { 695 dev_err(isp->dev, "port %d not supported\n", vep.base.port); 700 mipi_port = atomisp_port_to_mipi_port(isp, vep.base.port); 701 isp->sensor_lanes[mipi_port] = vep.bus.mipi_csi2.num_data_lanes; 710 s_asd->port = vep.base.port;
|
/linux-master/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-core.c | 137 struct v4l2_fwnode_endpoint vep = { local 149 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 174 to_of_node(fwnode), vep.base.id);
|
H A D | rzg2l-csi2.c | 644 struct v4l2_fwnode_endpoint *vep) 647 if (vep->base.port || vep->base.id) 650 csi2->lanes = vep->bus.mipi_csi2.num_data_lanes; 643 rzg2l_csi2_parse_v4l2(struct rzg2l_csi2 *csi2, struct v4l2_fwnode_endpoint *vep) argument
|
/linux-master/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_csi.c | 117 struct v4l2_fwnode_endpoint vep = { local 131 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 135 csi->bus = vep.bus.parallel;
|
/linux-master/drivers/staging/media/starfive/camss/ |
H A D | stf-camss.c | 72 struct v4l2_fwnode_endpoint vep = { { 0 } }; local 75 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(node), &vep); 81 csd->port = vep.base.port;
|
/linux-master/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-core.c | 310 struct v4l2_fwnode_endpoint vep = { local 321 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 336 vin->group->remotes[vep.base.id].asc = asc; 339 to_of_node(fwnode), vep.base.id); 655 struct v4l2_fwnode_endpoint vep = { local 666 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 674 switch (vep.bus_type) { 678 vep.bus_type == V4L2_MBUS_PARALLEL ? 680 vin->parallel.mbus_type = vep.bus_type; 681 vin->parallel.bus = vep [all...] |
/linux-master/drivers/media/i2c/ |
H A D | tc358746.c | 1311 struct v4l2_fwnode_endpoint *vep; local 1325 vep = &tc358746->csi_vep; 1326 vep->bus_type = V4L2_MBUS_CSI2_DPHY; 1327 err = v4l2_fwnode_endpoint_alloc_parse(ep, vep); 1334 csi_lanes = vep->bus.mipi_csi2.num_data_lanes; 1336 vep->nr_of_link_frequencies == 0) { 1343 csi_link_rate = (unsigned long)vep->link_frequencies[0]; 1361 v4l2_fwnode_endpoint_free(vep); 1453 struct v4l2_fwnode_endpoint vep = { local 1465 err = v4l2_fwnode_endpoint_parse(ep, &vep); [all...] |
H A D | ds90ub913.c | 680 struct v4l2_fwnode_endpoint vep = { local 691 ret = v4l2_fwnode_endpoint_parse(ep_fwnode, &vep); 699 if (vep.bus.parallel.flags & V4L2_MBUS_PCLK_SAMPLE_RISING) 701 else if (vep.bus.parallel.flags & V4L2_MBUS_PCLK_SAMPLE_FALLING)
|
H A D | ds90ub960.c | 1120 struct v4l2_fwnode_endpoint vep = {}; local 1131 vep.bus_type = V4L2_MBUS_CSI2_DPHY; 1132 ret = v4l2_fwnode_endpoint_alloc_parse(ep_fwnode, &vep); 1138 txport->non_continous_clk = vep.bus.mipi_csi2.flags & 1141 txport->num_data_lanes = vep.bus.mipi_csi2.num_data_lanes; 1143 if (vep.nr_of_link_frequencies != 1) { 1148 priv->tx_link_freq[0] = vep.link_frequencies[0]; 1160 v4l2_fwnode_endpoint_free(&vep); 1167 v4l2_fwnode_endpoint_free(&vep); 3323 struct v4l2_fwnode_endpoint vep local [all...] |
H A D | ds90ub953.c | 1135 struct v4l2_fwnode_endpoint vep = { local 1147 ret = v4l2_fwnode_endpoint_parse(ep_fwnode, &vep); 1155 nlanes = vep.bus.mipi_csi2.num_data_lanes; 1162 priv->non_continous_clk = vep.bus.mipi_csi2.flags &
|
/linux-master/drivers/media/i2c/adv748x/ |
H A D | adv748x-core.c | 612 struct v4l2_fwnode_endpoint vep = { .bus_type = V4L2_MBUS_CSI2_DPHY }; local 619 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(ep), &vep); 623 num_lanes = vep.bus.mipi_csi2.num_data_lanes; 625 if (vep.base.port == ADV748X_PORT_TXA) { 637 if (vep.base.port == ADV748X_PORT_TXB) {
|
/linux-master/drivers/media/platform/nxp/ |
H A D | imx8mq-mipi-csi2.c | 590 struct v4l2_fwnode_endpoint vep = { local 605 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 609 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { 610 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { 618 state->bus = vep.bus.mipi_csi2;
|
H A D | imx-mipi-csis.c | 1247 struct v4l2_fwnode_endpoint vep = { local 1262 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 1266 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { 1267 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { 1275 csis->bus = vep.bus.mipi_csi2;
|
/linux-master/drivers/staging/media/imx/ |
H A D | imx6-mipi-csi2.c | 676 struct v4l2_fwnode_endpoint vep = { local 690 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 694 csi2->data_lanes = vep.bus.mipi_csi2.num_data_lanes; 696 dev_dbg(csi2->dev, "data lanes: %d\n", vep.bus.mipi_csi2.num_data_lanes); 697 dev_dbg(csi2->dev, "flags: 0x%08x\n", vep.bus.mipi_csi2.flags);
|
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss.c | 1115 struct v4l2_fwnode_endpoint vep = { { 0 } }; local 1118 v4l2_fwnode_endpoint_parse(of_fwnode_handle(node), &vep); local 1120 csd->interface.csiphy_id = vep.base.port; 1122 mipi_csi2 = &vep.bus.mipi_csi2;
|
/linux-master/drivers/media/platform/xilinx/ |
H A D | xilinx-csi2rxss.c | 805 struct v4l2_fwnode_endpoint vep = { local 869 ret = v4l2_fwnode_endpoint_parse(ep, &vep); 877 vep.bus.mipi_csi2.num_data_lanes); 879 xcsi2rxss->max_num_lanes = vep.bus.mipi_csi2.num_data_lanes;
|