ivtvfb.c (858a0d7eb5300b5f620d98ab3c4b96c9d5f19131) | ivtvfb.c (bbdba43f202bcd724063524aef1436459af0e5ec) |
---|---|
1/* 2 On Screen Display cx23415 Framebuffer driver 3 4 This module presents the cx23415 OSD (onscreen display) framebuffer memory 5 as a standard Linux /dev/fb style framebuffer device. The framebuffer has 6 support for 8, 16 & 32 bpp packed pixel formats with alpha channel. In 16bpp 7 mode, there is a choice of a three color depths (12, 15 or 16 bits), but no 8 local alpha. The colorspace is selectable between rgb & yuv. --- 24 unchanged lines hidden (view full) --- 33 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 GNU General Public License for more details. 35 36 You should have received a copy of the GNU General Public License 37 along with this program; if not, write to the Free Software 38 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 39 */ 40 | 1/* 2 On Screen Display cx23415 Framebuffer driver 3 4 This module presents the cx23415 OSD (onscreen display) framebuffer memory 5 as a standard Linux /dev/fb style framebuffer device. The framebuffer has 6 support for 8, 16 & 32 bpp packed pixel formats with alpha channel. In 16bpp 7 mode, there is a choice of a three color depths (12, 15 or 16 bits), but no 8 local alpha. The colorspace is selectable between rgb & yuv. --- 24 unchanged lines hidden (view full) --- 33 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 GNU General Public License for more details. 35 36 You should have received a copy of the GNU General Public License 37 along with this program; if not, write to the Free Software 38 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 39 */ 40 |
41#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 41#include "ivtv-driver.h" 42#include "ivtv-cards.h" 43#include "ivtv-i2c.h" 44#include "ivtv-udma.h" 45#include "ivtv-mailbox.h" 46#include "ivtv-firmware.h" |
42 | 47 |
43#include <linux/module.h> 44#include <linux/kernel.h> | |
45#include <linux/fb.h> 46#include <linux/ivtvfb.h> | 48#include <linux/fb.h> 49#include <linux/ivtvfb.h> |
47#include <linux/slab.h> | |
48 49#ifdef CONFIG_X86_64 50#include <asm/pat.h> 51#endif 52 | 50 51#ifdef CONFIG_X86_64 52#include <asm/pat.h> 53#endif 54 |
53#include "ivtv-driver.h" 54#include "ivtv-cards.h" 55#include "ivtv-i2c.h" 56#include "ivtv-udma.h" 57#include "ivtv-mailbox.h" 58#include "ivtv-firmware.h" 59 | |
60/* card parameters */ 61static int ivtvfb_card_id = -1; 62static int ivtvfb_debug = 0; 63static bool osd_laced; 64static int osd_depth; 65static int osd_upper; 66static int osd_left; 67static int osd_yres; --- 1239 unchanged lines hidden --- | 55/* card parameters */ 56static int ivtvfb_card_id = -1; 57static int ivtvfb_debug = 0; 58static bool osd_laced; 59static int osd_depth; 60static int osd_upper; 61static int osd_left; 62static int osd_yres; --- 1239 unchanged lines hidden --- |