.. | .. |
---|
1 | | -// SPDX-License-Identifier: GPL-2.0 |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
---|
2 | 2 | /* |
---|
3 | 3 | * xhci-debugfs.h - xHCI debugfs interface |
---|
4 | 4 | * |
---|
.. | .. |
---|
80 | 80 | char name[DEBUGFS_NAMELEN]; |
---|
81 | 81 | struct debugfs_regset32 regset; |
---|
82 | 82 | size_t nregs; |
---|
83 | | - struct dentry *parent; |
---|
84 | 83 | struct list_head list; |
---|
85 | 84 | }; |
---|
86 | 85 | |
---|
.. | .. |
---|
92 | 91 | struct xhci_ep_priv { |
---|
93 | 92 | char name[DEBUGFS_NAMELEN]; |
---|
94 | 93 | struct dentry *root; |
---|
| 94 | + struct xhci_stream_info *stream_info; |
---|
| 95 | + struct xhci_ring *show_ring; |
---|
| 96 | + unsigned int stream_id; |
---|
95 | 97 | }; |
---|
96 | 98 | |
---|
97 | 99 | struct xhci_slot_priv { |
---|
.. | .. |
---|
114 | 116 | void xhci_debugfs_remove_endpoint(struct xhci_hcd *xhci, |
---|
115 | 117 | struct xhci_virt_device *virt_dev, |
---|
116 | 118 | int ep_index); |
---|
| 119 | +void xhci_debugfs_create_stream_files(struct xhci_hcd *xhci, |
---|
| 120 | + struct xhci_virt_device *virt_dev, |
---|
| 121 | + int ep_index); |
---|
117 | 122 | #else |
---|
118 | 123 | static inline void xhci_debugfs_init(struct xhci_hcd *xhci) { } |
---|
119 | 124 | static inline void xhci_debugfs_exit(struct xhci_hcd *xhci) { } |
---|
.. | .. |
---|
129 | 134 | xhci_debugfs_remove_endpoint(struct xhci_hcd *xhci, |
---|
130 | 135 | struct xhci_virt_device *virt_dev, |
---|
131 | 136 | int ep_index) { } |
---|
| 137 | +static inline void |
---|
| 138 | +xhci_debugfs_create_stream_files(struct xhci_hcd *xhci, |
---|
| 139 | + struct xhci_virt_device *virt_dev, |
---|
| 140 | + int ep_index) { } |
---|
132 | 141 | #endif /* CONFIG_DEBUG_FS */ |
---|
133 | 142 | |
---|
134 | 143 | #endif /* __LINUX_XHCI_DEBUGFS_H */ |
---|