Lines Matching refs:ibmvfc_host

131 static void ibmvfc_npiv_login(struct ibmvfc_host *);
135 static void ibmvfc_npiv_logout(struct ibmvfc_host *);
147 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start()
181 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_end()
442 static int ibmvfc_set_host_state(struct ibmvfc_host *vhost, in ibmvfc_set_host_state()
465 static void ibmvfc_set_host_action(struct ibmvfc_host *vhost, in ibmvfc_set_host_action()
526 static void ibmvfc_reinit_host(struct ibmvfc_host *vhost) in ibmvfc_reinit_host()
545 static void ibmvfc_link_down(struct ibmvfc_host *vhost, in ibmvfc_link_down()
568 static void ibmvfc_init_host(struct ibmvfc_host *vhost) in ibmvfc_init_host()
603 static int ibmvfc_send_crq(struct ibmvfc_host *vhost, u64 word1, u64 word2) in ibmvfc_send_crq()
616 static int ibmvfc_send_crq_init(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init()
629 static int ibmvfc_send_crq_init_complete(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init_complete()
642 static void ibmvfc_release_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_release_crq_queue()
670 static int ibmvfc_reenable_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_reenable_crq_queue()
695 static int ibmvfc_reset_crq(struct ibmvfc_host *vhost) in ibmvfc_reset_crq()
757 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_free_event()
817 static void ibmvfc_purge_requests(struct ibmvfc_host *vhost, int error_code) in ibmvfc_purge_requests()
830 static void ibmvfc_hard_reset_host(struct ibmvfc_host *vhost) in ibmvfc_hard_reset_host()
841 static void __ibmvfc_reset_host(struct ibmvfc_host *vhost) in __ibmvfc_reset_host()
857 static void ibmvfc_reset_host(struct ibmvfc_host *vhost) in ibmvfc_reset_host()
873 static int ibmvfc_retry_host_init(struct ibmvfc_host *vhost) in ibmvfc_retry_host_init()
905 struct ibmvfc_host *vhost = shost_priv(shost); in __ibmvfc_get_target()
944 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_speed()
988 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_port_state()
1097 static int ibmvfc_wait_while_resetting(struct ibmvfc_host *vhost) in ibmvfc_wait_while_resetting()
1118 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_issue_fc_host_lip()
1131 static void ibmvfc_gather_partition_info(struct ibmvfc_host *vhost) in ibmvfc_gather_partition_info()
1157 static void ibmvfc_set_login_info(struct ibmvfc_host *vhost) in ibmvfc_set_login_info()
1195 static int ibmvfc_init_event_pool(struct ibmvfc_host *vhost) in ibmvfc_init_event_pool()
1235 static void ibmvfc_free_event_pool(struct ibmvfc_host *vhost) in ibmvfc_free_event_pool()
1263 static struct ibmvfc_event *ibmvfc_get_event(struct ibmvfc_host *vhost) in ibmvfc_get_event()
1327 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_map_sg_data()
1386 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_timeout()
1400 struct ibmvfc_host *vhost, unsigned long timeout) in ibmvfc_send_event()
1465 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_log_error()
1497 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_relogin()
1573 static inline int ibmvfc_host_chkready(struct ibmvfc_host *vhost) in ibmvfc_host_chkready()
1607 struct ibmvfc_host *vhost = shost_priv(cmnd->device->host); in ibmvfc_queuecommand_lck()
1682 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_bsg_timeout_done()
1698 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job)); in ibmvfc_bsg_timeout()
1749 static int ibmvfc_bsg_plogi(struct ibmvfc_host *vhost, unsigned int port_id) in ibmvfc_bsg_plogi()
1811 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job)); in ibmvfc_bsg_request()
1961 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_reset_device()
2085 static int ibmvfc_wait_for_ops(struct ibmvfc_host *vhost, void *device, in ibmvfc_wait_for_ops()
2144 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_cancel_all()
2276 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_abort_task_set()
2396 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_abort_handler()
2429 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_device_reset_handler()
2486 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_target_reset_handler()
2520 struct ibmvfc_host *vhost = shost_priv(cmd->device->host); in ibmvfc_eh_host_reset_handler()
2538 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_terminate_rport_io()
2627 struct ibmvfc_host *vhost) in ibmvfc_handle_async()
2716 static void ibmvfc_handle_crq(struct ibmvfc_crq *crq, struct ibmvfc_host *vhost) in ibmvfc_handle_crq()
2804 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_scan_finished()
2834 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_slave_alloc()
2859 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_target_alloc()
2911 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_partition_name()
2921 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_device_name()
2931 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_loc_code()
2941 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_drc_name()
2951 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_npiv_version()
2959 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_capabilities()
2975 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_log_level()
2998 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_store_log_level()
3035 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_read_trace()
3105 static struct ibmvfc_async_crq *ibmvfc_next_async_crq(struct ibmvfc_host *vhost) in ibmvfc_next_async_crq()
3128 static struct ibmvfc_crq *ibmvfc_next_crq(struct ibmvfc_host *vhost) in ibmvfc_next_crq()
3154 struct ibmvfc_host *vhost = (struct ibmvfc_host *)dev_instance; in ibmvfc_interrupt()
3173 struct ibmvfc_host *vhost = data; in ibmvfc_tasklet()
3290 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_prli_done()
3359 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_prli()
3402 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_plogi_done()
3460 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_plogi()
3496 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_implicit_logout_done()
3535 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_implicit_logout()
3590 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_done()
3665 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_cancel_done()
3686 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_adisc_timeout()
3742 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_adisc()
3792 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_query_target_done()
3846 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_query_target()
3881 static int ibmvfc_alloc_target(struct ibmvfc_host *vhost, u64 scsi_id) in ibmvfc_alloc_target()
3921 static int ibmvfc_alloc_targets(struct ibmvfc_host *vhost) in ibmvfc_alloc_targets()
3940 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_discover_targets_done()
3974 static void ibmvfc_discover_targets(struct ibmvfc_host *vhost) in ibmvfc_discover_targets()
4003 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_login_done()
4086 static void ibmvfc_npiv_login(struct ibmvfc_host *vhost) in ibmvfc_npiv_login()
4119 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_logout_done()
4149 static void ibmvfc_npiv_logout(struct ibmvfc_host *vhost) in ibmvfc_npiv_logout()
4178 static int ibmvfc_dev_init_to_do(struct ibmvfc_host *vhost) in ibmvfc_dev_init_to_do()
4198 static int __ibmvfc_work_to_do(struct ibmvfc_host *vhost) in __ibmvfc_work_to_do()
4242 static int ibmvfc_work_to_do(struct ibmvfc_host *vhost) in ibmvfc_work_to_do()
4259 static void ibmvfc_log_ae(struct ibmvfc_host *vhost, int events) in ibmvfc_log_ae()
4278 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_add_rport()
4324 static void ibmvfc_do_work(struct ibmvfc_host *vhost) in ibmvfc_do_work()
4472 struct ibmvfc_host *vhost = data; in ibmvfc_work()
4503 static int ibmvfc_init_crq(struct ibmvfc_host *vhost) in ibmvfc_init_crq()
4574 static void ibmvfc_free_mem(struct ibmvfc_host *vhost) in ibmvfc_free_mem()
4599 static int ibmvfc_alloc_mem(struct ibmvfc_host *vhost) in ibmvfc_alloc_mem()
4691 struct ibmvfc_host *vhost = container_of(work, struct ibmvfc_host, in ibmvfc_rport_add_thread()
4746 struct ibmvfc_host *vhost; in ibmvfc_probe()
4852 struct ibmvfc_host *vhost = dev_get_drvdata(&vdev->dev); in ibmvfc_remove()
4893 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_resume()