Lines Matching defs:whc
42 if (&qset->list_node == qset->whc->async_list.prev) {
87 struct whc *whc = s->private;
91 for (d = 0; d < whc->n_devices; d++) {
92 struct di_buf_entry *di = &whc->di_buf[d];
110 struct whc *whc = s->private;
113 list_for_each_entry(qset, &whc->async_list, list_node) {
122 struct whc *whc = s->private;
128 list_for_each_entry(qset, &whc->periodic_list[period], list_node) {
174 void whc_dbg_init(struct whc *whc)
176 if (whc->wusbhc.pal.debugfs_dir == NULL)
179 whc->dbg = kzalloc(sizeof(struct whc_dbg), GFP_KERNEL);
180 if (whc->dbg == NULL)
183 whc->dbg->di_f = debugfs_create_file("di", 0444,
184 whc->wusbhc.pal.debugfs_dir, whc,
186 whc->dbg->asl_f = debugfs_create_file("asl", 0444,
187 whc->wusbhc.pal.debugfs_dir, whc,
189 whc->dbg->pzl_f = debugfs_create_file("pzl", 0444,
190 whc->wusbhc.pal.debugfs_dir, whc,
194 void whc_dbg_clean_up(struct whc *whc)
196 if (whc->dbg) {
197 debugfs_remove(whc->dbg->pzl_f);
198 debugfs_remove(whc->dbg->asl_f);
199 debugfs_remove(whc->dbg->di_f);
200 kfree(whc->dbg);