usb_dev 54 arch/arm/mach-davinci/usb.c static struct platform_device usb_dev = { usb_dev 73 arch/arm/mach-davinci/usb.c usb_dev.resource[1].start = DAVINCI_INTC_IRQ(IRQ_DM646X_USBINT); usb_dev 74 arch/arm/mach-davinci/usb.c usb_dev.resource[2].start = DAVINCI_INTC_IRQ( usb_dev 77 arch/arm/mach-davinci/usb.c usb_dev.num_resources = 2; usb_dev 79 arch/arm/mach-davinci/usb.c platform_device_register(&usb_dev); usb_dev 107 drivers/gpio/gpio-viperboard.c ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev, 0), usb_dev 114 drivers/gpio/gpio-viperboard.c ret = usb_control_msg(vb->usb_dev, usb_rcvctrlpipe(vb->usb_dev, 0), usb_dev 159 drivers/gpio/gpio-viperboard.c ret = usb_control_msg(vb->usb_dev, usb_dev 160 drivers/gpio/gpio-viperboard.c usb_sndctrlpipe(vb->usb_dev, 0), usb_dev 196 drivers/gpio/gpio-viperboard.c ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev, 0), usb_dev 237 drivers/gpio/gpio-viperboard.c ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev, 0), usb_dev 264 drivers/gpio/gpio-viperboard.c ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev, 0), usb_dev 290 drivers/gpio/gpio-viperboard.c ret = usb_control_msg(vb->usb_dev, usb_rcvctrlpipe(vb->usb_dev, 0), usb_dev 327 drivers/gpio/gpio-viperboard.c ret = usb_control_msg(vb->usb_dev, usb_dev 328 drivers/gpio/gpio-viperboard.c usb_sndctrlpipe(vb->usb_dev, 0), usb_dev 101 drivers/greybus/es2.c struct usb_device *usb_dev; usb_dev 149 drivers/greybus/es2.c struct usb_device *udev = es2->usb_dev; usb_dev 181 drivers/greybus/es2.c struct usb_device *udev = es2->usb_dev; usb_dev 240 drivers/greybus/es2.c dev_err(&es2->usb_dev->dev, usb_dev 280 drivers/greybus/es2.c dev_err(&es2->usb_dev->dev, usb_dev 333 drivers/greybus/es2.c dev_dbg(&es2->usb_dev->dev, usb_dev 394 drivers/greybus/es2.c struct usb_device *udev = es2->usb_dev; usb_dev 545 drivers/greybus/es2.c struct usb_device *udev = es2->usb_dev; usb_dev 589 drivers/greybus/es2.c struct device *dev = &es2->usb_dev->dev; usb_dev 608 drivers/greybus/es2.c struct device *dev = &es2->usb_dev->dev; usb_dev 627 drivers/greybus/es2.c struct device *dev = &es2->usb_dev->dev; usb_dev 653 drivers/greybus/es2.c struct device *dev = &es2->usb_dev->dev; usb_dev 681 drivers/greybus/es2.c struct device *dev = &es2->usb_dev->dev; usb_dev 700 drivers/greybus/es2.c struct usb_device *udev = es2->usb_dev; usb_dev 718 drivers/greybus/es2.c struct usb_device *udev = es2->usb_dev; usb_dev 810 drivers/greybus/es2.c udev = es2->usb_dev; usb_dev 954 drivers/greybus/es2.c struct usb_device *udev = es2->usb_dev; usb_dev 1022 drivers/greybus/es2.c dev_err(&es2->usb_dev->dev, usb_dev 1084 drivers/greybus/es2.c retval = usb_control_msg(es2->usb_dev, usb_dev 1085 drivers/greybus/es2.c usb_rcvctrlpipe(es2->usb_dev, 0), usb_dev 1285 drivers/greybus/es2.c es2->usb_dev = udev; usb_dev 122 drivers/hid/hid-holtek-kbd.c struct usb_device *usb_dev = hid_to_usb_dev(hid); usb_dev 125 drivers/hid/hid-holtek-kbd.c struct usb_interface *boot_interface = usb_ifnum_to_if(usb_dev, 0); usb_dev 144 drivers/hid/hid-ntrig.c struct usb_device *usb_dev = hid_to_usb_dev(hdev); usb_dev 150 drivers/hid/hid-ntrig.c ret = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 33 drivers/hid/hid-roccat-arvo.c struct usb_device *usb_dev = usb_dev 39 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_MODE_KEY, usb_dev 53 drivers/hid/hid-roccat-arvo.c struct usb_device *usb_dev = usb_dev 67 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_send(usb_dev, ARVO_COMMAND_MODE_KEY, usb_dev 83 drivers/hid/hid-roccat-arvo.c struct usb_device *usb_dev = usb_dev 89 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_KEY_MASK, usb_dev 103 drivers/hid/hid-roccat-arvo.c struct usb_device *usb_dev = usb_dev 117 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_send(usb_dev, ARVO_COMMAND_KEY_MASK, usb_dev 129 drivers/hid/hid-roccat-arvo.c static int arvo_get_actual_profile(struct usb_device *usb_dev) usb_dev 134 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_ACTUAL_PROFILE, usb_dev 157 drivers/hid/hid-roccat-arvo.c struct usb_device *usb_dev = usb_dev 174 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_send(usb_dev, ARVO_COMMAND_ACTUAL_PROFILE, usb_dev 193 drivers/hid/hid-roccat-arvo.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 200 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_send(usb_dev, command, buf, real_size); usb_dev 212 drivers/hid/hid-roccat-arvo.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 222 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); usb_dev 271 drivers/hid/hid-roccat-arvo.c static int arvo_init_arvo_device_struct(struct usb_device *usb_dev, usb_dev 278 drivers/hid/hid-roccat-arvo.c retval = arvo_get_actual_profile(usb_dev); usb_dev 289 drivers/hid/hid-roccat-arvo.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 306 drivers/hid/hid-roccat-arvo.c retval = arvo_init_arvo_device_struct(usb_dev, arvo); usb_dev 21 drivers/hid/hid-roccat-common.c int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, usb_dev 31 drivers/hid/hid-roccat-common.c len = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 43 drivers/hid/hid-roccat-common.c int roccat_common2_send(struct usb_device *usb_dev, uint report_id, usb_dev 53 drivers/hid/hid-roccat-common.c len = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 72 drivers/hid/hid-roccat-common.c static int roccat_common2_receive_control_status(struct usb_device *usb_dev) usb_dev 79 drivers/hid/hid-roccat-common.c retval = roccat_common2_receive(usb_dev, usb_dev 97 drivers/hid/hid-roccat-common.c dev_err(&usb_dev->dev, usb_dev 107 drivers/hid/hid-roccat-common.c int roccat_common2_send_with_status(struct usb_device *usb_dev, usb_dev 112 drivers/hid/hid-roccat-common.c retval = roccat_common2_send(usb_dev, command, buf, size); usb_dev 118 drivers/hid/hid-roccat-common.c return roccat_common2_receive_control_status(usb_dev); usb_dev 122 drivers/hid/hid-roccat-common.c int roccat_common2_device_init_struct(struct usb_device *usb_dev, usb_dev 136 drivers/hid/hid-roccat-common.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 146 drivers/hid/hid-roccat-common.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); usb_dev 159 drivers/hid/hid-roccat-common.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 166 drivers/hid/hid-roccat-common.c retval = roccat_common2_send_with_status(usb_dev, command, buf, real_size); usb_dev 25 drivers/hid/hid-roccat-common.h int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, usb_dev 27 drivers/hid/hid-roccat-common.h int roccat_common2_send(struct usb_device *usb_dev, uint report_id, usb_dev 29 drivers/hid/hid-roccat-common.h int roccat_common2_send_with_status(struct usb_device *usb_dev, usb_dev 38 drivers/hid/hid-roccat-common.h int roccat_common2_device_init_struct(struct usb_device *usb_dev, usb_dev 33 drivers/hid/hid-roccat-isku.c static int isku_receive(struct usb_device *usb_dev, uint command, usb_dev 36 drivers/hid/hid-roccat-isku.c return roccat_common2_receive(usb_dev, command, buf, size); usb_dev 39 drivers/hid/hid-roccat-isku.c static int isku_get_actual_profile(struct usb_device *usb_dev) usb_dev 44 drivers/hid/hid-roccat-isku.c retval = isku_receive(usb_dev, ISKU_COMMAND_ACTUAL_PROFILE, usb_dev 49 drivers/hid/hid-roccat-isku.c static int isku_set_actual_profile(struct usb_device *usb_dev, int new_profile) usb_dev 56 drivers/hid/hid-roccat-isku.c return roccat_common2_send_with_status(usb_dev, usb_dev 73 drivers/hid/hid-roccat-isku.c struct usb_device *usb_dev; usb_dev 80 drivers/hid/hid-roccat-isku.c usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 91 drivers/hid/hid-roccat-isku.c retval = isku_set_actual_profile(usb_dev, profile); usb_dev 123 drivers/hid/hid-roccat-isku.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 133 drivers/hid/hid-roccat-isku.c retval = isku_receive(usb_dev, command, buf, count); usb_dev 145 drivers/hid/hid-roccat-isku.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 152 drivers/hid/hid-roccat-isku.c retval = roccat_common2_send_with_status(usb_dev, command, usb_dev 251 drivers/hid/hid-roccat-isku.c static int isku_init_isku_device_struct(struct usb_device *usb_dev, usb_dev 258 drivers/hid/hid-roccat-isku.c retval = isku_get_actual_profile(usb_dev); usb_dev 269 drivers/hid/hid-roccat-isku.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 286 drivers/hid/hid-roccat-isku.c retval = isku_init_isku_device_struct(usb_dev, isku); usb_dev 53 drivers/hid/hid-roccat-kone.c static int kone_receive(struct usb_device *usb_dev, uint usb_command, usb_dev 63 drivers/hid/hid-roccat-kone.c len = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 73 drivers/hid/hid-roccat-kone.c static int kone_send(struct usb_device *usb_dev, uint usb_command, usb_dev 83 drivers/hid/hid-roccat-kone.c len = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 111 drivers/hid/hid-roccat-kone.c static int kone_check_write(struct usb_device *usb_dev) usb_dev 123 drivers/hid/hid-roccat-kone.c retval = kone_receive(usb_dev, usb_dev 139 drivers/hid/hid-roccat-kone.c dev_err(&usb_dev->dev, "got retval %d when checking write\n", data); usb_dev 148 drivers/hid/hid-roccat-kone.c static int kone_get_settings(struct usb_device *usb_dev, usb_dev 151 drivers/hid/hid-roccat-kone.c return kone_receive(usb_dev, kone_command_settings, buf, usb_dev 160 drivers/hid/hid-roccat-kone.c static int kone_set_settings(struct usb_device *usb_dev, usb_dev 165 drivers/hid/hid-roccat-kone.c retval = kone_send(usb_dev, kone_command_settings, usb_dev 169 drivers/hid/hid-roccat-kone.c return kone_check_write(usb_dev); usb_dev 178 drivers/hid/hid-roccat-kone.c static int kone_get_profile(struct usb_device *usb_dev, usb_dev 186 drivers/hid/hid-roccat-kone.c len = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 204 drivers/hid/hid-roccat-kone.c static int kone_set_profile(struct usb_device *usb_dev, usb_dev 212 drivers/hid/hid-roccat-kone.c len = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 222 drivers/hid/hid-roccat-kone.c if (kone_check_write(usb_dev)) usb_dev 233 drivers/hid/hid-roccat-kone.c static int kone_get_weight(struct usb_device *usb_dev, int *result) usb_dev 238 drivers/hid/hid-roccat-kone.c retval = kone_receive(usb_dev, kone_command_weight, &data, 1); usb_dev 252 drivers/hid/hid-roccat-kone.c static int kone_get_firmware_version(struct usb_device *usb_dev, int *result) usb_dev 257 drivers/hid/hid-roccat-kone.c retval = kone_receive(usb_dev, kone_command_firmware_version, usb_dev 295 drivers/hid/hid-roccat-kone.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 305 drivers/hid/hid-roccat-kone.c retval = kone_set_settings(usb_dev, usb_dev 352 drivers/hid/hid-roccat-kone.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 365 drivers/hid/hid-roccat-kone.c retval = kone_set_profile(usb_dev, usb_dev 415 drivers/hid/hid-roccat-kone.c struct usb_device *usb_dev; usb_dev 421 drivers/hid/hid-roccat-kone.c usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 424 drivers/hid/hid-roccat-kone.c retval = kone_get_weight(usb_dev, &weight); usb_dev 451 drivers/hid/hid-roccat-kone.c static int kone_tcu_command(struct usb_device *usb_dev, int number) usb_dev 456 drivers/hid/hid-roccat-kone.c return kone_send(usb_dev, kone_command_calibrate, &value, 1); usb_dev 467 drivers/hid/hid-roccat-kone.c struct usb_device *usb_dev; usb_dev 473 drivers/hid/hid-roccat-kone.c usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 485 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 1); usb_dev 488 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 2); usb_dev 492 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 3); usb_dev 495 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 0); usb_dev 498 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 4); usb_dev 511 drivers/hid/hid-roccat-kone.c retval = kone_get_settings(usb_dev, &kone->settings); usb_dev 520 drivers/hid/hid-roccat-kone.c retval = kone_set_settings(usb_dev, &kone->settings); usb_dev 522 drivers/hid/hid-roccat-kone.c dev_err(&usb_dev->dev, "couldn't set tcu state\n"); usb_dev 527 drivers/hid/hid-roccat-kone.c retval = kone_get_settings(usb_dev, &kone->settings); usb_dev 538 drivers/hid/hid-roccat-kone.c dev_err(&usb_dev->dev, "couldn't read settings\n"); usb_dev 557 drivers/hid/hid-roccat-kone.c struct usb_device *usb_dev; usb_dev 563 drivers/hid/hid-roccat-kone.c usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 577 drivers/hid/hid-roccat-kone.c retval = kone_set_settings(usb_dev, &kone->settings); usb_dev 651 drivers/hid/hid-roccat-kone.c static int kone_init_kone_device_struct(struct usb_device *usb_dev, usb_dev 660 drivers/hid/hid-roccat-kone.c retval = kone_get_profile(usb_dev, &kone->profiles[i], i + 1); usb_dev 665 drivers/hid/hid-roccat-kone.c retval = kone_get_settings(usb_dev, &kone->settings); usb_dev 669 drivers/hid/hid-roccat-kone.c retval = kone_get_firmware_version(usb_dev, &kone->firmware_version); usb_dev 688 drivers/hid/hid-roccat-kone.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 700 drivers/hid/hid-roccat-kone.c retval = kone_init_kone_device_struct(usb_dev, kone); usb_dev 37 drivers/hid/hid-roccat-koneplus.c static int koneplus_send_control(struct usb_device *usb_dev, uint value, usb_dev 51 drivers/hid/hid-roccat-koneplus.c return roccat_common2_send_with_status(usb_dev, usb_dev 58 drivers/hid/hid-roccat-koneplus.c static int koneplus_get_actual_profile(struct usb_device *usb_dev) usb_dev 63 drivers/hid/hid-roccat-koneplus.c retval = roccat_common2_receive(usb_dev, KONEPLUS_COMMAND_ACTUAL_PROFILE, usb_dev 69 drivers/hid/hid-roccat-koneplus.c static int koneplus_set_actual_profile(struct usb_device *usb_dev, usb_dev 78 drivers/hid/hid-roccat-koneplus.c return roccat_common2_send_with_status(usb_dev, usb_dev 89 drivers/hid/hid-roccat-koneplus.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 99 drivers/hid/hid-roccat-koneplus.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); usb_dev 114 drivers/hid/hid-roccat-koneplus.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 121 drivers/hid/hid-roccat-koneplus.c retval = roccat_common2_send_with_status(usb_dev, command, usb_dev 192 drivers/hid/hid-roccat-koneplus.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 195 drivers/hid/hid-roccat-koneplus.c retval = koneplus_send_control(usb_dev, *(uint *)(attr->private), usb_dev 210 drivers/hid/hid-roccat-koneplus.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 213 drivers/hid/hid-roccat-koneplus.c retval = koneplus_send_control(usb_dev, *(uint *)(attr->private), usb_dev 254 drivers/hid/hid-roccat-koneplus.c struct usb_device *usb_dev; usb_dev 261 drivers/hid/hid-roccat-koneplus.c usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 272 drivers/hid/hid-roccat-koneplus.c retval = koneplus_set_actual_profile(usb_dev, profile); usb_dev 302 drivers/hid/hid-roccat-koneplus.c struct usb_device *usb_dev; usb_dev 307 drivers/hid/hid-roccat-koneplus.c usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 310 drivers/hid/hid-roccat-koneplus.c roccat_common2_receive(usb_dev, KONEPLUS_COMMAND_INFO, usb_dev 359 drivers/hid/hid-roccat-koneplus.c static int koneplus_init_koneplus_device_struct(struct usb_device *usb_dev, usb_dev 366 drivers/hid/hid-roccat-koneplus.c retval = koneplus_get_actual_profile(usb_dev); usb_dev 377 drivers/hid/hid-roccat-koneplus.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 391 drivers/hid/hid-roccat-koneplus.c retval = koneplus_init_koneplus_device_struct(usb_dev, koneplus); usb_dev 78 drivers/hid/hid-roccat-konepure.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 95 drivers/hid/hid-roccat-konepure.c retval = roccat_common2_device_init_struct(usb_dev, konepure); usb_dev 45 drivers/hid/hid-roccat-kovaplus.c static int kovaplus_send_control(struct usb_device *usb_dev, uint value, usb_dev 60 drivers/hid/hid-roccat-kovaplus.c retval = roccat_common2_send(usb_dev, ROCCAT_COMMON_COMMAND_CONTROL, usb_dev 66 drivers/hid/hid-roccat-kovaplus.c static int kovaplus_select_profile(struct usb_device *usb_dev, uint number, usb_dev 69 drivers/hid/hid-roccat-kovaplus.c return kovaplus_send_control(usb_dev, number, request); usb_dev 72 drivers/hid/hid-roccat-kovaplus.c static int kovaplus_get_profile_settings(struct usb_device *usb_dev, usb_dev 77 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_select_profile(usb_dev, number, usb_dev 82 drivers/hid/hid-roccat-kovaplus.c return roccat_common2_receive(usb_dev, KOVAPLUS_COMMAND_PROFILE_SETTINGS, usb_dev 86 drivers/hid/hid-roccat-kovaplus.c static int kovaplus_get_profile_buttons(struct usb_device *usb_dev, usb_dev 91 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_select_profile(usb_dev, number, usb_dev 96 drivers/hid/hid-roccat-kovaplus.c return roccat_common2_receive(usb_dev, KOVAPLUS_COMMAND_PROFILE_BUTTONS, usb_dev 101 drivers/hid/hid-roccat-kovaplus.c static int kovaplus_get_actual_profile(struct usb_device *usb_dev) usb_dev 106 drivers/hid/hid-roccat-kovaplus.c retval = roccat_common2_receive(usb_dev, KOVAPLUS_COMMAND_ACTUAL_PROFILE, usb_dev 112 drivers/hid/hid-roccat-kovaplus.c static int kovaplus_set_actual_profile(struct usb_device *usb_dev, usb_dev 121 drivers/hid/hid-roccat-kovaplus.c return roccat_common2_send_with_status(usb_dev, usb_dev 132 drivers/hid/hid-roccat-kovaplus.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 142 drivers/hid/hid-roccat-kovaplus.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); usb_dev 157 drivers/hid/hid-roccat-kovaplus.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 164 drivers/hid/hid-roccat-kovaplus.c retval = roccat_common2_send_with_status(usb_dev, command, usb_dev 222 drivers/hid/hid-roccat-kovaplus.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 225 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), usb_dev 240 drivers/hid/hid-roccat-kovaplus.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 243 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), usb_dev 284 drivers/hid/hid-roccat-kovaplus.c struct usb_device *usb_dev; usb_dev 291 drivers/hid/hid-roccat-kovaplus.c usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 301 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_set_actual_profile(usb_dev, profile); usb_dev 358 drivers/hid/hid-roccat-kovaplus.c struct usb_device *usb_dev; usb_dev 363 drivers/hid/hid-roccat-kovaplus.c usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 366 drivers/hid/hid-roccat-kovaplus.c roccat_common2_receive(usb_dev, KOVAPLUS_COMMAND_INFO, usb_dev 412 drivers/hid/hid-roccat-kovaplus.c static int kovaplus_init_kovaplus_device_struct(struct usb_device *usb_dev, usb_dev 422 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_get_profile_settings(usb_dev, usb_dev 428 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_get_profile_buttons(usb_dev, usb_dev 435 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_get_actual_profile(usb_dev); usb_dev 446 drivers/hid/hid-roccat-kovaplus.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 460 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_init_kovaplus_device_struct(usb_dev, kovaplus); usb_dev 32 drivers/hid/hid-roccat-lua.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 42 drivers/hid/hid-roccat-lua.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); usb_dev 54 drivers/hid/hid-roccat-lua.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 61 drivers/hid/hid-roccat-lua.c retval = roccat_common2_send(usb_dev, command, buf, real_size); usb_dev 107 drivers/hid/hid-roccat-lua.c static int lua_init_lua_device_struct(struct usb_device *usb_dev, usb_dev 118 drivers/hid/hid-roccat-lua.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 129 drivers/hid/hid-roccat-lua.c retval = lua_init_lua_device_struct(usb_dev, lua); usb_dev 41 drivers/hid/hid-roccat-pyra.c static int pyra_send_control(struct usb_device *usb_dev, int value, usb_dev 55 drivers/hid/hid-roccat-pyra.c return roccat_common2_send(usb_dev, ROCCAT_COMMON_COMMAND_CONTROL, usb_dev 59 drivers/hid/hid-roccat-pyra.c static int pyra_get_profile_settings(struct usb_device *usb_dev, usb_dev 63 drivers/hid/hid-roccat-pyra.c retval = pyra_send_control(usb_dev, number, usb_dev 67 drivers/hid/hid-roccat-pyra.c return roccat_common2_receive(usb_dev, PYRA_COMMAND_PROFILE_SETTINGS, usb_dev 71 drivers/hid/hid-roccat-pyra.c static int pyra_get_settings(struct usb_device *usb_dev, usb_dev 74 drivers/hid/hid-roccat-pyra.c return roccat_common2_receive(usb_dev, PYRA_COMMAND_SETTINGS, usb_dev 78 drivers/hid/hid-roccat-pyra.c static int pyra_set_settings(struct usb_device *usb_dev, usb_dev 81 drivers/hid/hid-roccat-pyra.c return roccat_common2_send_with_status(usb_dev, usb_dev 92 drivers/hid/hid-roccat-pyra.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 102 drivers/hid/hid-roccat-pyra.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); usb_dev 117 drivers/hid/hid-roccat-pyra.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 124 drivers/hid/hid-roccat-pyra.c retval = roccat_common2_send_with_status(usb_dev, command, (void *)buf, real_size); usb_dev 190 drivers/hid/hid-roccat-pyra.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 193 drivers/hid/hid-roccat-pyra.c retval = pyra_send_control(usb_dev, *(uint *)(attr->private), usb_dev 208 drivers/hid/hid-roccat-pyra.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 211 drivers/hid/hid-roccat-pyra.c retval = pyra_send_control(usb_dev, *(uint *)(attr->private), usb_dev 246 drivers/hid/hid-roccat-pyra.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 260 drivers/hid/hid-roccat-pyra.c retval = pyra_set_settings(usb_dev, settings); usb_dev 298 drivers/hid/hid-roccat-pyra.c struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 302 drivers/hid/hid-roccat-pyra.c roccat_common2_receive(usb_dev, PYRA_COMMAND_SETTINGS, usb_dev 315 drivers/hid/hid-roccat-pyra.c struct usb_device *usb_dev; usb_dev 320 drivers/hid/hid-roccat-pyra.c usb_dev = interface_to_usbdev(to_usb_interface(dev)); usb_dev 323 drivers/hid/hid-roccat-pyra.c roccat_common2_receive(usb_dev, PYRA_COMMAND_INFO, usb_dev 369 drivers/hid/hid-roccat-pyra.c static int pyra_init_pyra_device_struct(struct usb_device *usb_dev, usb_dev 377 drivers/hid/hid-roccat-pyra.c retval = pyra_get_settings(usb_dev, &settings); usb_dev 382 drivers/hid/hid-roccat-pyra.c retval = pyra_get_profile_settings(usb_dev, usb_dev 396 drivers/hid/hid-roccat-pyra.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 410 drivers/hid/hid-roccat-pyra.c retval = pyra_init_pyra_device_struct(usb_dev, pyra); usb_dev 86 drivers/hid/hid-roccat-ryos.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 103 drivers/hid/hid-roccat-ryos.c retval = roccat_common2_device_init_struct(usb_dev, ryos); usb_dev 58 drivers/hid/hid-roccat-savu.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 75 drivers/hid/hid-roccat-savu.c retval = roccat_common2_device_init_struct(usb_dev, savu); usb_dev 452 drivers/hid/hid-uclogic-params.c struct usb_device *usb_dev = hid_to_usb_dev(hdev); usb_dev 471 drivers/hid/hid-uclogic-params.c rc = usb_string(usb_dev, 123, str_buf, str_len); usb_dev 83 drivers/i2c/busses/i2c-diolan-u2c.c struct usb_device *usb_dev; /* the usb device for this device */ usb_dev 107 drivers/i2c/busses/i2c-diolan-u2c.c ret = usb_bulk_msg(dev->usb_dev, usb_dev 108 drivers/i2c/busses/i2c-diolan-u2c.c usb_sndbulkpipe(dev->usb_dev, dev->ep_out), usb_dev 115 drivers/i2c/busses/i2c-diolan-u2c.c tmpret = usb_bulk_msg(dev->usb_dev, usb_dev 116 drivers/i2c/busses/i2c-diolan-u2c.c usb_rcvbulkpipe(dev->usb_dev, usb_dev 208 drivers/i2c/busses/i2c-diolan-u2c.c ret = usb_bulk_msg(dev->usb_dev, usb_dev 209 drivers/i2c/busses/i2c-diolan-u2c.c usb_rcvbulkpipe(dev->usb_dev, dev->ep_in), usb_dev 317 drivers/i2c/busses/i2c-diolan-u2c.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum, frequency); usb_dev 434 drivers/i2c/busses/i2c-diolan-u2c.c usb_put_dev(dev->usb_dev); usb_dev 458 drivers/i2c/busses/i2c-diolan-u2c.c dev->usb_dev = usb_get_dev(interface_to_usbdev(interface)); usb_dev 471 drivers/i2c/busses/i2c-diolan-u2c.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum); usb_dev 30 drivers/i2c/busses/i2c-robotfuzz-osif.c struct usb_device *usb_dev; usb_dev 41 drivers/i2c/busses/i2c-robotfuzz-osif.c return usb_control_msg(priv->usb_dev, usb_rcvctrlpipe(priv->usb_dev, 0), usb_dev 52 drivers/i2c/busses/i2c-robotfuzz-osif.c return usb_control_msg(priv->usb_dev, usb_sndctrlpipe(priv->usb_dev, 0), usb_dev 139 drivers/i2c/busses/i2c-robotfuzz-osif.c priv->usb_dev = usb_get_dev(interface_to_usbdev(interface)); usb_dev 150 drivers/i2c/busses/i2c-robotfuzz-osif.c priv->usb_dev->bus->busnum, priv->usb_dev->devnum); usb_dev 160 drivers/i2c/busses/i2c-robotfuzz-osif.c usb_put_dev(priv->usb_dev); usb_dev 166 drivers/i2c/busses/i2c-robotfuzz-osif.c version = le16_to_cpu(priv->usb_dev->descriptor.bcdDevice); usb_dev 170 drivers/i2c/busses/i2c-robotfuzz-osif.c priv->usb_dev->bus->busnum, priv->usb_dev->devnum); usb_dev 181 drivers/i2c/busses/i2c-robotfuzz-osif.c usb_put_dev(priv->usb_dev); usb_dev 168 drivers/i2c/busses/i2c-tiny-usb.c struct usb_device *usb_dev; /* the usb device for this device */ usb_dev 184 drivers/i2c/busses/i2c-tiny-usb.c ret = usb_control_msg(dev->usb_dev, usb_rcvctrlpipe(dev->usb_dev, 0), usb_dev 204 drivers/i2c/busses/i2c-tiny-usb.c ret = usb_control_msg(dev->usb_dev, usb_sndctrlpipe(dev->usb_dev, 0), usb_dev 214 drivers/i2c/busses/i2c-tiny-usb.c usb_put_dev(dev->usb_dev); usb_dev 234 drivers/i2c/busses/i2c-tiny-usb.c dev->usb_dev = usb_get_dev(interface_to_usbdev(interface)); usb_dev 240 drivers/i2c/busses/i2c-tiny-usb.c version = le16_to_cpu(dev->usb_dev->descriptor.bcdDevice); usb_dev 244 drivers/i2c/busses/i2c-tiny-usb.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum); usb_dev 253 drivers/i2c/busses/i2c-tiny-usb.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum); usb_dev 45 drivers/i2c/busses/i2c-viperboard.c ret = usb_control_msg(vb->usb_dev, usb_rcvctrlpipe(vb->usb_dev, 0), usb_dev 65 drivers/i2c/busses/i2c-viperboard.c static int vprbrd_i2c_receive(struct usb_device *usb_dev, usb_dev 72 drivers/i2c/busses/i2c-viperboard.c ret = usb_bulk_msg(usb_dev, usb_dev 73 drivers/i2c/busses/i2c-viperboard.c usb_sndbulkpipe(usb_dev, VPRBRD_EP_OUT), rmsg, usb_dev 79 drivers/i2c/busses/i2c-viperboard.c dev_err(&usb_dev->dev, "failure transmitting usb\n"); usb_dev 84 drivers/i2c/busses/i2c-viperboard.c ret = usb_bulk_msg(usb_dev, usb_dev 85 drivers/i2c/busses/i2c-viperboard.c usb_rcvbulkpipe(usb_dev, VPRBRD_EP_IN), rmsg, usb_dev 89 drivers/i2c/busses/i2c-viperboard.c dev_err(&usb_dev->dev, "failure receiving usb\n"); usb_dev 95 drivers/i2c/busses/i2c-viperboard.c static int vprbrd_i2c_addr(struct usb_device *usb_dev, usb_dev 100 drivers/i2c/busses/i2c-viperboard.c ret = usb_bulk_msg(usb_dev, usb_dev 101 drivers/i2c/busses/i2c-viperboard.c usb_sndbulkpipe(usb_dev, VPRBRD_EP_OUT), amsg, usb_dev 107 drivers/i2c/busses/i2c-viperboard.c dev_err(&usb_dev->dev, "failure transmitting usb\n"); usb_dev 200 drivers/i2c/busses/i2c-viperboard.c ret = vprbrd_i2c_receive(vb->usb_dev, rmsg, len1); usb_dev 208 drivers/i2c/busses/i2c-viperboard.c ret = vprbrd_i2c_receive(vb->usb_dev, rmsg, len2); usb_dev 255 drivers/i2c/busses/i2c-viperboard.c ret = usb_bulk_msg(vb->usb_dev, usb_dev 256 drivers/i2c/busses/i2c-viperboard.c usb_sndbulkpipe(vb->usb_dev, usb_dev 297 drivers/i2c/busses/i2c-viperboard.c ret = vprbrd_i2c_addr(vb->usb_dev, amsg); usb_dev 322 drivers/i2c/busses/i2c-viperboard.c ret = vprbrd_i2c_addr(vb->usb_dev, amsg); usb_dev 379 drivers/i2c/busses/i2c-viperboard.c vb->usb_dev->bus->busnum, vb->usb_dev->devnum); usb_dev 384 drivers/i2c/busses/i2c-viperboard.c pipe = usb_sndctrlpipe(vb->usb_dev, 0); usb_dev 385 drivers/i2c/busses/i2c-viperboard.c ret = usb_control_msg(vb->usb_dev, pipe, usb_dev 68 drivers/iio/adc/viperboard_adc.c ret = usb_control_msg(vb->usb_dev, usb_dev 69 drivers/iio/adc/viperboard_adc.c usb_sndctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, usb_dev 77 drivers/iio/adc/viperboard_adc.c ret = usb_control_msg(vb->usb_dev, usb_dev 78 drivers/iio/adc/viperboard_adc.c usb_rcvctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, usb_dev 62 drivers/media/usb/as102/as102_drv.c dev_dbg(&dev->bus_adap.usb_dev->dev, usb_dev 101 drivers/media/usb/as102/as102_drv.c dev_dbg(&dev->bus_adap.usb_dev->dev, usb_dev 109 drivers/media/usb/as102/as102_drv.c dev_dbg(&dev->bus_adap.usb_dev->dev, usb_dev 122 drivers/media/usb/as102/as102_drv.c dev_dbg(&dev->bus_adap.usb_dev->dev, usb_dev 183 drivers/media/usb/as102/as102_drv.c dev_dbg(&bus_adap->usb_dev->dev, usb_dev 218 drivers/media/usb/as102/as102_drv.c dev_dbg(&bus_adap->usb_dev->dev, usb_dev 239 drivers/media/usb/as102/as102_drv.c dev_dbg(&bus_adap->usb_dev->dev, usb_dev 242 drivers/media/usb/as102/as102_drv.c dev_dbg(&bus_adap->usb_dev->dev, usb_dev 287 drivers/media/usb/as102/as102_drv.c struct device *dev = &as102_dev->bus_adap.usb_dev->dev; usb_dev 30 drivers/media/usb/as102/as102_drv.h struct usb_device *usb_dev; usb_dev 161 drivers/media/usb/as102/as102_fw.c struct usb_device *dev = bus_adap->usb_dev; usb_dev 84 drivers/media/usb/as102/as102_usb_drv.c ret = usb_control_msg(bus_adap->usb_dev, usb_dev 85 drivers/media/usb/as102/as102_usb_drv.c usb_sndctrlpipe(bus_adap->usb_dev, 0), usb_dev 94 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(&bus_adap->usb_dev->dev, usb_dev 100 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(&bus_adap->usb_dev->dev, usb_dev 108 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(bus_adap->usb_dev->dev, usb_dev 111 drivers/media/usb/as102/as102_usb_drv.c ret = usb_control_msg(bus_adap->usb_dev, usb_dev 112 drivers/media/usb/as102/as102_usb_drv.c usb_rcvctrlpipe(bus_adap->usb_dev, 0), usb_dev 121 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(&bus_adap->usb_dev->dev, usb_dev 126 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(bus_adap->usb_dev->dev, usb_dev 141 drivers/media/usb/as102/as102_usb_drv.c ret = usb_bulk_msg(bus_adap->usb_dev, usb_dev 142 drivers/media/usb/as102/as102_usb_drv.c usb_sndbulkpipe(bus_adap->usb_dev, 1), usb_dev 145 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(&bus_adap->usb_dev->dev, usb_dev 151 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(&bus_adap->usb_dev->dev, "only wrote %d of %d bytes\n", usb_dev 166 drivers/media/usb/as102/as102_usb_drv.c ret = usb_bulk_msg(bus_adap->usb_dev, usb_dev 167 drivers/media/usb/as102/as102_usb_drv.c usb_rcvbulkpipe(bus_adap->usb_dev, 2), usb_dev 170 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(&bus_adap->usb_dev->dev, usb_dev 176 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(&bus_adap->usb_dev->dev, "only read %d of %d bytes\n", usb_dev 196 drivers/media/usb/as102/as102_usb_drv.c dev->bus_adap.usb_dev, usb_dev 197 drivers/media/usb/as102/as102_usb_drv.c usb_rcvbulkpipe(dev->bus_adap.usb_dev, 0x2), usb_dev 236 drivers/media/usb/as102/as102_usb_drv.c usb_free_coherent(dev->bus_adap.usb_dev, usb_dev 246 drivers/media/usb/as102/as102_usb_drv.c dev->stream = usb_alloc_coherent(dev->bus_adap.usb_dev, usb_dev 251 drivers/media/usb/as102/as102_usb_drv.c dev_dbg(&dev->bus_adap.usb_dev->dev, usb_dev 307 drivers/media/usb/as102/as102_usb_drv.c usb_put_dev(as102_dev->bus_adap.usb_dev); usb_dev 379 drivers/media/usb/as102/as102_usb_drv.c as102_dev->bus_adap.usb_dev = usb_get_dev(interface_to_usbdev(intf)); usb_dev 410 drivers/media/usb/as102/as102_usb_drv.c usb_put_dev(as102_dev->bus_adap.usb_dev); usb_dev 1580 drivers/media/usb/dvb-usb/cxusb.c dev_err(intf->usb_dev, "no alternate interface"); usb_dev 1595 drivers/media/usb/dvb-usb/cxusb.c dev_err(intf->usb_dev, "no iso interface"); usb_dev 249 drivers/media/usb/pvrusb2/pvrusb2-dvb.c &adap->channel.hdw->usb_dev->dev, usb_dev 149 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h struct usb_device *usb_dev; usb_dev 1283 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return hdw->usb_dev; usb_dev 1362 drivers/media/usb/pvrusb2/pvrusb2-hdw.c &hdw->usb_dev->dev); usb_dev 1435 drivers/media/usb/pvrusb2/pvrusb2-hdw.c usb_clear_halt(hdw->usb_dev, usb_sndbulkpipe(hdw->usb_dev, 0 & 0x7f)); usb_dev 1437 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pipe = usb_sndctrlpipe(hdw->usb_dev, 0); usb_dev 1470 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret += usb_control_msg(hdw->usb_dev, pipe, 0xa0, 0x40, address, usb_dev 1586 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pipe = usb_sndbulkpipe(hdw->usb_dev, PVR2_FIRMWARE_ENDPOINT); usb_dev 1608 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret |= usb_bulk_msg(hdw->usb_dev, pipe, fw_ptr,bcnt, usb_dev 2139 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (le16_to_cpu(hdw->usb_dev->descriptor.idVendor) == 0x2040 && usb_dev 2140 drivers/media/usb/pvrusb2/pvrusb2-hdw.c (le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7502 || usb_dev 2141 drivers/media/usb/pvrusb2/pvrusb2-hdw.c le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7510)) { usb_dev 2243 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pvr2_stream_setup(hdw->vid_stream,hdw->usb_dev, usb_dev 2354 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct usb_device *usb_dev; usb_dev 2360 drivers/media/usb/pvrusb2/pvrusb2-hdw.c usb_dev = interface_to_usbdev(intf); usb_dev 2593 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->usb_dev = usb_dev; usb_dev 2595 drivers/media/usb/pvrusb2/pvrusb2-hdw.c usb_make_path(hdw->usb_dev, hdw->bus_info, sizeof(hdw->bus_info)); usb_dev 2598 drivers/media/usb/pvrusb2/pvrusb2-hdw.c usb_set_interface(hdw->usb_dev,ifnum,0); usb_dev 2652 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->usb_dev = NULL; usb_dev 3435 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pipe = usb_rcvctrlpipe(hdw->usb_dev, 0); usb_dev 3438 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret = usb_control_msg(hdw->usb_dev,pipe, usb_dev 3653 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->usb_dev, usb_dev 3654 drivers/media/usb/pvrusb2/pvrusb2-hdw.c usb_sndbulkpipe(hdw->usb_dev, usb_dev 3683 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->usb_dev, usb_dev 3684 drivers/media/usb/pvrusb2/pvrusb2-hdw.c usb_rcvbulkpipe(hdw->usb_dev, usb_dev 3940 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret = usb_lock_device_for_reset(hdw->usb_dev,NULL); usb_dev 3942 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret = usb_reset_device(hdw->usb_dev); usb_dev 3943 drivers/media/usb/pvrusb2/pvrusb2-hdw.c usb_unlock_device(hdw->usb_dev); usb_dev 3964 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (!hdw->usb_dev) return; usb_dev 3980 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pipe = usb_sndctrlpipe(hdw->usb_dev, 0); usb_dev 3981 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret = usb_control_msg(hdw->usb_dev,pipe,0xa0,0x40,0xe600,0,da,1,HZ); usb_dev 4026 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (le16_to_cpu(hdw->usb_dev->descriptor.idVendor) == 0x2040 && usb_dev 4027 drivers/media/usb/pvrusb2/pvrusb2-hdw.c (le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7502 || usb_dev 4028 drivers/media/usb/pvrusb2/pvrusb2-hdw.c le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7510)) { usb_dev 623 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c hdw->i2c_adap.dev.parent = &hdw->usb_dev->dev; usb_dev 620 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c struct usb_device *usb_dev; usb_dev 624 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c usb_dev = pvr2_hdw_get_dev(sfp->channel.hdw); usb_dev 625 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c if (!usb_dev) return; usb_dev 636 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c class_dev->parent = get_device(&usb_dev->dev); usb_dev 1222 drivers/media/usb/usbvision/usbvision-video.c struct usb_device *usb_dev = usbvision->dev; usb_dev 1224 drivers/media/usb/usbvision/usbvision-video.c if (!usb_dev) { usb_dev 99 drivers/mfd/dln2.c struct usb_device *usb_dev; usb_dev 340 drivers/mfd/dln2.c ret = usb_bulk_msg(dln2->usb_dev, usb_dev 341 drivers/mfd/dln2.c usb_sndbulkpipe(dln2->usb_dev, dln2->ep_out), usb_dev 604 drivers/mfd/dln2.c usb_put_dev(dln2->usb_dev); usb_dev 623 drivers/mfd/dln2.c usb_fill_bulk_urb(dln2->rx_urb[i], dln2->usb_dev, usb_dev 624 drivers/mfd/dln2.c usb_rcvbulkpipe(dln2->usb_dev, dln2->ep_in), usb_dev 754 drivers/mfd/dln2.c dln2->usb_dev = usb_get_dev(interface_to_usbdev(interface)); usb_dev 62 drivers/mfd/viperboard.c vb->usb_dev = usb_get_dev(interface_to_usbdev(interface)); usb_dev 69 drivers/mfd/viperboard.c pipe = usb_rcvctrlpipe(vb->usb_dev, 0); usb_dev 70 drivers/mfd/viperboard.c ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MAJOR, usb_dev 76 drivers/mfd/viperboard.c ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MINOR, usb_dev 87 drivers/mfd/viperboard.c vb->usb_dev->bus->busnum, vb->usb_dev->devnum); usb_dev 100 drivers/mfd/viperboard.c usb_put_dev(vb->usb_dev); usb_dev 113 drivers/mfd/viperboard.c usb_put_dev(vb->usb_dev); usb_dev 620 drivers/misc/cardreader/rtsx_usb.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 626 drivers/misc/cardreader/rtsx_usb.c usb_dev->bus->busnum, usb_dev->devnum); usb_dev 632 drivers/misc/cardreader/rtsx_usb.c ucr->pusb_dev = usb_dev; usb_dev 664 drivers/misc/cardreader/rtsx_usb.c usb_enable_autosuspend(usb_dev); usb_dev 90 drivers/mmc/host/ushc.c struct usb_device *usb_dev; usb_dev 121 drivers/mmc/host/ushc.c return usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0), usb_dev 131 drivers/mmc/host/ushc.c ret = usb_control_msg(ushc->usb_dev, usb_rcvctrlpipe(ushc->usb_dev, 0), usb_dev 141 drivers/mmc/host/ushc.c dev_err(&ushc->usb_dev->dev, "controller version %d is not supported\n", version); usb_dev 154 drivers/mmc/host/ushc.c ret = usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0), usb_dev 294 drivers/mmc/host/ushc.c pipe = usb_rcvbulkpipe(ushc->usb_dev, 6); usb_dev 296 drivers/mmc/host/ushc.c pipe = usb_sndbulkpipe(ushc->usb_dev, 2); usb_dev 298 drivers/mmc/host/ushc.c usb_fill_bulk_urb(ushc->data_urb, ushc->usb_dev, pipe, usb_dev 337 drivers/mmc/host/ushc.c return usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0), usb_dev 361 drivers/mmc/host/ushc.c ret = usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0), usb_dev 420 drivers/mmc/host/ushc.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 434 drivers/mmc/host/ushc.c ushc->usb_dev = usb_dev; usb_dev 472 drivers/mmc/host/ushc.c usb_fill_int_urb(ushc->int_urb, ushc->usb_dev, usb_dev 473 drivers/mmc/host/ushc.c usb_rcvintpipe(usb_dev, usb_dev 491 drivers/mmc/host/ushc.c usb_fill_bulk_urb(ushc->cbw_urb, ushc->usb_dev, usb_sndbulkpipe(usb_dev, 2), usb_dev 511 drivers/mmc/host/ushc.c usb_fill_bulk_urb(ushc->csw_urb, ushc->usb_dev, usb_rcvbulkpipe(usb_dev, 6), usb_dev 1402 drivers/mmc/host/vub300.c struct usb_device *usb_dev = vub300->udev; usb_dev 1408 drivers/mmc/host/vub300.c usb_fill_bulk_urb(vub300->urb, usb_dev, pipe, data, len, usb_dev 733 drivers/net/can/usb/peak_usb/pcan_usb_core.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 759 drivers/net/can/usb/peak_usb/pcan_usb_core.c dev->udev = usb_dev; usb_dev 805 drivers/net/can/usb/peak_usb/pcan_usb_core.c tmp16 = le16_to_cpu(usb_dev->descriptor.bcdDevice); usb_dev 880 drivers/net/can/usb/peak_usb/pcan_usb_core.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 881 drivers/net/can/usb/peak_usb/pcan_usb_core.c const u16 usb_id_product = le16_to_cpu(usb_dev->descriptor.idProduct); usb_dev 47 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev; usb_dev 88 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 94 drivers/net/ieee802154/atusb.c ret = usb_control_msg(usb_dev, pipe, request, requesttype, usb_dev 98 drivers/net/ieee802154/atusb.c dev_err(&usb_dev->dev, usb_dev 107 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 109 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s: cmd = 0x%x\n", __func__, cmd); usb_dev 110 drivers/net/ieee802154/atusb.c return atusb_control_msg(atusb, usb_sndctrlpipe(usb_dev, 0), usb_dev 116 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 118 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s: 0x%02x <- 0x%02x\n", __func__, reg, value); usb_dev 119 drivers/net/ieee802154/atusb.c return atusb_control_msg(atusb, usb_sndctrlpipe(usb_dev, 0), usb_dev 126 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 135 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s: reg = 0x%x\n", __func__, reg); usb_dev 136 drivers/net/ieee802154/atusb.c ret = atusb_control_msg(atusb, usb_rcvctrlpipe(usb_dev, 0), usb_dev 153 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 157 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s: 0x%02x <- 0x%02x\n", __func__, reg, value); usb_dev 204 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 211 drivers/net/ieee802154/atusb.c dev_warn_ratelimited(&usb_dev->dev, usb_dev 219 drivers/net/ieee802154/atusb.c usb_fill_bulk_urb(urb, usb_dev, usb_rcvbulkpipe(usb_dev, 1), usb_dev 236 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 251 drivers/net/ieee802154/atusb.c dev_warn_ratelimited(&usb_dev->dev, usb_dev 261 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 264 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s (0x%02x/0x%02x)\n", __func__, seq, expect); usb_dev 282 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = urb->dev; usb_dev 288 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "atusb_in: zero-sized URB ?\n"); usb_dev 300 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "atusb_in: frame len %d+1 > URB %u-1\n", usb_dev 306 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "atusb_in: frame corrupted\n"); usb_dev 311 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "atusb_in: rx len %d lqi 0x%02x\n", len, lqi); usb_dev 320 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = urb->dev; usb_dev 324 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s: status %d len %d\n", __func__, usb_dev 332 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s: URB error %d\n", __func__, urb->status); usb_dev 383 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 386 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s (%d)\n", __func__, skb->len); usb_dev 392 drivers/net/ieee802154/atusb.c usb_fill_control_urb(atusb->tx_urb, usb_dev, usb_dev 393 drivers/net/ieee802154/atusb.c usb_sndctrlpipe(usb_dev, 0), usb_dev 397 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s done (%d)\n", __func__, ret); usb_dev 413 drivers/net/ieee802154/atusb.c struct device *dev = &atusb->usb_dev->dev; usb_dev 454 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 457 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s\n", __func__); usb_dev 469 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 471 drivers/net/ieee802154/atusb.c dev_dbg(&usb_dev->dev, "%s\n", __func__); usb_dev 797 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 807 drivers/net/ieee802154/atusb.c ret = atusb_control_msg(atusb, usb_rcvctrlpipe(usb_dev, 0), usb_dev 837 drivers/net/ieee802154/atusb.c dev_info(&usb_dev->dev, usb_dev 843 drivers/net/ieee802154/atusb.c dev_info(&usb_dev->dev, usb_dev 846 drivers/net/ieee802154/atusb.c dev_info(&usb_dev->dev, "Please update to version 0.2 or newer"); usb_dev 855 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 863 drivers/net/ieee802154/atusb.c ret = atusb_control_msg(atusb, usb_rcvctrlpipe(usb_dev, 0), usb_dev 868 drivers/net/ieee802154/atusb.c dev_info(&usb_dev->dev, "Firmware: build %s\n", build); usb_dev 877 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 907 drivers/net/ieee802154/atusb.c dev_err(&usb_dev->dev, usb_dev 948 drivers/net/ieee802154/atusb.c dev_err(&usb_dev->dev, usb_dev 957 drivers/net/ieee802154/atusb.c dev_info(&usb_dev->dev, "ATUSB: %s version %d\n", chip, version_num); usb_dev 968 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = atusb->usb_dev; usb_dev 987 drivers/net/ieee802154/atusb.c ret = atusb_control_msg(atusb, usb_rcvctrlpipe(usb_dev, 0), usb_dev 991 drivers/net/ieee802154/atusb.c dev_err(&usb_dev->dev, "failed to fetch extended address, random address set\n"); usb_dev 1000 drivers/net/ieee802154/atusb.c dev_info(&usb_dev->dev, "no permanent extended address found, random address set\n"); usb_dev 1005 drivers/net/ieee802154/atusb.c dev_info(&usb_dev->dev, "Read permanent extended address %8phC from device\n", usb_dev 1018 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = interface_to_usbdev(interface); usb_dev 1029 drivers/net/ieee802154/atusb.c atusb->usb_dev = usb_get_dev(usb_dev); usb_dev 1049 drivers/net/ieee802154/atusb.c hw->parent = &usb_dev->dev; usb_dev 1062 drivers/net/ieee802154/atusb.c dev_err(&atusb->usb_dev->dev, usb_dev 1110 drivers/net/ieee802154/atusb.c dev_err(&atusb->usb_dev->dev, usb_dev 1119 drivers/net/ieee802154/atusb.c usb_put_dev(usb_dev); usb_dev 1128 drivers/net/ieee802154/atusb.c dev_dbg(&atusb->usb_dev->dev, "%s\n", __func__); usb_dev 1140 drivers/net/ieee802154/atusb.c usb_put_dev(atusb->usb_dev); usb_dev 106 drivers/net/usb/kaweth.c static int kaweth_internal_control_msg(struct usb_device *usb_dev, usb_dev 1258 drivers/net/usb/kaweth.c static int kaweth_internal_control_msg(struct usb_device *usb_dev, usb_dev 1271 drivers/net/usb/kaweth.c usb_fill_control_urb(urb, usb_dev, pipe, (unsigned char*)cmd, data, usb_dev 225 drivers/net/wimax/i2400m/i2400m-usb.h struct usb_device *usb_dev; usb_dev 104 drivers/net/wimax/i2400m/usb-fw.c pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); usb_dev 106 drivers/net/wimax/i2400m/usb-fw.c result = usb_bulk_msg(i2400mu->usb_dev, pipe, buf, buf_size, &len, 200); usb_dev 134 drivers/net/wimax/i2400m/usb-fw.c usb_clear_halt(i2400mu->usb_dev, pipe); usb_dev 254 drivers/net/wimax/i2400m/usb-fw.c pipe = usb_rcvintpipe(i2400mu->usb_dev, epd->bEndpointAddress); usb_dev 255 drivers/net/wimax/i2400m/usb-fw.c usb_fill_int_urb(urb, i2400mu->usb_dev, pipe, usb_dev 155 drivers/net/wimax/i2400m/usb-notif.c usb_mark_last_busy(i2400mu->usb_dev); usb_dev 213 drivers/net/wimax/i2400m/usb-notif.c usb_pipe = usb_rcvintpipe(i2400mu->usb_dev, epd->bEndpointAddress); usb_dev 214 drivers/net/wimax/i2400m/usb-notif.c usb_fill_int_urb(i2400mu->notif_urb, i2400mu->usb_dev, usb_pipe, usb_dev 209 drivers/net/wimax/i2400m/usb-rx.c usb_pipe = usb_rcvbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); usb_dev 217 drivers/net/wimax/i2400m/usb-rx.c i2400mu->usb_dev, usb_pipe, rx_skb->data + rx_skb->len, usb_dev 219 drivers/net/wimax/i2400m/usb-rx.c usb_mark_last_busy(i2400mu->usb_dev); usb_dev 243 drivers/net/wimax/i2400m/usb-rx.c usb_clear_halt(i2400mu->usb_dev, usb_pipe); usb_dev 105 drivers/net/wimax/i2400m/usb-tx.c usb_pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); usb_dev 107 drivers/net/wimax/i2400m/usb-tx.c result = usb_bulk_msg(i2400mu->usb_dev, usb_pipe, usb_dev 109 drivers/net/wimax/i2400m/usb-tx.c usb_mark_last_busy(i2400mu->usb_dev); usb_dev 135 drivers/net/wimax/i2400m/usb-tx.c usb_clear_halt(i2400mu->usb_dev, usb_pipe); usb_dev 162 drivers/net/wimax/i2400m/usb.c pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); usb_dev 165 drivers/net/wimax/i2400m/usb.c ret = usb_bulk_msg(i2400mu->usb_dev, pipe, buffer, barker_size, usb_dev 194 drivers/net/wimax/i2400m/usb.c usb_clear_halt(i2400mu->usb_dev, pipe); usb_dev 292 drivers/net/wimax/i2400m/usb.c result = usb_reset_device(i2400mu->usb_dev); usb_dev 333 drivers/net/wimax/i2400m/usb.c struct usb_device *udev = i2400mu->usb_dev; usb_dev 418 drivers/net/wimax/i2400m/usb.c struct usb_device *usb_dev = interface_to_usbdev(iface); usb_dev 423 drivers/net/wimax/i2400m/usb.c if (usb_dev->speed != USB_SPEED_HIGH) usb_dev 439 drivers/net/wimax/i2400m/usb.c i2400mu->usb_dev = usb_get_dev(usb_dev); usb_dev 492 drivers/net/wimax/i2400m/usb.c pm_runtime_set_autosuspend_delay(&usb_dev->dev, 15000); usb_dev 493 drivers/net/wimax/i2400m/usb.c usb_enable_autosuspend(usb_dev); usb_dev 506 drivers/net/wimax/i2400m/usb.c usb_put_dev(i2400mu->usb_dev); usb_dev 533 drivers/net/wimax/i2400m/usb.c usb_put_dev(i2400mu->usb_dev); usb_dev 223 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c struct usb_device *usb_dev = interface_to_usbdev(usb_intf); usb_dev 241 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c usb_dev = usb_get_dev(usb_dev); usb_dev 242 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c usb_reset_device(usb_dev); usb_dev 298 drivers/net/wireless/mediatek/mt7601u/dma.c struct usb_device *usb_dev = mt7601u_to_usb_dev(dev); usb_dev 299 drivers/net/wireless/mediatek/mt7601u/dma.c unsigned snd_pipe = usb_sndbulkpipe(usb_dev, dev->out_eps[ep]); usb_dev 314 drivers/net/wireless/mediatek/mt7601u/dma.c usb_fill_bulk_urb(e->urb, usb_dev, snd_pipe, skb->data, skb->len, usb_dev 390 drivers/net/wireless/mediatek/mt7601u/dma.c struct usb_device *usb_dev = mt7601u_to_usb_dev(dev); usb_dev 395 drivers/net/wireless/mediatek/mt7601u/dma.c pipe = usb_rcvbulkpipe(usb_dev, dev->in_eps[MT_EP_IN_PKT_RX]); usb_dev 397 drivers/net/wireless/mediatek/mt7601u/dma.c usb_fill_bulk_urb(e->urb, usb_dev, pipe, buf, MT_RX_URB_SIZE, usb_dev 113 drivers/net/wireless/mediatek/mt7601u/mcu.c struct usb_device *usb_dev = mt7601u_to_usb_dev(dev); usb_dev 114 drivers/net/wireless/mediatek/mt7601u/mcu.c unsigned cmd_pipe = usb_sndbulkpipe(usb_dev, usb_dev 135 drivers/net/wireless/mediatek/mt7601u/mcu.c ret = usb_bulk_msg(usb_dev, cmd_pipe, skb->data, skb->len, &sent, 500); usb_dev 37 drivers/net/wireless/mediatek/mt7601u/usb.c struct usb_device *usb_dev = mt7601u_to_usb_dev(dev); usb_dev 41 drivers/net/wireless/mediatek/mt7601u/usb.c buf->buf = usb_alloc_coherent(usb_dev, buf->len, GFP_KERNEL, &buf->dma); usb_dev 48 drivers/net/wireless/mediatek/mt7601u/usb.c struct usb_device *usb_dev = mt7601u_to_usb_dev(dev); usb_dev 50 drivers/net/wireless/mediatek/mt7601u/usb.c usb_free_coherent(usb_dev, buf->len, buf->buf, buf->dma); usb_dev 58 drivers/net/wireless/mediatek/mt7601u/usb.c struct usb_device *usb_dev = mt7601u_to_usb_dev(dev); usb_dev 63 drivers/net/wireless/mediatek/mt7601u/usb.c pipe = usb_rcvbulkpipe(usb_dev, dev->in_eps[ep_idx]); usb_dev 65 drivers/net/wireless/mediatek/mt7601u/usb.c pipe = usb_sndbulkpipe(usb_dev, dev->out_eps[ep_idx]); usb_dev 67 drivers/net/wireless/mediatek/mt7601u/usb.c usb_fill_bulk_urb(buf->urb, usb_dev, pipe, buf->buf, buf->len, usb_dev 92 drivers/net/wireless/mediatek/mt7601u/usb.c struct usb_device *usb_dev = mt7601u_to_usb_dev(dev); usb_dev 95 drivers/net/wireless/mediatek/mt7601u/usb.c usb_rcvctrlpipe(usb_dev, 0) : usb_sndctrlpipe(usb_dev, 0); usb_dev 98 drivers/net/wireless/mediatek/mt7601u/usb.c ret = usb_control_msg(usb_dev, pipe, req, req_type, usb_dev 267 drivers/net/wireless/mediatek/mt7601u/usb.c struct usb_device *usb_dev = interface_to_usbdev(usb_intf); usb_dev 276 drivers/net/wireless/mediatek/mt7601u/usb.c usb_dev = usb_get_dev(usb_dev); usb_dev 277 drivers/net/wireless/mediatek/mt7601u/usb.c usb_reset_device(usb_dev); usb_dev 1122 drivers/net/wireless/ralink/rt2x00/rt2500usb.c struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); usb_dev 1124 drivers/net/wireless/ralink/rt2x00/rt2500usb.c int pipe = usb_sndbulkpipe(usb_dev, entry->queue->usb_endpoint); usb_dev 1159 drivers/net/wireless/ralink/rt2x00/rt2500usb.c usb_fill_bulk_urb(bcn_priv->urb, usb_dev, pipe, usb_dev 1169 drivers/net/wireless/ralink/rt2x00/rt2500usb.c usb_fill_bulk_urb(bcn_priv->guardian_urb, usb_dev, pipe, usb_dev 48 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); usb_dev 52 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c usb_rcvctrlpipe(usb_dev, 0) : usb_sndctrlpipe(usb_dev, 0); usb_dev 59 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c status = usb_control_msg(usb_dev, pipe, request, requesttype, usb_dev 192 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); usb_dev 214 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c usb_fill_control_urb(urb, usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 296 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); usb_dev 322 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c usb_fill_bulk_urb(entry_priv->urb, usb_dev, usb_dev 323 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c usb_sndbulkpipe(usb_dev, entry->queue->usb_endpoint), usb_dev 399 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); usb_dev 408 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c usb_fill_bulk_urb(entry_priv->urb, usb_dev, usb_dev 409 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c usb_rcvbulkpipe(usb_dev, entry->queue->usb_endpoint), usb_dev 579 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c struct usb_device *usb_dev = to_usb_device_intf(queue->rt2x00dev->dev); usb_dev 585 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c pipe = usb_rcvbulkpipe(usb_dev, queue->usb_endpoint); usb_dev 586 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe, 0); usb_dev 588 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c pipe = usb_sndbulkpipe(usb_dev, queue->usb_endpoint); usb_dev 589 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe, 1); usb_dev 797 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c struct usb_device *usb_dev = interface_to_usbdev(usb_intf); usb_dev 802 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c usb_dev = usb_get_dev(usb_dev); usb_dev 803 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c usb_reset_device(usb_dev); usb_dev 830 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c rt2x00dev->anchor = devm_kmalloc(&usb_dev->dev, usb_dev 855 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c usb_put_dev(usb_dev); usb_dev 596 drivers/staging/gdm724x/gdm_mux.c dev_err(intf->usb_dev, "usb suspend - invalid state\n"); usb_dev 624 drivers/staging/gdm724x/gdm_mux.c dev_err(intf->usb_dev, "usb resume - invalid state\n"); usb_dev 839 drivers/staging/gdm724x/gdm_usb.c dev_err(intf->usb_dev, "init_usb func failed\n"); usb_dev 858 drivers/staging/gdm724x/gdm_usb.c dev_err(intf->usb_dev, "request Mac address failed\n"); usb_dev 914 drivers/staging/gdm724x/gdm_usb.c dev_err(intf->usb_dev, "usb suspend - invalid state\n"); usb_dev 950 drivers/staging/gdm724x/gdm_usb.c dev_err(intf->usb_dev, "usb resume - invalid state\n"); usb_dev 178 drivers/staging/most/usb/usb.c static inline int start_sync_ep(struct usb_device *usb_dev, u16 ep) usb_dev 180 drivers/staging/most/usb/usb.c return drci_wr_reg(usb_dev, DRCI_REG_BASE + DRCI_COMMAND + ep * 16, 1); usb_dev 948 drivers/staging/most/usb/usb.c struct usb_device *usb_dev = dci_obj->usb_device; usb_dev 960 drivers/staging/most/usb/usb.c err = drci_wr_reg(usb_dev, dci_obj->reg_addr, val); usb_dev 962 drivers/staging/most/usb/usb.c err = start_sync_ep(usb_dev, val); usb_dev 964 drivers/staging/most/usb/usb.c err = drci_wr_reg(usb_dev, reg_addr, val); usb_dev 1041 drivers/staging/most/usb/usb.c struct usb_device *usb_dev = interface_to_usbdev(interface); usb_dev 1042 drivers/staging/most/usb/usb.c struct device *dev = &usb_dev->dev; usb_dev 1059 drivers/staging/most/usb/usb.c mdev->usb_device = usb_dev; usb_dev 1076 drivers/staging/most/usb/usb.c usb_dev->bus->busnum, usb_dev 1077 drivers/staging/most/usb/usb.c usb_dev->devpath, usb_dev 1078 drivers/staging/most/usb/usb.c usb_dev->config->desc.bConfigurationValue, usb_dev 1126 drivers/staging/most/usb/usb.c le16_to_cpu(usb_dev->descriptor.idVendor), usb_dev 1127 drivers/staging/most/usb/usb.c le16_to_cpu(usb_dev->descriptor.idProduct), usb_dev 1128 drivers/staging/most/usb/usb.c usb_dev->bus->busnum, usb_dev 1129 drivers/staging/most/usb/usb.c usb_dev->devnum); usb_dev 1132 drivers/staging/most/usb/usb.c usb_dev->bus->busnum, usb_dev 1133 drivers/staging/most/usb/usb.c usb_dev->devpath, usb_dev 1134 drivers/staging/most/usb/usb.c usb_dev->config->desc.bConfigurationValue, usb_dev 1142 drivers/staging/most/usb/usb.c if (le16_to_cpu(usb_dev->descriptor.idProduct) == USB_DEV_ID_OS81118 || usb_dev 1143 drivers/staging/most/usb/usb.c le16_to_cpu(usb_dev->descriptor.idProduct) == USB_DEV_ID_OS81119 || usb_dev 1144 drivers/staging/most/usb/usb.c le16_to_cpu(usb_dev->descriptor.idProduct) == USB_DEV_ID_OS81210) { usb_dev 65 drivers/staging/uwb/hwa-rc.c struct usb_device *usb_dev; usb_dev 587 drivers/staging/uwb/hwa-rc.c hwarc->usb_dev, usb_sndctrlpipe(hwarc->usb_dev, 0), usb_dev 600 drivers/staging/uwb/hwa-rc.c result = usb_lock_device_for_reset(hwarc->usb_dev, NULL); usb_dev 602 drivers/staging/uwb/hwa-rc.c result = usb_reset_device(hwarc->usb_dev); usb_dev 603 drivers/staging/uwb/hwa-rc.c usb_unlock_device(hwarc->usb_dev); usb_dev 675 drivers/staging/uwb/hwa-rc.c struct usb_device *usb_dev = interface_to_usbdev(iface); usb_dev 689 drivers/staging/uwb/hwa-rc.c usb_fill_int_urb(hwarc->neep_urb, usb_dev, usb_dev 690 drivers/staging/uwb/hwa-rc.c usb_rcvintpipe(usb_dev, epd->bEndpointAddress), usb_dev 740 drivers/staging/uwb/hwa-rc.c struct usb_device *usb_dev = hwarc->usb_dev; usb_dev 746 drivers/staging/uwb/hwa-rc.c actconfig_idx = (usb_dev->actconfig - usb_dev->config) / usb_dev 747 drivers/staging/uwb/hwa-rc.c sizeof(usb_dev->config[0]); usb_dev 748 drivers/staging/uwb/hwa-rc.c itr = usb_dev->rawdescriptors[actconfig_idx]; usb_dev 749 drivers/staging/uwb/hwa-rc.c itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); usb_dev 755 drivers/staging/uwb/hwa-rc.c (itr - usb_dev->rawdescriptors[actconfig_idx]), usb_dev 826 drivers/staging/uwb/hwa-rc.c hwarc->usb_dev = usb_get_dev(interface_to_usbdev(iface)); usb_dev 858 drivers/staging/uwb/hwa-rc.c usb_put_dev(hwarc->usb_dev); usb_dev 874 drivers/staging/uwb/hwa-rc.c usb_put_dev(hwarc->usb_dev); usb_dev 35 drivers/staging/uwb/i1480/dfu/usb.c struct usb_device *usb_dev; usb_dev 51 drivers/staging/uwb/i1480/dfu/usb.c struct usb_device *usb_dev = interface_to_usbdev(iface); usb_dev 54 drivers/staging/uwb/i1480/dfu/usb.c i1480_usb->usb_dev = usb_get_dev(usb_dev); /* bind the USB device */ usb_dev 65 drivers/staging/uwb/i1480/dfu/usb.c usb_put_dev(usb_dev); usb_dev 77 drivers/staging/uwb/i1480/dfu/usb.c usb_put_dev(i1480_usb->usb_dev); usb_dev 108 drivers/staging/uwb/i1480/dfu/usb.c i1480_usb->usb_dev, usb_sndctrlpipe(i1480_usb->usb_dev, 0), usb_dev 153 drivers/staging/uwb/i1480/dfu/usb.c i1480_usb->usb_dev, usb_rcvctrlpipe(i1480_usb->usb_dev, 0), usb_dev 232 drivers/staging/uwb/i1480/dfu/usb.c usb_fill_int_urb(i1480_usb->neep_urb, i1480_usb->usb_dev, usb_dev 233 drivers/staging/uwb/i1480/dfu/usb.c usb_rcvintpipe(i1480_usb->usb_dev, epd->bEndpointAddress), usb_dev 290 drivers/staging/uwb/i1480/dfu/usb.c i1480_usb->neep_urb, i1480_usb->usb_dev, usb_dev 291 drivers/staging/uwb/i1480/dfu/usb.c usb_rcvintpipe(i1480_usb->usb_dev, epd->bEndpointAddress), usb_dev 302 drivers/staging/uwb/i1480/dfu/usb.c i1480_usb->usb_dev, usb_sndctrlpipe(i1480_usb->usb_dev, 0), usb_dev 393 drivers/staging/uwb/i1480/dfu/usb.c usb_reset_device(i1480_usb->usb_dev); usb_dev 91 drivers/staging/wusbcore/cbaf.c struct usb_device *usb_dev; usb_dev 129 drivers/staging/wusbcore/cbaf.c cbaf->usb_dev, usb_rcvctrlpipe(cbaf->usb_dev, 0), usb_dev 249 drivers/staging/wusbcore/cbaf.c return usb_control_msg(cbaf->usb_dev, usb_dev 250 drivers/staging/wusbcore/cbaf.c usb_sndctrlpipe(cbaf->usb_dev, 0), usb_dev 274 drivers/staging/wusbcore/cbaf.c cbaf->usb_dev, usb_rcvctrlpipe(cbaf->usb_dev, 0), usb_dev 516 drivers/staging/wusbcore/cbaf.c cbaf->usb_dev, usb_sndctrlpipe(cbaf->usb_dev, 0), usb_dev 588 drivers/staging/wusbcore/cbaf.c cbaf->usb_dev = usb_get_dev(interface_to_usbdev(iface)); usb_dev 607 drivers/staging/wusbcore/cbaf.c usb_put_dev(cbaf->usb_dev); usb_dev 622 drivers/staging/wusbcore/cbaf.c usb_put_dev(cbaf->usb_dev); usb_dev 21 drivers/staging/wusbcore/dev-sysfs.c struct usb_device *usb_dev; usb_dev 30 drivers/staging/wusbcore/dev-sysfs.c usb_dev = to_usb_device(dev); usb_dev 31 drivers/staging/wusbcore/dev-sysfs.c wusbhc = wusbhc_get_by_usb_dev(usb_dev); usb_dev 36 drivers/staging/wusbcore/dev-sysfs.c port_idx = wusb_port_no_to_idx(usb_dev->portnum); usb_dev 64 drivers/staging/wusbcore/dev-sysfs.c struct usb_device *usb_dev; usb_dev 84 drivers/staging/wusbcore/dev-sysfs.c usb_dev = to_usb_device(dev); usb_dev 85 drivers/staging/wusbcore/dev-sysfs.c wusbhc = wusbhc_get_by_usb_dev(usb_dev); usb_dev 88 drivers/staging/wusbcore/dev-sysfs.c result = wusb_dev_4way_handshake(wusbhc, usb_dev->wusb_dev, &ck); usb_dev 107 drivers/staging/wusbcore/dev-sysfs.c int wusb_dev_sysfs_add(struct wusbhc *wusbhc, struct usb_device *usb_dev, usb_dev 110 drivers/staging/wusbcore/dev-sysfs.c int result = sysfs_create_group(&usb_dev->dev.kobj, usb_dev 112 drivers/staging/wusbcore/dev-sysfs.c struct device *dev = &usb_dev->dev; usb_dev 121 drivers/staging/wusbcore/dev-sysfs.c struct usb_device *usb_dev = wusb_dev->usb_dev; usb_dev 122 drivers/staging/wusbcore/dev-sysfs.c if (usb_dev) usb_dev 123 drivers/staging/wusbcore/dev-sysfs.c sysfs_remove_group(&usb_dev->dev.kobj, &wusb_dev_attr_group); usb_dev 410 drivers/staging/wusbcore/devconnect.c if (wusb_dev->usb_dev == NULL) usb_dev 688 drivers/staging/wusbcore/devconnect.c static int wusb_dev_bos_grok(struct usb_device *usb_dev, usb_dev 693 drivers/staging/wusbcore/devconnect.c struct device *dev = &usb_dev->dev; usb_dev 759 drivers/staging/wusbcore/devconnect.c static int wusb_dev_bos_add(struct usb_device *usb_dev, usb_dev 763 drivers/staging/wusbcore/devconnect.c struct device *dev = &usb_dev->dev; usb_dev 770 drivers/staging/wusbcore/devconnect.c result = usb_get_descriptor(usb_dev, USB_DT_BOS, 0, bos, desc_size); usb_dev 784 drivers/staging/wusbcore/devconnect.c result = usb_get_descriptor(usb_dev, USB_DT_BOS, 0, bos, desc_size); usb_dev 797 drivers/staging/wusbcore/devconnect.c result = wusb_dev_bos_grok(usb_dev, wusb_dev, bos, result); usb_dev 838 drivers/staging/wusbcore/devconnect.c static void wusb_dev_add_ncb(struct usb_device *usb_dev) usb_dev 843 drivers/staging/wusbcore/devconnect.c struct device *dev = &usb_dev->dev; usb_dev 846 drivers/staging/wusbcore/devconnect.c if (usb_dev->wusb == 0 || usb_dev->devnum == 1) usb_dev 849 drivers/staging/wusbcore/devconnect.c usb_set_device_state(usb_dev, USB_STATE_UNAUTHENTICATED); usb_dev 851 drivers/staging/wusbcore/devconnect.c wusbhc = wusbhc_get_by_usb_dev(usb_dev); usb_dev 855 drivers/staging/wusbcore/devconnect.c wusb_dev = __wusb_dev_get_by_usb_dev(wusbhc, usb_dev); usb_dev 856 drivers/staging/wusbcore/devconnect.c port_idx = wusb_port_no_to_idx(usb_dev->portnum); usb_dev 860 drivers/staging/wusbcore/devconnect.c wusb_dev->usb_dev = usb_get_dev(usb_dev); usb_dev 861 drivers/staging/wusbcore/devconnect.c usb_dev->wusb_dev = wusb_dev_get(wusb_dev); usb_dev 862 drivers/staging/wusbcore/devconnect.c result = wusb_dev_sec_add(wusbhc, usb_dev, wusb_dev); usb_dev 868 drivers/staging/wusbcore/devconnect.c result = wusb_dev_bos_add(usb_dev, wusb_dev); usb_dev 873 drivers/staging/wusbcore/devconnect.c result = wusb_dev_sysfs_add(wusbhc, usb_dev, wusb_dev); usb_dev 898 drivers/staging/wusbcore/devconnect.c static void wusb_dev_rm_ncb(struct usb_device *usb_dev) usb_dev 900 drivers/staging/wusbcore/devconnect.c struct wusb_dev *wusb_dev = usb_dev->wusb_dev; usb_dev 902 drivers/staging/wusbcore/devconnect.c if (usb_dev->wusb == 0 || usb_dev->devnum == 1) usb_dev 908 drivers/staging/wusbcore/devconnect.c wusb_dev->usb_dev = NULL; usb_dev 909 drivers/staging/wusbcore/devconnect.c usb_dev->wusb_dev = NULL; usb_dev 911 drivers/staging/wusbcore/devconnect.c usb_put_dev(usb_dev); usb_dev 949 drivers/staging/wusbcore/devconnect.c struct usb_device *usb_dev) usb_dev 954 drivers/staging/wusbcore/devconnect.c port_idx = wusb_port_no_to_idx(usb_dev->portnum); usb_dev 69 drivers/staging/wusbcore/host/hwa-hc.c result = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 89 drivers/staging/wusbcore/host/hwa-hc.c return usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 194 drivers/staging/wusbcore/host/hwa-hc.c return usb_get_current_frame_number(wa->usb_dev); usb_dev 259 drivers/staging/wusbcore/host/hwa-hc.c result = usb_control_msg(hwahc->wa.usb_dev, usb_dev 260 drivers/staging/wusbcore/host/hwa-hc.c usb_sndctrlpipe(hwahc->wa.usb_dev, 0), usb_dev 300 drivers/staging/wusbcore/host/hwa-hc.c ret = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 329 drivers/staging/wusbcore/host/hwa-hc.c result = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 341 drivers/staging/wusbcore/host/hwa-hc.c result = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 374 drivers/staging/wusbcore/host/hwa-hc.c return usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 392 drivers/staging/wusbcore/host/hwa-hc.c return usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 434 drivers/staging/wusbcore/host/hwa-hc.c ret = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 474 drivers/staging/wusbcore/host/hwa-hc.c result = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 517 drivers/staging/wusbcore/host/hwa-hc.c result = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 557 drivers/staging/wusbcore/host/hwa-hc.c struct usb_device *usb_dev = wa->usb_dev; usb_dev 562 drivers/staging/wusbcore/host/hwa-hc.c actconfig_idx = (usb_dev->actconfig - usb_dev->config) / usb_dev 563 drivers/staging/wusbcore/host/hwa-hc.c sizeof(usb_dev->config[0]); usb_dev 564 drivers/staging/wusbcore/host/hwa-hc.c itr = usb_dev->rawdescriptors[actconfig_idx]; usb_dev 565 drivers/staging/wusbcore/host/hwa-hc.c itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); usb_dev 571 drivers/staging/wusbcore/host/hwa-hc.c (itr - usb_dev->rawdescriptors[actconfig_idx]), usb_dev 626 drivers/staging/wusbcore/host/hwa-hc.c struct usb_device *usb_dev = hwahc->wa.usb_dev; usb_dev 627 drivers/staging/wusbcore/host/hwa-hc.c struct device *dev = &usb_dev->dev; usb_dev 636 drivers/staging/wusbcore/host/hwa-hc.c index = (usb_dev->actconfig - usb_dev->config) / usb_dev 637 drivers/staging/wusbcore/host/hwa-hc.c sizeof(usb_dev->config[0]); usb_dev 638 drivers/staging/wusbcore/host/hwa-hc.c itr = usb_dev->rawdescriptors[index]; usb_dev 639 drivers/staging/wusbcore/host/hwa-hc.c itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); usb_dev 641 drivers/staging/wusbcore/host/hwa-hc.c result = __usb_get_extra_descriptor(usb_dev->rawdescriptors[index], usb_dev 642 drivers/staging/wusbcore/host/hwa-hc.c le16_to_cpu(usb_dev->actconfig->desc.wTotalLength), usb_dev 710 drivers/staging/wusbcore/host/hwa-hc.c struct usb_device *usb_dev = interface_to_usbdev(iface); usb_dev 712 drivers/staging/wusbcore/host/hwa-hc.c wa->usb_dev = usb_get_dev(usb_dev); /* bind the USB device */ usb_dev 761 drivers/staging/wusbcore/host/hwa-hc.c usb_put_dev(usb_dev); usb_dev 776 drivers/staging/wusbcore/host/hwa-hc.c usb_put_dev(hwahc->wa.usb_dev); usb_dev 43 drivers/staging/wusbcore/host/whci/qset.c struct usb_device *usb_dev = urb->dev; usb_dev 44 drivers/staging/wusbcore/host/whci/qset.c struct wusb_dev *wusb_dev = usb_dev->wusb_dev; usb_dev 82 drivers/staging/wusbcore/host/whci/qset.c | QH_INFO1_DEV_INFO_IDX(wusb_port_no_to_idx(usb_dev->portnum)) usb_dev 155 drivers/staging/wusbcore/security.c static int wusb_dev_set_encryption(struct usb_device *usb_dev, int value) usb_dev 158 drivers/staging/wusbcore/security.c struct device *dev = &usb_dev->dev; usb_dev 159 drivers/staging/wusbcore/security.c struct wusb_dev *wusb_dev = usb_dev->wusb_dev; usb_dev 168 drivers/staging/wusbcore/security.c result = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 187 drivers/staging/wusbcore/security.c struct usb_device *usb_dev = wusb_dev->usb_dev; usb_dev 192 drivers/staging/wusbcore/security.c usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 203 drivers/staging/wusbcore/security.c struct usb_device *usb_dev, struct wusb_dev *wusb_dev) usb_dev 206 drivers/staging/wusbcore/security.c struct device *dev = &usb_dev->dev; usb_dev 218 drivers/staging/wusbcore/security.c result = usb_get_descriptor(usb_dev, USB_DT_SECURITY, usb_dev 234 drivers/staging/wusbcore/security.c result = usb_get_descriptor(usb_dev, USB_DT_SECURITY, usb_dev 303 drivers/staging/wusbcore/security.c struct usb_device *usb_dev = wusb_dev->usb_dev; usb_dev 304 drivers/staging/wusbcore/security.c struct device *dev = &usb_dev->dev; usb_dev 308 drivers/staging/wusbcore/security.c result = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 320 drivers/staging/wusbcore/security.c usb_set_device_state(usb_dev, USB_STATE_DEFAULT); usb_dev 321 drivers/staging/wusbcore/security.c usb_ep0_reinit(usb_dev); usb_dev 324 drivers/staging/wusbcore/security.c result = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 337 drivers/staging/wusbcore/security.c usb_set_device_state(usb_dev, USB_STATE_ADDRESS); usb_dev 338 drivers/staging/wusbcore/security.c usb_ep0_reinit(usb_dev); usb_dev 339 drivers/staging/wusbcore/security.c usb_dev->authenticated = 1; usb_dev 354 drivers/staging/wusbcore/security.c struct usb_device *usb_dev = wusb_dev->usb_dev; usb_dev 355 drivers/staging/wusbcore/security.c struct device *dev = &usb_dev->dev; usb_dev 369 drivers/staging/wusbcore/security.c result = wusb_dev_set_encryption(usb_dev, 1); usb_dev 384 drivers/staging/wusbcore/security.c usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 395 drivers/staging/wusbcore/security.c usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 472 drivers/staging/wusbcore/security.c usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 494 drivers/staging/wusbcore/security.c if (usb_dev->authenticated == 0) { usb_dev 514 drivers/staging/wusbcore/security.c wusb_dev_set_encryption(usb_dev, 0); usb_dev 546 drivers/staging/wusbcore/security.c if (!wusb_dev || !wusb_dev->usb_dev usb_dev 547 drivers/staging/wusbcore/security.c || !wusb_dev->usb_dev->authenticated) usb_dev 559 drivers/staging/wusbcore/security.c dev_dbg(&wusb_dev->usb_dev->dev, usb_dev 564 drivers/staging/wusbcore/security.c dev_err(&wusb_dev->usb_dev->dev, usb_dev 173 drivers/staging/wusbcore/wa-hc.h struct usb_device *usb_dev; usb_dev 372 drivers/staging/wusbcore/wa-hc.h return usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 407 drivers/staging/wusbcore/wa-hc.h wa->usb_dev, usb_rcvctrlpipe(wa->usb_dev, 0), usb_dev 253 drivers/staging/wusbcore/wa-nep.c struct usb_device *usb_dev = interface_to_usbdev(iface); usb_dev 265 drivers/staging/wusbcore/wa-nep.c usb_fill_int_urb(wa->nep_urb, usb_dev, usb_dev 266 drivers/staging/wusbcore/wa-nep.c usb_rcvintpipe(usb_dev, epd->bEndpointAddress), usb_dev 64 drivers/staging/wusbcore/wa-rpipe.c wa->usb_dev, usb_rcvctrlpipe(wa->usb_dev, 0), usb_dev 102 drivers/staging/wusbcore/wa-rpipe.c wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 222 drivers/staging/wusbcore/wa-rpipe.c wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 304 drivers/staging/wusbcore/wa-rpipe.c struct usb_device *usb_dev = urb->dev; usb_dev 315 drivers/staging/wusbcore/wa-rpipe.c unauth = usb_dev->wusb && !usb_dev->authenticated ? 0x80 : 0; usb_dev 511 drivers/staging/wusbcore/wa-rpipe.c wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 532 drivers/staging/wusbcore/wa-rpipe.c wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), usb_dev 511 drivers/staging/wusbcore/wa-xfer.c usb_fill_bulk_urb(&b->urb, xfer->wa->usb_dev, usb_dev 512 drivers/staging/wusbcore/wa-xfer.c usb_sndbulkpipe(xfer->wa->usb_dev, usb_dev 1164 drivers/staging/wusbcore/wa-xfer.c struct usb_device *usb_dev = xfer->wa->usb_dev; usb_dev 1200 drivers/staging/wusbcore/wa-xfer.c usb_fill_bulk_urb(&seg->tr_urb, usb_dev, usb_dev 1201 drivers/staging/wusbcore/wa-xfer.c usb_sndbulkpipe(usb_dev, usb_dev 1222 drivers/staging/wusbcore/wa-xfer.c seg->isoc_pack_desc_urb, usb_dev, usb_dev 1223 drivers/staging/wusbcore/wa-xfer.c usb_sndbulkpipe(usb_dev, usb_dev 1240 drivers/staging/wusbcore/wa-xfer.c seg->dto_urb, usb_dev, usb_dev 1241 drivers/staging/wusbcore/wa-xfer.c usb_sndbulkpipe(usb_dev, usb_dev 2858 drivers/staging/wusbcore/wa-xfer.c wa->dti_urb, wa->usb_dev, usb_dev 2859 drivers/staging/wusbcore/wa-xfer.c usb_rcvbulkpipe(wa->usb_dev, 0x80 | dti_epd->bEndpointAddress), usb_dev 2866 drivers/staging/wusbcore/wa-xfer.c &(wa->buf_in_urbs[index]), wa->usb_dev, usb_dev 2867 drivers/staging/wusbcore/wa-xfer.c usb_rcvbulkpipe(wa->usb_dev, usb_dev 97 drivers/staging/wusbcore/wusbhc.h struct usb_device *usb_dev; usb_dev 322 drivers/staging/wusbcore/wusbhc.h struct usb_hcd *usb_hcd_get_by_usb_dev(struct usb_device *usb_dev) usb_dev 325 drivers/staging/wusbcore/wusbhc.h usb_hcd = bus_to_hcd(usb_dev->bus); usb_dev 349 drivers/staging/wusbcore/wusbhc.h static inline struct wusbhc *wusbhc_get_by_usb_dev(struct usb_device *usb_dev) usb_dev 353 drivers/staging/wusbcore/wusbhc.h if (usb_dev->devnum > 1 && !usb_dev->wusb) { usb_dev 355 drivers/staging/wusbcore/wusbhc.h dev_err(&usb_dev->dev, "devnum %d wusb %d\n", usb_dev->devnum, usb_dev 356 drivers/staging/wusbcore/wusbhc.h usb_dev->wusb); usb_dev 357 drivers/staging/wusbcore/wusbhc.h BUG_ON(usb_dev->devnum > 1 && !usb_dev->wusb); usb_dev 359 drivers/staging/wusbcore/wusbhc.h usb_hcd = usb_hcd_get_by_usb_dev(usb_dev); usb_dev 470 drivers/staging/wusbcore/wusbhc.h struct wusb_dev *wusb_dev_get_by_usb_dev(struct usb_device *usb_dev) usb_dev 474 drivers/staging/wusbcore/wusbhc.h wusbhc = wusbhc_get_by_usb_dev(usb_dev); usb_dev 478 drivers/staging/wusbcore/wusbhc.h wusb_dev = __wusb_dev_get_by_usb_dev(wusbhc, usb_dev); usb_dev 939 drivers/usb/atm/cxacru.c static int cxacru_fw(struct usb_device *usb_dev, enum cxacru_fw_request fw, usb_dev 969 drivers/usb/atm/cxacru.c ret = usb_bulk_msg(usb_dev, usb_sndbulkpipe(usb_dev, CXACRU_EP_CMD), usb_dev 972 drivers/usb/atm/cxacru.c dev_dbg(&usb_dev->dev, "sending fw %#x failed\n", fw); usb_dev 978 drivers/usb/atm/cxacru.c dev_dbg(&usb_dev->dev, "sent fw %#x\n", fw); usb_dev 993 drivers/usb/atm/cxacru.c struct usb_device *usb_dev = usbatm->usb_dev; usb_dev 994 drivers/usb/atm/cxacru.c __le16 signature[] = { usb_dev->descriptor.idVendor, usb_dev 995 drivers/usb/atm/cxacru.c usb_dev->descriptor.idProduct }; usb_dev 1002 drivers/usb/atm/cxacru.c ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, PLLFCLK_ADDR, (u8 *) &val, 4); usb_dev 1010 drivers/usb/atm/cxacru.c ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, PLLBCLK_ADDR, (u8 *) &val, 4); usb_dev 1018 drivers/usb/atm/cxacru.c ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, SDRAMEN_ADDR, (u8 *) &val, 4); usb_dev 1026 drivers/usb/atm/cxacru.c ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, FW_ADDR, fw->data, fw->size); usb_dev 1035 drivers/usb/atm/cxacru.c ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, BR_ADDR, bp->data, bp->size); usb_dev 1043 drivers/usb/atm/cxacru.c ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, SIG_ADDR, (u8 *) signature, 4); usb_dev 1052 drivers/usb/atm/cxacru.c ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, BR_STACK_ADDR, (u8 *) &val, 4); usb_dev 1054 drivers/usb/atm/cxacru.c ret = cxacru_fw(usb_dev, FW_GOTO_MEM, 0x0, 0x0, FW_ADDR, NULL, 0); usb_dev 1064 drivers/usb/atm/cxacru.c usb_clear_halt(usb_dev, usb_sndbulkpipe(usb_dev, CXACRU_EP_CMD)); usb_dev 1065 drivers/usb/atm/cxacru.c usb_clear_halt(usb_dev, usb_rcvbulkpipe(usb_dev, CXACRU_EP_CMD)); usb_dev 1066 drivers/usb/atm/cxacru.c usb_clear_halt(usb_dev, usb_sndbulkpipe(usb_dev, CXACRU_EP_DATA)); usb_dev 1067 drivers/usb/atm/cxacru.c usb_clear_halt(usb_dev, usb_rcvbulkpipe(usb_dev, CXACRU_EP_DATA)); usb_dev 1136 drivers/usb/atm/cxacru.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 1137 drivers/usb/atm/cxacru.c struct usb_host_endpoint *cmd_ep = usb_dev->ep_in[CXACRU_EP_CMD]; usb_dev 1187 drivers/usb/atm/cxacru.c usb_dev, usb_rcvintpipe(usb_dev, CXACRU_EP_CMD), usb_dev 1192 drivers/usb/atm/cxacru.c usb_dev, usb_sndintpipe(usb_dev, CXACRU_EP_CMD), usb_dev 1197 drivers/usb/atm/cxacru.c usb_dev, usb_rcvbulkpipe(usb_dev, CXACRU_EP_CMD), usb_dev 1202 drivers/usb/atm/cxacru.c usb_dev, usb_sndbulkpipe(usb_dev, CXACRU_EP_CMD), usb_dev 1352 drivers/usb/atm/cxacru.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 1358 drivers/usb/atm/cxacru.c if (usb_dev->descriptor.bDeviceClass == USB_CLASS_VENDOR_SPEC usb_dev 1359 drivers/usb/atm/cxacru.c && usb_string(usb_dev, usb_dev->descriptor.iProduct, usb_dev 147 drivers/usb/atm/speedtch.c struct usb_device *usb_dev = usbatm->usb_dev; usb_dev 150 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 163 drivers/usb/atm/speedtch.c struct usb_device *usb_dev = usbatm->usb_dev; usb_dev 170 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 178 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 187 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 196 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 205 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 214 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 224 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), usb_dev 236 drivers/usb/atm/speedtch.c struct usb_device *usb_dev = usbatm->usb_dev; usb_dev 250 drivers/usb/atm/speedtch.c if (!usb_ifnum_to_if(usb_dev, 2)) { usb_dev 258 drivers/usb/atm/speedtch.c ret = usb_bulk_msg(usb_dev, usb_rcvbulkpipe(usb_dev, ENDPOINT_FIRMWARE), usb_dev 272 drivers/usb/atm/speedtch.c ret = usb_bulk_msg(usb_dev, usb_sndbulkpipe(usb_dev, ENDPOINT_FIRMWARE), usb_dev 285 drivers/usb/atm/speedtch.c ret = usb_bulk_msg(usb_dev, usb_rcvbulkpipe(usb_dev, ENDPOINT_FIRMWARE), usb_dev 299 drivers/usb/atm/speedtch.c ret = usb_bulk_msg(usb_dev, usb_sndbulkpipe(usb_dev, ENDPOINT_FIRMWARE), usb_dev 312 drivers/usb/atm/speedtch.c ret = usb_bulk_msg(usb_dev, usb_rcvbulkpipe(usb_dev, ENDPOINT_FIRMWARE), usb_dev 327 drivers/usb/atm/speedtch.c if ((ret = usb_set_interface(usb_dev, INTERFACE_DATA, instance->params.altsetting)) < 0) { usb_dev 410 drivers/usb/atm/speedtch.c struct usb_device *usb_dev = usbatm->usb_dev; usb_dev 416 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 424 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 432 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 440 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 448 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 462 drivers/usb/atm/speedtch.c struct usb_device *usb_dev = usbatm->usb_dev; usb_dev 470 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 649 drivers/usb/atm/speedtch.c struct usb_device *usb_dev = usbatm->usb_dev; usb_dev 658 drivers/usb/atm/speedtch.c if (usb_string(usb_dev, usb_dev->descriptor.iSerialNumber, mac_str, sizeof(mac_str)) == 12) { usb_dev 746 drivers/usb/atm/speedtch.c static void speedtch_release_interfaces(struct usb_device *usb_dev, usb_dev 753 drivers/usb/atm/speedtch.c cur_intf = usb_ifnum_to_if(usb_dev, i); usb_dev 765 drivers/usb/atm/speedtch.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 769 drivers/usb/atm/speedtch.c int num_interfaces = usb_dev->actconfig->desc.bNumInterfaces; usb_dev 777 drivers/usb/atm/speedtch.c if (usb_dev->descriptor.bDeviceClass != USB_CLASS_VENDOR_SPEC) { usb_dev 778 drivers/usb/atm/speedtch.c usb_err(usbatm, "%s: wrong device class %d\n", __func__, usb_dev->descriptor.bDeviceClass); usb_dev 782 drivers/usb/atm/speedtch.c data_intf = usb_ifnum_to_if(usb_dev, INTERFACE_DATA); usb_dev 791 drivers/usb/atm/speedtch.c cur_intf = usb_ifnum_to_if(usb_dev, i); usb_dev 798 drivers/usb/atm/speedtch.c speedtch_release_interfaces(usb_dev, i); usb_dev 822 drivers/usb/atm/speedtch.c if ((ret = usb_set_interface(usb_dev, INTERFACE_DATA, instance->params.altsetting)) < 0) { usb_dev 828 drivers/usb/atm/speedtch.c if ((ret = usb_set_interface(usb_dev, INTERFACE_DATA, DEFAULT_ISOC_ALTSETTING)) < 0) { usb_dev 854 drivers/usb/atm/speedtch.c if ((ret = usb_set_interface(usb_dev, INTERFACE_DATA, DEFAULT_BULK_ALTSETTING)) < 0) { usb_dev 874 drivers/usb/atm/speedtch.c usb_fill_int_urb(instance->int_urb, usb_dev, usb_dev 875 drivers/usb/atm/speedtch.c usb_rcvintpipe(usb_dev, ENDPOINT_INT), usb_dev 882 drivers/usb/atm/speedtch.c ret = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), usb_dev 891 drivers/usb/atm/speedtch.c if ((ret = usb_reset_device(usb_dev)) < 0) { usb_dev 904 drivers/usb/atm/speedtch.c speedtch_release_interfaces(usb_dev, num_interfaces); usb_dev 910 drivers/usb/atm/speedtch.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 915 drivers/usb/atm/speedtch.c speedtch_release_interfaces(usb_dev, usb_dev->actconfig->desc.bNumInterfaces); usb_dev 38 drivers/usb/atm/ueagle-atm.c #define uea_dbg(usb_dev, format, args...) \ usb_dev 41 drivers/usb/atm/ueagle-atm.c dev_dbg(&(usb_dev)->dev, \ usb_dev 46 drivers/usb/atm/ueagle-atm.c #define uea_vdbg(usb_dev, format, args...) \ usb_dev 49 drivers/usb/atm/ueagle-atm.c dev_dbg(&(usb_dev)->dev, \ usb_dev 53 drivers/usb/atm/ueagle-atm.c #define uea_enters(usb_dev) \ usb_dev 54 drivers/usb/atm/ueagle-atm.c uea_vdbg(usb_dev, "entering %s\n" , __func__) usb_dev 56 drivers/usb/atm/ueagle-atm.c #define uea_leaves(usb_dev) \ usb_dev 57 drivers/usb/atm/ueagle-atm.c uea_vdbg(usb_dev, "leaving %s\n" , __func__) usb_dev 59 drivers/usb/atm/ueagle-atm.c #define uea_err(usb_dev, format, args...) \ usb_dev 60 drivers/usb/atm/ueagle-atm.c dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args) usb_dev 62 drivers/usb/atm/ueagle-atm.c #define uea_warn(usb_dev, format, args...) \ usb_dev 63 drivers/usb/atm/ueagle-atm.c dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args) usb_dev 65 drivers/usb/atm/ueagle-atm.c #define uea_info(usb_dev, format, args...) \ usb_dev 66 drivers/usb/atm/ueagle-atm.c dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##args) usb_dev 105 drivers/usb/atm/ueagle-atm.c struct usb_device *usb_dev; usb_dev 248 drivers/usb/atm/ueagle-atm.c #define INS_TO_USBDEV(ins) (ins->usb_dev) usb_dev 833 drivers/usb/atm/ueagle-atm.c ret = usb_bulk_msg(sc->usb_dev, usb_dev 834 drivers/usb/atm/ueagle-atm.c usb_sndbulkpipe(sc->usb_dev, UEA_IDMA_PIPE), usb_dev 871 drivers/usb/atm/ueagle-atm.c ret = request_firmware(&sc->dsp_firm, dsp_name, &sc->usb_dev->dev); usb_dev 1112 drivers/usb/atm/ueagle-atm.c ret = usb_control_msg(sc->usb_dev, usb_sndctrlpipe(sc->usb_dev, 0), usb_dev 1589 drivers/usb/atm/ueagle-atm.c ret = request_firmware(fw, cmv_name, &sc->usb_dev->dev); usb_dev 1623 drivers/usb/atm/ueagle-atm.c ret = request_firmware(fw, cmv_name, &sc->usb_dev->dev); usb_dev 1916 drivers/usb/atm/ueagle-atm.c ret = request_firmware(&fw_entry, fw_name, &sc->usb_dev->dev); usb_dev 1951 drivers/usb/atm/ueagle-atm.c ret = uea_send_modem_cmd(sc->usb_dev, 0xe, 1, &value); usb_dev 1953 drivers/usb/atm/ueagle-atm.c uea_err(sc->usb_dev, "elsa de-assert failed with error" usb_dev 2169 drivers/usb/atm/ueagle-atm.c usb_fill_int_urb(sc->urb_int, sc->usb_dev, usb_dev 2170 drivers/usb/atm/ueagle-atm.c usb_rcvintpipe(sc->usb_dev, UEA_INTR_PIPE), usb_dev 2420 drivers/usb/atm/ueagle-atm.c (sc->usb_dev, sc->usb_dev->descriptor.iSerialNumber, mac_str, usb_dev 2449 drivers/usb/atm/ueagle-atm.c static int claim_interface(struct usb_device *usb_dev, usb_dev 2453 drivers/usb/atm/ueagle-atm.c struct usb_interface *intf = usb_ifnum_to_if(usb_dev, ifnum); usb_dev 2456 drivers/usb/atm/ueagle-atm.c uea_err(usb_dev, "interface %d not found\n", ifnum); usb_dev 2462 drivers/usb/atm/ueagle-atm.c uea_err(usb_dev, "can't claim interface %d, error %d\n", ifnum, usb_dev 2523 drivers/usb/atm/ueagle-atm.c sc->usb_dev = usb; usb_dev 2541 drivers/usb/atm/ueagle-atm.c (sc->usb_dev->descriptor.bcdDevice) & 0x80) ? ANNEXB : ANNEXA; usb_dev 698 drivers/usb/atm/usbatm.c usb_put_dev(instance->usb_dev); usb_dev 1010 drivers/usb/atm/usbatm.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 1028 drivers/usb/atm/usbatm.c instance->usb_dev = usb_dev; usb_dev 1034 drivers/usb/atm/usbatm.c if ((i = usb_string(usb_dev, usb_dev->descriptor.iProduct, buf, length)) < 0) usb_dev 1044 drivers/usb/atm/usbatm.c if (length <= 0 || (i = usb_make_path(usb_dev, buf, length)) < 0) usb_dev 1079 drivers/usb/atm/usbatm.c instance->rx_channel.endpoint = usb_rcvisocpipe(usb_dev, driver->isoc_in); usb_dev 1081 drivers/usb/atm/usbatm.c instance->rx_channel.endpoint = usb_rcvbulkpipe(usb_dev, driver->bulk_in); usb_dev 1083 drivers/usb/atm/usbatm.c instance->tx_channel.endpoint = usb_sndbulkpipe(usb_dev, driver->bulk_out); usb_dev 1090 drivers/usb/atm/usbatm.c maxpacket = usb_maxpacket(usb_dev, instance->rx_channel.endpoint, 0); usb_dev 1139 drivers/usb/atm/usbatm.c usb_fill_bulk_urb(urb, instance->usb_dev, channel->endpoint, usb_dev 1179 drivers/usb/atm/usbatm.c usb_get_dev(usb_dev); usb_dev 131 drivers/usb/atm/usbatm.h struct usb_device *usb_dev; usb_dev 38 drivers/usb/atm/xusbatm.c static struct usb_interface *xusbatm_find_intf(struct usb_device *usb_dev, int altsetting, u8 ep) usb_dev 44 drivers/usb/atm/xusbatm.c for (i = 0; i < usb_dev->actconfig->desc.bNumInterfaces; i++) usb_dev 45 drivers/usb/atm/xusbatm.c if ((intf = usb_dev->actconfig->interface[i]) && (alt = usb_altnum_to_altsetting(intf, altsetting))) usb_dev 52 drivers/usb/atm/xusbatm.c static int xusbatm_capture_intf(struct usbatm_data *usbatm, struct usb_device *usb_dev, usb_dev 62 drivers/usb/atm/xusbatm.c ret = usb_set_interface(usb_dev, ifnum, altsetting); usb_dev 70 drivers/usb/atm/xusbatm.c static void xusbatm_release_intf(struct usb_device *usb_dev, struct usb_interface *intf, int claimed) usb_dev 81 drivers/usb/atm/xusbatm.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 85 drivers/usb/atm/xusbatm.c struct usb_interface *rx_intf = xusbatm_find_intf(usb_dev, rx_alt, rx_endpoint[drv_ix]); usb_dev 86 drivers/usb/atm/xusbatm.c struct usb_interface *tx_intf = xusbatm_find_intf(usb_dev, tx_alt, tx_endpoint[drv_ix]); usb_dev 118 drivers/usb/atm/xusbatm.c ret = xusbatm_capture_intf(usbatm, usb_dev, rx_intf, rx_alt, rx_intf != intf); usb_dev 122 drivers/usb/atm/xusbatm.c if ((tx_intf != rx_intf) && (ret = xusbatm_capture_intf(usbatm, usb_dev, tx_intf, tx_alt, tx_intf != intf))) { usb_dev 123 drivers/usb/atm/xusbatm.c xusbatm_release_intf(usb_dev, rx_intf, rx_intf != intf); usb_dev 133 drivers/usb/atm/xusbatm.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 138 drivers/usb/atm/xusbatm.c for (i = 0; i < usb_dev->actconfig->desc.bNumInterfaces; i++) { usb_dev 139 drivers/usb/atm/xusbatm.c struct usb_interface *cur_intf = usb_dev->actconfig->interface[i]; usb_dev 1159 drivers/usb/class/cdc-acm.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 1187 drivers/usb/class/cdc-acm.c data_interface = usb_ifnum_to_if(usb_dev, 1); usb_dev 1188 drivers/usb/class/cdc-acm.c control_interface = usb_ifnum_to_if(usb_dev, 0); usb_dev 1230 drivers/usb/class/cdc-acm.c data_interface = usb_ifnum_to_if(usb_dev, 0); usb_dev 1233 drivers/usb/class/cdc-acm.c data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); usb_dev 1249 drivers/usb/class/cdc-acm.c control_interface = usb_ifnum_to_if(usb_dev, union_header->bMasterInterface0); usb_dev 1250 drivers/usb/class/cdc-acm.c data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); usb_dev 1349 drivers/usb/class/cdc-acm.c acm->dev = usb_dev; usb_dev 1365 drivers/usb/class/cdc-acm.c acm->in = usb_rcvintpipe(usb_dev, epread->bEndpointAddress); usb_dev 1367 drivers/usb/class/cdc-acm.c acm->in = usb_rcvbulkpipe(usb_dev, epread->bEndpointAddress); usb_dev 1370 drivers/usb/class/cdc-acm.c acm->out = usb_sndintpipe(usb_dev, epwrite->bEndpointAddress); usb_dev 1372 drivers/usb/class/cdc-acm.c acm->out = usb_sndbulkpipe(usb_dev, epwrite->bEndpointAddress); usb_dev 1376 drivers/usb/class/cdc-acm.c buf = usb_alloc_coherent(usb_dev, ctrlsize, GFP_KERNEL, &acm->ctrl_dma); usb_dev 1426 drivers/usb/class/cdc-acm.c usb_fill_int_urb(snd->urb, usb_dev, acm->out, usb_dev 1429 drivers/usb/class/cdc-acm.c usb_fill_bulk_urb(snd->urb, usb_dev, acm->out, usb_dev 1475 drivers/usb/class/cdc-acm.c usb_fill_int_urb(acm->ctrlurb, usb_dev, usb_dev 1476 drivers/usb/class/cdc-acm.c usb_rcvintpipe(usb_dev, epctrl->bEndpointAddress), usb_dev 1503 drivers/usb/class/cdc-acm.c usb_clear_halt(usb_dev, acm->in); usb_dev 1504 drivers/usb/class/cdc-acm.c usb_clear_halt(usb_dev, acm->out); usb_dev 1529 drivers/usb/class/cdc-acm.c usb_free_coherent(usb_dev, ctrlsize, acm->ctrl_buffer, acm->ctrl_dma); usb_dev 887 drivers/usb/class/cdc-wdm.c dev_info(&intf->dev, "%s: USB WDM device\n", dev_name(intf->usb_dev)); usb_dev 75 drivers/usb/class/usbtmc.c struct usb_device *usb_dev; usb_dev 159 drivers/usb/class/usbtmc.c usb_put_dev(data->usb_dev); usb_dev 279 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 280 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 325 drivers/usb/class/usbtmc.c rv = usb_bulk_msg(data->usb_dev, usb_dev 326 drivers/usb/class/usbtmc.c usb_rcvbulkpipe(data->usb_dev, usb_dev 352 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 353 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 408 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 409 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 434 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 435 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 459 drivers/usb/class/usbtmc.c rv = usb_clear_halt(data->usb_dev, usb_dev 460 drivers/usb/class/usbtmc.c usb_sndbulkpipe(data->usb_dev, data->bulk_out)); usb_dev 511 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 512 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 645 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 646 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 694 drivers/usb/class/usbtmc.c retval = usb_bulk_msg(data->usb_dev, usb_dev 695 drivers/usb/class/usbtmc.c usb_sndbulkpipe(data->usb_dev, usb_dev 881 drivers/usb/class/usbtmc.c usb_fill_bulk_urb(urb, data->usb_dev, usb_dev 882 drivers/usb/class/usbtmc.c usb_rcvbulkpipe(data->usb_dev, data->bulk_in), usb_dev 1177 drivers/usb/class/usbtmc.c usb_fill_bulk_urb(urb, data->usb_dev, usb_dev 1178 drivers/usb/class/usbtmc.c usb_sndbulkpipe(data->usb_dev, data->bulk_out), usb_dev 1308 drivers/usb/class/usbtmc.c retval = usb_bulk_msg(data->usb_dev, usb_dev 1309 drivers/usb/class/usbtmc.c usb_sndbulkpipe(data->usb_dev, usb_dev 1377 drivers/usb/class/usbtmc.c retval = usb_bulk_msg(data->usb_dev, usb_dev 1378 drivers/usb/class/usbtmc.c usb_rcvbulkpipe(data->usb_dev, usb_dev 1570 drivers/usb/class/usbtmc.c usb_fill_bulk_urb(urb, data->usb_dev, usb_dev 1571 drivers/usb/class/usbtmc.c usb_sndbulkpipe(data->usb_dev, data->bulk_out), usb_dev 1634 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 1635 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 1658 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 1659 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 1684 drivers/usb/class/usbtmc.c rv = usb_bulk_msg(data->usb_dev, usb_dev 1685 drivers/usb/class/usbtmc.c usb_rcvbulkpipe(data->usb_dev, usb_dev 1719 drivers/usb/class/usbtmc.c rv = usb_clear_halt(data->usb_dev, usb_dev 1720 drivers/usb/class/usbtmc.c usb_sndbulkpipe(data->usb_dev, data->bulk_out)); usb_dev 1736 drivers/usb/class/usbtmc.c rv = usb_clear_halt(data->usb_dev, usb_dev 1737 drivers/usb/class/usbtmc.c usb_sndbulkpipe(data->usb_dev, data->bulk_out)); usb_dev 1740 drivers/usb/class/usbtmc.c dev_err(&data->usb_dev->dev, "%s returned %d\n", __func__, rv); usb_dev 1748 drivers/usb/class/usbtmc.c rv = usb_clear_halt(data->usb_dev, usb_dev 1749 drivers/usb/class/usbtmc.c usb_rcvbulkpipe(data->usb_dev, data->bulk_in)); usb_dev 1752 drivers/usb/class/usbtmc.c dev_err(&data->usb_dev->dev, "%s returned %d\n", __func__, rv); usb_dev 1783 drivers/usb/class/usbtmc.c struct device *dev = &data->usb_dev->dev; usb_dev 1791 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 1860 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 1861 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 1917 drivers/usb/class/usbtmc.c rv = usb_control_msg(data->usb_dev, usb_dev 1918 drivers/usb/class/usbtmc.c usb_rcvctrlpipe(data->usb_dev, 0), usb_dev 2334 drivers/usb/class/usbtmc.c data->usb_dev = usb_get_dev(interface_to_usbdev(intf)); usb_dev 2407 drivers/usb/class/usbtmc.c usb_fill_int_urb(data->iin_urb, data->usb_dev, usb_dev 2408 drivers/usb/class/usbtmc.c usb_rcvintpipe(data->usb_dev, data->iin_ep), usb_dev 831 drivers/usb/core/driver.c struct usb_device *usb_dev; usb_dev 834 drivers/usb/core/driver.c usb_dev = to_usb_device(dev); usb_dev 838 drivers/usb/core/driver.c usb_dev = interface_to_usbdev(intf); usb_dev 843 drivers/usb/core/driver.c if (usb_dev->devnum < 0) { usb_dev 848 drivers/usb/core/driver.c if (!usb_dev->bus) { usb_dev 855 drivers/usb/core/driver.c le16_to_cpu(usb_dev->descriptor.idVendor), usb_dev 856 drivers/usb/core/driver.c le16_to_cpu(usb_dev->descriptor.idProduct), usb_dev 857 drivers/usb/core/driver.c le16_to_cpu(usb_dev->descriptor.bcdDevice))) usb_dev 862 drivers/usb/core/driver.c usb_dev->descriptor.bDeviceClass, usb_dev 863 drivers/usb/core/driver.c usb_dev->descriptor.bDeviceSubClass, usb_dev 864 drivers/usb/core/driver.c usb_dev->descriptor.bDeviceProtocol)) usb_dev 203 drivers/usb/core/file.c intf->usb_dev = device_create(usb_class->class, &intf->dev, usb_dev 206 drivers/usb/core/file.c if (IS_ERR(intf->usb_dev)) { usb_dev 209 drivers/usb/core/file.c retval = PTR_ERR(intf->usb_dev); usb_dev 243 drivers/usb/core/file.c intf->usb_dev = NULL; usb_dev 976 drivers/usb/core/hcd.c struct usb_device *usb_dev = hcd->self.root_hub; usb_dev 980 drivers/usb/core/hcd.c usb_dev->devnum = devnum; usb_dev 981 drivers/usb/core/hcd.c usb_dev->bus->devnum_next = devnum + 1; usb_dev 982 drivers/usb/core/hcd.c set_bit (devnum, usb_dev->bus->devmap.devicemap); usb_dev 983 drivers/usb/core/hcd.c usb_set_device_state(usb_dev, USB_STATE_ADDRESS); usb_dev 987 drivers/usb/core/hcd.c usb_dev->ep0.desc.wMaxPacketSize = cpu_to_le16(64); usb_dev 988 drivers/usb/core/hcd.c retval = usb_get_device_descriptor(usb_dev, USB_DT_DEVICE_SIZE); usb_dev 989 drivers/usb/core/hcd.c if (retval != sizeof usb_dev->descriptor) { usb_dev 992 drivers/usb/core/hcd.c dev_name(&usb_dev->dev), retval); usb_dev 996 drivers/usb/core/hcd.c if (le16_to_cpu(usb_dev->descriptor.bcdUSB) >= 0x0201) { usb_dev 997 drivers/usb/core/hcd.c retval = usb_get_bos_descriptor(usb_dev); usb_dev 999 drivers/usb/core/hcd.c usb_dev->lpm_capable = usb_device_supports_lpm(usb_dev); usb_dev 1000 drivers/usb/core/hcd.c } else if (usb_dev->speed >= USB_SPEED_SUPER) { usb_dev 1003 drivers/usb/core/hcd.c dev_name(&usb_dev->dev), retval); usb_dev 1008 drivers/usb/core/hcd.c retval = usb_new_device (usb_dev); usb_dev 1011 drivers/usb/core/hcd.c dev_name(&usb_dev->dev), retval); usb_dev 2606 drivers/usb/core/hub.c int usb_deauthorize_device(struct usb_device *usb_dev) usb_dev 2608 drivers/usb/core/hub.c usb_lock_device(usb_dev); usb_dev 2609 drivers/usb/core/hub.c if (usb_dev->authorized == 0) usb_dev 2612 drivers/usb/core/hub.c usb_dev->authorized = 0; usb_dev 2613 drivers/usb/core/hub.c usb_set_configuration(usb_dev, -1); usb_dev 2616 drivers/usb/core/hub.c usb_unlock_device(usb_dev); usb_dev 2621 drivers/usb/core/hub.c int usb_authorize_device(struct usb_device *usb_dev) usb_dev 2625 drivers/usb/core/hub.c usb_lock_device(usb_dev); usb_dev 2626 drivers/usb/core/hub.c if (usb_dev->authorized == 1) usb_dev 2629 drivers/usb/core/hub.c result = usb_autoresume_device(usb_dev); usb_dev 2631 drivers/usb/core/hub.c dev_err(&usb_dev->dev, usb_dev 2636 drivers/usb/core/hub.c if (usb_dev->wusb) { usb_dev 2637 drivers/usb/core/hub.c result = usb_get_device_descriptor(usb_dev, sizeof(usb_dev->descriptor)); usb_dev 2639 drivers/usb/core/hub.c dev_err(&usb_dev->dev, "can't re-read device descriptor for " usb_dev 2645 drivers/usb/core/hub.c usb_dev->authorized = 1; usb_dev 2649 drivers/usb/core/hub.c c = usb_choose_configuration(usb_dev); usb_dev 2651 drivers/usb/core/hub.c result = usb_set_configuration(usb_dev, c); usb_dev 2653 drivers/usb/core/hub.c dev_err(&usb_dev->dev, usb_dev 2659 drivers/usb/core/hub.c dev_info(&usb_dev->dev, "authorized to connect\n"); usb_dev 2662 drivers/usb/core/hub.c usb_autosuspend_device(usb_dev); usb_dev 2665 drivers/usb/core/hub.c usb_unlock_device(usb_dev); /* complements locktree */ usb_dev 41 drivers/usb/core/ledtrig-usbport.c struct usb_device *usb_dev) usb_dev 45 drivers/usb/core/ledtrig-usbport.c if (!usb_dev->parent) usb_dev 49 drivers/usb/core/ledtrig-usbport.c if (usb_dev->parent == port->hub && usb_dev 50 drivers/usb/core/ledtrig-usbport.c usb_dev->portnum == port->portnum) usb_dev 57 drivers/usb/core/ledtrig-usbport.c static int usbport_trig_usb_dev_check(struct usb_device *usb_dev, void *data) usb_dev 61 drivers/usb/core/ledtrig-usbport.c if (usbport_trig_usb_dev_observed(usbport_data, usb_dev)) usb_dev 130 drivers/usb/core/ledtrig-usbport.c struct usb_device *usb_dev, int port1) usb_dev 146 drivers/usb/core/ledtrig-usbport.c port_np = usb_of_get_device_node(usb_dev, port1); usb_dev 184 drivers/usb/core/ledtrig-usbport.c struct usb_device *usb_dev, usb_dev 199 drivers/usb/core/ledtrig-usbport.c port->hub = usb_dev; usb_dev 201 drivers/usb/core/ledtrig-usbport.c port->observed = usbport_trig_port_observed(usbport_data, usb_dev, usb_dev 235 drivers/usb/core/ledtrig-usbport.c static int usbport_trig_add_usb_dev_ports(struct usb_device *usb_dev, usb_dev 241 drivers/usb/core/ledtrig-usbport.c for (i = 1; i <= usb_dev->maxchild; i++) usb_dev 242 drivers/usb/core/ledtrig-usbport.c usbport_trig_add_port(usbport_data, usb_dev, usb_dev 243 drivers/usb/core/ledtrig-usbport.c dev_name(&usb_dev->dev), i); usb_dev 261 drivers/usb/core/ledtrig-usbport.c struct usb_device *usb_dev) usb_dev 266 drivers/usb/core/ledtrig-usbport.c if (port->hub == usb_dev) usb_dev 281 drivers/usb/core/ledtrig-usbport.c struct usb_device *usb_dev = data; usb_dev 284 drivers/usb/core/ledtrig-usbport.c observed = usbport_trig_usb_dev_observed(usbport_data, usb_dev); usb_dev 288 drivers/usb/core/ledtrig-usbport.c usbport_trig_add_usb_dev_ports(usb_dev, usbport_data); usb_dev 293 drivers/usb/core/ledtrig-usbport.c usbport_trig_remove_usb_dev_ports(usbport_data, usb_dev); usb_dev 85 drivers/usb/core/message.c static int usb_internal_control_msg(struct usb_device *usb_dev, usb_dev 98 drivers/usb/core/message.c usb_fill_control_urb(urb, usb_dev, pipe, (unsigned char *)cmd, data, usb_dev 190 drivers/usb/core/message.c int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, usb_dev 193 drivers/usb/core/message.c return usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeout); usb_dev 229 drivers/usb/core/message.c int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, usb_dev 235 drivers/usb/core/message.c ep = usb_pipe_endpoint(usb_dev, pipe); usb_dev 246 drivers/usb/core/message.c usb_fill_int_urb(urb, usb_dev, pipe, data, len, usb_dev 250 drivers/usb/core/message.c usb_fill_bulk_urb(urb, usb_dev, pipe, data, len, usb_dev 1679 drivers/usb/core/message.c struct usb_device *usb_dev; usb_dev 1684 drivers/usb/core/message.c usb_dev = interface_to_usbdev(intf); usb_dev 1696 drivers/usb/core/message.c le16_to_cpu(usb_dev->descriptor.idVendor), usb_dev 1697 drivers/usb/core/message.c le16_to_cpu(usb_dev->descriptor.idProduct), usb_dev 1698 drivers/usb/core/message.c le16_to_cpu(usb_dev->descriptor.bcdDevice), usb_dev 1699 drivers/usb/core/message.c usb_dev->descriptor.bDeviceClass, usb_dev 1700 drivers/usb/core/message.c usb_dev->descriptor.bDeviceSubClass, usb_dev 1701 drivers/usb/core/message.c usb_dev->descriptor.bDeviceProtocol, usb_dev 749 drivers/usb/core/sysfs.c struct usb_device *usb_dev = to_usb_device(dev); usb_dev 750 drivers/usb/core/sysfs.c return snprintf(buf, PAGE_SIZE, "%u\n", usb_dev->authorized); usb_dev 763 drivers/usb/core/sysfs.c struct usb_device *usb_dev = to_usb_device(dev); usb_dev 769 drivers/usb/core/sysfs.c result = usb_deauthorize_device(usb_dev); usb_dev 771 drivers/usb/core/sysfs.c result = usb_authorize_device(usb_dev); usb_dev 973 drivers/usb/core/sysfs.c struct usb_device *usb_dev = to_usb_device(dev); usb_dev 974 drivers/usb/core/sysfs.c struct usb_hcd *hcd = bus_to_hcd(usb_dev->bus); usb_dev 989 drivers/usb/core/sysfs.c struct usb_device *usb_dev = to_usb_device(dev); usb_dev 990 drivers/usb/core/sysfs.c struct usb_hcd *hcd = bus_to_hcd(usb_dev->bus); usb_dev 430 drivers/usb/core/usb.c struct usb_device *usb_dev; usb_dev 432 drivers/usb/core/usb.c usb_dev = to_usb_device(dev); usb_dev 434 drivers/usb/core/usb.c if (add_uevent_var(env, "BUSNUM=%03d", usb_dev->bus->busnum)) usb_dev 437 drivers/usb/core/usb.c if (add_uevent_var(env, "DEVNUM=%03d", usb_dev->devnum)) usb_dev 513 drivers/usb/core/usb.c struct usb_device *usb_dev; usb_dev 515 drivers/usb/core/usb.c usb_dev = to_usb_device(dev); usb_dev 517 drivers/usb/core/usb.c usb_dev->bus->busnum, usb_dev->devnum); usb_dev 179 drivers/usb/host/bcma-hcd.c static int bcma_hcd_usb20_old_arm_init(struct bcma_hcd_device *usb_dev) usb_dev 181 drivers/usb/host/bcma-hcd.c struct bcma_device *core = usb_dev->core; usb_dev 286 drivers/usb/host/bcma-hcd.c struct bcma_hcd_device *usb_dev = bcma_get_drvdata(dev); usb_dev 288 drivers/usb/host/bcma-hcd.c if (IS_ERR_OR_NULL(usb_dev->gpio_desc)) usb_dev 291 drivers/usb/host/bcma-hcd.c gpiod_set_value(usb_dev->gpio_desc, val); usb_dev 344 drivers/usb/host/bcma-hcd.c static int bcma_hcd_usb20_init(struct bcma_hcd_device *usb_dev) usb_dev 346 drivers/usb/host/bcma-hcd.c struct bcma_device *dev = usb_dev->core; usb_dev 363 drivers/usb/host/bcma-hcd.c usb_dev->ohci_dev = bcma_hcd_create_pdev(dev, "ohci-platform", usb_dev 366 drivers/usb/host/bcma-hcd.c if (IS_ERR(usb_dev->ohci_dev)) usb_dev 367 drivers/usb/host/bcma-hcd.c return PTR_ERR(usb_dev->ohci_dev); usb_dev 369 drivers/usb/host/bcma-hcd.c usb_dev->ehci_dev = bcma_hcd_create_pdev(dev, "ehci-platform", usb_dev 372 drivers/usb/host/bcma-hcd.c if (IS_ERR(usb_dev->ehci_dev)) { usb_dev 373 drivers/usb/host/bcma-hcd.c err = PTR_ERR(usb_dev->ehci_dev); usb_dev 380 drivers/usb/host/bcma-hcd.c platform_device_unregister(usb_dev->ohci_dev); usb_dev 399 drivers/usb/host/bcma-hcd.c struct bcma_hcd_device *usb_dev; usb_dev 403 drivers/usb/host/bcma-hcd.c usb_dev = devm_kzalloc(&core->dev, sizeof(struct bcma_hcd_device), usb_dev 405 drivers/usb/host/bcma-hcd.c if (!usb_dev) usb_dev 407 drivers/usb/host/bcma-hcd.c usb_dev->core = core; usb_dev 410 drivers/usb/host/bcma-hcd.c usb_dev->gpio_desc = devm_gpiod_get(&core->dev, "vcc", usb_dev 416 drivers/usb/host/bcma-hcd.c err = bcma_hcd_usb20_old_arm_init(usb_dev); usb_dev 418 drivers/usb/host/bcma-hcd.c err = bcma_hcd_usb20_init(usb_dev); usb_dev 423 drivers/usb/host/bcma-hcd.c err = bcma_hcd_usb20_ns_init(usb_dev); usb_dev 426 drivers/usb/host/bcma-hcd.c err = bcma_hcd_usb30_init(usb_dev); usb_dev 434 drivers/usb/host/bcma-hcd.c bcma_set_drvdata(core, usb_dev); usb_dev 440 drivers/usb/host/bcma-hcd.c struct bcma_hcd_device *usb_dev = bcma_get_drvdata(dev); usb_dev 441 drivers/usb/host/bcma-hcd.c struct platform_device *ohci_dev = usb_dev->ohci_dev; usb_dev 442 drivers/usb/host/bcma-hcd.c struct platform_device *ehci_dev = usb_dev->ehci_dev; usb_dev 174 drivers/usb/host/fsl-mph-dr-of.c struct platform_device *usb_dev; usb_dev 249 drivers/usb/host/fsl-mph-dr-of.c usb_dev = fsl_usb2_device_register(ofdev, pdata, usb_dev 251 drivers/usb/host/fsl-mph-dr-of.c if (IS_ERR(usb_dev)) { usb_dev 253 drivers/usb/host/fsl-mph-dr-of.c return PTR_ERR(usb_dev); usb_dev 156 drivers/usb/host/ssb-hcd.c struct ssb_hcd_device *usb_dev; usb_dev 168 drivers/usb/host/ssb-hcd.c usb_dev = devm_kzalloc(dev->dev, sizeof(struct ssb_hcd_device), usb_dev 170 drivers/usb/host/ssb-hcd.c if (!usb_dev) usb_dev 177 drivers/usb/host/ssb-hcd.c usb_dev->enable_flags = ssb_hcd_init_chip(dev); usb_dev 183 drivers/usb/host/ssb-hcd.c usb_dev->ohci_dev = ssb_hcd_create_pdev(dev, true, start, len); usb_dev 184 drivers/usb/host/ssb-hcd.c if (IS_ERR(usb_dev->ohci_dev)) usb_dev 185 drivers/usb/host/ssb-hcd.c return PTR_ERR(usb_dev->ohci_dev); usb_dev 189 drivers/usb/host/ssb-hcd.c usb_dev->ehci_dev = ssb_hcd_create_pdev(dev, false, start, len); usb_dev 190 drivers/usb/host/ssb-hcd.c if (IS_ERR(usb_dev->ehci_dev)) { usb_dev 191 drivers/usb/host/ssb-hcd.c err = PTR_ERR(usb_dev->ehci_dev); usb_dev 196 drivers/usb/host/ssb-hcd.c ssb_set_drvdata(dev, usb_dev); usb_dev 200 drivers/usb/host/ssb-hcd.c platform_device_unregister(usb_dev->ohci_dev); usb_dev 206 drivers/usb/host/ssb-hcd.c struct ssb_hcd_device *usb_dev = ssb_get_drvdata(dev); usb_dev 207 drivers/usb/host/ssb-hcd.c struct platform_device *ohci_dev = usb_dev->ohci_dev; usb_dev 208 drivers/usb/host/ssb-hcd.c struct platform_device *ehci_dev = usb_dev->ehci_dev; usb_dev 234 drivers/usb/host/ssb-hcd.c struct ssb_hcd_device *usb_dev = ssb_get_drvdata(dev); usb_dev 236 drivers/usb/host/ssb-hcd.c ssb_device_enable(dev, usb_dev->enable_flags); usb_dev 1852 drivers/usb/host/u132-hcd.c struct usb_device *usb_dev, u8 usb_addr, u8 usb_endp, u8 address, usb_dev 1926 drivers/usb/host/u132-hcd.c struct usb_device *usb_dev, struct u132_endp *endp, u8 usb_addr, usb_dev 1950 drivers/usb/host/u132-hcd.c struct usb_device *usb_dev, u8 usb_addr, u8 usb_endp, u8 address, usb_dev 2025 drivers/usb/host/u132-hcd.c struct usb_device *usb_dev, struct u132_endp *endp, u8 usb_addr, usb_dev 2047 drivers/usb/host/u132-hcd.c struct usb_device *usb_dev, u8 usb_addr, u8 usb_endp, usb_dev 2136 drivers/usb/host/u132-hcd.c struct usb_device *usb_dev, struct u132_endp *endp, u8 usb_addr, usb_dev 2160 drivers/usb/host/u132-hcd.c struct u132_addr *addr = &u132->addr[usb_dev->devnum]; usb_dev 2172 drivers/usb/host/u132-hcd.c udev->usb_addr = usb_dev->devnum; usb_dev 2179 drivers/usb/host/u132-hcd.c udev->usb_device = usb_dev; usb_dev 2255 drivers/usb/host/u132-hcd.c struct usb_device *usb_dev = urb->dev; usb_dev 2270 drivers/usb/host/u132-hcd.c usb_dev, endp, usb_dev 2291 drivers/usb/host/u132-hcd.c urb, usb_dev, usb_addr, usb_dev 2312 drivers/usb/host/u132-hcd.c usb_dev, endp, usb_dev 2331 drivers/usb/host/u132-hcd.c udev, urb, usb_dev, usb_addr, usb_dev 2360 drivers/usb/host/u132-hcd.c u132, urb, usb_dev, usb_dev 2379 drivers/usb/host/u132-hcd.c urb, usb_dev, usb_addr, usb_endp, usb_dev 212 drivers/usb/image/microtek.c (int)desc->usb_dev->toggle[1],(int)desc->usb_dev->toggle[0] usb_dev 215 drivers/usb/image/microtek.c usb_sndbulkpipe(desc->usb_dev,desc->ep_out), usb_dev 216 drivers/usb/image/microtek.c usb_rcvbulkpipe(desc->usb_dev,desc->ep_response), usb_dev 217 drivers/usb/image/microtek.c usb_rcvbulkpipe(desc->usb_dev,desc->ep_image) usb_dev 352 drivers/usb/image/microtek.c result = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf); usb_dev 354 drivers/usb/image/microtek.c result = usb_reset_device(desc->usb_dev); usb_dev 355 drivers/usb/image/microtek.c usb_unlock_device(desc->usb_dev); usb_dev 381 drivers/usb/image/microtek.c context->instance->usb_dev, usb_dev 424 drivers/usb/image/microtek.c usb_rcvbulkpipe(context->instance->usb_dev, usb_dev 549 drivers/usb/image/microtek.c ) { pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_image); usb_dev 553 drivers/usb/image/microtek.c pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_response); usb_dev 559 drivers/usb/image/microtek.c pipe = usb_sndbulkpipe(desc->usb_dev,desc->ep_out); usb_dev 592 drivers/usb/image/microtek.c desc->usb_dev, usb_dev 593 drivers/usb/image/microtek.c usb_sndbulkpipe(desc->usb_dev,desc->ep_out), usb_dev 742 drivers/usb/image/microtek.c new_desc->usb_dev = dev; usb_dev 34 drivers/usb/image/microtek.h struct usb_device *usb_dev; usb_dev 924 drivers/usb/storage/usb.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 926 drivers/usb/storage/usb.c if (usb_dev->bus->sg_tablesize) { usb_dev 927 drivers/usb/storage/usb.c return usb_dev->bus->sg_tablesize; usb_dev 99 include/linux/mfd/viperboard.h struct usb_device *usb_dev; /* the usb device for this device */ usb_dev 258 include/linux/usb.h struct device *usb_dev; usb_dev 827 include/linux/usb.h extern int usb_get_current_frame_number(struct usb_device *usb_dev); usb_dev 1786 include/linux/usb.h extern int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, usb_dev 1788 include/linux/usb.h extern int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, usb_dev 711 sound/usb/caiaq/audio.c struct usb_device *usb_dev = cdev->chip.dev; usb_dev 715 sound/usb/caiaq/audio.c usb_sndisocpipe(usb_dev, ENDPOINT_PLAYBACK) : usb_dev 716 sound/usb/caiaq/audio.c usb_rcvisocpipe(usb_dev, ENDPOINT_CAPTURE); usb_dev 747 sound/usb/caiaq/audio.c urbs[i]->dev = usb_dev; usb_dev 210 sound/usb/caiaq/device.c struct usb_device *usb_dev = cdev->chip.dev; usb_dev 212 sound/usb/caiaq/device.c if (!usb_dev) usb_dev 222 sound/usb/caiaq/device.c return usb_bulk_msg(usb_dev, usb_sndbulkpipe(usb_dev, 1), usb_dev 233 sound/usb/caiaq/device.c struct usb_device *usb_dev = cdev->chip.dev; usb_dev 235 sound/usb/caiaq/device.c if (!usb_dev) usb_dev 247 sound/usb/caiaq/device.c return usb_bulk_msg(usb_dev, usb_sndbulkpipe(usb_dev, 1), usb_dev 393 sound/usb/caiaq/device.c static int create_card(struct usb_device *usb_dev, usb_dev 416 sound/usb/caiaq/device.c cdev->chip.dev = usb_dev; usb_dev 418 sound/usb/caiaq/device.c cdev->chip.usb_id = USB_ID(le16_to_cpu(usb_dev->descriptor.idVendor), usb_dev 419 sound/usb/caiaq/device.c le16_to_cpu(usb_dev->descriptor.idProduct)); usb_dev 429 sound/usb/caiaq/device.c struct usb_device *usb_dev = cdev->chip.dev; usb_dev 434 sound/usb/caiaq/device.c if (usb_set_interface(usb_dev, 0, 1) != 0) { usb_dev 442 sound/usb/caiaq/device.c usb_fill_bulk_urb(&cdev->ep1_in_urb, usb_dev, usb_dev 443 sound/usb/caiaq/device.c usb_rcvbulkpipe(usb_dev, 0x1), usb_dev 447 sound/usb/caiaq/device.c usb_fill_bulk_urb(&cdev->midi_out_urb, usb_dev, usb_dev 448 sound/usb/caiaq/device.c usb_sndbulkpipe(usb_dev, 0x1), usb_dev 474 sound/usb/caiaq/device.c usb_string(usb_dev, usb_dev->descriptor.iManufacturer, usb_dev 477 sound/usb/caiaq/device.c usb_string(usb_dev, usb_dev->descriptor.iProduct, usb_dev 501 sound/usb/caiaq/device.c usb_make_path(usb_dev, usbpath, sizeof(usbpath)); usb_dev 518 sound/usb/caiaq/device.c struct usb_device *usb_dev = interface_to_usbdev(intf); usb_dev 520 sound/usb/caiaq/device.c ret = create_card(usb_dev, intf, &card); usb_dev 528 sound/usb/caiaq/device.c dev_err(&usb_dev->dev, "unable to init card! (ret=%d)\n", ret); usb_dev 539 sound/usb/caiaq/device.c struct device *dev = intf->usb_dev; usb_dev 589 sound/usb/caiaq/input.c struct usb_device *usb_dev = cdev->chip.dev; usb_dev 597 sound/usb/caiaq/input.c usb_make_path(usb_dev, cdev->phys, sizeof(cdev->phys)); usb_dev 602 sound/usb/caiaq/input.c usb_to_input_id(usb_dev, &input->id); usb_dev 603 sound/usb/caiaq/input.c input->dev.parent = &usb_dev->dev; usb_dev 704 sound/usb/caiaq/input.c usb_fill_bulk_urb(cdev->ep4_in_urb, usb_dev, usb_dev 705 sound/usb/caiaq/input.c usb_rcvbulkpipe(usb_dev, 0x4), usb_dev 746 sound/usb/caiaq/input.c usb_fill_bulk_urb(cdev->ep4_in_urb, usb_dev, usb_dev 747 sound/usb/caiaq/input.c usb_rcvbulkpipe(usb_dev, 0x4), usb_dev 794 sound/usb/caiaq/input.c usb_fill_bulk_urb(cdev->ep4_in_urb, usb_dev, usb_dev 795 sound/usb/caiaq/input.c usb_rcvbulkpipe(usb_dev, 0x4),