Lines Matching refs:wka_port
1002 int zfcp_fsf_send_ct(struct zfcp_fc_wka_port *wka_port, in zfcp_fsf_send_ct() argument
1006 struct zfcp_qdio *qdio = wka_port->adapter->qdio; in zfcp_fsf_send_ct()
1028 req->qtcb->header.port_handle = wka_port->handle; in zfcp_fsf_send_ct()
1031 zfcp_dbf_san_req("fssct_1", req, wka_port->d_id); in zfcp_fsf_send_ct()
1511 struct zfcp_fc_wka_port *wka_port = req->data; in zfcp_fsf_open_wka_port_handler() local
1515 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fsf_open_wka_port_handler()
1522 "Opening WKA port 0x%x failed\n", wka_port->d_id); in zfcp_fsf_open_wka_port_handler()
1528 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fsf_open_wka_port_handler()
1531 wka_port->handle = header->port_handle; in zfcp_fsf_open_wka_port_handler()
1534 wka_port->status = ZFCP_FC_WKA_PORT_ONLINE; in zfcp_fsf_open_wka_port_handler()
1537 wake_up(&wka_port->completion_wq); in zfcp_fsf_open_wka_port_handler()
1545 int zfcp_fsf_open_wka_port(struct zfcp_fc_wka_port *wka_port) in zfcp_fsf_open_wka_port() argument
1547 struct zfcp_qdio *qdio = wka_port->adapter->qdio; in zfcp_fsf_open_wka_port()
1568 hton24(req->qtcb->bottom.support.d_id, wka_port->d_id); in zfcp_fsf_open_wka_port()
1569 req->data = wka_port; in zfcp_fsf_open_wka_port()
1582 struct zfcp_fc_wka_port *wka_port = req->data; in zfcp_fsf_close_wka_port_handler() local
1586 zfcp_erp_adapter_reopen(wka_port->adapter, 0, "fscwph1"); in zfcp_fsf_close_wka_port_handler()
1589 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fsf_close_wka_port_handler()
1590 wake_up(&wka_port->completion_wq); in zfcp_fsf_close_wka_port_handler()
1598 int zfcp_fsf_close_wka_port(struct zfcp_fc_wka_port *wka_port) in zfcp_fsf_close_wka_port() argument
1600 struct zfcp_qdio *qdio = wka_port->adapter->qdio; in zfcp_fsf_close_wka_port()
1621 req->data = wka_port; in zfcp_fsf_close_wka_port()
1622 req->qtcb->header.port_handle = wka_port->handle; in zfcp_fsf_close_wka_port()