Home
last modified time | relevance | path

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

/drivers/media/platform/soc_camera/
Datmel-isi.c728 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()
[all …]
Dsoc_mediabus.c485 unsigned long common_flags; in soc_mbus_config_compatible() local
489 common_flags = cfg->flags & flags; in soc_mbus_config_compatible()
493 hsync = common_flags & (V4L2_MBUS_HSYNC_ACTIVE_HIGH | in soc_mbus_config_compatible()
495 vsync = common_flags & (V4L2_MBUS_VSYNC_ACTIVE_HIGH | in soc_mbus_config_compatible()
498 pclk = common_flags & (V4L2_MBUS_PCLK_SAMPLE_RISING | in soc_mbus_config_compatible()
500 data = common_flags & (V4L2_MBUS_DATA_ACTIVE_HIGH | in soc_mbus_config_compatible()
502 mode = common_flags & (V4L2_MBUS_MASTER | V4L2_MBUS_SLAVE); in soc_mbus_config_compatible()
504 0 : common_flags; in soc_mbus_config_compatible()
506 mipi_lanes = common_flags & V4L2_MBUS_CSI2_LANES; in soc_mbus_config_compatible()
507 mipi_clock = common_flags & (V4L2_MBUS_CSI2_NONCONTINUOUS_CLOCK | in soc_mbus_config_compatible()
[all …]
Dsh_mobile_ceu_camera.c711 unsigned long value, common_flags = CEU_BUS_FLAGS; in sh_mobile_ceu_set_bus_param() local
722 common_flags = soc_mbus_config_compatible(&cfg, in sh_mobile_ceu_set_bus_param()
723 common_flags); in sh_mobile_ceu_set_bus_param()
724 if (!common_flags) in sh_mobile_ceu_set_bus_param()
731 if ((common_flags & V4L2_MBUS_HSYNC_ACTIVE_HIGH) && in sh_mobile_ceu_set_bus_param()
732 (common_flags & V4L2_MBUS_HSYNC_ACTIVE_LOW)) { in sh_mobile_ceu_set_bus_param()
734 common_flags &= ~V4L2_MBUS_HSYNC_ACTIVE_HIGH; in sh_mobile_ceu_set_bus_param()
736 common_flags &= ~V4L2_MBUS_HSYNC_ACTIVE_LOW; in sh_mobile_ceu_set_bus_param()
739 if ((common_flags & V4L2_MBUS_VSYNC_ACTIVE_HIGH) && in sh_mobile_ceu_set_bus_param()
740 (common_flags & V4L2_MBUS_VSYNC_ACTIVE_LOW)) { in sh_mobile_ceu_set_bus_param()
[all …]
/drivers/media/platform/
Dpxa_camera.c589 unsigned long common_flags; in pxa_mbus_config_compatible() local
593 common_flags = cfg->flags & flags; in pxa_mbus_config_compatible()
597 hsync = common_flags & (V4L2_MBUS_HSYNC_ACTIVE_HIGH | in pxa_mbus_config_compatible()
599 vsync = common_flags & (V4L2_MBUS_VSYNC_ACTIVE_HIGH | in pxa_mbus_config_compatible()
603 pclk = common_flags & (V4L2_MBUS_PCLK_SAMPLE_RISING | in pxa_mbus_config_compatible()
605 data = common_flags & (V4L2_MBUS_DATA_ACTIVE_HIGH | in pxa_mbus_config_compatible()
607 mode = common_flags & (V4L2_MBUS_MASTER | V4L2_MBUS_SLAVE); in pxa_mbus_config_compatible()
609 0 : common_flags; in pxa_mbus_config_compatible()
611 mipi_lanes = common_flags & V4L2_MBUS_CSI2_LANES; in pxa_mbus_config_compatible()
612 mipi_clock = common_flags & (V4L2_MBUS_CSI2_NONCONTINUOUS_CLOCK | in pxa_mbus_config_compatible()
[all …]