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
635 static void pd_init_dev_parms(struct pd_unit *disk) in pd_init_dev_parms()
644 static enum action pd_door_lock(struct pd_unit *disk) in pd_door_lock()
653 static enum action pd_door_unlock(struct pd_unit *disk) in pd_door_unlock()
662 static enum action pd_eject(struct pd_unit *disk) in pd_eject()
673 static enum action pd_media_check(struct pd_unit *disk) in pd_media_check()
691 static void pd_standby_off(struct pd_unit *disk) in pd_standby_off()
698 static enum action pd_identify(struct pd_unit *disk) in pd_identify()
758 struct pd_unit *disk = hctx->queue->queuedata; in pd_queue_rq() local
772 static int pd_special_command(struct pd_unit *disk, in pd_special_command()
773 enum action (*func)(struct pd_unit *disk)) in pd_special_command()
793 struct pd_unit *disk = bdev->bd_disk->private_data; in pd_open() local
808 struct pd_unit *disk = bdev->bd_disk->private_data; in pd_getgeo() local
826 struct pd_unit *disk = bdev->bd_disk->private_data; in pd_ioctl() local
842 struct pd_unit *disk = p->private_data; in pd_release() local
852 struct pd_unit *disk = p->private_data; in pd_check_events() local
864 struct pd_unit *disk = p->private_data; in pd_revalidate() local
889 static void pd_probe_drive(struct pd_unit *disk) in pd_probe_drive()
941 struct pd_unit *disk; in pd_detect() local
945 struct pd_unit *disk = pd + unit; in pd_detect() local
1025 struct pd_unit *disk; in pd_exit() local