Lines Matching refs:pf_unit
231 struct pf_unit { struct
246 static struct pf_unit units[PF_UNITS]; argument
248 static int pf_identify(struct pf_unit *pf);
249 static void pf_lock(struct pf_unit *pf, int func);
250 static void pf_eject(struct pf_unit *pf);
267 static struct pf_unit *pf_current;/* unit of current request */
290 struct pf_unit *pf; in pf_init_units()
331 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_open()
356 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_getgeo()
374 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_ioctl()
390 struct pf_unit *pf = disk->private_data; in pf_release()
412 static inline int status_reg(struct pf_unit *pf) in status_reg()
417 static inline int read_reg(struct pf_unit *pf, int reg) in read_reg()
422 static inline void write_reg(struct pf_unit *pf, int reg, int val) in write_reg()
427 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait()
451 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command()
482 static int pf_completion(struct pf_unit *pf, char *buf, char *fun) in pf_completion()
502 static void pf_req_sense(struct pf_unit *pf, int quiet) in pf_req_sense()
519 static int pf_atapi(struct pf_unit *pf, char *cmd, int dlen, char *buf, char *fun) in pf_atapi()
533 static void pf_lock(struct pf_unit *pf, int func) in pf_lock()
540 static void pf_eject(struct pf_unit *pf) in pf_eject()
560 static int pf_reset(struct pf_unit *pf) in pf_reset()
592 static void pf_mode_sense(struct pf_unit *pf) in pf_mode_sense()
628 static void pf_get_capacity(struct pf_unit *pf) in pf_get_capacity()
649 static int pf_identify(struct pf_unit *pf) in pf_identify()
699 static int pf_probe(struct pf_unit *pf) in pf_probe()
725 struct pf_unit *pf = units; in pf_detect()
780 static int pf_start(struct pf_unit *pf, int cmd, int b, int c) in pf_start()
809 struct pf_unit *pf; in set_next_request()
875 struct pf_unit *pf = hctx->queue->queuedata; in pf_queue_rq()
1023 struct pf_unit *pf; in pf_init()
1059 struct pf_unit *pf; in pf_exit()