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()
314 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_open()
339 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_getgeo()
357 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_ioctl()
373 struct pf_unit *pf = disk->private_data; in pf_release()
395 static inline int status_reg(struct pf_unit *pf) in status_reg()
400 static inline int read_reg(struct pf_unit *pf, int reg) in read_reg()
405 static inline void write_reg(struct pf_unit *pf, int reg, int val) in write_reg()
410 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait()
434 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command()
465 static int pf_completion(struct pf_unit *pf, char *buf, char *fun) in pf_completion()
485 static void pf_req_sense(struct pf_unit *pf, int quiet) in pf_req_sense()
502 static int pf_atapi(struct pf_unit *pf, char *cmd, int dlen, char *buf, char *fun) in pf_atapi()
516 static void pf_lock(struct pf_unit *pf, int func) in pf_lock()
523 static void pf_eject(struct pf_unit *pf) in pf_eject()
543 static int pf_reset(struct pf_unit *pf) in pf_reset()
575 static void pf_mode_sense(struct pf_unit *pf) in pf_mode_sense()
611 static void pf_get_capacity(struct pf_unit *pf) in pf_get_capacity()
632 static int pf_identify(struct pf_unit *pf) in pf_identify()
682 static int pf_probe(struct pf_unit *pf) in pf_probe()
708 struct pf_unit *pf = units; in pf_detect()
757 static int pf_start(struct pf_unit *pf, int cmd, int b, int c) in pf_start()
786 struct pf_unit *pf; in set_next_request()
988 struct pf_unit *pf; in pf_init()
1019 struct pf_unit *pf; in pf_exit()