Lines Matching refs:fc_iu

2218 	mad->common.length = cpu_to_be16(sizeof(*mad) - sizeof(mad->fc_iu) - sizeof(mad->iu));  in ibmvfc_bsg_request()
4410 if (wwn_to_u64((u8 *)&mad->fc_iu.response[2]) != tgt->ids.port_name) in ibmvfc_adisc_needs_plogi()
4412 if (wwn_to_u64((u8 *)&mad->fc_iu.response[4]) != tgt->ids.node_name) in ibmvfc_adisc_needs_plogi()
4414 if (be32_to_cpu(mad->fc_iu.response[6]) != tgt->scsi_id) in ibmvfc_adisc_needs_plogi()
4447 fc_reason = (be32_to_cpu(mad->fc_iu.response[1]) & 0x00ff0000) >> 16; in ibmvfc_tgt_adisc_done()
4448 fc_explain = (be32_to_cpu(mad->fc_iu.response[1]) & 0x0000ff00) >> 8; in ibmvfc_tgt_adisc_done()
4474 mad->common.length = cpu_to_be16(sizeof(*mad) - sizeof(mad->fc_iu) - sizeof(mad->iu)); in ibmvfc_init_passthru()
4478 mad->iu.cmd_len = cpu_to_be32(sizeof(mad->fc_iu.payload)); in ibmvfc_init_passthru()
4479 mad->iu.rsp_len = cpu_to_be32(sizeof(mad->fc_iu.response)); in ibmvfc_init_passthru()
4481 offsetof(struct ibmvfc_passthru_mad, fc_iu) + in ibmvfc_init_passthru()
4483 mad->iu.cmd.len = cpu_to_be32(sizeof(mad->fc_iu.payload)); in ibmvfc_init_passthru()
4485 offsetof(struct ibmvfc_passthru_mad, fc_iu) + in ibmvfc_init_passthru()
4487 mad->iu.rsp.len = cpu_to_be32(sizeof(mad->fc_iu.response)); in ibmvfc_init_passthru()
4602 mad->fc_iu.payload[0] = cpu_to_be32(IBMVFC_ADISC); in ibmvfc_tgt_adisc()
4603 memcpy(&mad->fc_iu.payload[2], &vhost->login_buf->resp.port_name, in ibmvfc_tgt_adisc()
4605 memcpy(&mad->fc_iu.payload[4], &vhost->login_buf->resp.node_name, in ibmvfc_tgt_adisc()
4607 mad->fc_iu.payload[6] = cpu_to_be32(be64_to_cpu(vhost->login_buf->resp.scsi_id) & 0x00ffffff); in ibmvfc_tgt_adisc()