Lines Matching refs:dnc
163 struct wusb_dn_connect *dnc, in wusbhc_cack_add() argument
168 int new_connection = wusb_dn_connect_new_connection(dnc); in wusbhc_cack_add()
174 if (!memcmp(&wusb_dev->cdid, &dnc->CDID, in wusbhc_cack_add()
182 wusb_dev->cdid = dnc->CDID; in wusbhc_cack_add()
280 void wusbhc_devconnect_ack(struct wusbhc *wusbhc, struct wusb_dn_connect *dnc, in wusbhc_devconnect_ack() argument
295 && memcmp(&dnc->CDID, &port->wusb_dev->cdid, sizeof(dnc->CDID)) == 0) in wusbhc_devconnect_ack()
320 wusb_dev = wusbhc_cack_add(wusbhc, dnc, pr_cdid, idx); in wusbhc_devconnect_ack()
533 struct wusb_dn_connect *dnc; in wusbhc_handle_dn_connect() local
542 if (size < sizeof(*dnc)) { in wusbhc_handle_dn_connect()
544 size, sizeof(*dnc)); in wusbhc_handle_dn_connect()
548 dnc = container_of(dn_hdr, struct wusb_dn_connect, hdr); in wusbhc_handle_dn_connect()
549 ckhdid_printf(pr_cdid, sizeof(pr_cdid), &dnc->CDID); in wusbhc_handle_dn_connect()
552 wusb_dn_connect_prev_dev_addr(dnc), in wusbhc_handle_dn_connect()
553 beacon_behaviour[wusb_dn_connect_beacon_behavior(dnc)], in wusbhc_handle_dn_connect()
554 wusb_dn_connect_new_connection(dnc) ? "connect" : "reconnect"); in wusbhc_handle_dn_connect()
556 wusbhc_devconnect_ack(wusbhc, dnc, pr_cdid); in wusbhc_handle_dn_connect()