|
#define | IVTVFB_DBGFLG_WARN (1 << 0) |
|
#define | IVTVFB_DBGFLG_INFO (1 << 1) |
|
#define | IVTVFB_DEBUG(x, type, fmt, args...) |
|
#define | IVTVFB_DEBUG_WARN(fmt, args...) IVTVFB_DEBUG(IVTVFB_DBGFLG_WARN, "warning", fmt , ## args) |
|
#define | IVTVFB_DEBUG_INFO(fmt, args...) IVTVFB_DEBUG(IVTVFB_DBGFLG_INFO, "info", fmt , ## args) |
|
#define | IVTVFB_ERR(fmt, args...) printk(KERN_ERR "ivtvfb%d: " fmt, itv->instance , ## args) |
|
#define | IVTVFB_WARN(fmt, args...) printk(KERN_WARNING "ivtvfb%d: " fmt, itv->instance , ## args) |
|
#define | IVTVFB_INFO(fmt, args...) printk(KERN_INFO "ivtvfb%d: " fmt, itv->instance , ## args) |
|
#define | IVTV_OSD_MAX_WIDTH 720 |
|
#define | IVTV_OSD_MAX_HEIGHT 576 |
|
#define | IVTV_OSD_BPP_8 0x00 |
|
#define | IVTV_OSD_BPP_16_444 0x03 |
|
#define | IVTV_OSD_BPP_16_555 0x02 |
|
#define | IVTV_OSD_BPP_16_565 0x01 |
|
#define | IVTV_OSD_BPP_32 0x04 |
|
|
| module_param (ivtvfb_card_id, int, 0444) |
|
| module_param_named (debug, ivtvfb_debug, int, 0644) |
|
| module_param (osd_laced, bool, 0444) |
|
| module_param (osd_depth, int, 0444) |
|
| module_param (osd_upper, int, 0444) |
|
| module_param (osd_left, int, 0444) |
|
| module_param (osd_yres, int, 0444) |
|
| module_param (osd_xres, int, 0444) |
|
| MODULE_PARM_DESC (ivtvfb_card_id,"Only use framebuffer of the specified ivtv card (0-31)\n""\t\t\tdefault -1: initialize all available framebuffers") |
|
| MODULE_PARM_DESC (debug,"Debug level (bitmask). Default: errors only\n""\t\t\t(debug = 3 gives full debugging)") |
|
| MODULE_PARM_DESC (osd_laced,"Interlaced mode\n""\t\t\t0=off\n""\t\t\t1=on\n""\t\t\tdefault off") |
|
| MODULE_PARM_DESC (osd_depth,"Bits per pixel - 8, 16, 32\n""\t\t\tdefault 8") |
|
| MODULE_PARM_DESC (osd_upper,"Vertical start position\n""\t\t\tdefault 0 (Centered)") |
|
| MODULE_PARM_DESC (osd_left,"Horizontal start position\n""\t\t\tdefault 0 (Centered)") |
|
| MODULE_PARM_DESC (osd_yres,"Display height\n""\t\t\tdefault 480 (PAL)\n""\t\t\t 400 (NTSC)") |
|
| MODULE_PARM_DESC (osd_xres,"Display width\n""\t\t\tdefault 640") |
|
| MODULE_AUTHOR ("Kevin Thayer, Chris Kennedy, Hans Verkuil, John Harvey, Ian Armstrong") |
|
| MODULE_LICENSE ("GPL") |
|
| module_init (ivtvfb_init) |
|
| module_exit (ivtvfb_cleanup) |
|