Lines Matching refs:regset
88 struct xhci_regset *regset; in xhci_debugfs_alloc_regset() local
90 regset = kzalloc(sizeof(*regset), GFP_KERNEL); in xhci_debugfs_alloc_regset()
91 if (!regset) in xhci_debugfs_alloc_regset()
98 INIT_LIST_HEAD(®set->list); in xhci_debugfs_alloc_regset()
99 list_add_tail(®set->list, &xhci->regset_list); in xhci_debugfs_alloc_regset()
101 return regset; in xhci_debugfs_alloc_regset()
104 static void xhci_debugfs_free_regset(struct xhci_regset *regset) in xhci_debugfs_free_regset() argument
106 if (!regset) in xhci_debugfs_free_regset()
109 list_del(®set->list); in xhci_debugfs_free_regset()
110 kfree(regset); in xhci_debugfs_free_regset()
121 struct debugfs_regset32 *regset; in xhci_debugfs_regset() local
132 regset = &rgs->regset; in xhci_debugfs_regset()
133 regset->regs = regs; in xhci_debugfs_regset()
134 regset->nregs = nregs; in xhci_debugfs_regset()
135 regset->base = hcd->regs + base; in xhci_debugfs_regset()
136 regset->dev = hcd->self.controller; in xhci_debugfs_regset()
138 debugfs_create_regset32((const char *)rgs->name, 0444, parent, regset); in xhci_debugfs_regset()