Home
last modified time | relevance | path

Searched refs:pfacts (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/message/fusion/
Dmptlan.c1335 if (mpt_dev->pfacts[0].MaxLanBuckets < max_buckets_out) in mpt_register_lan_device()
1336 priv->max_buckets_out = mpt_dev->pfacts[0].MaxLanBuckets; in mpt_register_lan_device()
1340 mpt_dev->pfacts[0].MaxLanBuckets, in mpt_register_lan_device()
1395 ioc->name, ioc->pfacts[i].PortNumber, in mptlan_probe()
1396 ioc->pfacts[i].ProtocolFlags, in mptlan_probe()
1398 ioc->pfacts[i].ProtocolFlags)); in mptlan_probe()
1400 if (!(ioc->pfacts[i].ProtocolFlags & in mptlan_probe()
1412 ioc->pfacts[i].PortNumber); in mptlan_probe()
Dmptbase.c1871 ioc->name, &ioc->facts, &ioc->pfacts[0])); in mpt_attach()
2575 if ((ioc->pfacts[0].ProtocolFlags & in mpt_do_ioc_recovery()
2868 if (ioc->pfacts[0].ProtocolFlags & MPI_PORTFACTS_PROTOCOL_INITIATOR) { in MptDisplayIocCapabilities()
2873 if (ioc->pfacts[0].ProtocolFlags & MPI_PORTFACTS_PROTOCOL_TARGET) { in MptDisplayIocCapabilities()
2878 if (ioc->pfacts[0].ProtocolFlags & MPI_PORTFACTS_PROTOCOL_LAN) { in MptDisplayIocCapabilities()
2887 if (ioc->pfacts[0].ProtocolFlags & MPI_PORTFACTS_PROTOCOL_TARGET) { in MptDisplayIocCapabilities()
3248 PortFactsReply_t *pfacts; in GetPortFacts() local
3261 pfacts = &ioc->pfacts[portnum]; in GetPortFacts()
3264 reply_sz = sizeof(*pfacts); in GetPortFacts()
3265 memset(pfacts, 0, reply_sz); in GetPortFacts()
[all …]
Dmptbase.h702 PortFactsReply_t pfacts[2]; member
Dmptfc.c1210 if (ioc->pfacts[ii].ProtocolFlags & in mptfc_probe()
1250 sh->max_id = ioc->pfacts->MaxDevices; in mptfc_probe()
Dmptspi.c1394 if (ioc->pfacts[ii].ProtocolFlags & in mptspi_probe()
1454 sh->this_id = ioc->pfacts[0].PortSCSIID; in mptspi_probe()
Dmptctl.c1335 karg->hostId = ioc->pfacts[port].PortSCSIID; in mptctl_getiocinfo()
Dmptsas.c5201 if (ioc->pfacts[ii].ProtocolFlags & in mptsas_probe()
/Linux-v6.1/drivers/scsi/mpt3sas/
Dmpt3sas_base.c7302 struct mpt3sas_port_facts *pfacts; in _base_get_port_facts() local
7320 pfacts = &ioc->pfacts[port]; in _base_get_port_facts()
7321 memset(pfacts, 0, sizeof(struct mpt3sas_port_facts)); in _base_get_port_facts()
7322 pfacts->PortNumber = mpi_reply.PortNumber; in _base_get_port_facts()
7323 pfacts->VP_ID = mpi_reply.VP_ID; in _base_get_port_facts()
7324 pfacts->VF_ID = mpi_reply.VF_ID; in _base_get_port_facts()
7325 pfacts->MaxPostedCmdBuffers = in _base_get_port_facts()
8449 ioc->pfacts = kcalloc(ioc->facts.NumberOfPorts, in mpt3sas_base_attach()
8451 if (!ioc->pfacts) { in mpt3sas_base_attach()
8625 kfree(ioc->pfacts); in mpt3sas_base_attach()
[all …]
Dmpt3sas_base.h1459 struct mpt3sas_port_facts *pfacts; member
Dmpt3sas_ctl.c1171 if (ioc->pfacts) in _ctl_getiocinfo()
1172 karg.port_number = ioc->pfacts[0].PortNumber; in _ctl_getiocinfo()