Lines Matching refs:ibmvfc_host

131 static void ibmvfc_npiv_login(struct ibmvfc_host *);
135 static void ibmvfc_npiv_logout(struct ibmvfc_host *);
149 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start()
183 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_end()
481 static int ibmvfc_set_host_state(struct ibmvfc_host *vhost, in ibmvfc_set_host_state()
504 static void ibmvfc_set_host_action(struct ibmvfc_host *vhost, in ibmvfc_set_host_action()
565 static void ibmvfc_reinit_host(struct ibmvfc_host *vhost) in ibmvfc_reinit_host()
598 static void ibmvfc_link_down(struct ibmvfc_host *vhost, in ibmvfc_link_down()
621 static void ibmvfc_init_host(struct ibmvfc_host *vhost) in ibmvfc_init_host()
661 static int ibmvfc_send_crq(struct ibmvfc_host *vhost, u64 word1, u64 word2) in ibmvfc_send_crq()
674 static int ibmvfc_send_crq_init(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init()
687 static int ibmvfc_send_crq_init_complete(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init_complete()
700 static void ibmvfc_release_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_release_crq_queue()
728 static int ibmvfc_reenable_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_reenable_crq_queue()
753 static int ibmvfc_reset_crq(struct ibmvfc_host *vhost) in ibmvfc_reset_crq()
815 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_free_event()
875 static void ibmvfc_purge_requests(struct ibmvfc_host *vhost, int error_code) in ibmvfc_purge_requests()
888 static void ibmvfc_hard_reset_host(struct ibmvfc_host *vhost) in ibmvfc_hard_reset_host()
899 static void __ibmvfc_reset_host(struct ibmvfc_host *vhost) in __ibmvfc_reset_host()
915 static void ibmvfc_reset_host(struct ibmvfc_host *vhost) in ibmvfc_reset_host()
931 static int ibmvfc_retry_host_init(struct ibmvfc_host *vhost) in ibmvfc_retry_host_init()
963 struct ibmvfc_host *vhost = shost_priv(shost); in __ibmvfc_get_target()
1002 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_speed()
1046 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_port_state()
1155 static int ibmvfc_wait_while_resetting(struct ibmvfc_host *vhost) in ibmvfc_wait_while_resetting()
1176 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_issue_fc_host_lip()
1189 static void ibmvfc_gather_partition_info(struct ibmvfc_host *vhost) in ibmvfc_gather_partition_info()
1215 static void ibmvfc_set_login_info(struct ibmvfc_host *vhost) in ibmvfc_set_login_info()
1253 static int ibmvfc_init_event_pool(struct ibmvfc_host *vhost) in ibmvfc_init_event_pool()
1293 static void ibmvfc_free_event_pool(struct ibmvfc_host *vhost) in ibmvfc_free_event_pool()
1321 static struct ibmvfc_event *ibmvfc_get_event(struct ibmvfc_host *vhost) in ibmvfc_get_event()
1385 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_map_sg_data()
1444 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_timeout()
1458 struct ibmvfc_host *vhost, unsigned long timeout) in ibmvfc_send_event()
1523 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_log_error()
1555 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_relogin()
1631 static inline int ibmvfc_host_chkready(struct ibmvfc_host *vhost) in ibmvfc_host_chkready()
1665 struct ibmvfc_host *vhost = shost_priv(cmnd->device->host); in ibmvfc_queuecommand_lck()
1740 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_bsg_timeout_done()
1756 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job)); in ibmvfc_bsg_timeout()
1807 static int ibmvfc_bsg_plogi(struct ibmvfc_host *vhost, unsigned int port_id) in ibmvfc_bsg_plogi()
1869 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job)); in ibmvfc_bsg_request()
2019 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_reset_device()
2143 static int ibmvfc_wait_for_ops(struct ibmvfc_host *vhost, void *device, in ibmvfc_wait_for_ops()
2202 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_cancel_all()
2334 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_abort_task_set()
2454 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_abort_handler()
2487 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_device_reset_handler()
2544 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_target_reset_handler()
2578 struct ibmvfc_host *vhost = shost_priv(cmd->device->host); in ibmvfc_eh_host_reset_handler()
2596 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_terminate_rport_io()
2708 struct ibmvfc_host *vhost) in ibmvfc_handle_async()
2797 static void ibmvfc_handle_crq(struct ibmvfc_crq *crq, struct ibmvfc_host *vhost) in ibmvfc_handle_crq()
2888 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_scan_finished()
2918 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_slave_alloc()
2943 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_target_alloc()
2997 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_partition_name()
3007 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_device_name()
3017 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_loc_code()
3027 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_drc_name()
3037 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_npiv_version()
3045 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_capabilities()
3061 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_log_level()
3084 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_store_log_level()
3121 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_read_trace()
3191 static struct ibmvfc_async_crq *ibmvfc_next_async_crq(struct ibmvfc_host *vhost) in ibmvfc_next_async_crq()
3214 static struct ibmvfc_crq *ibmvfc_next_crq(struct ibmvfc_host *vhost) in ibmvfc_next_crq()
3240 struct ibmvfc_host *vhost = (struct ibmvfc_host *)dev_instance; in ibmvfc_interrupt()
3259 struct ibmvfc_host *vhost = data; in ibmvfc_tasklet()
3376 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_prli_done()
3445 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_prli()
3488 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_plogi_done()
3546 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_plogi()
3582 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_implicit_logout_done()
3620 struct ibmvfc_host *vhost = tgt->vhost; in __ibmvfc_tgt_get_implicit_logout_evt()
3643 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_implicit_logout()
3670 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_implicit_logout_and_del_done()
3701 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_implicit_logout_and_del()
3733 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_move_login_done()
3781 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_move_login()
3841 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_done()
3916 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_cancel_done()
3937 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_adisc_timeout()
3993 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_adisc()
4043 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_query_target_done()
4096 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_query_target()
4131 static int ibmvfc_alloc_target(struct ibmvfc_host *vhost, in ibmvfc_alloc_target()
4216 static int ibmvfc_alloc_targets(struct ibmvfc_host *vhost) in ibmvfc_alloc_targets()
4233 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_discover_targets_done()
4267 static void ibmvfc_discover_targets(struct ibmvfc_host *vhost) in ibmvfc_discover_targets()
4297 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_login_done()
4380 static void ibmvfc_npiv_login(struct ibmvfc_host *vhost) in ibmvfc_npiv_login()
4413 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_logout_done()
4443 static void ibmvfc_npiv_logout(struct ibmvfc_host *vhost) in ibmvfc_npiv_logout()
4472 static int ibmvfc_dev_init_to_do(struct ibmvfc_host *vhost) in ibmvfc_dev_init_to_do()
4492 static int ibmvfc_dev_logo_to_do(struct ibmvfc_host *vhost) in ibmvfc_dev_logo_to_do()
4511 static int __ibmvfc_work_to_do(struct ibmvfc_host *vhost) in __ibmvfc_work_to_do()
4564 static int ibmvfc_work_to_do(struct ibmvfc_host *vhost) in ibmvfc_work_to_do()
4581 static void ibmvfc_log_ae(struct ibmvfc_host *vhost, int events) in ibmvfc_log_ae()
4600 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_add_rport()
4653 static void ibmvfc_do_work(struct ibmvfc_host *vhost) in ibmvfc_do_work()
4841 struct ibmvfc_host *vhost = data; in ibmvfc_work()
4872 static int ibmvfc_init_crq(struct ibmvfc_host *vhost) in ibmvfc_init_crq()
4943 static void ibmvfc_free_mem(struct ibmvfc_host *vhost) in ibmvfc_free_mem()
4968 static int ibmvfc_alloc_mem(struct ibmvfc_host *vhost) in ibmvfc_alloc_mem()
5060 struct ibmvfc_host *vhost = container_of(work, struct ibmvfc_host, in ibmvfc_rport_add_thread()
5115 struct ibmvfc_host *vhost; in ibmvfc_probe()
5222 struct ibmvfc_host *vhost = dev_get_drvdata(&vdev->dev); in ibmvfc_remove()
5263 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_resume()