Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/delay.h>
#include <asm/bootinfo.h>
#include <asm/lasat/lasat.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/string.h>
#include "picvue.h"
Go to the source code of this file.
Macros | |
#define | PVC_BUSY 0x80 |
#define | PVC_NLINES 2 |
#define | PVC_DISPMEM 80 |
#define | PVC_LINELEN PVC_DISPMEM / PVC_NLINES |
#define | TIMEOUT 1000 |
#define | MODE_INST 0 |
#define | MODE_DATA 1 |
#define | BM_SIZE 8 |
#define | MAX_PROGRAMMABLE_CHARS 8 |
#define | FUNC_SET_CMD 0x20 |
#define | EIGHT_BYTE (1 << 4) |
#define | FOUR_BYTE 0 |
#define | TWO_LINES (1 << 3) |
#define | ONE_LINE 0 |
#define | LARGE_FONT (1 << 2) |
#define | SMALL_FONT 0 |
#define | ENTRYMODE_CMD 0x4 |
#define | AUTO_INC (1 << 1) |
#define | AUTO_DEC 0 |
#define | CURSOR_FOLLOWS_DISP (1 << 0) |
#define | DISP_CNT_CMD 0x08 |
#define | DISP_OFF 0 |
#define | DISP_ON (1 << 2) |
#define | CUR_ON (1 << 1) |
#define | CUR_BLINK (1 << 0) |
#define | MOVE_CMD 0x10 |
#define | DISPLAY (1 << 3) |
#define | CURSOR 0 |
#define | RIGHT (1 << 2) |
#define | LEFT 0 |
#define | CLEAR_CMD 0x1 |
#define | HOME_CMD 0x2 |
Functions | |
void | pvc_write_string (const unsigned char *str, u8 addr, int line) |
void | pvc_write_string_centered (const unsigned char *str, int line) |
void | pvc_dump_string (const unsigned char *str) |
int | pvc_program_cg (int charnum, u8 bitmap[BM_SIZE]) |
void | pvc_dispcnt (u8 cmd) |
void | pvc_move (u8 cmd) |
void | pvc_clear (void) |
void | pvc_home (void) |
int | pvc_init (void) |
module_init (pvc_init) | |
MODULE_LICENSE ("GPL") | |
Variables | |
struct pvc_defs * | picvue |
#define PVC_LINELEN PVC_DISPMEM / PVC_NLINES |
module_init | ( | pvc_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |