wusb_dev 48 drivers/staging/wusbcore/dev-sysfs.c struct wusb_dev *wusb_dev; wusb_dev 50 drivers/staging/wusbcore/dev-sysfs.c wusb_dev = wusb_dev_get_by_usb_dev(to_usb_device(dev)); wusb_dev 51 drivers/staging/wusbcore/dev-sysfs.c if (wusb_dev == NULL) wusb_dev 53 drivers/staging/wusbcore/dev-sysfs.c result = sprintf(buf, "%16ph\n", wusb_dev->cdid.data); wusb_dev 54 drivers/staging/wusbcore/dev-sysfs.c wusb_dev_put(wusb_dev); wusb_dev 88 drivers/staging/wusbcore/dev-sysfs.c result = wusb_dev_4way_handshake(wusbhc, usb_dev->wusb_dev, &ck); wusb_dev 108 drivers/staging/wusbcore/dev-sysfs.c struct wusb_dev *wusb_dev) wusb_dev 119 drivers/staging/wusbcore/dev-sysfs.c void wusb_dev_sysfs_rm(struct wusb_dev *wusb_dev) wusb_dev 121 drivers/staging/wusbcore/dev-sysfs.c struct usb_device *usb_dev = wusb_dev->usb_dev; wusb_dev 84 drivers/staging/wusbcore/devconnect.c static void wusb_dev_free(struct wusb_dev *wusb_dev) wusb_dev 86 drivers/staging/wusbcore/devconnect.c kfree(wusb_dev); wusb_dev 89 drivers/staging/wusbcore/devconnect.c static struct wusb_dev *wusb_dev_alloc(struct wusbhc *wusbhc) wusb_dev 91 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev; wusb_dev 93 drivers/staging/wusbcore/devconnect.c wusb_dev = kzalloc(sizeof(*wusb_dev), GFP_KERNEL); wusb_dev 94 drivers/staging/wusbcore/devconnect.c if (wusb_dev == NULL) wusb_dev 97 drivers/staging/wusbcore/devconnect.c wusb_dev->wusbhc = wusbhc; wusb_dev 99 drivers/staging/wusbcore/devconnect.c INIT_WORK(&wusb_dev->devconnect_acked_work, wusbhc_devconnect_acked_work); wusb_dev 101 drivers/staging/wusbcore/devconnect.c return wusb_dev; wusb_dev 103 drivers/staging/wusbcore/devconnect.c wusb_dev_free(wusb_dev); wusb_dev 121 drivers/staging/wusbcore/devconnect.c struct wusb_dev *dev_itr; wusb_dev 148 drivers/staging/wusbcore/devconnect.c static struct wusb_dev *wusbhc_cack_add(struct wusbhc *wusbhc, wusb_dev 153 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev; wusb_dev 159 drivers/staging/wusbcore/devconnect.c list_for_each_entry(wusb_dev, &wusbhc->cack_list, cack_node) wusb_dev 160 drivers/staging/wusbcore/devconnect.c if (!memcmp(&wusb_dev->cdid, &dnc->CDID, wusb_dev 161 drivers/staging/wusbcore/devconnect.c sizeof(wusb_dev->cdid))) wusb_dev 162 drivers/staging/wusbcore/devconnect.c return wusb_dev; wusb_dev 164 drivers/staging/wusbcore/devconnect.c wusb_dev = wusb_dev_alloc(wusbhc); wusb_dev 165 drivers/staging/wusbcore/devconnect.c if (wusb_dev == NULL) wusb_dev 167 drivers/staging/wusbcore/devconnect.c wusb_dev_init(wusb_dev); wusb_dev 168 drivers/staging/wusbcore/devconnect.c wusb_dev->cdid = dnc->CDID; wusb_dev 169 drivers/staging/wusbcore/devconnect.c wusb_dev->port_idx = port_idx; wusb_dev 178 drivers/staging/wusbcore/devconnect.c bitmap_fill(wusb_dev->availability.bm, UWB_NUM_MAS); wusb_dev 190 drivers/staging/wusbcore/devconnect.c result = wusb_set_dev_addr(wusbhc, wusb_dev, dev_addr); wusb_dev 194 drivers/staging/wusbcore/devconnect.c wusb_dev->entry_ts = jiffies; wusb_dev 195 drivers/staging/wusbcore/devconnect.c list_add_tail(&wusb_dev->cack_node, &wusbhc->cack_list); wusb_dev 199 drivers/staging/wusbcore/devconnect.c return wusb_dev; wusb_dev 207 drivers/staging/wusbcore/devconnect.c static void wusbhc_cack_rm(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev) wusb_dev 209 drivers/staging/wusbcore/devconnect.c list_del_init(&wusb_dev->cack_node); wusb_dev 217 drivers/staging/wusbcore/devconnect.c void wusbhc_devconnect_acked(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev) wusb_dev 219 drivers/staging/wusbcore/devconnect.c wusbhc_cack_rm(wusbhc, wusb_dev); wusb_dev 228 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev = container_of(work, struct wusb_dev, wusb_dev 230 drivers/staging/wusbcore/devconnect.c struct wusbhc *wusbhc = wusb_dev->wusbhc; wusb_dev 233 drivers/staging/wusbcore/devconnect.c wusbhc_devconnect_acked(wusbhc, wusb_dev); wusb_dev 236 drivers/staging/wusbcore/devconnect.c wusb_dev_put(wusb_dev); wusb_dev 271 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev; wusb_dev 280 drivers/staging/wusbcore/devconnect.c if (port->wusb_dev wusb_dev 281 drivers/staging/wusbcore/devconnect.c && memcmp(&dnc->CDID, &port->wusb_dev->cdid, sizeof(dnc->CDID)) == 0) wusb_dev 306 drivers/staging/wusbcore/devconnect.c wusb_dev = wusbhc_cack_add(wusbhc, dnc, pr_cdid, idx); wusb_dev 307 drivers/staging/wusbcore/devconnect.c if (wusb_dev == NULL) wusb_dev 315 drivers/staging/wusbcore/devconnect.c port->wusb_dev = wusb_dev; wusb_dev 347 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev = port->wusb_dev; wusb_dev 353 drivers/staging/wusbcore/devconnect.c if (wusb_dev) { wusb_dev 354 drivers/staging/wusbcore/devconnect.c dev_dbg(wusbhc->dev, "disconnecting device from port %d\n", wusb_dev->port_idx); wusb_dev 355 drivers/staging/wusbcore/devconnect.c if (!list_empty(&wusb_dev->cack_node)) wusb_dev 356 drivers/staging/wusbcore/devconnect.c list_del_init(&wusb_dev->cack_node); wusb_dev 358 drivers/staging/wusbcore/devconnect.c wusb_dev_put(wusb_dev); wusb_dev 360 drivers/staging/wusbcore/devconnect.c port->wusb_dev = NULL; wusb_dev 393 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev; wusb_dev 406 drivers/staging/wusbcore/devconnect.c wusb_dev = wusb_port->wusb_dev; wusb_dev 408 drivers/staging/wusbcore/devconnect.c if (wusb_dev == NULL) wusb_dev 410 drivers/staging/wusbcore/devconnect.c if (wusb_dev->usb_dev == NULL) wusb_dev 413 drivers/staging/wusbcore/devconnect.c if (time_after(jiffies, wusb_dev->entry_ts + tt)) { wusb_dev 415 drivers/staging/wusbcore/devconnect.c wusb_dev->addr); wusb_dev 417 drivers/staging/wusbcore/devconnect.c } else if (time_after(jiffies, wusb_dev->entry_ts + tt/3)) { wusb_dev 419 drivers/staging/wusbcore/devconnect.c ie->bDeviceAddress[keep_alives++] = wusb_dev->addr; wusb_dev 455 drivers/staging/wusbcore/devconnect.c static struct wusb_dev *wusbhc_find_dev_by_addr(struct wusbhc *wusbhc, u8 addr) wusb_dev 466 drivers/staging/wusbcore/devconnect.c return wusb_port_by_idx(wusbhc, port)->wusb_dev; wusb_dev 471 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev = wusb_port_by_idx(wusbhc, p)->wusb_dev; wusb_dev 472 drivers/staging/wusbcore/devconnect.c if (wusb_dev && wusb_dev->addr == addr) wusb_dev 473 drivers/staging/wusbcore/devconnect.c return wusb_dev; wusb_dev 488 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev; wusb_dev 491 drivers/staging/wusbcore/devconnect.c wusb_dev = wusbhc_find_dev_by_addr(wusbhc, srcaddr); wusb_dev 492 drivers/staging/wusbcore/devconnect.c if (wusb_dev == NULL) { wusb_dev 496 drivers/staging/wusbcore/devconnect.c wusb_dev->entry_ts = jiffies; wusb_dev 555 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev; wusb_dev 558 drivers/staging/wusbcore/devconnect.c wusb_dev = wusbhc_find_dev_by_addr(wusbhc, srcaddr); wusb_dev 559 drivers/staging/wusbcore/devconnect.c if (wusb_dev == NULL) { wusb_dev 564 drivers/staging/wusbcore/devconnect.c wusb_dev->addr); wusb_dev 566 drivers/staging/wusbcore/devconnect.c wusb_dev->port_idx)); wusb_dev 643 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev; wusb_dev 646 drivers/staging/wusbcore/devconnect.c wusb_dev = wusb_port_by_idx(wusbhc, port_idx)->wusb_dev; wusb_dev 647 drivers/staging/wusbcore/devconnect.c if (wusb_dev == NULL) { wusb_dev 660 drivers/staging/wusbcore/devconnect.c ie->bDeviceAddress = wusb_dev->addr; wusb_dev 689 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev, wusb_dev 725 drivers/staging/wusbcore/devconnect.c if (cap_size != sizeof(*wusb_dev->wusb_cap_descr)) wusb_dev 729 drivers/staging/wusbcore/devconnect.c sizeof(*wusb_dev->wusb_cap_descr)); wusb_dev 731 drivers/staging/wusbcore/devconnect.c wusb_dev->wusb_cap_descr = itr; wusb_dev 760 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev) wusb_dev 797 drivers/staging/wusbcore/devconnect.c result = wusb_dev_bos_grok(usb_dev, wusb_dev, bos, result); wusb_dev 800 drivers/staging/wusbcore/devconnect.c wusb_dev->bos = bos; wusb_dev 806 drivers/staging/wusbcore/devconnect.c wusb_dev->wusb_cap_descr = NULL; wusb_dev 810 drivers/staging/wusbcore/devconnect.c static void wusb_dev_bos_rm(struct wusb_dev *wusb_dev) wusb_dev 812 drivers/staging/wusbcore/devconnect.c kfree(wusb_dev->bos); wusb_dev 813 drivers/staging/wusbcore/devconnect.c wusb_dev->wusb_cap_descr = NULL; wusb_dev 841 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev; wusb_dev 855 drivers/staging/wusbcore/devconnect.c wusb_dev = __wusb_dev_get_by_usb_dev(wusbhc, usb_dev); wusb_dev 858 drivers/staging/wusbcore/devconnect.c if (wusb_dev == NULL) wusb_dev 860 drivers/staging/wusbcore/devconnect.c wusb_dev->usb_dev = usb_get_dev(usb_dev); wusb_dev 861 drivers/staging/wusbcore/devconnect.c usb_dev->wusb_dev = wusb_dev_get(wusb_dev); wusb_dev 862 drivers/staging/wusbcore/devconnect.c result = wusb_dev_sec_add(wusbhc, usb_dev, wusb_dev); wusb_dev 868 drivers/staging/wusbcore/devconnect.c result = wusb_dev_bos_add(usb_dev, wusb_dev); wusb_dev 873 drivers/staging/wusbcore/devconnect.c result = wusb_dev_sysfs_add(wusbhc, usb_dev, wusb_dev); wusb_dev 877 drivers/staging/wusbcore/devconnect.c wusb_dev_put(wusb_dev); wusb_dev 883 drivers/staging/wusbcore/devconnect.c wusb_dev_bos_rm(wusb_dev); wusb_dev 885 drivers/staging/wusbcore/devconnect.c wusb_dev_sec_rm(wusb_dev); wusb_dev 900 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev = usb_dev->wusb_dev; wusb_dev 905 drivers/staging/wusbcore/devconnect.c wusb_dev_sysfs_rm(wusb_dev); wusb_dev 906 drivers/staging/wusbcore/devconnect.c wusb_dev_bos_rm(wusb_dev); wusb_dev 907 drivers/staging/wusbcore/devconnect.c wusb_dev_sec_rm(wusb_dev); wusb_dev 908 drivers/staging/wusbcore/devconnect.c wusb_dev->usb_dev = NULL; wusb_dev 909 drivers/staging/wusbcore/devconnect.c usb_dev->wusb_dev = NULL; wusb_dev 910 drivers/staging/wusbcore/devconnect.c wusb_dev_put(wusb_dev); wusb_dev 948 drivers/staging/wusbcore/devconnect.c struct wusb_dev *__wusb_dev_get_by_usb_dev(struct wusbhc *wusbhc, wusb_dev 951 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev; wusb_dev 956 drivers/staging/wusbcore/devconnect.c wusb_dev = wusb_port_by_idx(wusbhc, port_idx)->wusb_dev; wusb_dev 957 drivers/staging/wusbcore/devconnect.c if (wusb_dev != NULL) /* ops, device is gone */ wusb_dev 958 drivers/staging/wusbcore/devconnect.c wusb_dev_get(wusb_dev); wusb_dev 959 drivers/staging/wusbcore/devconnect.c return wusb_dev; wusb_dev 965 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev = container_of(_wusb_dev, struct wusb_dev, refcnt); wusb_dev 967 drivers/staging/wusbcore/devconnect.c list_del_init(&wusb_dev->cack_node); wusb_dev 968 drivers/staging/wusbcore/devconnect.c wusb_dev_free(wusb_dev); wusb_dev 1052 drivers/staging/wusbcore/devconnect.c if (wusbhc->port[i].wusb_dev) wusb_dev 1069 drivers/staging/wusbcore/devconnect.c int wusb_set_dev_addr(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev, u8 addr) wusb_dev 1073 drivers/staging/wusbcore/devconnect.c wusb_dev->addr = addr; wusb_dev 1074 drivers/staging/wusbcore/devconnect.c result = wusbhc->dev_info_set(wusbhc, wusb_dev); wusb_dev 1077 drivers/staging/wusbcore/devconnect.c "address\n", wusb_dev->port_idx); wusb_dev 1080 drivers/staging/wusbcore/devconnect.c wusb_dev->port_idx, wusb_dev 1082 drivers/staging/wusbcore/devconnect.c wusb_dev->addr); wusb_dev 406 drivers/staging/wusbcore/host/hwa-hc.c struct wusb_dev *wusb_dev) wusb_dev 419 drivers/staging/wusbcore/host/hwa-hc.c &wusb_dev->availability); wusb_dev 420 drivers/staging/wusbcore/host/hwa-hc.c dev_info->bDeviceAddress = wusb_dev->addr; wusb_dev 429 drivers/staging/wusbcore/host/hwa-hc.c if (wusb_dev->wusb_cap_descr) wusb_dev 430 drivers/staging/wusbcore/host/hwa-hc.c dev_info->wPHYRates = wusb_dev->wusb_cap_descr->wPHYRates; wusb_dev 437 drivers/staging/wusbcore/host/hwa-hc.c 0, wusb_dev->port_idx << 8 | iface_no, wusb_dev 44 drivers/staging/wusbcore/host/whci/qset.c struct wusb_dev *wusb_dev = usb_dev->wusb_dev; wusb_dev 72 drivers/staging/wusbcore/host/whci/qset.c phy_rates = le16_to_cpu(wusb_dev->wusb_cap_descr->wPHYRates); wusb_dev 145 drivers/staging/wusbcore/host/whci/whcd.h int whc_dev_info_set(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev); wusb_dev 92 drivers/staging/wusbcore/host/whci/wusb.c int whc_dev_info_set(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev) wusb_dev 95 drivers/staging/wusbcore/host/whci/wusb.c int idx = wusb_dev->port_idx; wusb_dev 101 drivers/staging/wusbcore/host/whci/wusb.c uwb_mas_bm_copy_le(di->availability_info, &wusb_dev->availability); wusb_dev 103 drivers/staging/wusbcore/host/whci/wusb.c di->addr_sec_info |= WHC_DI_DEV_ADDR(wusb_dev->addr); wusb_dev 89 drivers/staging/wusbcore/rh.c struct wusb_dev *wusb_dev = port->wusb_dev; wusb_dev 91 drivers/staging/wusbcore/rh.c if (wusb_dev == NULL) wusb_dev 97 drivers/staging/wusbcore/rh.c if (wusb_dev->addr & WUSB_DEV_ADDR_UNAUTH) wusb_dev 100 drivers/staging/wusbcore/rh.c result = wusb_dev_update_address(wusbhc, wusb_dev); wusb_dev 68 drivers/staging/wusbcore/security.c static u32 wusbhc_next_tkid(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev) wusb_dev 73 drivers/staging/wusbcore/security.c if (wusb_dev == NULL) { wusb_dev 77 drivers/staging/wusbcore/security.c tkid = &wusb_port_by_idx(wusbhc, wusb_dev->port_idx)->ptk_tkid; wusb_dev 78 drivers/staging/wusbcore/security.c addr = wusb_dev->addr & 0x7f; wusb_dev 159 drivers/staging/wusbcore/security.c struct wusb_dev *wusb_dev = usb_dev->wusb_dev; wusb_dev 162 drivers/staging/wusbcore/security.c value = wusb_dev->ccm1_etd.bEncryptionValue; wusb_dev 175 drivers/staging/wusbcore/security.c wusb_et_name(wusb_dev->ccm1_etd.bEncryptionType), wusb_dev 176 drivers/staging/wusbcore/security.c wusb_dev->ccm1_etd.bEncryptionValue, result); wusb_dev 185 drivers/staging/wusbcore/security.c static int wusb_dev_set_gtk(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev) wusb_dev 187 drivers/staging/wusbcore/security.c struct usb_device *usb_dev = wusb_dev->usb_dev; wusb_dev 203 drivers/staging/wusbcore/security.c struct usb_device *usb_dev, struct wusb_dev *wusb_dev) wusb_dev 276 drivers/staging/wusbcore/security.c wusb_dev->ccm1_etd = *ccm1_etd; wusb_dev 286 drivers/staging/wusbcore/security.c void wusb_dev_sec_rm(struct wusb_dev *wusb_dev) wusb_dev 300 drivers/staging/wusbcore/security.c int wusb_dev_update_address(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev) wusb_dev 303 drivers/staging/wusbcore/security.c struct usb_device *usb_dev = wusb_dev->usb_dev; wusb_dev 305 drivers/staging/wusbcore/security.c u8 new_address = wusb_dev->addr & 0x7F; wusb_dev 317 drivers/staging/wusbcore/security.c result = wusb_set_dev_addr(wusbhc, wusb_dev, 0); wusb_dev 334 drivers/staging/wusbcore/security.c result = wusb_set_dev_addr(wusbhc, wusb_dev, new_address); wusb_dev 350 drivers/staging/wusbcore/security.c int wusb_dev_4way_handshake(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev, wusb_dev 354 drivers/staging/wusbcore/security.c struct usb_device *usb_dev = wusb_dev->usb_dev; wusb_dev 373 drivers/staging/wusbcore/security.c tkid = wusbhc_next_tkid(wusbhc, wusb_dev); wusb_dev 379 drivers/staging/wusbcore/security.c memcpy(hs[0].CDID, &wusb_dev->cdid, sizeof(hs[0].CDID)); wusb_dev 431 drivers/staging/wusbcore/security.c ccm_n.dest_addr.data[0] = wusb_dev->addr; wusb_dev 462 drivers/staging/wusbcore/security.c memcpy(hs[2].CDID, &wusb_dev->cdid, sizeof(hs[2].CDID)); wusb_dev 481 drivers/staging/wusbcore/security.c result = wusbhc->set_ptk(wusbhc, wusb_dev->port_idx, tkid, wusb_dev 486 drivers/staging/wusbcore/security.c result = wusb_dev_set_gtk(wusbhc, wusb_dev); wusb_dev 495 drivers/staging/wusbcore/security.c result = wusb_dev_update_address(wusbhc, wusb_dev); wusb_dev 531 drivers/staging/wusbcore/security.c struct wusb_dev *wusb_dev, *wusb_dev_next; wusb_dev 545 drivers/staging/wusbcore/security.c wusb_dev = wusbhc->port[port_idx].wusb_dev; wusb_dev 546 drivers/staging/wusbcore/security.c if (!wusb_dev || !wusb_dev->usb_dev wusb_dev 547 drivers/staging/wusbcore/security.c || !wusb_dev->usb_dev->authenticated) wusb_dev 550 drivers/staging/wusbcore/security.c wusb_dev_get(wusb_dev); wusb_dev 551 drivers/staging/wusbcore/security.c list_add_tail(&wusb_dev->rekey_node, &rekey_list); wusb_dev 556 drivers/staging/wusbcore/security.c list_for_each_entry_safe(wusb_dev, wusb_dev_next, &rekey_list, wusb_dev 558 drivers/staging/wusbcore/security.c list_del_init(&wusb_dev->rekey_node); wusb_dev 559 drivers/staging/wusbcore/security.c dev_dbg(&wusb_dev->usb_dev->dev, wusb_dev 561 drivers/staging/wusbcore/security.c __func__, wusb_dev->port_idx); wusb_dev 563 drivers/staging/wusbcore/security.c if (wusb_dev_set_gtk(wusbhc, wusb_dev) < 0) { wusb_dev 564 drivers/staging/wusbcore/security.c dev_err(&wusb_dev->usb_dev->dev, wusb_dev 566 drivers/staging/wusbcore/security.c __func__, wusb_dev->port_idx); wusb_dev 568 drivers/staging/wusbcore/security.c wusb_dev_put(wusb_dev); wusb_dev 151 drivers/staging/wusbcore/wa-xfer.c struct wusb_dev *wusb_dev; /* for activity timestamps */ wusb_dev 287 drivers/staging/wusbcore/wa-xfer.c if (xfer->wusb_dev) wusb_dev 288 drivers/staging/wusbcore/wa-xfer.c wusb_dev_put(xfer->wusb_dev); wusb_dev 1646 drivers/staging/wusbcore/wa-xfer.c struct wusb_dev *wusb_dev; wusb_dev 1662 drivers/staging/wusbcore/wa-xfer.c wusb_dev = __wusb_dev_get_by_usb_dev(wusbhc, urb->dev); wusb_dev 1663 drivers/staging/wusbcore/wa-xfer.c if (wusb_dev == NULL) { wusb_dev 1672 drivers/staging/wusbcore/wa-xfer.c xfer->wusb_dev = wusb_dev; wusb_dev 1708 drivers/staging/wusbcore/wa-xfer.c if (wusb_dev) wusb_dev 1709 drivers/staging/wusbcore/wa-xfer.c wusb_dev_put(wusb_dev); wusb_dev 411 drivers/staging/wusbcore/wusbhc.c struct wusb_dev *wusb_dev = __wusb_dev_get_by_usb_dev(wusbhc, wusb_dev 414 drivers/staging/wusbcore/wusbhc.c if (status == 0 && wusb_dev) { wusb_dev 415 drivers/staging/wusbcore/wusbhc.c wusb_dev->entry_ts = jiffies; wusb_dev 419 drivers/staging/wusbcore/wusbhc.c if (!list_empty(&wusb_dev->cack_node)) wusb_dev 420 drivers/staging/wusbcore/wusbhc.c queue_work(wusbd, &wusb_dev->devconnect_acked_work); wusb_dev 422 drivers/staging/wusbcore/wusbhc.c wusb_dev_put(wusb_dev); wusb_dev 102 drivers/staging/wusbcore/wusbhc.h static inline void wusb_dev_init(struct wusb_dev *wusb_dev) wusb_dev 104 drivers/staging/wusbcore/wusbhc.h kref_init(&wusb_dev->refcnt); wusb_dev 110 drivers/staging/wusbcore/wusbhc.h static inline struct wusb_dev *wusb_dev_get(struct wusb_dev *wusb_dev) wusb_dev 112 drivers/staging/wusbcore/wusbhc.h kref_get(&wusb_dev->refcnt); wusb_dev 113 drivers/staging/wusbcore/wusbhc.h return wusb_dev; wusb_dev 116 drivers/staging/wusbcore/wusbhc.h static inline void wusb_dev_put(struct wusb_dev *wusb_dev) wusb_dev 118 drivers/staging/wusbcore/wusbhc.h kref_put(&wusb_dev->refcnt, wusb_dev_destroy); wusb_dev 141 drivers/staging/wusbcore/wusbhc.h struct wusb_dev *wusb_dev; /* connected device's info */ wusb_dev 269 drivers/staging/wusbcore/wusbhc.h int (*dev_info_set)(struct wusbhc *, struct wusb_dev *wusb_dev); wusb_dev 300 drivers/staging/wusbcore/wusbhc.h struct wusb_dev *); wusb_dev 301 drivers/staging/wusbcore/wusbhc.h extern void wusb_dev_sysfs_rm(struct wusb_dev *); wusb_dev 386 drivers/staging/wusbcore/wusbhc.h extern int wusb_set_dev_addr(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev, wusb_dev 421 drivers/staging/wusbcore/wusbhc.h struct wusb_dev *); wusb_dev 422 drivers/staging/wusbcore/wusbhc.h extern void wusb_dev_sec_rm(struct wusb_dev *) ; wusb_dev 423 drivers/staging/wusbcore/wusbhc.h extern int wusb_dev_4way_handshake(struct wusbhc *, struct wusb_dev *, wusb_dev 426 drivers/staging/wusbcore/wusbhc.h int wusb_dev_update_address(struct wusbhc *wusbhc, struct wusb_dev *wusb_dev); wusb_dev 459 drivers/staging/wusbcore/wusbhc.h extern struct wusb_dev *__wusb_dev_get_by_usb_dev(struct wusbhc *, wusb_dev 470 drivers/staging/wusbcore/wusbhc.h struct wusb_dev *wusb_dev_get_by_usb_dev(struct usb_device *usb_dev) wusb_dev 473 drivers/staging/wusbcore/wusbhc.h struct wusb_dev *wusb_dev; wusb_dev 478 drivers/staging/wusbcore/wusbhc.h wusb_dev = __wusb_dev_get_by_usb_dev(wusbhc, usb_dev); wusb_dev 481 drivers/staging/wusbcore/wusbhc.h return wusb_dev; wusb_dev 28 include/linux/usb.h struct wusb_dev; wusb_dev 702 include/linux/usb.h struct wusb_dev *wusb_dev;