/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 130 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_csi2_bus() 133 struct v4l2_fwnode_bus_mipi_csi2 *bus = &vep->bus.mipi_csi2; in v4l2_fwnode_endpoint_parse_csi2_bus() 234 vep->bus_type = V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus() 274 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_parallel_bus() 277 struct v4l2_fwnode_bus_parallel *bus = &vep->bus.parallel; in v4l2_fwnode_endpoint_parse_parallel_bus() 363 vep->bus_type = V4L2_MBUS_PARALLEL; in v4l2_fwnode_endpoint_parse_parallel_bus() 365 vep->bus_type = V4L2_MBUS_BT656; in v4l2_fwnode_endpoint_parse_parallel_bus() 368 vep->bus_type = V4L2_MBUS_PARALLEL; in v4l2_fwnode_endpoint_parse_parallel_bus() 372 vep->bus_type = V4L2_MBUS_BT656; in v4l2_fwnode_endpoint_parse_parallel_bus() 380 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_csi1_bus() 129 v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep, enum v4l2_mbus_type bus_type) v4l2_fwnode_endpoint_parse_csi2_bus() argument 273 v4l2_fwnode_endpoint_parse_parallel_bus(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep, enum v4l2_mbus_type bus_type) v4l2_fwnode_endpoint_parse_parallel_bus() argument 379 v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep, enum v4l2_mbus_type bus_type) v4l2_fwnode_endpoint_parse_csi1_bus() argument 412 __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep) __v4l2_fwnode_endpoint_parse() argument 500 v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep) v4l2_fwnode_endpoint_parse() argument 513 v4l2_fwnode_endpoint_free(struct v4l2_fwnode_endpoint *vep) v4l2_fwnode_endpoint_free() argument 523 v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep) v4l2_fwnode_endpoint_alloc_parse() argument 822 struct v4l2_fwnode_endpoint vep = { .bus_type = 0 }; v4l2_async_notifier_fwnode_parse_endpoint() local [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 125 struct v4l2_fwnode_endpoint *vep, in v4l2_fwnode_endpoint_parse_csi2_bus() 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() 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() 124 v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep, enum v4l2_mbus_type bus_type) v4l2_fwnode_endpoint_parse_csi2_bus() argument 266 v4l2_fwnode_endpoint_parse_parallel_bus(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep, enum v4l2_mbus_type bus_type) v4l2_fwnode_endpoint_parse_parallel_bus() argument 387 v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep, enum v4l2_mbus_type bus_type) v4l2_fwnode_endpoint_parse_csi1_bus() argument 420 __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep) __v4l2_fwnode_endpoint_parse() argument 496 v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep) v4l2_fwnode_endpoint_parse() argument 509 v4l2_fwnode_endpoint_free(struct v4l2_fwnode_endpoint *vep) v4l2_fwnode_endpoint_free() argument 519 v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, struct v4l2_fwnode_endpoint *vep) v4l2_fwnode_endpoint_alloc_parse() argument [all...] |
/kernel/linux/linux-5.10/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) 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 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()
|
/kernel/linux/linux-6.6/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) 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 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() 519 struct vep *ep; in init_vudc_hw()
|
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-dev.c | 197 struct v4l2_fwnode_endpoint vep = { }; in rkisp1_subdev_notifier_register() local 217 vep.bus_type = V4L2_MBUS_CSI2_DPHY; in rkisp1_subdev_notifier_register() 226 vep.bus_type = V4L2_MBUS_UNKNOWN; in rkisp1_subdev_notifier_register() 231 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rkisp1_subdev_notifier_register() 238 if (vep.base.port == 1) { in rkisp1_subdev_notifier_register() 239 if (vep.bus_type != V4L2_MBUS_PARALLEL && in rkisp1_subdev_notifier_register() 240 vep.bus_type != V4L2_MBUS_BT656) { in rkisp1_subdev_notifier_register() 268 rk_asd->mbus_type = vep.bus_type; in rkisp1_subdev_notifier_register() 269 rk_asd->port = vep.base.port; in rkisp1_subdev_notifier_register() 271 if (vep in rkisp1_subdev_notifier_register() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | isp.c | 2053 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_parallel_endpoint() 2057 buscfg->bus.parallel.data_lane_shift = vep->bus.parallel.data_shift; in isp_parse_of_parallel_endpoint() 2059 !!(vep->bus.parallel.flags & V4L2_MBUS_PCLK_SAMPLE_FALLING); in isp_parse_of_parallel_endpoint() 2061 !!(vep->bus.parallel.flags & V4L2_MBUS_VSYNC_ACTIVE_LOW); in isp_parse_of_parallel_endpoint() 2063 !!(vep->bus.parallel.flags & V4L2_MBUS_HSYNC_ACTIVE_LOW); in isp_parse_of_parallel_endpoint() 2065 !!(vep->bus.parallel.flags & V4L2_MBUS_FIELD_EVEN_LOW); in isp_parse_of_parallel_endpoint() 2067 !!(vep->bus.parallel.flags & V4L2_MBUS_DATA_ACTIVE_LOW); in isp_parse_of_parallel_endpoint() 2068 buscfg->bus.parallel.bt656 = vep->bus_type == V4L2_MBUS_BT656; in isp_parse_of_parallel_endpoint() 2072 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_csi2_endpoint() 2077 buscfg->bus.csi2.lanecfg.clk.pos = vep in isp_parse_of_csi2_endpoint() 2052 isp_parse_of_parallel_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct isp_bus_cfg *buscfg) isp_parse_of_parallel_endpoint() argument 2071 isp_parse_of_csi2_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct isp_bus_cfg *buscfg) isp_parse_of_csi2_endpoint() argument 2103 isp_parse_of_csi1_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct isp_bus_cfg *buscfg) isp_parse_of_csi1_endpoint() argument 2152 struct v4l2_fwnode_endpoint vep = { isp_parse_of_endpoints() local 2174 struct v4l2_fwnode_endpoint vep = { isp_parse_of_endpoints() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | isp.c | 2062 struct v4l2_fwnode_endpoint *vep, in isp_parse_of_parallel_endpoint() 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() 2086 buscfg->bus.csi2.lanecfg.clk.pos = vep in isp_parse_of_csi2_endpoint() 2061 isp_parse_of_parallel_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct isp_bus_cfg *buscfg) isp_parse_of_parallel_endpoint() argument 2080 isp_parse_of_csi2_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct isp_bus_cfg *buscfg) isp_parse_of_csi2_endpoint() argument 2112 isp_parse_of_csi1_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct isp_bus_cfg *buscfg) isp_parse_of_csi1_endpoint() argument 2160 struct v4l2_fwnode_endpoint vep = { isp_parse_of_endpoints() local 2181 struct v4l2_fwnode_endpoint vep = { isp_parse_of_endpoints() local [all...] |
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-fwnode.h | 219 * @vep: pointer to the V4L2 fwnode data structure 222 * firmware. The caller is responsible for assigning @vep.bus_type to a valid 229 * It is also allowed to set @vep.bus_type to V4L2_MBUS_UNKNOWN. USING THIS 231 * guessing @vep.bus_type between CSI-2 D-PHY, parallel and BT.656 busses is 232 * supported. NEVER RELY ON GUESSING @vep.bus_type IN NEW DRIVERS! 234 * The caller is required to initialise all fields of @vep, either with 249 struct v4l2_fwnode_endpoint *vep); 254 * @vep: the V4L2 fwnode the resources of which are to be released 259 void v4l2_fwnode_endpoint_free(struct v4l2_fwnode_endpoint *vep); 264 * @vep [all...] |
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/ |
H A D | rkisp1-dev.c | 251 struct v4l2_fwnode_endpoint vep = { in rkisp1_subdev_notifier() local 263 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in rkisp1_subdev_notifier() 275 rk_asd->mbus_type = vep.bus_type; in rkisp1_subdev_notifier() 276 rk_asd->mbus_flags = vep.bus.mipi_csi2.flags; in rkisp1_subdev_notifier() 277 rk_asd->lanes = vep.bus.mipi_csi2.num_data_lanes; in rkisp1_subdev_notifier() 280 vep.base.id, rk_asd->lanes); in rkisp1_subdev_notifier() 282 next_id = vep.base.id + 1; in rkisp1_subdev_notifier()
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2_bridge.c | 674 struct v4l2_fwnode_endpoint vep = { in atomisp_csi2_bridge_parse_firmware() local 685 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in atomisp_csi2_bridge_parse_firmware() 689 if (vep.base.port >= ATOMISP_CAMERA_NR_PORTS) { in atomisp_csi2_bridge_parse_firmware() 690 dev_err(isp->dev, "port %d not supported\n", vep.base.port); in atomisp_csi2_bridge_parse_firmware() 695 mipi_port = atomisp_port_to_mipi_port(isp, vep.base.port); in atomisp_csi2_bridge_parse_firmware() 696 isp->sensor_lanes[mipi_port] = vep.bus.mipi_csi2.num_data_lanes; in atomisp_csi2_bridge_parse_firmware() 705 s_asd->port = vep.base.port; in atomisp_csi2_bridge_parse_firmware()
|
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/ |
H A D | adv748x-core.c | 592 struct v4l2_fwnode_endpoint vep; in adv748x_parse_csi2_lanes() local 599 vep.bus_type = V4L2_MBUS_CSI2_DPHY; in adv748x_parse_csi2_lanes() 600 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(ep), &vep); in adv748x_parse_csi2_lanes() 604 num_lanes = vep.bus.mipi_csi2.num_data_lanes; in adv748x_parse_csi2_lanes() 606 if (vep.base.port == ADV748X_PORT_TXA) { in adv748x_parse_csi2_lanes() 618 if (vep.base.port == ADV748X_PORT_TXB) { in adv748x_parse_csi2_lanes()
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-core.c | 310 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 in rvin_parallel_parse_of() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun4i-csi/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_csi.c | 117 struct v4l2_fwnode_endpoint vep = { in sun4i_csi_notifier_init() local 131 ret = v4l2_fwnode_endpoint_parse(ep, &vep); in sun4i_csi_notifier_init() 135 csi->bus = vep.bus.parallel; in sun4i_csi_notifier_init()
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-core.c | 137 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()
|
H A D | rzg2l-csi2.c | 633 struct v4l2_fwnode_endpoint *vep) in rzg2l_csi2_parse_v4l2() 636 if (vep->base.port || vep->base.id) in rzg2l_csi2_parse_v4l2() 639 csi2->lanes = vep->bus.mipi_csi2.num_data_lanes; in rzg2l_csi2_parse_v4l2() 632 rzg2l_csi2_parse_v4l2(struct rzg2l_csi2 *csi2, struct v4l2_fwnode_endpoint *vep) rzg2l_csi2_parse_v4l2() argument
|
/kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/ |
H A D | rcar-core.c | 608 struct v4l2_fwnode_endpoint *vep, in rvin_parallel_parse_v4l2() 615 if (vep->base.port || vep->base.id) in rvin_parallel_parse_v4l2() 619 vin->parallel->mbus_type = vep->bus_type; in rvin_parallel_parse_v4l2() 627 vin->parallel->bus = vep->bus.parallel; in rvin_parallel_parse_v4l2() 795 struct v4l2_fwnode_endpoint *vep, in rvin_mc_parse_of_endpoint() 801 if (vep->base.port != 1 || vep->base.id >= RVIN_CSI_MAX) in rvin_mc_parse_of_endpoint() 812 if (vin->group->csi[vep->base.id].fwnode) { in rvin_mc_parse_of_endpoint() 819 vin->group->csi[vep in rvin_mc_parse_of_endpoint() 607 rvin_parallel_parse_v4l2(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct v4l2_async_subdev *asd) rvin_parallel_parse_v4l2() argument 794 rvin_mc_parse_of_endpoint(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct v4l2_async_subdev *asd) rvin_mc_parse_of_endpoint() argument [all...] |
H A D | rcar-csi2.c | 850 struct v4l2_fwnode_endpoint *vep) in rcsi2_parse_v4l2() 855 if (vep->base.port || vep->base.id) in rcsi2_parse_v4l2() 858 if (vep->bus_type != V4L2_MBUS_CSI2_DPHY) { in rcsi2_parse_v4l2() 859 dev_err(priv->dev, "Unsupported bus: %u\n", vep->bus_type); in rcsi2_parse_v4l2() 863 priv->lanes = vep->bus.mipi_csi2.num_data_lanes; in rcsi2_parse_v4l2() 872 vep->bus.mipi_csi2.data_lanes[i] : i; in rcsi2_parse_v4l2() 849 rcsi2_parse_v4l2(struct rcar_csi2 *priv, struct v4l2_fwnode_endpoint *vep) rcsi2_parse_v4l2() argument
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss.c | 432 struct v4l2_fwnode_endpoint vep = { { 0 } }; in camss_of_parse_endpoint_node() local 435 v4l2_fwnode_endpoint_parse(of_fwnode_handle(node), &vep); in camss_of_parse_endpoint_node() local 437 csd->interface.csiphy_id = vep.base.port; in camss_of_parse_endpoint_node() 439 mipi_csi2 = &vep.bus.mipi_csi2; in camss_of_parse_endpoint_node()
|
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi.c | 696 struct v4l2_fwnode_endpoint *vep, in sun6i_csi_fwnode_parse() 701 if (vep->base.port || vep->base.id) { in sun6i_csi_fwnode_parse() 706 switch (vep->bus_type) { in sun6i_csi_fwnode_parse() 709 csi->v4l2_ep = *vep; in sun6i_csi_fwnode_parse() 695 sun6i_csi_fwnode_parse(struct device *dev, struct v4l2_fwnode_endpoint *vep, struct v4l2_async_subdev *asd) sun6i_csi_fwnode_parse() argument
|
/kernel/linux/linux-6.6/drivers/media/i2c/adv748x/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/staging/media/imx/ |
H A D | imx6-mipi-csi2.c | 676 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()
|