Commit 40839521 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: exynos-gsc/gsc-core.h: fix kernel-doc warnings

Fixes these kernel-doc warnings:

drivers/media/platform/exynos-gsc/gsc-core.h:76: warning: Enum value 'GSC_MIXER' not described in enum 'gsc_datapath'
drivers/media/platform/exynos-gsc/gsc-core.h:76: warning: Enum value 'GSC_FIMD' not described in enum 'gsc_datapath'
drivers/media/platform/exynos-gsc/gsc-core.h:76: warning: Excess enum value 'GSC_LOCAL' description in 'gsc_datapath'
drivers/media/platform/exynos-gsc/gsc-core.h:124: warning: Function parameter or member 'color' not described in 'gsc_fmt'
drivers/media/platform/exynos-gsc/gsc-core.h:124: warning: Function parameter or member 'num_comp' not described in 'gsc_fmt'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'pix_max' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'pix_min' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'pix_align' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'in_buf_cnt' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'out_buf_cnt' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'sc_up_max' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'sc_down_max' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'poly_sc_down_max' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'pre_sc_down_max' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:297: warning: Function parameter or member 'local_sc_down' not described in 'gsc_variant'
drivers/media/platform/exynos-gsc/gsc-core.h:310: warning: Function parameter or member 'clk_names' not described in 'gsc_driverdata'
drivers/media/platform/exynos-gsc/gsc-core.h:310: warning: Function parameter or member 'num_clocks' not described in 'gsc_driverdata'
drivers/media/platform/exynos-gsc/gsc-core.h:340: warning: Function parameter or member 'num_clocks' not described in 'gsc_dev'
drivers/media/platform/exynos-gsc/gsc-core.h:340: warning: Function parameter or member 'v4l2_dev' not described in 'gsc_dev'
drivers/media/platform/exynos-gsc/gsc-core.h:376: warning: Function parameter or member 'rotation' not described in 'gsc_ctx'
drivers/media/platform/exynos-gsc/gsc-core.h:376: warning: Function parameter or member 'hflip' not described in 'gsc_ctx'
drivers/media/platform/exynos-gsc/gsc-core.h:376: warning: Function parameter or member 'vflip' not described in 'gsc_ctx'
drivers/media/platform/exynos-gsc/gsc-core.h:376: warning: Function parameter or member 'gsc_ctrls' not described in 'gsc_ctx'
drivers/media/platform/exynos-gsc/gsc-core.h:376: warning: Function parameter or member 'out_colorspace' not described in 'gsc_ctx'
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 15e68e58
...@@ -64,14 +64,11 @@ enum gsc_irq { ...@@ -64,14 +64,11 @@ enum gsc_irq {
* enum gsc_datapath - the path of data used for G-Scaler * enum gsc_datapath - the path of data used for G-Scaler
* @GSC_CAMERA: from camera * @GSC_CAMERA: from camera
* @GSC_DMA: from/to DMA * @GSC_DMA: from/to DMA
* @GSC_LOCAL: to local path
* @GSC_WRITEBACK: from FIMD * @GSC_WRITEBACK: from FIMD
*/ */
enum gsc_datapath { enum gsc_datapath {
GSC_CAMERA = 0x1, GSC_CAMERA = 0x1,
GSC_DMA, GSC_DMA,
GSC_MIXER,
GSC_FIMD,
GSC_WRITEBACK, GSC_WRITEBACK,
}; };
...@@ -104,10 +101,11 @@ enum gsc_yuv_fmt { ...@@ -104,10 +101,11 @@ enum gsc_yuv_fmt {
* struct gsc_fmt - the driver's internal color format data * struct gsc_fmt - the driver's internal color format data
* @mbus_code: Media Bus pixel code, -1 if not applicable * @mbus_code: Media Bus pixel code, -1 if not applicable
* @pixelformat: the fourcc code for this format, 0 if not applicable * @pixelformat: the fourcc code for this format, 0 if not applicable
* @color: color encoding
* @yorder: Y/C order * @yorder: Y/C order
* @corder: Chrominance order control * @corder: Chrominance order control
* @num_planes: number of physically non-contiguous data planes * @num_planes: number of physically non-contiguous data planes
* @nr_comp: number of physically contiguous data planes * @num_comp: number of physically contiguous data planes
* @depth: per plane driver's private 'number of bits per pixel' * @depth: per plane driver's private 'number of bits per pixel'
* @flags: flags indicating which operation mode format applies to * @flags: flags indicating which operation mode format applies to
*/ */
...@@ -280,7 +278,7 @@ struct gsc_pix_align { ...@@ -280,7 +278,7 @@ struct gsc_pix_align {
u16 target_h; u16 target_h;
}; };
/** /*
* struct gsc_variant - G-Scaler variant information * struct gsc_variant - G-Scaler variant information
*/ */
struct gsc_variant { struct gsc_variant {
...@@ -301,6 +299,9 @@ struct gsc_variant { ...@@ -301,6 +299,9 @@ struct gsc_variant {
* *
* @variant: the variant information for this driver. * @variant: the variant information for this driver.
* @num_entities: the number of g-scalers * @num_entities: the number of g-scalers
* @clk_names: clock names
* @num_clocks: the number of clocks in @clk_names
* @num_entities: the number of g-scalers
*/ */
struct gsc_driverdata { struct gsc_driverdata {
struct gsc_variant *variant[GSC_MAX_DEVS]; struct gsc_variant *variant[GSC_MAX_DEVS];
...@@ -316,12 +317,14 @@ struct gsc_driverdata { ...@@ -316,12 +317,14 @@ struct gsc_driverdata {
* @pdev: pointer to the G-Scaler platform device * @pdev: pointer to the G-Scaler platform device
* @variant: the IP variant information * @variant: the IP variant information
* @id: G-Scaler device index (0..GSC_MAX_DEVS) * @id: G-Scaler device index (0..GSC_MAX_DEVS)
* @num_clocks: number of clocks required for G-Scaler operation
* @clock: clocks required for G-Scaler operation * @clock: clocks required for G-Scaler operation
* @regs: the mapped hardware registers * @regs: the mapped hardware registers
* @irq_queue: interrupt handler waitqueue * @irq_queue: interrupt handler waitqueue
* @m2m: memory-to-memory V4L2 device information * @m2m: memory-to-memory V4L2 device information
* @state: flags used to synchronize m2m and capture mode operation * @state: flags used to synchronize m2m and capture mode operation
* @vdev: video device for G-Scaler instance * @vdev: video device for G-Scaler instance
* @v4l2_dev: v4l2_device for G-Scaler instance
*/ */
struct gsc_dev { struct gsc_dev {
spinlock_t slock; spinlock_t slock;
...@@ -348,12 +351,16 @@ struct gsc_dev { ...@@ -348,12 +351,16 @@ struct gsc_dev {
* @scaler: image scaler properties * @scaler: image scaler properties
* @flags: additional flags for image conversion * @flags: additional flags for image conversion
* @state: flags to keep track of user configuration * @state: flags to keep track of user configuration
* @rotation: rotation
* @hflip: horizontal flip
* @vflip: vertical flip
* @gsc_dev: the G-Scaler device this context applies to * @gsc_dev: the G-Scaler device this context applies to
* @m2m_ctx: memory-to-memory device context * @m2m_ctx: memory-to-memory device context
* @fh: v4l2 file handle * @fh: v4l2 file handle
* @ctrl_handler: v4l2 controls handler * @ctrl_handler: v4l2 controls handler
* @gsc_ctrls G-Scaler control set * @gsc_ctrls: G-Scaler control set
* @ctrls_rdy: true if the control handler is initialized * @ctrls_rdy: true if the control handler is initialized
* @out_colorspace: the colorspace of the OUTPUT queue
*/ */
struct gsc_ctx { struct gsc_ctx {
struct gsc_frame s_frame; struct gsc_frame s_frame;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment