Lines Matching defs:dev
250 struct pg *dev = &devices[unit]; in pg_init_units() local
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() local
529 struct pg *dev = &devices[unit]; in pg_open() local
567 struct pg *dev = file->private_data; in pg_release() local
578 struct pg *dev = filp->private_data; in pg_write() local
626 struct pg *dev = filp->private_data; in pg_read() local
686 struct pg *dev = &devices[unit]; in pg_init() local
699 struct pg *dev = &devices[unit]; in pg_init() local
718 struct pg *dev = &devices[unit]; in pg_exit() local
726 struct pg *dev = &devices[unit]; in pg_exit() local