Lines Matching refs:roles
150 rdata->ids.roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_create()
1052 if (rdata->ids.roles == FC_PORT_ROLE_UNKNOWN) in fc_rport_compatible_roles()
1054 if ((rdata->ids.roles & FC_PORT_ROLE_FCP_TARGET) && in fc_rport_compatible_roles()
1057 if ((rdata->ids.roles & FC_PORT_ROLE_FCP_INITIATOR) && in fc_rport_compatible_roles()
1126 u32 roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_prli_resp() local
1152 rdata->ids.roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_prli_resp()
1208 roles |= FC_RPORT_ROLE_FCP_INITIATOR; in fc_rport_prli_resp()
1210 roles |= FC_RPORT_ROLE_FCP_TARGET; in fc_rport_prli_resp()
1212 rdata->ids.roles = roles; in fc_rport_prli_resp()
2206 rdata->ids.roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_fcp_prli()
2208 rdata->ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR; in fc_rport_fcp_prli()
2210 rdata->ids.roles |= FC_RPORT_ROLE_FCP_TARGET; in fc_rport_fcp_prli()