Lines Matching refs:plogi
2072 struct ibmvfc_port_login *plogi; in ibmvfc_bsg_plogi() local
2095 plogi = &evt->iu.plogi; in ibmvfc_bsg_plogi()
2096 memset(plogi, 0, sizeof(*plogi)); in ibmvfc_bsg_plogi()
2097 plogi->common.version = cpu_to_be32(1); in ibmvfc_bsg_plogi()
2098 plogi->common.opcode = cpu_to_be32(IBMVFC_PORT_LOGIN); in ibmvfc_bsg_plogi()
2099 plogi->common.length = cpu_to_be16(sizeof(*plogi)); in ibmvfc_bsg_plogi()
2100 plogi->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_plogi()
2112 if (rsp_iu.plogi.common.status) in ibmvfc_bsg_plogi()
4068 struct ibmvfc_port_login *rsp = &evt->xfer_iu->plogi; in ibmvfc_tgt_plogi_done()
4124 struct ibmvfc_port_login *plogi; in ibmvfc_tgt_send_plogi() local
4138 plogi = &evt->iu.plogi; in ibmvfc_tgt_send_plogi()
4139 memset(plogi, 0, sizeof(*plogi)); in ibmvfc_tgt_send_plogi()
4141 plogi->common.version = cpu_to_be32(2); in ibmvfc_tgt_send_plogi()
4142 plogi->target_wwpn = cpu_to_be64(tgt->wwpn); in ibmvfc_tgt_send_plogi()
4144 plogi->common.version = cpu_to_be32(1); in ibmvfc_tgt_send_plogi()
4146 plogi->common.opcode = cpu_to_be32(IBMVFC_PORT_LOGIN); in ibmvfc_tgt_send_plogi()
4147 plogi->common.length = cpu_to_be16(sizeof(*plogi)); in ibmvfc_tgt_send_plogi()
4148 plogi->scsi_id = cpu_to_be64(tgt->scsi_id); in ibmvfc_tgt_send_plogi()