Lines Matching refs:uwb_rc
61 * is protected by uwb_rc->mutex.
65 struct uwb_rc *uwb_rc; /* UWB host controller */
92 static int whcrc_cmd(struct uwb_rc *uwb_rc,
96 struct whcrc *whcrc = uwb_rc->priv;
111 uwb_rc_reset_all(uwb_rc);
135 static int whcrc_reset(struct uwb_rc *rc)
178 uwb_rc_neh_grok(whcrc->uwb_rc, whcrc->evt_buf, size);
302 static int whcrc_start_rc(struct uwb_rc *rc)
333 void whcrc_stop_rc(struct uwb_rc *rc)
356 * NOTE: we setup whcrc->uwb_rc before calling uwb_rc_add(); in the
365 struct uwb_rc *uwb_rc;
370 uwb_rc = uwb_rc_alloc();
371 if (uwb_rc == NULL) {
388 whcrc->uwb_rc = uwb_rc;
390 uwb_rc->owner = THIS_MODULE;
391 uwb_rc->cmd = whcrc_cmd;
392 uwb_rc->reset = whcrc_reset;
393 uwb_rc->start = whcrc_start_rc;
394 uwb_rc->stop = whcrc_stop_rc;
396 result = uwb_rc_add(uwb_rc, dev, whcrc);
407 uwb_rc_put(uwb_rc);
424 struct uwb_rc *uwb_rc = whcrc->uwb_rc;
427 uwb_rc_rm(uwb_rc);
430 uwb_rc_put(uwb_rc);
436 struct uwb_rc *uwb_rc = whcrc->uwb_rc;
438 uwb_rc_pre_reset(uwb_rc);
445 struct uwb_rc *uwb_rc = whcrc->uwb_rc;
447 return uwb_rc_post_reset(uwb_rc);