Lines Matching defs:disk
259 static inline int status_reg(struct pd_unit *disk) in status_reg()
264 static inline int read_reg(struct pd_unit *disk, int reg) in read_reg()
269 static inline void write_status(struct pd_unit *disk, int val) in write_status()
274 static inline void write_reg(struct pd_unit *disk, int reg, int val) in write_reg()
279 static inline u8 DRIVE(struct pd_unit *disk) in DRIVE()
286 static void pd_print_error(struct pd_unit *disk, char *msg, int status) in pd_print_error()
297 static void pd_reset(struct pd_unit *disk) in pd_reset()
307 static int pd_wait_for(struct pd_unit *disk, int w, char *msg) in pd_wait_for()
327 static void pd_send_command(struct pd_unit *disk, int n, int s, int h, int c0, int c1, int func) in pd_send_command()
340 static void pd_ide_command(struct pd_unit *disk, int func, int block, int count) in pd_ide_command()
399 struct gendisk *disk; in set_next_request() local
409 struct pd_unit *disk = q->queuedata; in set_next_request() local
637 static void pd_init_dev_parms(struct pd_unit *disk) in pd_init_dev_parms()
646 static enum action pd_door_lock(struct pd_unit *disk) in pd_door_lock()
655 static enum action pd_door_unlock(struct pd_unit *disk) in pd_door_unlock()
664 static enum action pd_eject(struct pd_unit *disk) in pd_eject()
675 static enum action pd_media_check(struct pd_unit *disk) in pd_media_check()
693 static void pd_standby_off(struct pd_unit *disk) in pd_standby_off()
700 static enum action pd_identify(struct pd_unit *disk) in pd_identify()
760 struct pd_unit *disk = hctx->queue->queuedata; in pd_queue_rq() local
774 static int pd_special_command(struct pd_unit *disk, in pd_special_command()
775 enum action (*func)(struct pd_unit *disk)) in pd_special_command()
795 struct pd_unit *disk = bdev->bd_disk->private_data; in pd_open() local
810 struct pd_unit *disk = bdev->bd_disk->private_data; in pd_getgeo() local
828 struct pd_unit *disk = bdev->bd_disk->private_data; in pd_ioctl() local
844 struct pd_unit *disk = p->private_data; in pd_release() local
854 struct pd_unit *disk = p->private_data; in pd_check_events() local
880 static int pd_probe_drive(struct pd_unit *disk, int autoprobe, int port, in pd_probe_drive()
962 struct pd_unit *disk; in pd_init() local
1015 struct pd_unit *disk; in pd_exit() local