Lines Matching refs:fc_iu

1908 	mad->common.length = cpu_to_be16(sizeof(*mad) - sizeof(mad->fc_iu) - sizeof(mad->iu));  in ibmvfc_bsg_request()
3582 if (wwn_to_u64((u8 *)&mad->fc_iu.response[2]) != tgt->ids.port_name) in ibmvfc_adisc_needs_plogi()
3584 if (wwn_to_u64((u8 *)&mad->fc_iu.response[4]) != tgt->ids.node_name) in ibmvfc_adisc_needs_plogi()
3586 if (be32_to_cpu(mad->fc_iu.response[6]) != tgt->scsi_id) in ibmvfc_adisc_needs_plogi()
3619 fc_reason = (be32_to_cpu(mad->fc_iu.response[1]) & 0x00ff0000) >> 16; in ibmvfc_tgt_adisc_done()
3620 fc_explain = (be32_to_cpu(mad->fc_iu.response[1]) & 0x0000ff00) >> 8; in ibmvfc_tgt_adisc_done()
3646 mad->common.length = cpu_to_be16(sizeof(*mad) - sizeof(mad->fc_iu) - sizeof(mad->iu)); in ibmvfc_init_passthru()
3650 mad->iu.cmd_len = cpu_to_be32(sizeof(mad->fc_iu.payload)); in ibmvfc_init_passthru()
3651 mad->iu.rsp_len = cpu_to_be32(sizeof(mad->fc_iu.response)); in ibmvfc_init_passthru()
3653 offsetof(struct ibmvfc_passthru_mad, fc_iu) + in ibmvfc_init_passthru()
3655 mad->iu.cmd.len = cpu_to_be32(sizeof(mad->fc_iu.payload)); in ibmvfc_init_passthru()
3657 offsetof(struct ibmvfc_passthru_mad, fc_iu) + in ibmvfc_init_passthru()
3659 mad->iu.rsp.len = cpu_to_be32(sizeof(mad->fc_iu.response)); in ibmvfc_init_passthru()
3769 mad->fc_iu.payload[0] = cpu_to_be32(IBMVFC_ADISC); in ibmvfc_tgt_adisc()
3770 memcpy(&mad->fc_iu.payload[2], &vhost->login_buf->resp.port_name, in ibmvfc_tgt_adisc()
3772 memcpy(&mad->fc_iu.payload[4], &vhost->login_buf->resp.node_name, in ibmvfc_tgt_adisc()
3774 mad->fc_iu.payload[6] = cpu_to_be32(be64_to_cpu(vhost->login_buf->resp.scsi_id) & 0x00ffffff); in ibmvfc_tgt_adisc()