Lines Matching defs:pf_unit
231 struct pf_unit {
246 static struct pf_unit units[PF_UNITS];
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;
331 struct pf_unit *pf = bdev->bd_disk->private_data;
356 struct pf_unit *pf = bdev->bd_disk->private_data;
374 struct pf_unit *pf = bdev->bd_disk->private_data;
390 struct pf_unit *pf = disk->private_data;
412 static inline int status_reg(struct pf_unit *pf)
417 static inline int read_reg(struct pf_unit *pf, int reg)
422 static inline void write_reg(struct pf_unit *pf, int reg, int val)
427 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg)
451 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun)
482 static int pf_completion(struct pf_unit *pf, char *buf, char *fun)
502 static void pf_req_sense(struct pf_unit *pf, int quiet)
519 static int pf_atapi(struct pf_unit *pf, char *cmd, int dlen, char *buf, char *fun)
533 static void pf_lock(struct pf_unit *pf, int func)
540 static void pf_eject(struct pf_unit *pf)
560 static int pf_reset(struct pf_unit *pf)
592 static void pf_mode_sense(struct pf_unit *pf)
628 static void pf_get_capacity(struct pf_unit *pf)
649 static int pf_identify(struct pf_unit *pf)
699 static int pf_probe(struct pf_unit *pf)
725 struct pf_unit *pf = units;
780 static int pf_start(struct pf_unit *pf, int cmd, int b, int c)
809 struct pf_unit *pf;
875 struct pf_unit *pf = hctx->queue->queuedata;
1023 struct pf_unit *pf;
1059 struct pf_unit *pf;