Lines Matching refs:pf_unit
230 struct pf_unit { struct
243 static struct pf_unit units[PF_UNITS]; argument
245 static int pf_identify(struct pf_unit *pf);
246 static void pf_lock(struct pf_unit *pf, int func);
247 static void pf_eject(struct pf_unit *pf);
264 static struct pf_unit *pf_current;/* unit of current request */
282 struct pf_unit *pf; in pf_init_units()
307 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_open()
332 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_getgeo()
350 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_ioctl()
366 struct pf_unit *pf = disk->private_data; in pf_release()
388 static inline int status_reg(struct pf_unit *pf) in status_reg()
393 static inline int read_reg(struct pf_unit *pf, int reg) in read_reg()
398 static inline void write_reg(struct pf_unit *pf, int reg, int val) in write_reg()
403 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait()
427 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command()
458 static int pf_completion(struct pf_unit *pf, char *buf, char *fun) in pf_completion()
478 static void pf_req_sense(struct pf_unit *pf, int quiet) in pf_req_sense()
495 static int pf_atapi(struct pf_unit *pf, char *cmd, int dlen, char *buf, char *fun) in pf_atapi()
509 static void pf_lock(struct pf_unit *pf, int func) in pf_lock()
516 static void pf_eject(struct pf_unit *pf) in pf_eject()
536 static int pf_reset(struct pf_unit *pf) in pf_reset()
568 static void pf_mode_sense(struct pf_unit *pf) in pf_mode_sense()
604 static void pf_get_capacity(struct pf_unit *pf) in pf_get_capacity()
625 static int pf_identify(struct pf_unit *pf) in pf_identify()
675 static int pf_probe(struct pf_unit *pf) in pf_probe()
701 struct pf_unit *pf = units; in pf_detect()
750 static int pf_start(struct pf_unit *pf, int cmd, int b, int c) in pf_start()
958 struct pf_unit *pf; in pf_init()
999 struct pf_unit *pf; in pf_exit()