Lines Matching full:pg

2 	pg.c    (c) 1998  Grant R. Guenther <grant@torque.net>
5 The pg driver provides a simple character device interface for
46 The behaviour of the pg driver can be altered by setting
95 (default "pg").
107 pg.drive0
108 pg.drive1
109 pg.drive2
110 pg.drive3
112 In addition, you can use the parameter pg.disable to disable
126 #define PG_NAME "pg"
163 #include <linux/pg.h>
208 struct pg { struct
223 static struct pg devices[PG_UNITS]; argument
225 static int pg_identify(struct pg *dev, int log);
250 struct pg *dev = &devices[unit]; in pg_init_units()
263 static inline int status_reg(struct pg *dev) in status_reg()
268 static inline int read_reg(struct pg *dev, int reg) in read_reg()
273 static inline void write_reg(struct pg *dev, int reg, int val) in write_reg()
278 static inline u8 DRIVE(struct pg *dev) in DRIVE()
288 static int pg_wait(struct pg *dev, int go, int stop, unsigned long tmo, char *msg) in pg_wait()
320 static int pg_command(struct pg *dev, char *cmd, int dlen, unsigned long tmo) in pg_command()
357 static int pg_completion(struct pg *dev, char *buf, unsigned long tmo) in pg_completion()
388 static int pg_reset(struct pg *dev) in pg_reset()
437 static int pg_identify(struct pg *dev, int log) in pg_identify()
465 static int pg_probe(struct pg *dev) in pg_probe()
480 struct pg *dev = &devices[0]; in pg_detect()
529 struct pg *dev = &devices[unit]; in pg_open()
567 struct pg *dev = file->private_data; in pg_release()
578 struct pg *dev = filp->private_data; in pg_write()
626 struct pg *dev = filp->private_data; in pg_read()
686 struct pg *dev = &devices[unit]; in pg_init()
693 pg_class = class_create(THIS_MODULE, "pg"); in pg_init()
699 struct pg *dev = &devices[unit]; in pg_init()
702 "pg%u", unit); in pg_init()
708 unregister_chrdev(major, "pg"); in pg_init()
718 struct pg *dev = &devices[unit]; in pg_exit()
726 struct pg *dev = &devices[unit]; in pg_exit()