Lines Matching refs:uwb_rc
83 struct uwb_rc *uwb_rc; /* UWB host controller */ member
116 int hwarc_filter_evt_beacon_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_evt_beacon_WUSB_0100()
174 int hwarc_filter_evt_drp_avail_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_evt_drp_avail_WUSB_0100()
249 int hwarc_filter_evt_drp_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_evt_drp_WUSB_0100()
308 int hwarc_filter_cmd_scan_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_cmd_scan_WUSB_0100()
346 int hwarc_filter_cmd_set_drp_ie_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_cmd_set_drp_ie_WUSB_0100()
391 int hwarc_filter_cmd_WUSB_0100(struct uwb_rc *rc, struct uwb_rccb **header, in hwarc_filter_cmd_WUSB_0100()
423 int hwarc_filter_cmd(struct uwb_rc *rc, struct uwb_rccb **header, in hwarc_filter_cmd()
444 ssize_t hwarc_get_event_size(struct uwb_rc *rc, const struct uwb_rceb *rceb, in hwarc_get_event_size()
497 int hwarc_filter_event_WUSB_0100(struct uwb_rc *rc, struct uwb_rceb **header, in hwarc_filter_event_WUSB_0100()
577 int hwarc_filter_event(struct uwb_rc *rc, struct uwb_rceb **header, in hwarc_filter_event()
599 int hwarc_cmd(struct uwb_rc *uwb_rc, const struct uwb_rccb *cmd, size_t cmd_size) in hwarc_cmd() argument
601 struct hwarc *hwarc = uwb_rc->priv; in hwarc_cmd()
610 int hwarc_reset(struct uwb_rc *uwb_rc) in hwarc_reset() argument
612 struct hwarc *hwarc = uwb_rc->priv; in hwarc_reset()
632 uwb_rc_neh_grok(hwarc->uwb_rc, urb->transfer_buffer, in hwarc_neep_cb()
659 uwb_rc_neh_error(hwarc->uwb_rc, result); in hwarc_neep_cb()
660 uwb_rc_reset_all(hwarc->uwb_rc); in hwarc_neep_cb()
677 static int hwarc_neep_init(struct uwb_rc *rc) in hwarc_neep_init()
718 static void hwarc_neep_release(struct uwb_rc *rc) in hwarc_neep_release()
736 static int hwarc_get_version(struct uwb_rc *rc) in hwarc_get_version()
808 struct uwb_rc *uwb_rc; in hwarc_probe() local
813 uwb_rc = uwb_rc_alloc(); in hwarc_probe()
814 if (uwb_rc == NULL) { in hwarc_probe()
826 hwarc->uwb_rc = uwb_rc; in hwarc_probe()
828 uwb_rc->owner = THIS_MODULE; in hwarc_probe()
829 uwb_rc->start = hwarc_neep_init; in hwarc_probe()
830 uwb_rc->stop = hwarc_neep_release; in hwarc_probe()
831 uwb_rc->cmd = hwarc_cmd; in hwarc_probe()
832 uwb_rc->reset = hwarc_reset; in hwarc_probe()
834 uwb_rc->filter_cmd = NULL; in hwarc_probe()
835 uwb_rc->filter_event = NULL; in hwarc_probe()
837 uwb_rc->filter_cmd = hwarc_filter_cmd; in hwarc_probe()
838 uwb_rc->filter_event = hwarc_filter_event; in hwarc_probe()
841 result = uwb_rc_add(uwb_rc, dev, hwarc); in hwarc_probe()
844 result = hwarc_get_version(uwb_rc); in hwarc_probe()
853 uwb_rc_rm(uwb_rc); in hwarc_probe()
858 uwb_rc_put(uwb_rc); in hwarc_probe()
866 struct uwb_rc *uwb_rc = hwarc->uwb_rc; in hwarc_disconnect() local
869 uwb_rc_rm(uwb_rc); in hwarc_disconnect()
873 uwb_rc_put(uwb_rc); /* when creating the device, refcount = 1 */ in hwarc_disconnect()
879 struct uwb_rc *uwb_rc = hwarc->uwb_rc; in hwarc_pre_reset() local
881 uwb_rc_pre_reset(uwb_rc); in hwarc_pre_reset()
888 struct uwb_rc *uwb_rc = hwarc->uwb_rc; in hwarc_post_reset() local
890 uwb_rc_post_reset(uwb_rc); in hwarc_post_reset()