Update some comments

This commit is contained in:
Gregory Nutt 2017-11-04 14:33:20 -06:00
parent 205fe8053f
commit 0942b5441d
2 changed files with 21 additions and 10 deletions

View File

@ -405,7 +405,7 @@ static int fb_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
#endif #endif
#ifdef CONFIG_LCD_UPDATE #ifdef CONFIG_LCD_UPDATE
case FBIO_UPDATE: /* Get video plane info */ case FBIO_UPDATE: /* Update the LCD with the modified framebuffer data */
{ {
FAR struct nxgl_rect_s *rect = FAR struct nxgl_rect_s *rect =
(FAR struct nxgl_rect_s *)((uintptr_t)arg); (FAR struct nxgl_rect_s *)((uintptr_t)arg);

View File

@ -1,7 +1,8 @@
/**************************************************************************** /****************************************************************************
* include/nuttx/video/fb.h * include/nuttx/video/fb.h
* *
* Copyright (C) 2008-2011, 2013, 2016 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2011, 2013, 2016-2017 Gregory Nutt. All rights
* reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -196,24 +197,34 @@
/* ioctls */ /* ioctls */
#define FBIOGET_VIDEOINFO _FBIOC(0x0001) /* Get color plane info */ #define FBIOGET_VIDEOINFO _FBIOC(0x0001) /* Get color plane info */
/* Argument: writable struct fb_videoinfo_s */ /* Argument: writable struct
* fb_videoinfo_s */
#define FBIOGET_PLANEINFO _FBIOC(0x0002) /* Get video plane info */ #define FBIOGET_PLANEINFO _FBIOC(0x0002) /* Get video plane info */
/* Argument: writable struct fb_planeinfo_s */ /* Argument: writable struct
* fb_planeinfo_s */
#ifdef CONFIG_FB_CMAP #ifdef CONFIG_FB_CMAP
# define FBIOGET_CMAP _FBIOC(0x0003) /* Get RGB color mapping */ # define FBIOGET_CMAP _FBIOC(0x0003) /* Get RGB color mapping */
/* Argument: writable struct fb_cmap_s */ /* Argument: writable struct
* fb_cmap_s */
# define FBIOPUT_CMAP _FBIOC(0x0004) /* Put RGB color mapping */ # define FBIOPUT_CMAP _FBIOC(0x0004) /* Put RGB color mapping */
/* Argument: read-only struct fb_cmap_s */ /* Argument: read-only struct
* fb_cmap_s */
#endif #endif
#ifdef CONFIG_FB_HWCURSOR #ifdef CONFIG_FB_HWCURSOR
# define FBIOGET_CURSOR _FBIOC(0x0005) /* Get cursor attributes */ # define FBIOGET_CURSOR _FBIOC(0x0005) /* Get cursor attributes */
/* Argument: writable struct fb_cursorattrib_s */ /* Argument: writable struct
* fb_cursorattrib_s */
# define FBIOPUT_CURSOR _FBIOC(0x0006) /* Set cursor attributes */ # define FBIOPUT_CURSOR _FBIOC(0x0006) /* Set cursor attributes */
/* Argument: read-only struct fb_setcursor_s */ /* Argument: read-only struct
* fb_setcursor_s */
#endif #endif
#ifdef CONFIG_LCD_UPDATE #ifdef CONFIG_LCD_UPDATE
# define FBIO_UPDATE _FBIOC(0x0007) /* Update a rectangular region in the framebuffer */ # define FBIO_UPDATE _FBIOC(0x0007) /* Update a rectangular region in
/* Argument: read-only struct nxgl_rect_s */ * the framebuffer
* Argument: read-only struct
* nxgl_rect_s */
#endif #endif
/**************************************************************************** /****************************************************************************