ivtvfb.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
  2. /*
  3. On Screen Display cx23415 Framebuffer driver
  4. Copyright (C) 2006, 2007 Ian Armstrong <[email protected]>
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  16. */
  17. #ifndef __LINUX_IVTVFB_H__
  18. #define __LINUX_IVTVFB_H__
  19. #include <linux/compiler.h>
  20. #include <linux/types.h>
  21. /* Framebuffer external API */
  22. struct ivtvfb_dma_frame {
  23. void __user *source;
  24. unsigned long dest_offset;
  25. int count;
  26. };
  27. #define IVTVFB_IOC_DMA_FRAME _IOW('V', BASE_VIDIOC_PRIVATE+0, struct ivtvfb_dma_frame)
  28. #endif