Lines Matching refs:sensor
500 struct csi2_sensor *sensor) in csi2_dphy_config_dual_mode() argument
518 GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
526 GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
539 GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
556 GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
575 GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
582 GENMASK(sensor->lanes - 1, 0)); in csi2_dphy_config_dual_mode()
595 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_hw_stream_on() local
613 val |= (GENMASK(sensor->lanes - 1, 0) << in csi2_dphy_hw_stream_on()
621 val |= (GENMASK(sensor->lanes - 1, 0) << in csi2_dphy_hw_stream_on()
625 val |= (GENMASK(sensor->lanes - 1, 0) << in csi2_dphy_hw_stream_on()
633 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) { in csi2_dphy_hw_stream_on()
645 csi2_dphy_config_dual_mode(dphy, sensor); in csi2_dphy_hw_stream_on()
655 if (sensor->lanes > 0x00) in csi2_dphy_hw_stream_on()
657 if (sensor->lanes > 0x01) in csi2_dphy_hw_stream_on()
659 if (sensor->lanes > 0x02) in csi2_dphy_hw_stream_on()
661 if (sensor->lanes > 0x03) in csi2_dphy_hw_stream_on()
666 if (sensor->lanes > 0x00) in csi2_dphy_hw_stream_on()
668 if (sensor->lanes > 0x01) in csi2_dphy_hw_stream_on()
674 if (sensor->lanes > 0x00) in csi2_dphy_hw_stream_on()
676 if (sensor->lanes > 0x01) in csi2_dphy_hw_stream_on()
699 if (sensor->lanes > 0x00) in csi2_dphy_hw_stream_on()
701 if (sensor->lanes > 0x01) in csi2_dphy_hw_stream_on()
703 if (sensor->lanes > 0x02) in csi2_dphy_hw_stream_on()
705 if (sensor->lanes > 0x03) in csi2_dphy_hw_stream_on()
767 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dcphy_hw_stream_on() local
775 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) { in csi2_dcphy_hw_stream_on()
779 } else if (sensor->mbus.type == V4L2_MBUS_CSI2_CPHY) { in csi2_dcphy_hw_stream_on()
786 if (sensor->mbus.type == V4L2_MBUS_CSI2_CPHY) in csi2_dcphy_hw_stream_on()
793 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) { in csi2_dcphy_hw_stream_on()
815 if (sensor->lanes > 0x00) { in csi2_dcphy_hw_stream_on()
819 if (sensor->lanes > 0x01) { in csi2_dcphy_hw_stream_on()
823 if (sensor->lanes > 0x02) { in csi2_dcphy_hw_stream_on()
827 if (sensor->lanes > 0x03) { in csi2_dcphy_hw_stream_on()
832 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) in csi2_dcphy_hw_stream_on()
835 if (sensor->lanes > 0x00) in csi2_dcphy_hw_stream_on()
837 if (sensor->lanes > 0x01) in csi2_dcphy_hw_stream_on()
839 if (sensor->lanes > 0x02) in csi2_dcphy_hw_stream_on()
841 if (sensor->lanes > 0x03) in csi2_dcphy_hw_stream_on()
845 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) in csi2_dcphy_hw_stream_on()
850 if (sensor->lanes > 0x00) in csi2_dcphy_hw_stream_on()
853 if (sensor->lanes > 0x01) in csi2_dcphy_hw_stream_on()
856 if (sensor->lanes > 0x02) in csi2_dcphy_hw_stream_on()
859 if (sensor->lanes > 0x03) in csi2_dcphy_hw_stream_on()
884 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dcphy_hw_stream_off() local
890 if (sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) in csi2_dcphy_hw_stream_off()
892 if (sensor->lanes > 0x00) in csi2_dcphy_hw_stream_off()
894 if (sensor->lanes > 0x01) in csi2_dcphy_hw_stream_off()
896 if (sensor->lanes > 0x02) in csi2_dcphy_hw_stream_off()
898 if (sensor->lanes > 0x03) in csi2_dcphy_hw_stream_off()