Lines Matching refs:common_flags
728 unsigned long common_flags; in isi_camera_try_bus_param() local
733 common_flags = soc_mbus_config_compatible(&cfg, in isi_camera_try_bus_param()
735 if (!common_flags) { in isi_camera_try_bus_param()
857 unsigned long common_flags; in isi_camera_set_bus_param() local
863 common_flags = soc_mbus_config_compatible(&cfg, in isi_camera_set_bus_param()
865 if (!common_flags) { in isi_camera_set_bus_param()
874 common_flags = ISI_BUS_PARAM; in isi_camera_set_bus_param()
877 cfg.flags, ISI_BUS_PARAM, common_flags); in isi_camera_set_bus_param()
880 if ((common_flags & V4L2_MBUS_HSYNC_ACTIVE_HIGH) && in isi_camera_set_bus_param()
881 (common_flags & V4L2_MBUS_HSYNC_ACTIVE_LOW)) { in isi_camera_set_bus_param()
883 common_flags &= ~V4L2_MBUS_HSYNC_ACTIVE_HIGH; in isi_camera_set_bus_param()
885 common_flags &= ~V4L2_MBUS_HSYNC_ACTIVE_LOW; in isi_camera_set_bus_param()
888 if ((common_flags & V4L2_MBUS_VSYNC_ACTIVE_HIGH) && in isi_camera_set_bus_param()
889 (common_flags & V4L2_MBUS_VSYNC_ACTIVE_LOW)) { in isi_camera_set_bus_param()
891 common_flags &= ~V4L2_MBUS_VSYNC_ACTIVE_HIGH; in isi_camera_set_bus_param()
893 common_flags &= ~V4L2_MBUS_VSYNC_ACTIVE_LOW; in isi_camera_set_bus_param()
896 if ((common_flags & V4L2_MBUS_PCLK_SAMPLE_RISING) && in isi_camera_set_bus_param()
897 (common_flags & V4L2_MBUS_PCLK_SAMPLE_FALLING)) { in isi_camera_set_bus_param()
899 common_flags &= ~V4L2_MBUS_PCLK_SAMPLE_RISING; in isi_camera_set_bus_param()
901 common_flags &= ~V4L2_MBUS_PCLK_SAMPLE_FALLING; in isi_camera_set_bus_param()
904 cfg.flags = common_flags; in isi_camera_set_bus_param()
908 common_flags, ret); in isi_camera_set_bus_param()
913 if (common_flags & V4L2_MBUS_HSYNC_ACTIVE_LOW) in isi_camera_set_bus_param()
915 if (common_flags & V4L2_MBUS_VSYNC_ACTIVE_LOW) in isi_camera_set_bus_param()
917 if (common_flags & V4L2_MBUS_PCLK_SAMPLE_FALLING) in isi_camera_set_bus_param()
921 common_flags & V4L2_MBUS_VSYNC_ACTIVE_LOW ? "low" : "high", in isi_camera_set_bus_param()
922 common_flags & V4L2_MBUS_HSYNC_ACTIVE_LOW ? "low" : "high", in isi_camera_set_bus_param()
923 common_flags & V4L2_MBUS_PCLK_SAMPLE_FALLING ? "falling" : "rising"); in isi_camera_set_bus_param()