Lines Matching defs:device
94 struct dasd_device *device; in dasd_alloc_device() local
138 void dasd_free_device(struct dasd_device *device) in dasd_free_device()
187 static int dasd_state_new_to_known(struct dasd_device *device) in dasd_state_new_to_known()
211 static int dasd_state_known_to_new(struct dasd_device *device) in dasd_state_known_to_new()
241 static int dasd_state_known_to_basic(struct dasd_device *device) in dasd_state_known_to_basic()
279 static int dasd_state_basic_to_known(struct dasd_device *device) in dasd_state_basic_to_known()
325 static int dasd_state_basic_to_ready(struct dasd_device *device) in dasd_state_basic_to_ready()
366 int _wait_for_empty_queues(struct dasd_device *device) in _wait_for_empty_queues()
380 static int dasd_state_ready_to_basic(struct dasd_device *device) in dasd_state_ready_to_basic()
404 static int dasd_state_unfmt_to_basic(struct dasd_device *device) in dasd_state_unfmt_to_basic()
416 dasd_state_ready_to_online(struct dasd_device * device) in dasd_state_ready_to_online()
442 static int dasd_state_online_to_ready(struct dasd_device *device) in dasd_state_online_to_ready()
469 static int dasd_increase_state(struct dasd_device *device) in dasd_increase_state()
504 static int dasd_decrease_state(struct dasd_device *device) in dasd_decrease_state()
539 static void dasd_change_state(struct dasd_device *device) in dasd_change_state()
570 struct dasd_device *device = container_of(work, struct dasd_device, kick_work); in do_kick_device() local
578 void dasd_kick_device(struct dasd_device *device) in dasd_kick_device()
593 struct dasd_device *device = container_of(work, struct dasd_device, in do_reload_device() local
599 void dasd_reload_device(struct dasd_device *device) in dasd_reload_device()
614 struct dasd_device *device = container_of(work, struct dasd_device, in do_restore_device() local
620 void dasd_restore_device(struct dasd_device *device) in dasd_restore_device()
631 void dasd_set_target_state(struct dasd_device *device, int target) in dasd_set_target_state()
653 static inline int _wait_for_device(struct dasd_device *device) in _wait_for_device()
658 void dasd_enable_device(struct dasd_device *device) in dasd_enable_device()
694 struct dasd_device *device; in dasd_profile_start() local
804 struct dasd_device *device; in dasd_profile_end() local
1153 struct dasd_device *device; in dasd_hosts_show() local
1168 struct dasd_device *device = inode->i_private; in dasd_hosts_open() local
1181 static void dasd_hosts_exit(struct dasd_device *device) in dasd_hosts_exit()
1188 struct dasd_device *device) in dasd_hosts_init()
1212 struct dasd_device *device) in dasd_kmalloc_request()
1250 struct dasd_device *device) in dasd_smalloc_request()
1293 void dasd_kfree_request(struct dasd_ccw_req *cqr, struct dasd_device *device) in dasd_kfree_request()
1309 void dasd_sfree_request(struct dasd_ccw_req *cqr, struct dasd_device *device) in dasd_sfree_request()
1325 struct dasd_device *device; in dasd_check_cqr() local
1349 struct dasd_device *device; in dasd_term_IO() local
1418 struct dasd_device *device; in dasd_start_IO() local
1542 struct dasd_device *device; in dasd_device_timeout() local
1555 void dasd_device_set_timer(struct dasd_device *device, int expires) in dasd_device_set_timer()
1567 void dasd_device_clear_timer(struct dasd_device *device) in dasd_device_clear_timer()
1577 struct dasd_device *device; in dasd_handle_killed_request() local
1614 void dasd_generic_handle_state_change(struct dasd_device *device) in dasd_generic_handle_state_change()
1633 struct dasd_device *device; in dasd_int_handler() local
1788 struct dasd_device *device; in dasd_generic_uc_handler() local
1813 static void __dasd_device_recovery(struct dasd_device *device, in __dasd_device_recovery()
1838 static void __dasd_device_process_ccw_queue(struct dasd_device *device, in __dasd_device_process_ccw_queue()
1865 static void __dasd_device_process_final_queue(struct dasd_device *device, in __dasd_device_process_final_queue()
1912 static void __dasd_device_check_expire(struct dasd_device *device) in __dasd_device_check_expire()
1948 static int __dasd_device_is_unusable(struct dasd_device *device, in __dasd_device_is_unusable()
1980 static void __dasd_device_start_head(struct dasd_device *device) in __dasd_device_start_head()
2008 static void __dasd_device_check_path_events(struct dasd_device *device) in __dasd_device_check_path_events()
2035 int dasd_flush_device_queue(struct dasd_device *device) in dasd_flush_device_queue()
2089 static void dasd_device_tasklet(struct dasd_device *device) in dasd_device_tasklet()
2116 void dasd_schedule_device_bh(struct dasd_device *device) in dasd_schedule_device_bh()
2126 void dasd_device_set_stop_bits(struct dasd_device *device, int bits) in dasd_device_set_stop_bits()
2132 void dasd_device_remove_stop_bits(struct dasd_device *device, int bits) in dasd_device_remove_stop_bits()
2146 struct dasd_device *device; in dasd_add_request_head() local
2165 struct dasd_device *device; in dasd_add_request_tail() local
2192 struct dasd_device *device; in _wait_for_wakeup() local
2207 struct dasd_device *device; in __dasd_sleep_on_erp() local
2246 struct dasd_device *device; in _dasd_sleep_on() local
2350 struct dasd_device *device; in _dasd_sleep_on_queue() local
2466 static inline int _dasd_term_running_cqr(struct dasd_device *device) in _dasd_term_running_cqr()
2487 struct dasd_device *device; in dasd_sleep_on_immediatly() local
2546 struct dasd_device *device = cqr->startdev; in dasd_cancel_req() local
2625 static void __dasd_process_erp(struct dasd_device *device, in __dasd_process_erp()
3049 struct dasd_device *device; in dasd_times_out() local
3313 int dasd_device_is_ro(struct dasd_device *device) in dasd_device_is_ro()
3377 void dasd_generic_free_discipline(struct dasd_device *device) in dasd_generic_free_discipline()
3399 struct dasd_device *device; in dasd_generic_remove() local
3445 struct dasd_device *device; in dasd_generic_set_online() local
3524 struct dasd_device *device; in dasd_generic_set_offline() local
3624 int dasd_generic_last_path_gone(struct dasd_device *device) in dasd_generic_last_path_gone()
3650 int dasd_generic_path_operational(struct dasd_device *device) in dasd_generic_path_operational()
3674 struct dasd_device *device; in dasd_generic_notify() local
3705 struct dasd_device *device; in dasd_generic_path_event() local
3756 int dasd_generic_verify_path(struct dasd_device *device, __u8 lpm) in dasd_generic_verify_path()
3770 struct dasd_device *device = dasd_device_from_cdev(cdev); in dasd_generic_pm_freeze() local
3854 struct dasd_device *device = dasd_device_from_cdev(cdev); in dasd_generic_restore_device() local
3888 static struct dasd_ccw_req *dasd_generic_build_rdc(struct dasd_device *device, in dasd_generic_build_rdc()
3930 int dasd_generic_read_dev_chars(struct dasd_device *device, int magic, in dasd_generic_read_dev_chars()
3983 struct dasd_device *device; in dasd_generic_shutdown() local