Lines Matching refs:pg
208 struct pg { struct
223 static struct pg devices[PG_UNITS]; argument
225 static int pg_identify(struct pg *dev, int log);
249 struct pg *dev = &devices[unit]; in pg_init_units()
262 static inline int status_reg(struct pg *dev) in status_reg()
267 static inline int read_reg(struct pg *dev, int reg) in read_reg()
272 static inline void write_reg(struct pg *dev, int reg, int val) in write_reg()
277 static inline u8 DRIVE(struct pg *dev) in DRIVE()
287 static int pg_wait(struct pg *dev, int go, int stop, unsigned long tmo, char *msg) in pg_wait()
319 static int pg_command(struct pg *dev, char *cmd, int dlen, unsigned long tmo) in pg_command()
356 static int pg_completion(struct pg *dev, char *buf, unsigned long tmo) in pg_completion()
387 static int pg_reset(struct pg *dev) in pg_reset()
436 static int pg_identify(struct pg *dev, int log) in pg_identify()
464 static int pg_probe(struct pg *dev) in pg_probe()
479 struct pg *dev = &devices[0]; in pg_detect()
521 struct pg *dev = &devices[unit]; in pg_open()
559 struct pg *dev = file->private_data; in pg_release()
570 struct pg *dev = filp->private_data; in pg_write()
618 struct pg *dev = filp->private_data; in pg_read()
678 struct pg *dev = &devices[unit]; in pg_init()
691 struct pg *dev = &devices[unit]; in pg_init()
710 struct pg *dev = &devices[unit]; in pg_exit()
718 struct pg *dev = &devices[unit]; in pg_exit()