|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.h>#include <linux/errno.h>#include <linux/string.h>#include <linux/mm.h>#include <linux/slab.h>#include <linux/delay.h>#include <linux/fb.h>#include <linux/init.h>#include <linux/pci.h>#include <linux/console.h>#include <linux/backlight.h>#include "nv_local.h"#include "nv_type.h"#include "nv_proto.h"#include "nv_dma.h"Go to the source code of this file.
Macros | |
| #define | NVTRACE if (0) printk |
| #define | NVTRACE_ENTER(...) NVTRACE("%s START\n", __func__) |
| #define | NVTRACE_LEAVE(...) NVTRACE("%s END\n", __func__) |
| #define | assert(expr) |
| #define | PFX "nvidiafb: " |
| #define | MAX_CURS 32 |
| #define | save_vga_x86(x) do {} while (0) |
| #define | restore_vga_x86(x) do {} while (0) |
| #define | nvidiafb_suspend NULL |
| #define | nvidiafb_resume NULL |
Functions | |
| MODULE_DEVICE_TABLE (pci, nvidiafb_pci_tbl) | |
| module_init (nvidiafb_init) | |
| module_exit (nvidiafb_exit) | |
| module_param (flatpanel, int, 0) | |
| MODULE_PARM_DESC (flatpanel,"Enables experimental flat panel support for some chipsets. ""(0=disabled, 1=enabled, -1=autodetect) (default=-1)") | |
| module_param (fpdither, int, 0) | |
| MODULE_PARM_DESC (fpdither,"Enables dithering of flat panel for 6 bits panels. ""(0=disabled, 1=enabled, -1=autodetect) (default=-1)") | |
| module_param (hwcur, int, 0) | |
| MODULE_PARM_DESC (hwcur,"Enables hardware cursor implementation. (0 or 1=enabled) ""(default=0)") | |
| module_param (noaccel, int, 0) | |
| MODULE_PARM_DESC (noaccel,"Disables hardware acceleration. (0 or 1=disable) ""(default=0)") | |
| module_param (noscale, int, 0) | |
| MODULE_PARM_DESC (noscale,"Disables screen scaleing. (0 or 1=disable) ""(default=0, do scaling)") | |
| module_param (paneltweak, int, 0) | |
| MODULE_PARM_DESC (paneltweak,"Tweak display settings for flatpanels. ""(default=0, no tweaks)") | |
| module_param (forceCRTC, int, 0) | |
| MODULE_PARM_DESC (forceCRTC,"Forces usage of a particular CRTC in case autodetection ""fails. (0 or 1) (default=autodetect)") | |
| module_param (vram, int, 0) | |
| MODULE_PARM_DESC (vram,"amount of framebuffer memory to remap in MiB""(default=0 - remap entire memory)") | |
| module_param (mode_option, charp, 0) | |
| MODULE_PARM_DESC (mode_option,"Specify initial video mode") | |
| module_param (bpp, int, 0) | |
| MODULE_PARM_DESC (bpp,"pixel width in bits""(default=8)") | |
| module_param (reverse_i2c, int, 0) | |
| MODULE_PARM_DESC (reverse_i2c,"reverse port assignment of the i2c bus") | |
| MODULE_AUTHOR ("Antonino Daplas") | |
| MODULE_DESCRIPTION ("Framebuffer driver for nVidia graphics chipset") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR | ( | "Antonino Daplas" | ) |
| MODULE_DEVICE_TABLE | ( | pci | , |
| nvidiafb_pci_tbl | |||
| ) |
| module_exit | ( | nvidiafb_exit | ) |
| module_init | ( | nvidiafb_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | flatpanel | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | fpdither | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | hwcur | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | noaccel | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | noscale | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | paneltweak | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | forceCRTC | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | vram | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | mode_option | , |
| charp | , | ||
| 0 | |||
| ) |
| module_param | ( | reverse_i2c | , |
| int | , | ||
| 0 | |||
| ) |
| MODULE_PARM_DESC | ( | flatpanel | , |
| "Enables experimental flat panel support for some chipsets. ""(0=disabled, 1=enabled, -1=autodetect) (default=-1)" | |||
| ) |
| MODULE_PARM_DESC | ( | fpdither | , |
| "Enables dithering of flat panel for 6 bits panels. ""(0=disabled, 1=enabled, -1=autodetect) (default=-1)" | |||
| ) |
| MODULE_PARM_DESC | ( | hwcur | , |
| "Enables hardware cursor implementation. (0 or 1=enabled) ""(default=0)" | |||
| ) |
| MODULE_PARM_DESC | ( | noscale | , |
| "Disables screen scaleing. (0 or 1=disable) ""(default=0, do scaling)" | |||
| ) |
| MODULE_PARM_DESC | ( | forceCRTC | , |
| "Forces usage of a particular CRTC in case autodetection ""fails. (0 or 1) (default=autodetect)" | |||
| ) |
| MODULE_PARM_DESC | ( | vram | , |
| "amount of framebuffer memory to remap in MiB""(default=0 - remap entire memory)" | |||
| ) |
| MODULE_PARM_DESC | ( | mode_option | , |
| "Specify initial video mode" | |||
| ) |
1.8.2