• Home
  • Raw
  • Download

Lines Matching refs:sensor

487 static void csi2_dphy_config_dual_mode(struct csi2_dphy *dphy, struct csi2_sensor *sensor)  in csi2_dphy_config_dual_mode()  argument
505 write_grf_reg(hw, GRF_DPHY_CSI2PHY_DATALANE_EN, GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
513 write_grf_reg(hw, GRF_DPHY_CSI2PHY_DATALANE_EN, GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
526 write_grf_reg(hw, GRF_DPHY_CSI2PHY_DATALANE_EN0, GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
541 write_grf_reg(hw, GRF_DPHY_CSI2PHY_DATALANE_EN1, GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
558 write_grf_reg(hw, GRF_DPHY_CSI2PHY_DATALANE_EN0, GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
564 write_grf_reg(hw, GRF_DPHY_CSI2PHY_DATALANE_EN1, GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
576 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_hw_stream_on() local
594 val |= (GENMASK(sensor->lanes - 1, 0) << CSI2_DPHY_CTRL_DATALANE_ENABLE_OFFSET_BIT) | in csi2_dphy_hw_stream_on()
602 val |= (GENMASK(sensor->lanes - 1, 0) << CSI2_DPHY_CTRL_DATALANE_ENABLE_OFFSET_BIT); in csi2_dphy_hw_stream_on()
606 … val |= (GENMASK(sensor->lanes - 1, 0) << CSI2_DPHY_CTRL_DATALANE_SPLIT_LANE2_3_OFFSET_BIT); in csi2_dphy_hw_stream_on()
613 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) { in csi2_dphy_hw_stream_on()
625 csi2_dphy_config_dual_mode(dphy, sensor); in csi2_dphy_hw_stream_on()
635 if (sensor->lanes > 0x00) { in csi2_dphy_hw_stream_on()
638 if (sensor->lanes > 0x01) { in csi2_dphy_hw_stream_on()
641 if (sensor->lanes > 0x02) { in csi2_dphy_hw_stream_on()
644 if (sensor->lanes > 0x03) { in csi2_dphy_hw_stream_on()
650 if (sensor->lanes > 0x00) { in csi2_dphy_hw_stream_on()
653 if (sensor->lanes > 0x01) { in csi2_dphy_hw_stream_on()
660 if (sensor->lanes > 0x00) { in csi2_dphy_hw_stream_on()
663 if (sensor->lanes > 0x01) { in csi2_dphy_hw_stream_on()
687 if (sensor->lanes > 0x00) { in csi2_dphy_hw_stream_on()
690 if (sensor->lanes > 0x01) { in csi2_dphy_hw_stream_on()
693 if (sensor->lanes > 0x02) { in csi2_dphy_hw_stream_on()
696 if (sensor->lanes > 0x03) { in csi2_dphy_hw_stream_on()
759 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dcphy_hw_stream_on() local
767 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) { in csi2_dcphy_hw_stream_on()
771 } else if (sensor->mbus.type == V4L2_MBUS_CSI2_CPHY) { in csi2_dcphy_hw_stream_on()
778 if (sensor->mbus.type == V4L2_MBUS_CSI2_CPHY) { in csi2_dcphy_hw_stream_on()
787 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) { in csi2_dcphy_hw_stream_on()
809 if (sensor->lanes > 0x00) { in csi2_dcphy_hw_stream_on()
813 if (sensor->lanes > 0x01) { in csi2_dcphy_hw_stream_on()
817 if (sensor->lanes > 0x02) { in csi2_dcphy_hw_stream_on()
821 if (sensor->lanes > 0x03) { in csi2_dcphy_hw_stream_on()
826 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) { in csi2_dcphy_hw_stream_on()
830 if (sensor->lanes > 0x00) { in csi2_dcphy_hw_stream_on()
833 if (sensor->lanes > 0x01) { in csi2_dcphy_hw_stream_on()
836 if (sensor->lanes > 0x02) { in csi2_dcphy_hw_stream_on()
839 if (sensor->lanes > 0x03) { in csi2_dcphy_hw_stream_on()
844 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) { in csi2_dcphy_hw_stream_on()
851 if (sensor->lanes > 0) { in csi2_dcphy_hw_stream_on()
856 if (sensor->lanes > 1) { in csi2_dcphy_hw_stream_on()
861 if (sensor->lanes > 0x02) { in csi2_dcphy_hw_stream_on()
866 if (sensor->lanes > 0x03) { in csi2_dcphy_hw_stream_on()
893 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dcphy_hw_stream_off() local
900 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) { in csi2_dcphy_hw_stream_off()
903 if (sensor->lanes > 0x00) { in csi2_dcphy_hw_stream_off()
906 if (sensor->lanes > 0x01) { in csi2_dcphy_hw_stream_off()
909 if (sensor->lanes > 0x02) { in csi2_dcphy_hw_stream_off()
912 if (sensor->lanes > 0x03) { in csi2_dcphy_hw_stream_off()