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 */
281 struct pf_unit *pf; in pf_init_units()
306 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_open()
331 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_getgeo()
349 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_ioctl()
365 struct pf_unit *pf = disk->private_data; in pf_release()
387 static inline int status_reg(struct pf_unit *pf) in status_reg()
392 static inline int read_reg(struct pf_unit *pf, int reg) in read_reg()
397 static inline void write_reg(struct pf_unit *pf, int reg, int val) in write_reg()
402 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait()
426 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command()
457 static int pf_completion(struct pf_unit *pf, char *buf, char *fun) in pf_completion()
477 static void pf_req_sense(struct pf_unit *pf, int quiet) in pf_req_sense()
494 static int pf_atapi(struct pf_unit *pf, char *cmd, int dlen, char *buf, char *fun) in pf_atapi()
508 static void pf_lock(struct pf_unit *pf, int func) in pf_lock()
515 static void pf_eject(struct pf_unit *pf) in pf_eject()
535 static int pf_reset(struct pf_unit *pf) in pf_reset()
567 static void pf_mode_sense(struct pf_unit *pf) in pf_mode_sense()
603 static void pf_get_capacity(struct pf_unit *pf) in pf_get_capacity()
624 static int pf_identify(struct pf_unit *pf) in pf_identify()
674 static int pf_probe(struct pf_unit *pf) in pf_probe()
700 struct pf_unit *pf = units; in pf_detect()
743 static int pf_start(struct pf_unit *pf, int cmd, int b, int c) in pf_start()
951 struct pf_unit *pf; in pf_init()
992 struct pf_unit *pf; in pf_exit()