Lines Matching refs:bottom
354 (unsigned long long)qtcb->bottom.support.req_handle); in zfcp_fsf_protstatus_eval()
465 struct fsf_qtcb_bottom_config *bottom = &req->qtcb->bottom.config; in zfcp_fsf_exchange_config_evaluate() local
471 nsp = (struct fc_els_flogi *) ((u8 *)&bottom->nport_serv_param in zfcp_fsf_exchange_config_evaluate()
473 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_fsf_exchange_config_evaluate()
477 memcpy(req->data, bottom, sizeof(*bottom)); in zfcp_fsf_exchange_config_evaluate()
483 adapter->timer_ticks = bottom->timer_interval & ZFCP_FSF_TIMER_INT_MASK; in zfcp_fsf_exchange_config_evaluate()
484 adapter->stat_read_buf_num = max(bottom->status_read_buf_num, in zfcp_fsf_exchange_config_evaluate()
497 fc_host_port_id(shost) = ntoh24(bottom->s_id); in zfcp_fsf_exchange_config_evaluate()
499 zfcp_fsf_convert_portspeed(bottom->fc_link_speed); in zfcp_fsf_exchange_config_evaluate()
501 adapter->hydra_version = bottom->adapter_type; in zfcp_fsf_exchange_config_evaluate()
503 switch (bottom->fc_topology) { in zfcp_fsf_exchange_config_evaluate()
505 adapter->peer_d_id = ntoh24(bottom->peer_d_id); in zfcp_fsf_exchange_config_evaluate()
531 struct fsf_qtcb_bottom_config *bottom = &qtcb->bottom.config; in zfcp_fsf_exchange_config_data_handler() local
537 adapter->fsf_lic_version = bottom->lic_version; in zfcp_fsf_exchange_config_data_handler()
538 adapter->adapter_features = bottom->adapter_features; in zfcp_fsf_exchange_config_data_handler()
539 adapter->connection_features = bottom->connection_features; in zfcp_fsf_exchange_config_data_handler()
549 if (bottom->max_qtcb_size < sizeof(struct fsf_qtcb)) { in zfcp_fsf_exchange_config_data_handler()
553 bottom->max_qtcb_size); in zfcp_fsf_exchange_config_data_handler()
583 adapter->hardware_version = bottom->hardware_version; in zfcp_fsf_exchange_config_data_handler()
584 memcpy(fc_host_serial_number(shost), bottom->serial_number, in zfcp_fsf_exchange_config_data_handler()
590 if (FSF_QTCB_CURRENT_VERSION < bottom->low_qtcb_version) { in zfcp_fsf_exchange_config_data_handler()
597 if (FSF_QTCB_CURRENT_VERSION > bottom->high_qtcb_version) { in zfcp_fsf_exchange_config_data_handler()
608 struct fsf_qtcb_bottom_port *bottom = &req->qtcb->bottom.port; in zfcp_fsf_exchange_port_evaluate() local
612 memcpy(req->data, bottom, sizeof(*bottom)); in zfcp_fsf_exchange_port_evaluate()
615 fc_host_permanent_port_name(shost) = bottom->wwpn; in zfcp_fsf_exchange_port_evaluate()
619 fc_host_maxframe_size(shost) = bottom->maximum_frame_size; in zfcp_fsf_exchange_port_evaluate()
621 zfcp_fsf_convert_portspeed(bottom->supported_speed); in zfcp_fsf_exchange_port_evaluate()
622 memcpy(fc_host_supported_fc4s(shost), bottom->supported_fc4_types, in zfcp_fsf_exchange_port_evaluate()
624 memcpy(fc_host_active_fc4s(shost), bottom->active_fc4_types, in zfcp_fsf_exchange_port_evaluate()
902 req->qtcb->bottom.support.req_handle = (u64) old_req_id; in zfcp_fsf_abort_fcp_cmnd()
1008 qtcb->bottom.support.req_buf_length = zfcp_qdio_real_bytes(sg_req); in zfcp_fsf_setup_ct_els_sbals()
1016 qtcb->bottom.support.resp_buf_length = zfcp_qdio_real_bytes(sg_resp); in zfcp_fsf_setup_ct_els_sbals()
1037 req->qtcb->bottom.support.service_class = FSF_CLASS_3; in zfcp_fsf_setup_ct_els()
1038 req->qtcb->bottom.support.timeout = timeout; in zfcp_fsf_setup_ct_els()
1170 hton24(req->qtcb->bottom.support.d_id, d_id); in zfcp_fsf_send_els()
1211 req->qtcb->bottom.config.feature_selection = in zfcp_fsf_exchange_config_data()
1250 req->qtcb->bottom.config.feature_selection = in zfcp_fsf_exchange_config_data_sync()
1416 plogi = (struct fc_els_flogi *) req->qtcb->bottom.support.els; in zfcp_fsf_open_port_handler()
1417 if (req->qtcb->bottom.support.els1_length >= in zfcp_fsf_open_port_handler()
1459 hton24(req->qtcb->bottom.support.d_id, port->d_id); in zfcp_fsf_open_port()
1598 hton24(req->qtcb->bottom.support.d_id, wka_port->d_id); in zfcp_fsf_open_wka_port()
1859 req->qtcb->bottom.support.fcp_lun = zfcp_scsi_dev_lun(erp_action->sdev); in zfcp_fsf_open_lun()
1866 req->qtcb->bottom.support.option = FSF_OPEN_LUN_SUPPRESS_BOXING; in zfcp_fsf_open_lun()
1998 switch (req->qtcb->bottom.io.data_direction) { in zfcp_fsf_req_trace()
2057 req->qtcb->bottom.io.data_direction, in zfcp_fsf_fcp_handler_common()
2068 req->qtcb->bottom.io.fcp_cmnd_length, in zfcp_fsf_fcp_handler_common()
2133 fcp_rsp = (struct fcp_resp_with_ext *) &req->qtcb->bottom.io.fcp_rsp; in zfcp_fsf_fcp_cmnd_handler()
2229 io = &req->qtcb->bottom.io; in zfcp_fsf_fcp_cmnd()
2246 fcp_cmnd = (struct fcp_cmnd *) &req->qtcb->bottom.io.fcp_cmnd; in zfcp_fsf_fcp_cmnd()
2290 fcp_rsp = (struct fcp_resp_with_ext *) &req->qtcb->bottom.io.fcp_rsp; in zfcp_fsf_fcp_task_mgmt_handler()
2333 req->qtcb->bottom.io.data_direction = FSF_DATADIR_CMND; in zfcp_fsf_fcp_task_mgmt()
2334 req->qtcb->bottom.io.service_class = FSF_CLASS_3; in zfcp_fsf_fcp_task_mgmt()
2335 req->qtcb->bottom.io.fcp_cmnd_length = FCP_CMND_LEN; in zfcp_fsf_fcp_task_mgmt()
2339 fcp_cmnd = (struct fcp_cmnd *) &req->qtcb->bottom.io.fcp_cmnd; in zfcp_fsf_fcp_task_mgmt()