Searched refs:pci_tsm (Results 1 – 4 of 4) sorted by relevance
8 struct pci_tsm;48 struct pci_tsm *(*probe)(struct tsm_dev *tsm_dev,50 void (*remove)(struct pci_tsm *tsm);74 struct pci_tsm *(*lock)(struct tsm_dev *tsm_dev,76 void (*unlock)(struct pci_tsm *tsm);110 struct pci_tsm { struct124 struct pci_tsm base_tsm; argument205 int pci_tsm_link_constructor(struct pci_dev *pdev, struct pci_tsm *tsm,
571 struct pci_tsm *tsm; /* TSM operation state */
33 static const struct pci_tsm_ops *to_pci_tsm_ops(struct pci_tsm *tsm) in to_pci_tsm_ops()49 static struct pci_tsm_pf0 *to_pci_tsm_pf0(struct pci_tsm *tsm) in to_pci_tsm_pf0()66 static void tsm_remove(struct pci_tsm *tsm) in tsm_remove()77 DEFINE_FREE(tsm_remove, struct pci_tsm *, if (_T) tsm_remove(_T)) in DEFINE_FREE() argument191 struct pci_tsm *pci_tsm __free(tsm_remove) = ops->probe(tsm_dev, pdev); in pci_tsm_connect()196 if (!pci_tsm) in pci_tsm_connect()199 pdev->tsm = pci_tsm; in pci_tsm_connect()211 pdev->tsm = no_free_ptr(pci_tsm); in pci_tsm_connect()498 struct pci_tsm *tsm; in bound_show()524 struct pci_tsm *tsm; in dsm_show()[all …]
208 static struct pci_tsm *tio_pf0_probe(struct pci_dev *pdev, struct sev_device *sev) in tio_pf0_probe()225 static struct pci_tsm *dsm_probe(struct tsm_dev *tsmdev, struct pci_dev *pdev) in dsm_probe()234 static void dsm_remove(struct pci_tsm *tsm) in dsm_remove()