Home
last modified time | relevance | path

Searched refs:port_role (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/include/linux/
Dnvme-fc-driver.h53 u32 port_role; member
220 u32 port_role; member
263 u32 port_role; member
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_nvme.c47 req.port_role = 0; in qla_nvme_register_remote()
51 req.port_role = FC_PORT_ROLE_NVME_INITIATOR; in qla_nvme_register_remote()
54 req.port_role |= FC_PORT_ROLE_NVME_TARGET; in qla_nvme_register_remote()
57 req.port_role |= FC_PORT_ROLE_NVME_DISCOVERY; in qla_nvme_register_remote()
704 pinfo.port_role = FC_PORT_ROLE_NVME_INITIATOR; in qla_nvme_register_hba()
/Linux-v4.19/drivers/nvme/target/
Dfcloop.c233 u32 port_role; member
895 pinfo.port_role = opts->roles; in fcloop_create_local_port()
1011 newnport->port_role = opts->roles; in fcloop_alloc_nport()
1050 nport->port_role = opts->roles; in fcloop_alloc_nport()
1090 pinfo.port_role = nport->port_role; in fcloop_create_remote_port()
/Linux-v4.19/drivers/nvme/host/
Dfc.c295 lport->localport.port_role = pinfo->port_role; in nvme_fc_attach_to_unreg_lport()
398 newrec->localport.port_role = pinfo->port_role; in nvme_fc_register_localport()
481 if (!(rport->remoteport.port_role & FC_PORT_ROLE_NVME_DISCOVERY)) in nvme_fc_signal_discovery_scan()
592 rport->remoteport.port_role = pinfo->port_role; in nvme_fc_attach_to_suspended_rport()
704 newrec->remoteport.port_role = pinfo->port_role; in nvme_fc_register_remoteport()
2965 if (!(rport->remoteport.port_role & in nvme_fc_init_ctrl()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_nvme.c2461 nfcp_info.port_role = FC_PORT_ROLE_NVME_INITIATOR; in lpfc_nvme_create_localport()
2676 localport->port_role = FC_PORT_ROLE_NVME_DISCOVERY; in lpfc_nvme_update_localport()
2678 localport->port_role = FC_PORT_ROLE_NVME_INITIATOR; in lpfc_nvme_update_localport()
2718 rpinfo.port_role |= FC_PORT_ROLE_NVME_TARGET; in lpfc_nvme_register_port()
2720 rpinfo.port_role |= FC_PORT_ROLE_NVME_INITIATOR; in lpfc_nvme_register_port()
2723 rpinfo.port_role |= FC_PORT_ROLE_NVME_DISCOVERY; in lpfc_nvme_register_port()
2764 remote_port->port_role, in lpfc_nvme_register_port()
2809 rpinfo.port_id, rpinfo.port_role, in lpfc_nvme_register_port()
Dlpfc_attr.c409 if (nrport->port_role & FC_PORT_ROLE_NVME_INITIATOR) { in lpfc_nvme_info_show()
413 if (nrport->port_role & FC_PORT_ROLE_NVME_TARGET) { in lpfc_nvme_info_show()
417 if (nrport->port_role & FC_PORT_ROLE_NVME_DISCOVERY) { in lpfc_nvme_info_show()
421 if (nrport->port_role & ~(FC_PORT_ROLE_NVME_INITIATOR | in lpfc_nvme_info_show()
425 nrport->port_role); in lpfc_nvme_info_show()
Dlpfc_debugfs.c730 if (nrport->port_role & FC_PORT_ROLE_NVME_INITIATOR) in lpfc_debugfs_nodelist_data()
733 if (nrport->port_role & FC_PORT_ROLE_NVME_TARGET) in lpfc_debugfs_nodelist_data()
736 if (nrport->port_role & FC_PORT_ROLE_NVME_DISCOVERY) in lpfc_debugfs_nodelist_data()
739 if (nrport->port_role & ~(FC_PORT_ROLE_NVME_INITIATOR | in lpfc_debugfs_nodelist_data()
744 nrport->port_role); in lpfc_debugfs_nodelist_data()
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dwmi.c2704 cmd.port_role = WMI_PORT_STA; in wmi_port_allocate()
2707 cmd.port_role = WMI_PORT_AP; in wmi_port_allocate()
2710 cmd.port_role = WMI_PORT_P2P_CLIENT; in wmi_port_allocate()
2713 cmd.port_role = WMI_PORT_P2P_GO; in wmi_port_allocate()
Dwmi.h749 u8 port_role; member