Searched refs:ptm_debugfs (Results 1 – 2 of 2) sorted by relevance
284 struct pci_ptm_debugfs *ptm_debugfs = file->private_data; in context_update_write() local289 if (!ptm_debugfs->ops->context_update_write) in context_update_write()308 mutex_lock(&ptm_debugfs->lock); in context_update_write()309 ret = ptm_debugfs->ops->context_update_write(ptm_debugfs->pdata, mode); in context_update_write()310 mutex_unlock(&ptm_debugfs->lock); in context_update_write()320 struct pci_ptm_debugfs *ptm_debugfs = file->private_data; in context_update_read() local325 if (!ptm_debugfs->ops->context_update_read) in context_update_read()328 mutex_lock(&ptm_debugfs->lock); in context_update_read()329 ptm_debugfs->ops->context_update_read(ptm_debugfs->pdata, &mode); in context_update_read()330 mutex_unlock(&ptm_debugfs->lock); in context_update_read()[all …]
1992 void pcie_ptm_destroy_debugfs(struct pci_ptm_debugfs *ptm_debugfs);1998 pcie_ptm_destroy_debugfs(struct pci_ptm_debugfs *ptm_debugfs) { } in pcie_ptm_destroy_debugfs() argument