2 * Picvue PVC160206 display driver
4 * Brian Murphy <brian.murphy@eicon.com>
7 #include <asm/semaphore.h>
18 extern struct pvc_defs
*picvue
;
21 #define PVC_DISPMEM 80
22 #define PVC_LINELEN PVC_DISPMEM / PVC_NLINES
23 #define PVC_VISIBLE_CHARS 16
25 void pvc_write_string(const unsigned char *str
, u8 addr
, int line
);
26 void pvc_write_string_centered(const unsigned char *str
, int line
);
27 void pvc_dump_string(const unsigned char *str
);
30 #define MAX_PROGRAMMABLE_CHARS 8
31 int pvc_program_cg(int charnum
, u8 bitmap
[BM_SIZE
]);
33 void pvc_dispcnt(u8 cmd
);
35 #define DISP_ON (1 << 2)
36 #define CUR_ON (1 << 1)
37 #define CUR_BLINK (1 << 0)
39 void pvc_move(u8 cmd
);
40 #define DISPLAY (1 << 3)
42 #define RIGHT (1 << 2)
48 extern struct semaphore pvc_sem
;