Lines Matching refs:pf_unit
230 struct pf_unit { struct
245 static struct pf_unit units[PF_UNITS]; argument
247 static int pf_identify(struct pf_unit *pf);
248 static void pf_lock(struct pf_unit *pf, int func);
249 static void pf_eject(struct pf_unit *pf);
266 static struct pf_unit *pf_current;/* unit of current request */
289 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_open()
314 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_getgeo()
332 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_ioctl()
348 struct pf_unit *pf = disk->private_data; in pf_release()
370 static inline int status_reg(struct pf_unit *pf) in status_reg()
375 static inline int read_reg(struct pf_unit *pf, int reg) in read_reg()
380 static inline void write_reg(struct pf_unit *pf, int reg, int val) in write_reg()
385 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait()
409 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command()
440 static int pf_completion(struct pf_unit *pf, char *buf, char *fun) in pf_completion()
460 static void pf_req_sense(struct pf_unit *pf, int quiet) in pf_req_sense()
477 static int pf_atapi(struct pf_unit *pf, char *cmd, int dlen, char *buf, char *fun) in pf_atapi()
491 static void pf_lock(struct pf_unit *pf, int func) in pf_lock()
498 static void pf_eject(struct pf_unit *pf) in pf_eject()
518 static int pf_reset(struct pf_unit *pf) in pf_reset()
550 static void pf_mode_sense(struct pf_unit *pf) in pf_mode_sense()
586 static void pf_get_capacity(struct pf_unit *pf) in pf_get_capacity()
607 static int pf_identify(struct pf_unit *pf) in pf_identify()
657 static int pf_probe(struct pf_unit *pf) in pf_probe()
683 static int pf_start(struct pf_unit *pf, int cmd, int b, int c) in pf_start()
712 struct pf_unit *pf; in set_next_request()
778 struct pf_unit *pf = hctx->queue->queuedata; in pf_queue_rq()
924 static int __init pf_init_unit(struct pf_unit *pf, bool autoprobe, int port, in pf_init_unit()
986 struct pf_unit *pf; in pf_init()
1040 struct pf_unit *pf; in pf_exit()