linux/drivers/media/pci/cobalt/m00233_video_measure_memmap_package.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 *  Copyright 2014-2015 Cisco Systems, Inc. and/or its affiliates.
 *  All rights reserved.
 */

#ifndef M00233_VIDEO_MEASURE_MEMMAP_PACKAGE_H
#define M00233_VIDEO_MEASURE_MEMMAP_PACKAGE_H

/*******************************************************************
 * Register Block
 * M00233_VIDEO_MEASURE_MEMMAP_PACKAGE_VHD_REGMAP
 *******************************************************************/
struct m00233_video_measure_regmap {};

#define M00233_VIDEO_MEASURE_REG_IRQ_STATUS_OFST
#define M00233_VIDEO_MEASURE_REG_VSYNC_TIME_OFST
#define M00233_VIDEO_MEASURE_REG_VBACK_PORCH_OFST
#define M00233_VIDEO_MEASURE_REG_VACTIVE_AREA_OFST
#define M00233_VIDEO_MEASURE_REG_VFRONT_PORCH_OFST
#define M00233_VIDEO_MEASURE_REG_HSYNC_TIME_OFST
#define M00233_VIDEO_MEASURE_REG_HBACK_PORCH_OFST
#define M00233_VIDEO_MEASURE_REG_HACTIVE_AREA_OFST
#define M00233_VIDEO_MEASURE_REG_HFRONT_PORCH_OFST
#define M00233_VIDEO_MEASURE_REG_CONTROL_OFST
#define M00233_VIDEO_MEASURE_REG_IRQ_TRIGGERS_OFST
#define M00233_VIDEO_MEASURE_REG_HSYNC_TIMEOUT_VAL_OFST
#define M00233_VIDEO_MEASURE_REG_STATUS_OFST

/*******************************************************************
 * Bit Mask for register
 * M00233_VIDEO_MEASURE_MEMMAP_PACKAGE_VHD_BITMAP
 *******************************************************************/
/* irq_status [7:0] */
#define M00233_IRQ_STATUS_BITMAP_VSYNC_TIME_OFST
#define M00233_IRQ_STATUS_BITMAP_VSYNC_TIME_MSK
#define M00233_IRQ_STATUS_BITMAP_VBACK_PORCH_OFST
#define M00233_IRQ_STATUS_BITMAP_VBACK_PORCH_MSK
#define M00233_IRQ_STATUS_BITMAP_VACTIVE_AREA_OFST
#define M00233_IRQ_STATUS_BITMAP_VACTIVE_AREA_MSK
#define M00233_IRQ_STATUS_BITMAP_VFRONT_PORCH_OFST
#define M00233_IRQ_STATUS_BITMAP_VFRONT_PORCH_MSK
#define M00233_IRQ_STATUS_BITMAP_HSYNC_TIME_OFST
#define M00233_IRQ_STATUS_BITMAP_HSYNC_TIME_MSK
#define M00233_IRQ_STATUS_BITMAP_HBACK_PORCH_OFST
#define M00233_IRQ_STATUS_BITMAP_HBACK_PORCH_MSK
#define M00233_IRQ_STATUS_BITMAP_HACTIVE_AREA_OFST
#define M00233_IRQ_STATUS_BITMAP_HACTIVE_AREA_MSK
#define M00233_IRQ_STATUS_BITMAP_HFRONT_PORCH_OFST
#define M00233_IRQ_STATUS_BITMAP_HFRONT_PORCH_MSK
/* control [4:0] */
#define M00233_CONTROL_BITMAP_HSYNC_POLARITY_LOW_OFST
#define M00233_CONTROL_BITMAP_HSYNC_POLARITY_LOW_MSK
#define M00233_CONTROL_BITMAP_VSYNC_POLARITY_LOW_OFST
#define M00233_CONTROL_BITMAP_VSYNC_POLARITY_LOW_MSK
#define M00233_CONTROL_BITMAP_ENABLE_MEASURE_OFST
#define M00233_CONTROL_BITMAP_ENABLE_MEASURE_MSK
#define M00233_CONTROL_BITMAP_ENABLE_INTERRUPT_OFST
#define M00233_CONTROL_BITMAP_ENABLE_INTERRUPT_MSK
#define M00233_CONTROL_BITMAP_UPDATE_ON_HSYNC_OFST
#define M00233_CONTROL_BITMAP_UPDATE_ON_HSYNC_MSK
/* irq_triggers [7:0] */
#define M00233_IRQ_TRIGGERS_BITMAP_VSYNC_TIME_OFST
#define M00233_IRQ_TRIGGERS_BITMAP_VSYNC_TIME_MSK
#define M00233_IRQ_TRIGGERS_BITMAP_VBACK_PORCH_OFST
#define M00233_IRQ_TRIGGERS_BITMAP_VBACK_PORCH_MSK
#define M00233_IRQ_TRIGGERS_BITMAP_VACTIVE_AREA_OFST
#define M00233_IRQ_TRIGGERS_BITMAP_VACTIVE_AREA_MSK
#define M00233_IRQ_TRIGGERS_BITMAP_VFRONT_PORCH_OFST
#define M00233_IRQ_TRIGGERS_BITMAP_VFRONT_PORCH_MSK
#define M00233_IRQ_TRIGGERS_BITMAP_HSYNC_TIME_OFST
#define M00233_IRQ_TRIGGERS_BITMAP_HSYNC_TIME_MSK
#define M00233_IRQ_TRIGGERS_BITMAP_HBACK_PORCH_OFST
#define M00233_IRQ_TRIGGERS_BITMAP_HBACK_PORCH_MSK
#define M00233_IRQ_TRIGGERS_BITMAP_HACTIVE_AREA_OFST
#define M00233_IRQ_TRIGGERS_BITMAP_HACTIVE_AREA_MSK
#define M00233_IRQ_TRIGGERS_BITMAP_HFRONT_PORCH_OFST
#define M00233_IRQ_TRIGGERS_BITMAP_HFRONT_PORCH_MSK
/* status [1:0] */
#define M00233_STATUS_BITMAP_HSYNC_TIMEOUT_OFST
#define M00233_STATUS_BITMAP_HSYNC_TIMEOUT_MSK
#define M00233_STATUS_BITMAP_INIT_DONE_OFST
#define M00233_STATUS_BITMAP_INIT_DONE_MSK

#endif /*M00233_VIDEO_MEASURE_MEMMAP_PACKAGE_H*/