Home
last modified time | relevance | path

Searched refs:smc_pci_dev (Results 1 – 3 of 3) sorted by relevance

/net/smc/
Dsmc_ism.c231 struct smc_pci_dev smc_pci_dev; in smc_nl_handle_smcd_dev() local
252 memset(&smc_pci_dev, 0, sizeof(smc_pci_dev)); in smc_nl_handle_smcd_dev()
253 smc_set_pci_values(to_pci_dev(ism->dev.parent), &smc_pci_dev); in smc_nl_handle_smcd_dev()
254 if (nla_put_u32(skb, SMC_NLA_DEV_PCI_FID, smc_pci_dev.pci_fid)) in smc_nl_handle_smcd_dev()
256 if (nla_put_u16(skb, SMC_NLA_DEV_PCI_CHID, smc_pci_dev.pci_pchid)) in smc_nl_handle_smcd_dev()
258 if (nla_put_u16(skb, SMC_NLA_DEV_PCI_VENDOR, smc_pci_dev.pci_vendor)) in smc_nl_handle_smcd_dev()
260 if (nla_put_u16(skb, SMC_NLA_DEV_PCI_DEVICE, smc_pci_dev.pci_device)) in smc_nl_handle_smcd_dev()
262 if (nla_put_string(skb, SMC_NLA_DEV_PCI_ID, smc_pci_dev.pci_id)) in smc_nl_handle_smcd_dev()
Dsmc_ib.c536 static bool smc_nl_handle_pci_values(const struct smc_pci_dev *smc_pci_dev, in smc_nl_handle_pci_values() argument
539 if (nla_put_u32(skb, SMC_NLA_DEV_PCI_FID, smc_pci_dev->pci_fid)) in smc_nl_handle_pci_values()
541 if (nla_put_u16(skb, SMC_NLA_DEV_PCI_CHID, smc_pci_dev->pci_pchid)) in smc_nl_handle_pci_values()
543 if (nla_put_u16(skb, SMC_NLA_DEV_PCI_VENDOR, smc_pci_dev->pci_vendor)) in smc_nl_handle_pci_values()
545 if (nla_put_u16(skb, SMC_NLA_DEV_PCI_DEVICE, smc_pci_dev->pci_device)) in smc_nl_handle_pci_values()
547 if (nla_put_string(skb, SMC_NLA_DEV_PCI_ID, smc_pci_dev->pci_id)) in smc_nl_handle_pci_values()
557 struct smc_pci_dev smc_pci_dev; in smc_nl_handle_smcr_dev() local
576 memset(&smc_pci_dev, 0, sizeof(smc_pci_dev)); in smc_nl_handle_smcr_dev()
578 smc_set_pci_values(pci_dev, &smc_pci_dev); in smc_nl_handle_smcr_dev()
579 if (!smc_nl_handle_pci_values(&smc_pci_dev, skb)) in smc_nl_handle_smcr_dev()
Dsmc_core.h512 struct smc_pci_dev { struct
521 struct smc_pci_dev *smc_dev) in smc_set_pci_values() argument