Lines Matching refs:ibmvfc_host

154 static void ibmvfc_npiv_login(struct ibmvfc_host *);
158 static void ibmvfc_npiv_logout(struct ibmvfc_host *);
162 static void ibmvfc_dereg_sub_crqs(struct ibmvfc_host *);
163 static void ibmvfc_reg_sub_crqs(struct ibmvfc_host *);
181 static int ibmvfc_check_caps(struct ibmvfc_host *vhost, unsigned long cap_flags)
188 static struct ibmvfc_fcp_cmd_iu *ibmvfc_get_fcp_iu(struct ibmvfc_host *vhost,
197 static struct ibmvfc_fcp_rsp *ibmvfc_get_fcp_rsp(struct ibmvfc_host *vhost,
214 struct ibmvfc_host *vhost = evt->vhost;
250 struct ibmvfc_host *vhost = evt->vhost;
335 static int ibmvfc_get_err_result(struct ibmvfc_host *vhost, struct ibmvfc_cmd *vfc_cmd)
553 static int ibmvfc_set_host_state(struct ibmvfc_host *vhost,
576 static void ibmvfc_set_host_action(struct ibmvfc_host *vhost,
637 static void ibmvfc_reinit_host(struct ibmvfc_host *vhost)
670 static void ibmvfc_link_down(struct ibmvfc_host *vhost,
693 static void ibmvfc_init_host(struct ibmvfc_host *vhost)
733 static int ibmvfc_send_crq(struct ibmvfc_host *vhost, u64 word1, u64 word2)
739 static int ibmvfc_send_sub_crq(struct ibmvfc_host *vhost, u64 cookie, u64 word1,
755 static int ibmvfc_send_crq_init(struct ibmvfc_host *vhost)
768 static int ibmvfc_send_crq_init_complete(struct ibmvfc_host *vhost)
782 static int ibmvfc_init_event_pool(struct ibmvfc_host *vhost,
841 static void ibmvfc_free_event_pool(struct ibmvfc_host *vhost,
871 static void ibmvfc_free_queue(struct ibmvfc_host *vhost,
890 static void ibmvfc_release_crq_queue(struct ibmvfc_host *vhost)
918 static int ibmvfc_reenable_crq_queue(struct ibmvfc_host *vhost)
955 static int ibmvfc_reset_crq(struct ibmvfc_host *vhost)
1110 static void ibmvfc_purge_requests(struct ibmvfc_host *vhost, int error_code)
1143 static void ibmvfc_hard_reset_host(struct ibmvfc_host *vhost)
1154 static void __ibmvfc_reset_host(struct ibmvfc_host *vhost)
1170 static void ibmvfc_reset_host(struct ibmvfc_host *vhost)
1186 static int ibmvfc_retry_host_init(struct ibmvfc_host *vhost)
1218 struct ibmvfc_host *vhost = shost_priv(shost);
1257 struct ibmvfc_host *vhost = shost_priv(shost);
1301 struct ibmvfc_host *vhost = shost_priv(shost);
1410 static int ibmvfc_wait_while_resetting(struct ibmvfc_host *vhost)
1431 struct ibmvfc_host *vhost = shost_priv(shost);
1445 static void ibmvfc_gather_partition_info(struct ibmvfc_host *vhost)
1471 static void ibmvfc_set_login_info(struct ibmvfc_host *vhost)
1609 struct ibmvfc_host *vhost = dev_get_drvdata(dev);
1669 struct ibmvfc_host *vhost = evt->vhost;
1683 struct ibmvfc_host *vhost, unsigned long timeout)
1765 struct ibmvfc_host *vhost = evt->vhost;
1797 struct ibmvfc_host *vhost = shost_priv(sdev->host);
1873 static inline int ibmvfc_host_chkready(struct ibmvfc_host *vhost)
1899 struct ibmvfc_host *vhost = evt->vhost;
1933 struct ibmvfc_host *vhost = shost_priv(shost);
2017 struct ibmvfc_host *vhost = evt->vhost;
2033 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job));
2083 * @vhost: struct ibmvfc_host to send command
2089 static int ibmvfc_bsg_plogi(struct ibmvfc_host *vhost, unsigned int port_id)
2155 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job));
2310 struct ibmvfc_host *vhost = shost_priv(sdev->host);
2456 static int ibmvfc_wait_for_ops(struct ibmvfc_host *vhost, void *device,
2529 struct ibmvfc_host *vhost = shost_priv(sdev->host);
2568 struct ibmvfc_host *vhost = shost_priv(sdev->host);
2648 struct ibmvfc_host *vhost = shost_priv(sdev->host);
2728 struct ibmvfc_host *vhost = shost_priv(sdev->host);
2781 struct ibmvfc_host *vhost = shost_priv(sdev->host);
2904 struct ibmvfc_host *vhost = shost_priv(sdev->host);
2937 struct ibmvfc_host *vhost = shost_priv(sdev->host);
2994 struct ibmvfc_host *vhost = shost_priv(sdev->host);
3028 struct ibmvfc_host *vhost = shost_priv(cmd->device->host);
3046 struct ibmvfc_host *vhost = shost_priv(shost);
3158 struct ibmvfc_host *vhost)
3248 static void ibmvfc_handle_crq(struct ibmvfc_crq *crq, struct ibmvfc_host *vhost,
3339 struct ibmvfc_host *vhost = shost_priv(shost);
3373 struct ibmvfc_host *vhost = shost_priv(shost);
3398 struct ibmvfc_host *vhost = shost_priv(shost);
3451 struct ibmvfc_host *vhost = shost_priv(shost);
3461 struct ibmvfc_host *vhost = shost_priv(shost);
3471 struct ibmvfc_host *vhost = shost_priv(shost);
3481 struct ibmvfc_host *vhost = shost_priv(shost);
3491 struct ibmvfc_host *vhost = shost_priv(shost);
3499 struct ibmvfc_host *vhost = shost_priv(shost);
3516 struct ibmvfc_host *vhost = shost_priv(shost);
3541 struct ibmvfc_host *vhost = shost_priv(shost);
3554 struct ibmvfc_host *vhost = shost_priv(shost);
3569 struct ibmvfc_host *vhost = shost_priv(shost);
3611 struct ibmvfc_host *vhost = shost_priv(shost);
3651 ATTRIBUTE_GROUPS(ibmvfc_host);
3685 static struct ibmvfc_async_crq *ibmvfc_next_async_crq(struct ibmvfc_host *vhost)
3708 static struct ibmvfc_crq *ibmvfc_next_crq(struct ibmvfc_host *vhost)
3727 * @dev_instance: ibmvfc_host that received interrupt
3734 struct ibmvfc_host *vhost = (struct ibmvfc_host *)dev_instance;
3753 struct ibmvfc_host *vhost = data;
3825 static void ibmvfc_handle_scrq(struct ibmvfc_crq *crq, struct ibmvfc_host *vhost,
3997 struct ibmvfc_host *vhost = evt->vhost;
4066 struct ibmvfc_host *vhost = tgt->vhost;
4120 struct ibmvfc_host *vhost = evt->vhost;
4178 struct ibmvfc_host *vhost = tgt->vhost;
4225 struct ibmvfc_host *vhost = evt->vhost;
4264 struct ibmvfc_host *vhost = tgt->vhost;
4289 struct ibmvfc_host *vhost = tgt->vhost;
4323 struct ibmvfc_host *vhost = evt->vhost;
4354 struct ibmvfc_host *vhost = tgt->vhost;
4386 struct ibmvfc_host *vhost = evt->vhost;
4435 struct ibmvfc_host *vhost = tgt->vhost;
4501 struct ibmvfc_host *vhost = evt->vhost;
4576 struct ibmvfc_host *vhost = evt->vhost;
4597 struct ibmvfc_host *vhost = tgt->vhost;
4666 struct ibmvfc_host *vhost = tgt->vhost;
4722 struct ibmvfc_host *vhost = evt->vhost;
4775 struct ibmvfc_host *vhost = tgt->vhost;
4816 static int ibmvfc_alloc_target(struct ibmvfc_host *vhost,
4906 static int ibmvfc_alloc_targets(struct ibmvfc_host *vhost)
4923 struct ibmvfc_host *vhost = evt->vhost;
4957 static void ibmvfc_discover_targets(struct ibmvfc_host *vhost)
4989 struct ibmvfc_host *vhost = evt->vhost;
5037 static void ibmvfc_channel_setup(struct ibmvfc_host *vhost)
5082 struct ibmvfc_host *vhost = evt->vhost;
5111 static void ibmvfc_channel_enquiry(struct ibmvfc_host *vhost)
5150 struct ibmvfc_host *vhost = evt->vhost;
5239 static void ibmvfc_npiv_login(struct ibmvfc_host *vhost)
5278 struct ibmvfc_host *vhost = evt->vhost;
5308 static void ibmvfc_npiv_logout(struct ibmvfc_host *vhost)
5343 static int ibmvfc_dev_init_to_do(struct ibmvfc_host *vhost)
5363 static int ibmvfc_dev_logo_to_do(struct ibmvfc_host *vhost)
5382 static int __ibmvfc_work_to_do(struct ibmvfc_host *vhost)
5435 static int ibmvfc_work_to_do(struct ibmvfc_host *vhost)
5452 static void ibmvfc_log_ae(struct ibmvfc_host *vhost, int events)
5471 struct ibmvfc_host *vhost = tgt->vhost;
5525 static void ibmvfc_do_work(struct ibmvfc_host *vhost)
5731 struct ibmvfc_host *vhost = data;
5761 static int ibmvfc_alloc_queue(struct ibmvfc_host *vhost,
5827 static int ibmvfc_init_crq(struct ibmvfc_host *vhost)
5879 static int ibmvfc_register_scsi_channel(struct ibmvfc_host *vhost,
5932 static void ibmvfc_deregister_scsi_channel(struct ibmvfc_host *vhost, int index)
5960 static void ibmvfc_reg_sub_crqs(struct ibmvfc_host *vhost)
5980 static void ibmvfc_dereg_sub_crqs(struct ibmvfc_host *vhost)
5994 static void ibmvfc_init_sub_crqs(struct ibmvfc_host *vhost)
6032 static void ibmvfc_release_sub_crqs(struct ibmvfc_host *vhost)
6061 static void ibmvfc_free_mem(struct ibmvfc_host *vhost)
6086 static int ibmvfc_alloc_mem(struct ibmvfc_host *vhost)
6176 struct ibmvfc_host *vhost = container_of(work, struct ibmvfc_host,
6231 struct ibmvfc_host *vhost;
6341 struct ibmvfc_host *vhost = dev_get_drvdata(&vdev->dev);
6384 struct ibmvfc_host *vhost = dev_get_drvdata(dev);