Home
last modified time | relevance | path

Searched refs:lanes_used (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/media/v4l2-core/
H A Dv4l2-fwnode.c131 unsigned int flags = 0, lanes_used = 0; in v4l2_fwnode_endpoint_parse_csi2_bus() local
177 if (lanes_used & BIT(array[i])) { in v4l2_fwnode_endpoint_parse_csi2_bus()
183 lanes_used |= BIT(array[i]); in v4l2_fwnode_endpoint_parse_csi2_bus()
206 if (have_clk_lane && lanes_used & BIT(clock_lane) && in v4l2_fwnode_endpoint_parse_csi2_bus()
220 lanes_used || have_clk_lane || flags) { in v4l2_fwnode_endpoint_parse_csi2_bus()
/linux/drivers/media/platform/cadence/
H A Dcdns-csi2rx.c210 unsigned long lanes_used = 0; in csi2rx_start() local
224 set_bit(csi2rx->lanes[i], &lanes_used); in csi2rx_start()
234 unsigned int idx = find_first_zero_bit(&lanes_used, in csi2rx_start()
236 set_bit(idx, &lanes_used); in csi2rx_start()
/linux/drivers/media/i2c/
H A Dmax96714.c682 unsigned long lanes_used = 0; in max96714_init_tx_port() local
721 lanes_used |= BIT(mipi->data_lanes[lane] - 1); in max96714_init_tx_port()
729 unsigned int idx = find_first_zero_bit(&lanes_used, in max96714_init_tx_port()
733 lanes_used |= BIT(idx); in max96714_init_tx_port()
H A Dmax96717.c899 unsigned long lanes_used = 0; in max96717_init_csi_lanes() local
934 lanes_used |= BIT(mipi->data_lanes[lane] - 1); in max96717_init_csi_lanes()
942 unsigned int idx = find_first_zero_bit(&lanes_used, in max96717_init_csi_lanes()
946 lanes_used |= BIT(idx); in max96717_init_csi_lanes()