usb 63 arch/arm/mach-mmp/clock-pxa168.c static APMU_CLK(usb, USB, 0x12, 0); usb 416 arch/arm/mach-pxa/palm27x.c void __init palm27x_power_init(int ac, int usb) usb 419 arch/arm/mach-pxa/palm27x.c palm_usb_state = usb; usb 65 arch/arm/mach-pxa/palm27x.h extern void __init palm27x_power_init(int ac, int usb); usb 67 arch/arm/mach-pxa/palm27x.h static inline void palm27x_power_init(int ac, int usb) {} usb 62 arch/mips/ar7/clock.c struct tnetd7300_clock usb; usb 84 arch/mips/ar7/clock.c struct tnetd7200_clock usb; usb 394 arch/mips/ar7/clock.c tnetd7200_set_clock(usb_base, &clocks->usb, usb 3725 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t usb:1; usb 3753 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t usb:1; usb 2302 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t usb:1; usb 2330 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t usb:1; usb 2440 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t usb:1; usb 2468 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t usb:1; usb 125 drivers/bluetooth/ath3k.c MODULE_DEVICE_TABLE(usb, ath3k_table); usb 35 drivers/bluetooth/bcm203x.c MODULE_DEVICE_TABLE(usb, bcm203x_table); usb 37 drivers/bluetooth/bfusb.c MODULE_DEVICE_TABLE(usb, bfusb_table); usb 34 drivers/bluetooth/bpa10x.c MODULE_DEVICE_TABLE(usb, bpa10x_table); usb 171 drivers/bluetooth/btusb.c MODULE_DEVICE_TABLE(usb, btusb_table); usb 45 drivers/clk/at91/clk-usb.c struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); usb 49 drivers/clk/at91/clk-usb.c regmap_read(usb->regmap, AT91_PMC_USB, &usbr); usb 111 drivers/clk/at91/clk-usb.c struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); usb 116 drivers/clk/at91/clk-usb.c regmap_update_bits(usb->regmap, AT91_PMC_USB, usb->usbs_mask, index); usb 123 drivers/clk/at91/clk-usb.c struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); usb 126 drivers/clk/at91/clk-usb.c regmap_read(usb->regmap, AT91_PMC_USB, &usbr); usb 128 drivers/clk/at91/clk-usb.c return usbr & usb->usbs_mask; usb 134 drivers/clk/at91/clk-usb.c struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); usb 144 drivers/clk/at91/clk-usb.c regmap_update_bits(usb->regmap, AT91_PMC_USB, AT91_PMC_OHCIUSBDIV, usb 160 drivers/clk/at91/clk-usb.c struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); usb 162 drivers/clk/at91/clk-usb.c regmap_update_bits(usb->regmap, AT91_PMC_USB, AT91_PMC_USBS, usb 170 drivers/clk/at91/clk-usb.c struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); usb 172 drivers/clk/at91/clk-usb.c regmap_update_bits(usb->regmap, AT91_PMC_USB, AT91_PMC_USBS, 0); usb 177 drivers/clk/at91/clk-usb.c struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); usb 180 drivers/clk/at91/clk-usb.c regmap_read(usb->regmap, AT91_PMC_USB, &usbr); usb 199 drivers/clk/at91/clk-usb.c struct at91sam9x5_clk_usb *usb; usb 204 drivers/clk/at91/clk-usb.c usb = kzalloc(sizeof(*usb), GFP_KERNEL); usb 205 drivers/clk/at91/clk-usb.c if (!usb) usb 215 drivers/clk/at91/clk-usb.c usb->hw.init = &init; usb 216 drivers/clk/at91/clk-usb.c usb->regmap = regmap; usb 217 drivers/clk/at91/clk-usb.c usb->usbs_mask = usbs_mask; usb 219 drivers/clk/at91/clk-usb.c hw = &usb->hw; usb 220 drivers/clk/at91/clk-usb.c ret = clk_hw_register(NULL, &usb->hw); usb 222 drivers/clk/at91/clk-usb.c kfree(usb); usb 249 drivers/clk/at91/clk-usb.c struct at91sam9x5_clk_usb *usb; usb 254 drivers/clk/at91/clk-usb.c usb = kzalloc(sizeof(*usb), GFP_KERNEL); usb 255 drivers/clk/at91/clk-usb.c if (!usb) usb 264 drivers/clk/at91/clk-usb.c usb->hw.init = &init; usb 265 drivers/clk/at91/clk-usb.c usb->regmap = regmap; usb 267 drivers/clk/at91/clk-usb.c hw = &usb->hw; usb 268 drivers/clk/at91/clk-usb.c ret = clk_hw_register(NULL, &usb->hw); usb 270 drivers/clk/at91/clk-usb.c kfree(usb); usb 280 drivers/clk/at91/clk-usb.c struct at91rm9200_clk_usb *usb = to_at91rm9200_clk_usb(hw); usb 284 drivers/clk/at91/clk-usb.c regmap_read(usb->regmap, AT91_CKGR_PLLBR, &pllbr); usb 287 drivers/clk/at91/clk-usb.c if (usb->divisors[usbdiv]) usb 288 drivers/clk/at91/clk-usb.c return parent_rate / usb->divisors[usbdiv]; usb 296 drivers/clk/at91/clk-usb.c struct at91rm9200_clk_usb *usb = to_at91rm9200_clk_usb(hw); usb 307 drivers/clk/at91/clk-usb.c if (!usb->divisors[i]) usb 310 drivers/clk/at91/clk-usb.c tmp_parent_rate = rate * usb->divisors[i]; usb 312 drivers/clk/at91/clk-usb.c tmprate = DIV_ROUND_CLOSEST(tmp_parent_rate, usb->divisors[i]); usb 335 drivers/clk/at91/clk-usb.c struct at91rm9200_clk_usb *usb = to_at91rm9200_clk_usb(hw); usb 344 drivers/clk/at91/clk-usb.c if (usb->divisors[i] == div) { usb 345 drivers/clk/at91/clk-usb.c regmap_update_bits(usb->regmap, AT91_CKGR_PLLBR, usb 366 drivers/clk/at91/clk-usb.c struct at91rm9200_clk_usb *usb; usb 371 drivers/clk/at91/clk-usb.c usb = kzalloc(sizeof(*usb), GFP_KERNEL); usb 372 drivers/clk/at91/clk-usb.c if (!usb) usb 381 drivers/clk/at91/clk-usb.c usb->hw.init = &init; usb 382 drivers/clk/at91/clk-usb.c usb->regmap = regmap; usb 383 drivers/clk/at91/clk-usb.c memcpy(usb->divisors, divisors, sizeof(usb->divisors)); usb 385 drivers/clk/at91/clk-usb.c hw = &usb->hw; usb 386 drivers/clk/at91/clk-usb.c ret = clk_hw_register(NULL, &usb->hw); usb 388 drivers/clk/at91/clk-usb.c kfree(usb); usb 138 drivers/clk/at91/pmc.c u32 usb; usb 195 drivers/clk/at91/pmc.c regmap_read(pmcreg, AT91_PMC_USB, &pmc_cache.usb); usb 241 drivers/clk/at91/pmc.c regmap_write(pmcreg, AT91_PMC_USB, pmc_cache.usb); usb 46 drivers/clk/davinci/psc-dm355.c LPSC(9, 0, usb, pll1_sysclk2, usb_clkdev, 0), usb 49 drivers/clk/davinci/psc-dm365.c LPSC(9, 0, usb, pll1_auxclk, usb_clkdev, 0), usb 41 drivers/clk/davinci/psc-dm644x.c LPSC(9, 0, usb, pll1_sysclk5, usb_clkdev, 0), usb 152 drivers/clk/mxs/clk-imx23.c clks[usb] = mxs_clk_gate("usb", "usb_phy", DIGCTRL, 2); usb 244 drivers/extcon/extcon-palmas.c palmas->usb = palmas_usb; usb 199 drivers/firmware/edd.c info->params.device_path.usb.serial_number); usb 788 drivers/gpu/drm/tiny/gm12u320.c MODULE_DEVICE_TABLE(usb, id_table); usb 167 drivers/gpu/drm/udl/udl_drv.c MODULE_DEVICE_TABLE(usb, id_table); usb 42 drivers/greybus/es2.c MODULE_DEVICE_TABLE(usb, id_table); usb 1646 drivers/hid/usbhid/hid-core.c MODULE_DEVICE_TABLE (usb, hid_usb_ids); usb 389 drivers/hid/usbhid/usbkbd.c MODULE_DEVICE_TABLE (usb, usb_kbd_id_table); usb 223 drivers/hid/usbhid/usbmouse.c MODULE_DEVICE_TABLE (usb, usb_mouse_id_table); usb 430 drivers/i2c/busses/i2c-diolan-u2c.c MODULE_DEVICE_TABLE(usb, diolan_u2c_table); usb 126 drivers/i2c/busses/i2c-robotfuzz-osif.c MODULE_DEVICE_TABLE(usb, osif_table); usb 164 drivers/i2c/busses/i2c-tiny-usb.c MODULE_DEVICE_TABLE(usb, i2c_tiny_usb_table); usb 286 drivers/input/joystick/iforce/iforce-usb.c MODULE_DEVICE_TABLE (usb, iforce_usb_ids); usb 263 drivers/input/joystick/pxrc.c MODULE_DEVICE_TABLE(usb, pxrc_table); usb 435 drivers/input/joystick/xpad.c MODULE_DEVICE_TABLE(usb, xpad_table); usb 112 drivers/input/misc/ati_remote2.c MODULE_DEVICE_TABLE(usb, ati_remote2_id_table); usb 946 drivers/input/misc/cm109.c MODULE_DEVICE_TABLE(usb, cm109_usb_table); usb 587 drivers/input/misc/keyspan_remote.c MODULE_DEVICE_TABLE(usb, keyspan_table); usb 443 drivers/input/misc/powermate.c MODULE_DEVICE_TABLE (usb, powermate_devices); usb 992 drivers/input/misc/yealink.c MODULE_DEVICE_TABLE (usb, usb_table); usb 144 drivers/input/mouse/appletouch.c MODULE_DEVICE_TABLE(usb, atp_table); usb 153 drivers/input/mouse/bcm5974.c MODULE_DEVICE_TABLE(usb, bcm5974_table); usb 544 drivers/input/mouse/synaptics_usb.c MODULE_DEVICE_TABLE(usb, synusb_idtable); usb 248 drivers/input/tablet/acecad.c MODULE_DEVICE_TABLE(usb, usb_acecad_id_table); usb 820 drivers/input/tablet/aiptek.c MODULE_DEVICE_TABLE(usb, aiptek_ids); usb 101 drivers/input/tablet/gtco.c MODULE_DEVICE_TABLE (usb, gtco_usbid_table); usb 437 drivers/input/tablet/hanwang.c MODULE_DEVICE_TABLE(usb, hanwang_ids); usb 88 drivers/input/tablet/kbtab.c MODULE_DEVICE_TABLE(usb, kbtab_ids); usb 451 drivers/input/tablet/pegasus_notetaker.c MODULE_DEVICE_TABLE(usb, pegasus_ids); usb 1088 drivers/input/touchscreen/sur40.c MODULE_DEVICE_TABLE(usb, sur40_table); usb 1838 drivers/input/touchscreen/usbtouchscreen.c MODULE_DEVICE_TABLE(usb, usbtouch_devices); usb 423 drivers/isdn/hardware/mISDN/hfcsusb.h MODULE_DEVICE_TABLE(usb, hfcsusb_idtab); usb 407 drivers/media/radio/dsbr100.c MODULE_DEVICE_TABLE(usb, usb_dsbr100_device_table); usb 45 drivers/media/radio/radio-keene.c MODULE_DEVICE_TABLE(usb, usb_keene_device_table); usb 443 drivers/media/radio/radio-ma901.c MODULE_DEVICE_TABLE(usb, usb_ma901radio_device_table); usb 586 drivers/media/radio/radio-mr800.c MODULE_DEVICE_TABLE(usb, usb_amradio_device_table); usb 54 drivers/media/radio/radio-raremono.c MODULE_DEVICE_TABLE(usb, usb_raremono_device_table); usb 406 drivers/media/radio/radio-shark.c MODULE_DEVICE_TABLE(usb, usb_shark_device_table); usb 372 drivers/media/radio/radio-shark2.c MODULE_DEVICE_TABLE(usb, usb_shark_device_table); usb 46 drivers/media/radio/si470x/radio-si470x-usb.c MODULE_DEVICE_TABLE(usb, si470x_usb_driver_id_table); usb 46 drivers/media/radio/si4713/radio-usb-si4713.c MODULE_DEVICE_TABLE(usb, usb_si4713_usb_device_table); usb 219 drivers/media/rc/ati_remote.c MODULE_DEVICE_TABLE(usb, ati_remote_table); usb 260 drivers/media/rc/igorplugusb.c MODULE_DEVICE_TABLE(usb, igorplugusb_table); usb 600 drivers/media/rc/iguanair.c MODULE_DEVICE_TABLE(usb, iguanair_table); usb 422 drivers/media/rc/imon.c MODULE_DEVICE_TABLE(usb, imon_usb_id_table); usb 223 drivers/media/rc/imon_raw.c MODULE_DEVICE_TABLE(usb, imon_table); usb 1895 drivers/media/rc/mceusb.c MODULE_DEVICE_TABLE(usb, mceusb_dev_table); usb 1183 drivers/media/rc/redrat3.c MODULE_DEVICE_TABLE(usb, redrat3_dev_table); usb 44 drivers/media/rc/streamzap.c MODULE_DEVICE_TABLE(usb, streamzap_table); usb 435 drivers/media/rc/ttusbir.c MODULE_DEVICE_TABLE(usb, ttusbir_table); usb 50 drivers/media/rc/xbox_remote.c MODULE_DEVICE_TABLE(usb, xbox_remote_table); usb 1080 drivers/media/usb/airspy/airspy.c MODULE_DEVICE_TABLE(usb, airspy_id_table); usb 36 drivers/media/usb/as102/as102_drv.h struct as10x_usb_token_cmd_t usb; usb 369 drivers/media/usb/as102/as102_usb_drv.c as102_dev->bus_adap.cmd = &as102_dev->bus_adap.token.usb.c; usb 370 drivers/media/usb/as102/as102_usb_drv.c as102_dev->bus_adap.rsp = &as102_dev->bus_adap.token.usb.r; usb 464 drivers/media/usb/as102/as102_usb_drv.c MODULE_DEVICE_TABLE(usb, as102_usb_id_table); usb 346 drivers/media/usb/au0828/au0828-cards.c MODULE_DEVICE_TABLE(usb, au0828_usb_id_table); usb 613 drivers/media/usb/b2c2/flexcop-usb.c MODULE_DEVICE_TABLE (usb, flexcop_usb_table); usb 60 drivers/media/usb/cpia2/cpia2_usb.c MODULE_DEVICE_TABLE(usb, cpia2_id_table); usb 1077 drivers/media/usb/cx231xx/cx231xx-cards.c MODULE_DEVICE_TABLE(usb, cx231xx_id_table); usb 1535 drivers/media/usb/dvb-usb-v2/af9015.c MODULE_DEVICE_TABLE(usb, af9015_id_table); usb 2126 drivers/media/usb/dvb-usb-v2/af9035.c MODULE_DEVICE_TABLE(usb, af9035_id_table); usb 1411 drivers/media/usb/dvb-usb-v2/anysee.c MODULE_DEVICE_TABLE(usb, anysee_id_table); usb 181 drivers/media/usb/dvb-usb-v2/au6610.c MODULE_DEVICE_TABLE(usb, au6610_id_table); usb 941 drivers/media/usb/dvb-usb-v2/az6007.c MODULE_DEVICE_TABLE(usb, az6007_usb_table); usb 260 drivers/media/usb/dvb-usb-v2/ce6230.c MODULE_DEVICE_TABLE(usb, ce6230_id_table); usb 803 drivers/media/usb/dvb-usb-v2/dvbsky.c MODULE_DEVICE_TABLE(usb, dvbsky_id_table); usb 353 drivers/media/usb/dvb-usb-v2/ec168.c MODULE_DEVICE_TABLE(usb, ec168_id); usb 638 drivers/media/usb/dvb-usb-v2/gl861.c MODULE_DEVICE_TABLE(usb, gl861_id_table); usb 1266 drivers/media/usb/dvb-usb-v2/lmedm04.c MODULE_DEVICE_TABLE(usb, lme2510_id_table); usb 1436 drivers/media/usb/dvb-usb-v2/mxl111sf.c MODULE_DEVICE_TABLE(usb, mxl111sf_id_table); usb 1965 drivers/media/usb/dvb-usb-v2/rtl28xxu.c MODULE_DEVICE_TABLE(usb, rtl28xxu_id_table); usb 271 drivers/media/usb/dvb-usb-v2/zd1301.c MODULE_DEVICE_TABLE(usb, zd1301_id_table); usb 78 drivers/media/usb/dvb-usb/a800.c MODULE_DEVICE_TABLE (usb, a800_table); usb 1013 drivers/media/usb/dvb-usb/af9005.c MODULE_DEVICE_TABLE(usb, af9005_usb_table); usb 1094 drivers/media/usb/dvb-usb/az6027.c MODULE_DEVICE_TABLE(usb, az6027_usb_table); usb 204 drivers/media/usb/dvb-usb/cinergyT2-core.c MODULE_DEVICE_TABLE(usb, cinergyt2_usb_table); usb 1764 drivers/media/usb/dvb-usb/cxusb.c MODULE_DEVICE_TABLE(usb, cxusb_table); usb 3917 drivers/media/usb/dvb-usb/dib0700_devices.c MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); usb 174 drivers/media/usb/dvb-usb/dibusb-mb.c MODULE_DEVICE_TABLE (usb, dibusb_dib3000mb_table); usb 46 drivers/media/usb/dvb-usb/dibusb-mc.c MODULE_DEVICE_TABLE (usb, dibusb_dib3000mc_table); usb 295 drivers/media/usb/dvb-usb/digitv.c MODULE_DEVICE_TABLE (usb, digitv_table); usb 174 drivers/media/usb/dvb-usb/dtt200u.c MODULE_DEVICE_TABLE(usb, dtt200u_usb_table); usb 166 drivers/media/usb/dvb-usb/dtv5100.c MODULE_DEVICE_TABLE(usb, dtv5100_table); usb 1782 drivers/media/usb/dvb-usb/dw2102.c MODULE_DEVICE_TABLE(usb, dw2102_table); usb 322 drivers/media/usb/dvb-usb/gp8psk.c MODULE_DEVICE_TABLE(usb, gp8psk_usb_table); usb 904 drivers/media/usb/dvb-usb/m920x.c MODULE_DEVICE_TABLE (usb, m920x_table); usb 166 drivers/media/usb/dvb-usb/nova-t-usb2.c MODULE_DEVICE_TABLE(usb, nova_t_table); usb 434 drivers/media/usb/dvb-usb/opera1.c MODULE_DEVICE_TABLE(usb, opera1_table); usb 945 drivers/media/usb/dvb-usb/pctv452e.c MODULE_DEVICE_TABLE(usb, pctv452e_usb_table); usb 696 drivers/media/usb/dvb-usb/technisat-usb2.c MODULE_DEVICE_TABLE(usb, technisat_usb2_id_table); usb 643 drivers/media/usb/dvb-usb/ttusb2.c MODULE_DEVICE_TABLE (usb, ttusb2_table); usb 89 drivers/media/usb/dvb-usb/umt-010.c MODULE_DEVICE_TABLE (usb, umt_table); usb 372 drivers/media/usb/dvb-usb/vp702x.c MODULE_DEVICE_TABLE(usb, vp702x_usb_table); usb 182 drivers/media/usb/dvb-usb/vp7045.c MODULE_DEVICE_TABLE(usb, vp7045_usb_table); usb 2701 drivers/media/usb/em28xx/em28xx-cards.c MODULE_DEVICE_TABLE(usb, em28xx_id_table); usb 120 drivers/media/usb/go7007/go7007-loader.c MODULE_DEVICE_TABLE(usb, go7007_loader_ids); usb 618 drivers/media/usb/go7007/go7007-usb.c MODULE_DEVICE_TABLE(usb, go7007_usb_id_table); usb 625 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 629 drivers/media/usb/go7007/go7007-usb.c return usb_control_msg(usb->usbdev, usb 630 drivers/media/usb/go7007/go7007-usb.c usb_rcvctrlpipe(usb->usbdev, 0), request, usb 634 drivers/media/usb/go7007/go7007-usb.c return usb_control_msg(usb->usbdev, usb 635 drivers/media/usb/go7007/go7007-usb.c usb_sndctrlpipe(usb->usbdev, 0), request, usb 643 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 653 drivers/media/usb/go7007/go7007-usb.c if (usb->board->flags & GO7007_USB_EZUSB) { usb 678 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 686 drivers/media/usb/go7007/go7007-usb.c r = usb_control_msg(usb->usbdev, usb 687 drivers/media/usb/go7007/go7007-usb.c usb_rcvctrlpipe(usb->usbdev, 0), 0x14, usb 704 drivers/media/usb/go7007/go7007-usb.c r = usb_control_msg(usb->usbdev, usb_sndctrlpipe(usb->usbdev, 0), 0x12, usb 709 drivers/media/usb/go7007/go7007-usb.c r = usb_control_msg(usb->usbdev, usb_sndctrlpipe(usb->usbdev, 0), usb 724 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 735 drivers/media/usb/go7007/go7007-usb.c r = usb_control_msg(usb->usbdev, usb_sndctrlpipe(usb->usbdev, 2), 0x00, usb 774 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 777 drivers/media/usb/go7007/go7007-usb.c r = usb_submit_urb(usb->intr_urb, GFP_KERNEL); usb 833 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 837 drivers/media/usb/go7007/go7007-usb.c r = usb_submit_urb(usb->video_urbs[i], GFP_KERNEL); usb 847 drivers/media/usb/go7007/go7007-usb.c r = usb_submit_urb(usb->audio_urbs[i], GFP_KERNEL); usb 857 drivers/media/usb/go7007/go7007-usb.c usb_kill_urb(usb->audio_urbs[i]); usb 860 drivers/media/usb/go7007/go7007-usb.c usb_kill_urb(usb->video_urbs[i]); usb 866 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 872 drivers/media/usb/go7007/go7007-usb.c usb_kill_urb(usb->video_urbs[i]); usb 875 drivers/media/usb/go7007/go7007-usb.c usb_kill_urb(usb->audio_urbs[i]); usb 881 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 887 drivers/media/usb/go7007/go7007-usb.c if (usb->board->flags & GO7007_USB_EZUSB) usb 888 drivers/media/usb/go7007/go7007-usb.c pipe = usb_sndbulkpipe(usb->usbdev, 2); usb 890 drivers/media/usb/go7007/go7007-usb.c pipe = usb_sndbulkpipe(usb->usbdev, 3); usb 892 drivers/media/usb/go7007/go7007-usb.c return usb_bulk_msg(usb->usbdev, pipe, data, len, usb 898 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 902 drivers/media/usb/go7007/go7007-usb.c if (usb->intr_urb) { usb 903 drivers/media/usb/go7007/go7007-usb.c usb_kill_urb(usb->intr_urb); usb 904 drivers/media/usb/go7007/go7007-usb.c kfree(usb->intr_urb->transfer_buffer); usb 905 drivers/media/usb/go7007/go7007-usb.c usb_free_urb(usb->intr_urb); usb 910 drivers/media/usb/go7007/go7007-usb.c vurb = usb->video_urbs[i]; usb 916 drivers/media/usb/go7007/go7007-usb.c aurb = usb->audio_urbs[i]; usb 953 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb = go->hpi_context; usb 961 drivers/media/usb/go7007/go7007-usb.c mutex_lock(&usb->i2c_lock); usb 1016 drivers/media/usb/go7007/go7007-usb.c mutex_unlock(&usb->i2c_lock); usb 1044 drivers/media/usb/go7007/go7007-usb.c struct go7007_usb *usb; usb 1117 drivers/media/usb/go7007/go7007-usb.c usb = kzalloc(sizeof(struct go7007_usb), GFP_KERNEL); usb 1118 drivers/media/usb/go7007/go7007-usb.c if (usb == NULL) { usb 1123 drivers/media/usb/go7007/go7007-usb.c usb->board = board; usb 1124 drivers/media/usb/go7007/go7007-usb.c usb->usbdev = usbdev; usb 1132 drivers/media/usb/go7007/go7007-usb.c go->hpi_context = usb; usb 1135 drivers/media/usb/go7007/go7007-usb.c usb->intr_urb = usb_alloc_urb(0, GFP_KERNEL); usb 1136 drivers/media/usb/go7007/go7007-usb.c if (usb->intr_urb == NULL) usb 1138 drivers/media/usb/go7007/go7007-usb.c usb->intr_urb->transfer_buffer = kmalloc_array(2, sizeof(u16), usb 1140 drivers/media/usb/go7007/go7007-usb.c if (usb->intr_urb->transfer_buffer == NULL) usb 1144 drivers/media/usb/go7007/go7007-usb.c usb_fill_bulk_urb(usb->intr_urb, usb->usbdev, usb 1145 drivers/media/usb/go7007/go7007-usb.c usb_rcvbulkpipe(usb->usbdev, 4), usb 1146 drivers/media/usb/go7007/go7007-usb.c usb->intr_urb->transfer_buffer, 2*sizeof(u16), usb 1149 drivers/media/usb/go7007/go7007-usb.c usb_fill_int_urb(usb->intr_urb, usb->usbdev, usb 1150 drivers/media/usb/go7007/go7007-usb.c usb_rcvintpipe(usb->usbdev, 4), usb 1151 drivers/media/usb/go7007/go7007-usb.c usb->intr_urb->transfer_buffer, 2*sizeof(u16), usb 1164 drivers/media/usb/go7007/go7007-usb.c mutex_init(&usb->i2c_lock); usb 1191 drivers/media/usb/go7007/go7007-usb.c usb->board = board = &board_endura; usb 1202 drivers/media/usb/go7007/go7007-usb.c usb->board = board = &board_adlink_mpg24; usb 1265 drivers/media/usb/go7007/go7007-usb.c video_pipe = usb_rcvbulkpipe(usb->usbdev, 6); usb 1268 drivers/media/usb/go7007/go7007-usb.c video_pipe = usb_rcvbulkpipe(usb->usbdev, 1); usb 1271 drivers/media/usb/go7007/go7007-usb.c usb->video_urbs[i] = usb_alloc_urb(0, GFP_KERNEL); usb 1272 drivers/media/usb/go7007/go7007-usb.c if (usb->video_urbs[i] == NULL) usb 1274 drivers/media/usb/go7007/go7007-usb.c usb->video_urbs[i]->transfer_buffer = usb 1276 drivers/media/usb/go7007/go7007-usb.c if (usb->video_urbs[i]->transfer_buffer == NULL) usb 1278 drivers/media/usb/go7007/go7007-usb.c usb_fill_bulk_urb(usb->video_urbs[i], usb->usbdev, video_pipe, usb 1279 drivers/media/usb/go7007/go7007-usb.c usb->video_urbs[i]->transfer_buffer, v_urb_len, usb 1287 drivers/media/usb/go7007/go7007-usb.c usb->audio_urbs[i] = usb_alloc_urb(0, GFP_KERNEL); usb 1288 drivers/media/usb/go7007/go7007-usb.c if (usb->audio_urbs[i] == NULL) usb 1290 drivers/media/usb/go7007/go7007-usb.c usb->audio_urbs[i]->transfer_buffer = kmalloc(4096, usb 1292 drivers/media/usb/go7007/go7007-usb.c if (usb->audio_urbs[i]->transfer_buffer == NULL) usb 1294 drivers/media/usb/go7007/go7007-usb.c usb_fill_bulk_urb(usb->audio_urbs[i], usb->usbdev, usb 1295 drivers/media/usb/go7007/go7007-usb.c usb_rcvbulkpipe(usb->usbdev, 8), usb 1296 drivers/media/usb/go7007/go7007-usb.c usb->audio_urbs[i]->transfer_buffer, 4096, usb 134 drivers/media/usb/go7007/s2250-board.c struct go7007_usb *usb = go->hpi_context; usb 138 drivers/media/usb/go7007/s2250-board.c return usb_control_msg(usb->usbdev, usb 139 drivers/media/usb/go7007/s2250-board.c usb_rcvctrlpipe(usb->usbdev, 0), request, usb 143 drivers/media/usb/go7007/s2250-board.c return usb_control_msg(usb->usbdev, usb 144 drivers/media/usb/go7007/s2250-board.c usb_sndctrlpipe(usb->usbdev, 0), request, usb 154 drivers/media/usb/go7007/s2250-board.c struct go7007_usb *usb; usb 169 drivers/media/usb/go7007/s2250-board.c usb = go->hpi_context; usb 170 drivers/media/usb/go7007/s2250-board.c if (mutex_lock_interruptible(&usb->i2c_lock) != 0) { usb 180 drivers/media/usb/go7007/s2250-board.c mutex_unlock(&usb->i2c_lock); usb 188 drivers/media/usb/go7007/s2250-board.c struct go7007_usb *usb; usb 208 drivers/media/usb/go7007/s2250-board.c usb = go->hpi_context; usb 209 drivers/media/usb/go7007/s2250-board.c if (mutex_lock_interruptible(&usb->i2c_lock) != 0) { usb 215 drivers/media/usb/go7007/s2250-board.c mutex_unlock(&usb->i2c_lock); usb 252 drivers/media/usb/go7007/s2250-board.c struct go7007_usb *usb; usb 270 drivers/media/usb/go7007/s2250-board.c usb = go->hpi_context; usb 271 drivers/media/usb/go7007/s2250-board.c if (mutex_lock_interruptible(&usb->i2c_lock) != 0) { usb 277 drivers/media/usb/go7007/s2250-board.c mutex_unlock(&usb->i2c_lock); usb 506 drivers/media/usb/go7007/s2250-board.c struct go7007_usb *usb = go->hpi_context; usb 573 drivers/media/usb/go7007/s2250-board.c if (mutex_lock_interruptible(&usb->i2c_lock) == 0) { usb 593 drivers/media/usb/go7007/s2250-board.c mutex_unlock(&usb->i2c_lock); usb 252 drivers/media/usb/gspca/benq.c MODULE_DEVICE_TABLE(usb, device_table); usb 931 drivers/media/usb/gspca/conex.c MODULE_DEVICE_TABLE(usb, device_table); usb 1878 drivers/media/usb/gspca/cpia1.c MODULE_DEVICE_TABLE(usb, device_table); usb 257 drivers/media/usb/gspca/dtcs033.c MODULE_DEVICE_TABLE(usb, device_table); usb 760 drivers/media/usb/gspca/etoms.c MODULE_DEVICE_TABLE(usb, device_table); usb 260 drivers/media/usb/gspca/finepix.c MODULE_DEVICE_TABLE(usb, device_table); usb 506 drivers/media/usb/gspca/gl860/gl860.c MODULE_DEVICE_TABLE(usb, device_table); usb 386 drivers/media/usb/gspca/jeilinj.c MODULE_DEVICE_TABLE(usb, device_table); usb 500 drivers/media/usb/gspca/jl2005bcd.c MODULE_DEVICE_TABLE(usb, device_table); usb 446 drivers/media/usb/gspca/kinect.c MODULE_DEVICE_TABLE(usb, device_table); usb 456 drivers/media/usb/gspca/konica.c MODULE_DEVICE_TABLE(usb, device_table); usb 34 drivers/media/usb/gspca/m5602/m5602_core.c MODULE_DEVICE_TABLE(usb, m5602_table); usb 405 drivers/media/usb/gspca/mars.c MODULE_DEVICE_TABLE(usb, device_table); usb 1056 drivers/media/usb/gspca/mr97310a.c MODULE_DEVICE_TABLE(usb, device_table); usb 2067 drivers/media/usb/gspca/nw80x.c MODULE_DEVICE_TABLE(usb, device_table); usb 5005 drivers/media/usb/gspca/ov519.c MODULE_DEVICE_TABLE(usb, device_table); usb 1587 drivers/media/usb/gspca/ov534.c MODULE_DEVICE_TABLE(usb, device_table); usb 1800 drivers/media/usb/gspca/ov534_9.c MODULE_DEVICE_TABLE(usb, device_table); usb 453 drivers/media/usb/gspca/pac207.c MODULE_DEVICE_TABLE(usb, device_table); usb 930 drivers/media/usb/gspca/pac7302.c MODULE_DEVICE_TABLE(usb, device_table); usb 665 drivers/media/usb/gspca/pac7311.c MODULE_DEVICE_TABLE(usb, device_table); usb 696 drivers/media/usb/gspca/se401.c MODULE_DEVICE_TABLE(usb, device_table); usb 941 drivers/media/usb/gspca/sn9c2028.c MODULE_DEVICE_TABLE(usb, device_table); usb 2367 drivers/media/usb/gspca/sn9c20x.c MODULE_DEVICE_TABLE(usb, device_table); usb 1447 drivers/media/usb/gspca/sonixb.c MODULE_DEVICE_TABLE(usb, device_table); usb 2959 drivers/media/usb/gspca/sonixj.c MODULE_DEVICE_TABLE(usb, device_table); usb 412 drivers/media/usb/gspca/spca1528.c MODULE_DEVICE_TABLE(usb, device_table); usb 957 drivers/media/usb/gspca/spca500.c MODULE_DEVICE_TABLE(usb, device_table); usb 2014 drivers/media/usb/gspca/spca501.c MODULE_DEVICE_TABLE(usb, device_table); usb 769 drivers/media/usb/gspca/spca505.c MODULE_DEVICE_TABLE(usb, device_table); usb 578 drivers/media/usb/gspca/spca506.c MODULE_DEVICE_TABLE(usb, device_table); usb 1504 drivers/media/usb/gspca/spca508.c MODULE_DEVICE_TABLE(usb, device_table); usb 887 drivers/media/usb/gspca/spca561.c MODULE_DEVICE_TABLE(usb, device_table); usb 392 drivers/media/usb/gspca/sq905.c MODULE_DEVICE_TABLE(usb, device_table); usb 294 drivers/media/usb/gspca/sq905c.c MODULE_DEVICE_TABLE(usb, device_table); usb 1133 drivers/media/usb/gspca/sq930x.c MODULE_DEVICE_TABLE(usb, device_table); usb 412 drivers/media/usb/gspca/stk014.c MODULE_DEVICE_TABLE(usb, device_table); usb 654 drivers/media/usb/gspca/stk1135.c MODULE_DEVICE_TABLE(usb, device_table); usb 317 drivers/media/usb/gspca/stv0680.c MODULE_DEVICE_TABLE(usb, device_table); usb 598 drivers/media/usb/gspca/stv06xx/stv06xx.c MODULE_DEVICE_TABLE(usb, device_table); usb 1047 drivers/media/usb/gspca/sunplus.c MODULE_DEVICE_TABLE(usb, device_table); usb 1019 drivers/media/usb/gspca/t613.c MODULE_DEVICE_TABLE(usb, device_table); usb 4947 drivers/media/usb/gspca/topro.c MODULE_DEVICE_TABLE(usb, device_table); usb 692 drivers/media/usb/gspca/touptek.c MODULE_DEVICE_TABLE(usb, device_table); usb 343 drivers/media/usb/gspca/tv8532.c MODULE_DEVICE_TABLE(usb, device_table); usb 3816 drivers/media/usb/gspca/vc032x.c MODULE_DEVICE_TABLE(usb, device_table); usb 313 drivers/media/usb/gspca/vicam.c MODULE_DEVICE_TABLE(usb, device_table); usb 3105 drivers/media/usb/gspca/xirlink_cit.c MODULE_DEVICE_TABLE(usb, device_table); usb 7002 drivers/media/usb/gspca/zc3xx.c MODULE_DEVICE_TABLE(usb, device_table); usb 1538 drivers/media/usb/hackrf/hackrf.c MODULE_DEVICE_TABLE(usb, hackrf_id_table); usb 60 drivers/media/usb/hdpvr/hdpvr-core.c MODULE_DEVICE_TABLE(usb, hdpvr_table); usb 1298 drivers/media/usb/msi2500/msi2500.c MODULE_DEVICE_TABLE(usb, msi2500_id_table); usb 714 drivers/media/usb/pvrusb2/pvrusb2-devattr.c MODULE_DEVICE_TABLE(usb, pvr2_device_table); usb 107 drivers/media/usb/pwc/pwc-if.c MODULE_DEVICE_TABLE(usb, pwc_device_table); usb 379 drivers/media/usb/s2255/s2255drv.c MODULE_DEVICE_TABLE(usb, s2255_table); usb 715 drivers/media/usb/siano/smsusb.c MODULE_DEVICE_TABLE(usb, smsusb_id_table); usb 44 drivers/media/usb/stk1160/stk1160-core.c MODULE_DEVICE_TABLE(usb, stk1160_id_table); usb 54 drivers/media/usb/stkwebcam/stk-webcam.c MODULE_DEVICE_TABLE(usb, stkwebcam_table); usb 628 drivers/media/usb/tm6000/tm6000-cards.c MODULE_DEVICE_TABLE(usb, tm6000_id_table); usb 1791 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c MODULE_DEVICE_TABLE(usb, ttusb_table); usb 1794 drivers/media/usb/ttusb-dec/ttusb_dec.c MODULE_DEVICE_TABLE(usb, ttusb_dec_table); usb 153 drivers/media/usb/usbtv/usbtv-core.c MODULE_DEVICE_TABLE(usb, usbtv_id_table); usb 1120 drivers/media/usb/usbvision/usbvision-cards.c MODULE_DEVICE_TABLE(usb, usbvision_table); usb 2917 drivers/media/usb/uvc/uvc_driver.c MODULE_DEVICE_TABLE(usb, uvc_ids); usb 112 drivers/media/usb/zr364xx/zr364xx.c MODULE_DEVICE_TABLE(usb, device_table); usb 824 drivers/mfd/dln2.c MODULE_DEVICE_TABLE(usb, dln2_table); usb 766 drivers/mfd/twl-core.c if (IS_ENABLED(CONFIG_TWL4030_USB) && pdata->usb && usb 812 drivers/mfd/twl-core.c pdata->usb, sizeof(*pdata->usb), true, usb 33 drivers/mfd/viperboard.c MODULE_DEVICE_TABLE(usb, vprbrd_table); usb 768 drivers/misc/cardreader/rtsx_usb.c MODULE_DEVICE_TABLE(usb, rtsx_usb_usb_ids); usb 555 drivers/mmc/host/ushc.c MODULE_DEVICE_TABLE(usb, ushc_id_table); usb 271 drivers/mmc/host/vub300.c MODULE_DEVICE_TABLE(usb, vub300_table); usb 218 drivers/net/can/usb/ems_usb.c MODULE_DEVICE_TABLE(usb, ems_usb_table); usb 179 drivers/net/can/usb/esd_usb2.c MODULE_DEVICE_TABLE(usb, esd_usb2_table); usb 1030 drivers/net/can/usb/gs_usb.c MODULE_DEVICE_TABLE(usb, gs_usb_table); usb 182 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c MODULE_DEVICE_TABLE(usb, kvaser_usb_table); usb 152 drivers/net/can/usb/mcba_usb.c MODULE_DEVICE_TABLE(usb, mcba_usb_table); usb 39 drivers/net/can/usb/peak_usb/pcan_usb_core.c MODULE_DEVICE_TABLE(usb, peak_usb_table); usb 1592 drivers/net/can/usb/ucan.c MODULE_DEVICE_TABLE(usb, ucan_table); usb 111 drivers/net/can/usb/usb_8dev.c MODULE_DEVICE_TABLE(usb, usb_8dev_table); usb 1161 drivers/net/ieee802154/atusb.c MODULE_DEVICE_TABLE(usb, atusb_device_table); usb 1475 drivers/net/usb/aqc111.c MODULE_DEVICE_TABLE(usb, products); usb 1369 drivers/net/usb/asix_devices.c MODULE_DEVICE_TABLE(usb, products); usb 1762 drivers/net/usb/ax88179_178a.c MODULE_DEVICE_TABLE(usb, products); usb 959 drivers/net/usb/catc.c MODULE_DEVICE_TABLE(usb, catc_id_table); usb 29 drivers/net/usb/cdc-phonet.c struct usb_device *usb; usb 61 drivers/net/usb/cdc-phonet.c usb_fill_bulk_urb(req, pnd->usb, pnd->tx_pipe, skb->data, skb->len, usb 126 drivers/net/usb/cdc-phonet.c usb_fill_bulk_urb(req, pnd->usb, pnd->rx_pipe, page_address(page), usb 216 drivers/net/usb/cdc-phonet.c err = usb_set_interface(pnd->usb, num, pnd->active_setting); usb 253 drivers/net/usb/cdc-phonet.c return usb_set_interface(pnd->usb, num, !pnd->active_setting); usb 308 drivers/net/usb/cdc-phonet.c MODULE_DEVICE_TABLE(usb, usbpn_ids); usb 360 drivers/net/usb/cdc-phonet.c pnd->usb = usbdev; usb 350 drivers/net/usb/cdc_eem.c MODULE_DEVICE_TABLE(usb, products); usb 975 drivers/net/usb/cdc_ether.c MODULE_DEVICE_TABLE(usb, products); usb 663 drivers/net/usb/cdc_mbim.c MODULE_DEVICE_TABLE(usb, mbim_devs); usb 1775 drivers/net/usb/cdc_ncm.c MODULE_DEVICE_TABLE(usb, cdc_devs); usb 328 drivers/net/usb/cdc_subset.c MODULE_DEVICE_TABLE(usb, products); usb 412 drivers/net/usb/ch9200.c MODULE_DEVICE_TABLE(usb, ch9200_products); usb 323 drivers/net/usb/cx82310_eth.c MODULE_DEVICE_TABLE(usb, products); usb 631 drivers/net/usb/dm9601.c MODULE_DEVICE_TABLE(usb, products); usb 212 drivers/net/usb/gl620a.c MODULE_DEVICE_TABLE(usb, products); usb 122 drivers/net/usb/hso.c struct usb_device *usb; usb 254 drivers/net/usb/hso.c struct usb_device *usb; usb 298 drivers/net/usb/hso.c struct usb_device *usb, gfp_t gfp); usb 457 drivers/net/usb/hso.c MODULE_DEVICE_TABLE(usb, hso_ids); usb 792 drivers/net/usb/hso.c odev->parent->usb, usb 793 drivers/net/usb/hso.c usb_sndbulkpipe(odev->parent->usb, usb 1028 drivers/net/usb/hso.c odev->parent->usb, usb 1029 drivers/net/usb/hso.c usb_rcvbulkpipe(odev->parent->usb, usb 1119 drivers/net/usb/hso.c usb_fill_bulk_urb(urb, serial->parent->usb, usb 1120 drivers/net/usb/hso.c usb_rcvbulkpipe(serial->parent->usb, usb 1425 drivers/net/usb/hso.c struct usb_device *usb) usb 1431 drivers/net/usb/hso.c usb_fill_int_urb(tiocmget->urb, usb, usb 1432 drivers/net/usb/hso.c usb_rcvintpipe(usb, usb 1441 drivers/net/usb/hso.c dev_warn(&usb->dev, "%s usb_submit_urb failed %d\n", __func__, usb 1456 drivers/net/usb/hso.c struct usb_device *usb; usb 1474 drivers/net/usb/hso.c usb = serial->parent->usb; usb 1488 drivers/net/usb/hso.c dev_warn(&usb->dev, usb 1530 drivers/net/usb/hso.c serial->parent->usb); usb 1691 drivers/net/usb/hso.c return usb_control_msg(serial->parent->usb, usb 1692 drivers/net/usb/hso.c usb_rcvctrlpipe(serial->parent->usb, 0), 0x22, usb 1776 drivers/net/usb/hso.c pipe = usb_rcvctrlpipe(serial->parent->usb, 0); usb 1783 drivers/net/usb/hso.c pipe = usb_sndctrlpipe(serial->parent->usb, 0); usb 1793 drivers/net/usb/hso.c serial->parent->usb, usb 1940 drivers/net/usb/hso.c serial->parent->usb, usb 1941 drivers/net/usb/hso.c usb_sndbulkpipe(serial->parent->usb, usb 1949 drivers/net/usb/hso.c dev_warn(&serial->parent->usb->dev, usb 2025 drivers/net/usb/hso.c dev_warn(&serial->parent->usb->dev, usb 2102 drivers/net/usb/hso.c hso_dev->usb, usb 2103 drivers/net/usb/hso.c usb_rcvbulkpipe(hso_dev->usb, usb 2114 drivers/net/usb/hso.c dev_warn(&hso_dev->usb->dev, usb 2154 drivers/net/usb/hso.c serial->parent->usb, usb 2155 drivers/net/usb/hso.c usb_rcvbulkpipe(serial->parent->usb, usb 2165 drivers/net/usb/hso.c dev_warn(&serial->parent->usb->dev, usb 2176 drivers/net/usb/hso.c hso_dev->usb, flags); usb 2184 drivers/net/usb/hso.c serial->parent->usb); usb 2327 drivers/net/usb/hso.c hso_dev->usb = interface_to_usbdev(intf); usb 2437 drivers/net/usb/hso.c rv = usb_control_msg(hso_dev->usb, usb_rcvctrlpipe(hso_dev->usb, 0), usb 2987 drivers/net/usb/hso.c if (hso_dev->usb->state == USB_STATE_SUSPENDED) { usb 2994 drivers/net/usb/hso.c if (hso_dev->usb->state != USB_STATE_CONFIGURED) usb 2997 drivers/net/usb/hso.c usb_mark_last_busy(hso_dev->usb); usb 3004 drivers/net/usb/hso.c if (hso_dev->usb->state != USB_STATE_SUSPENDED) { usb 3179 drivers/net/usb/hso.c struct usb_device *usb, gfp_t gfp) usb 3183 drivers/net/usb/hso.c usb_fill_int_urb(shared_int->shared_intr_urb, usb, usb 3184 drivers/net/usb/hso.c usb_rcvintpipe(usb, usb 3193 drivers/net/usb/hso.c dev_warn(&usb->dev, "%s failed mux_intr_urb %d\n", __func__, usb 210 drivers/net/usb/huawei_cdc_ncm.c MODULE_DEVICE_TABLE(usb, huawei_cdc_ncm_devs); usb 173 drivers/net/usb/int51x1.c MODULE_DEVICE_TABLE(usb, products); usb 85 drivers/net/usb/ipheth.c MODULE_DEVICE_TABLE(usb, ipheth_table); usb 342 drivers/net/usb/kalmia.c MODULE_DEVICE_TABLE( usb, products); usb 155 drivers/net/usb/kaweth.c MODULE_DEVICE_TABLE (usb, usb_klsi_table); usb 4195 drivers/net/usb/lan78xx.c MODULE_DEVICE_TABLE(usb, products); usb 319 drivers/net/usb/lg-vl600.c MODULE_DEVICE_TABLE(usb, products); usb 600 drivers/net/usb/mcs7830.c MODULE_DEVICE_TABLE(usb, products); usb 507 drivers/net/usb/net1080.c MODULE_DEVICE_TABLE(usb, products); usb 108 drivers/net/usb/pegasus.c MODULE_DEVICE_TABLE(usb, pegasus_ids); usb 133 drivers/net/usb/pegasus.c ret = usb_control_msg(pegasus->usb, usb_rcvctrlpipe(pegasus->usb, 0), usb 155 drivers/net/usb/pegasus.c ret = usb_control_msg(pegasus->usb, usb_sndctrlpipe(pegasus->usb, 0), usb 174 drivers/net/usb/pegasus.c ret = usb_control_msg(pegasus->usb, usb_sndctrlpipe(pegasus->usb, 0), usb 205 drivers/net/usb/pegasus.c usb_fill_control_urb(async_urb, pegasus->usb, usb 206 drivers/net/usb/pegasus.c usb_sndctrlpipe(pegasus->usb, 0), (void *)req, usb 424 drivers/net/usb/pegasus.c static int enable_net_traffic(struct net_device *dev, struct usb_device *usb) usb 547 drivers/net/usb/pegasus.c usb_fill_bulk_urb(pegasus->rx_urb, pegasus->usb, usb 548 drivers/net/usb/pegasus.c usb_rcvbulkpipe(pegasus->usb, 1), usb 588 drivers/net/usb/pegasus.c usb_fill_bulk_urb(pegasus->rx_urb, pegasus->usb, usb 589 drivers/net/usb/pegasus.c usb_rcvbulkpipe(pegasus->usb, 1), usb 716 drivers/net/usb/pegasus.c usb_fill_bulk_urb(pegasus->tx_urb, pegasus->usb, usb 717 drivers/net/usb/pegasus.c usb_sndbulkpipe(pegasus->usb, 2), usb 757 drivers/net/usb/pegasus.c if (pegasus->usb->speed != USB_SPEED_HIGH) { usb 837 drivers/net/usb/pegasus.c usb_fill_bulk_urb(pegasus->rx_urb, pegasus->usb, usb 838 drivers/net/usb/pegasus.c usb_rcvbulkpipe(pegasus->usb, 1), usb 848 drivers/net/usb/pegasus.c usb_fill_int_urb(pegasus->intr_urb, pegasus->usb, usb 849 drivers/net/usb/pegasus.c usb_rcvintpipe(pegasus->usb, 3), usb 859 drivers/net/usb/pegasus.c res = enable_net_traffic(net, pegasus->usb); usb 896 drivers/net/usb/pegasus.c usb_make_path(pegasus->usb, info->bus_info, sizeof(info->bus_info)); usb 934 drivers/net/usb/pegasus.c ret = device_set_wakeup_enable(&pegasus->usb->dev, usb 1173 drivers/net/usb/pegasus.c pegasus->usb = dev; usb 80 drivers/net/usb/pegasus.h struct usb_device *usb; usb 145 drivers/net/usb/plusb.c MODULE_DEVICE_TABLE(usb, products); usb 1437 drivers/net/usb/qmi_wwan.c MODULE_DEVICE_TABLE(usb, products); usb 5855 drivers/net/usb/r8152.c MODULE_DEVICE_TABLE(usb, rtl8152_table); usb 630 drivers/net/usb/rndis_host.c MODULE_DEVICE_TABLE(usb, products); usb 122 drivers/net/usb/rtl8150.c MODULE_DEVICE_TABLE(usb, rtl8150_table); usb 957 drivers/net/usb/sierra_net.c MODULE_DEVICE_TABLE(usb, products); usb 2318 drivers/net/usb/smsc75xx.c MODULE_DEVICE_TABLE(usb, products); usb 2195 drivers/net/usb/smsc95xx.c MODULE_DEVICE_TABLE(usb, products); usb 539 drivers/net/usb/sr9700.c MODULE_DEVICE_TABLE(usb, products); usb 857 drivers/net/usb/sr9800.c MODULE_DEVICE_TABLE(usb, products); usb 357 drivers/net/usb/zaurus.c MODULE_DEVICE_TABLE(usb, products); usb 58 drivers/net/wimax/i2400m/usb.c #define D_SUBMODULE usb usb 361 drivers/net/wimax/i2400m/usb.c D_SUBMODULE_DEFINE(usb), usb 377 drivers/net/wimax/i2400m/usb.c d_level_register_debugfs("dl_", usb, dentry); usb 725 drivers/net/wimax/i2400m/usb.c MODULE_DEVICE_TABLE(usb, i2400mu_id_table); usb 1784 drivers/net/wireless/ath/ar5523/ar5523.c MODULE_DEVICE_TABLE(usb, ar5523_id_table); usb 1089 drivers/net/wireless/ath/ath10k/usb.c MODULE_DEVICE_TABLE(usb, ath10k_usb_ids); usb 1218 drivers/net/wireless/ath/ath6kl/usb.c MODULE_DEVICE_TABLE(usb, ath6kl_usb_ids); usb 69 drivers/net/wireless/ath/ath9k/hif_usb.c MODULE_DEVICE_TABLE(usb, ath9k_hif_usb_ids); usb 129 drivers/net/wireless/ath/carl9170/usb.c MODULE_DEVICE_TABLE(usb, carl9170_usb_ids); usb 264 drivers/net/wireless/atmel/at76c50x-usb.c MODULE_DEVICE_TABLE(usb, dev_table); usb 139 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h struct brcmf_usbdev *usb; usb 177 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c return bus_if->bus_priv.usb; usb 1156 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c struct brcmf_usbdev_info *devinfo = bus->bus_priv.usb->devinfo; usb 1241 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c bus->bus_priv.usb = bus_pub; usb 1312 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c struct usb_device *usb = interface_to_usbdev(intf); usb 1326 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c devinfo->usbdev = usb; usb 1327 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c devinfo->dev = &usb->dev; usb 1336 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c if (usb->descriptor.bNumConfigurations != 1) { usb 1338 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c usb->descriptor.bNumConfigurations); usb 1343 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c if ((usb->descriptor.bDeviceClass != USB_CLASS_VENDOR_SPEC) && usb 1344 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c (usb->descriptor.bDeviceClass != USB_CLASS_MISC) && usb 1345 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c (usb->descriptor.bDeviceClass != USB_CLASS_WIRELESS_CONTROLLER)) { usb 1347 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c usb->descriptor.bDeviceClass); usb 1372 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c usb_rcvbulkpipe(usb, endpoint_num); usb 1376 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c usb_sndbulkpipe(usb, endpoint_num); usb 1392 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c if (usb->speed == USB_SPEED_SUPER_PLUS) usb 1394 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c else if (usb->speed == USB_SPEED_SUPER) usb 1396 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c else if (usb->speed == USB_SPEED_HIGH) usb 1443 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c struct usb_device *usb = interface_to_usbdev(intf); usb 1444 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c struct brcmf_usbdev_info *devinfo = brcmf_usb_get_businfo(&usb->dev); usb 1451 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c brcmf_detach(&usb->dev); usb 1452 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c brcmf_free(&usb->dev); usb 1462 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c struct usb_device *usb = interface_to_usbdev(intf); usb 1463 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c struct brcmf_usbdev_info *devinfo = brcmf_usb_get_businfo(&usb->dev); usb 1469 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c err = brcmf_alloc(&usb->dev, devinfo->settings); usb 1487 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c struct usb_device *usb = interface_to_usbdev(intf); usb 1488 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c struct brcmf_usbdev_info *devinfo = brcmf_usb_get_businfo(&usb->dev); usb 1498 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c ret = brcmf_fw_get_firmwares(&usb->dev, fwreq, brcmf_usb_probe_phase2); usb 1528 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c MODULE_DEVICE_TABLE(usb, brcmf_usb_devid_table); usb 234 drivers/net/wireless/intersil/orinoco/orinoco_usb.c MODULE_DEVICE_TABLE(usb, ezusb_table); usb 118 drivers/net/wireless/intersil/p54/p54usb.c MODULE_DEVICE_TABLE(usb, p54u_table); usb 64 drivers/net/wireless/marvell/libertas/if_usb.c MODULE_DEVICE_TABLE(usb, if_usb_table); usb 37 drivers/net/wireless/marvell/libertas_tf/if_usb.c MODULE_DEVICE_TABLE(usb, if_usb_table); usb 51 drivers/net/wireless/marvell/mwifiex/usb.c MODULE_DEVICE_TABLE(usb, mwifiex_usb_table); usb 500 drivers/net/wireless/mediatek/mt76/mt76.h struct mt76_usb usb; usb 804 drivers/net/wireless/mediatek/mt76/mt76.h struct mt76_usb *usb = &dev->usb; usb 808 drivers/net/wireless/mediatek/mt76/mt76.h pipe = usb_rcvbulkpipe(udev, usb->in_ep[MT_EP_IN_CMD_RESP]); usb 810 drivers/net/wireless/mediatek/mt76/mt76.h pipe = usb_sndbulkpipe(udev, usb->out_ep[MT_EP_OUT_INBAND_CMD]); usb 196 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c if (dev->mt76.usb.sg_en) usb 334 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c MODULE_DEVICE_TABLE(usb, mt76x0_device_table); usb 23 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c struct mt76_usb *usb = &dev->usb; usb 27 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c if (usb->mcu.burst) { usb 28 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c WARN_ON_ONCE(len / 4 != usb->mcu.rp_len); usb 30 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c reg = usb->mcu.rp[0].reg - usb->mcu.base; usb 31 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c for (i = 0; i < usb->mcu.rp_len; i++) { usb 33 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c usb->mcu.rp[i].reg = reg++; usb 34 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c usb->mcu.rp[i].value = val; usb 37 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c WARN_ON_ONCE(len / 8 != usb->mcu.rp_len); usb 39 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c for (i = 0; i < usb->mcu.rp_len; i++) { usb 41 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c usb->mcu.base; usb 44 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c WARN_ON_ONCE(usb->mcu.rp[i].reg != reg); usb 45 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c usb->mcu.rp[i].value = val; usb 52 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c struct mt76_usb *usb = &dev->usb; usb 53 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c u8 *data = usb->mcu.data; usb 64 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c if (usb->mcu.rp) usb 85 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c struct mt76_usb *usb = &dev->usb; usb 94 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c seq = ++usb->mcu.msg_seq & 0xf; usb 96 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c seq = ++usb->mcu.msg_seq & 0xf; usb 122 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c struct mt76_usb *usb = &dev->usb; usb 130 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mutex_lock(&usb->mcu.mutex); usb 132 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mutex_unlock(&usb->mcu.mutex); usb 148 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c struct mt76_usb *usb = &dev->usb; usb 167 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mutex_lock(&usb->mcu.mutex); usb 169 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mutex_unlock(&usb->mcu.mutex); usb 182 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c struct mt76_usb *usb = &dev->usb; usb 203 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mutex_lock(&usb->mcu.mutex); usb 205 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c usb->mcu.rp = data; usb 206 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c usb->mcu.rp_len = n; usb 207 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c usb->mcu.base = base; usb 208 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c usb->mcu.burst = false; usb 212 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c usb->mcu.rp = NULL; usb 214 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mutex_unlock(&usb->mcu.mutex); usb 126 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c MODULE_DEVICE_TABLE(usb, mt76x2u_device_table); usb 223 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c if (dev->mt76.usb.sg_en) usb 30 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c struct mt76_usb *usb = &dev->mt76.usb; usb 37 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c memcpy(usb->data, data, sizeof(data)); usb 40 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c 0x12, 0, usb->data, sizeof(data)); usb 45 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c struct mt76_usb *usb = &dev->mt76.usb; usb 51 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c memcpy(usb->data, data, sizeof(data)); usb 54 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c 0x12, 0, usb->data, sizeof(data)); usb 54 drivers/net/wireless/mediatek/mt76/usb.c mutex_lock(&dev->usb.usb_ctrl_mtx); usb 58 drivers/net/wireless/mediatek/mt76/usb.c mutex_unlock(&dev->usb.usb_ctrl_mtx); usb 67 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_usb *usb = &dev->usb; usb 88 drivers/net/wireless/mediatek/mt76/usb.c 0, offset, &usb->reg_val, sizeof(__le32)); usb 90 drivers/net/wireless/mediatek/mt76/usb.c data = le32_to_cpu(usb->reg_val); usb 100 drivers/net/wireless/mediatek/mt76/usb.c mutex_lock(&dev->usb.usb_ctrl_mtx); usb 102 drivers/net/wireless/mediatek/mt76/usb.c mutex_unlock(&dev->usb.usb_ctrl_mtx); usb 110 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_usb *usb = &dev->usb; usb 124 drivers/net/wireless/mediatek/mt76/usb.c usb->reg_val = cpu_to_le32(val); usb 127 drivers/net/wireless/mediatek/mt76/usb.c offset, &usb->reg_val, sizeof(__le32)); usb 133 drivers/net/wireless/mediatek/mt76/usb.c mutex_lock(&dev->usb.usb_ctrl_mtx); usb 135 drivers/net/wireless/mediatek/mt76/usb.c mutex_unlock(&dev->usb.usb_ctrl_mtx); usb 141 drivers/net/wireless/mediatek/mt76/usb.c mutex_lock(&dev->usb.usb_ctrl_mtx); usb 144 drivers/net/wireless/mediatek/mt76/usb.c mutex_unlock(&dev->usb.usb_ctrl_mtx); usb 152 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_usb *usb = &dev->usb; usb 156 drivers/net/wireless/mediatek/mt76/usb.c mutex_lock(&usb->usb_ctrl_mtx); usb 158 drivers/net/wireless/mediatek/mt76/usb.c put_unaligned(val[i], (u32 *)usb->data); usb 161 drivers/net/wireless/mediatek/mt76/usb.c 0, offset + i * 4, usb->data, usb 166 drivers/net/wireless/mediatek/mt76/usb.c mutex_unlock(&usb->usb_ctrl_mtx); usb 172 drivers/net/wireless/mediatek/mt76/usb.c mutex_lock(&dev->usb.usb_ctrl_mtx); usb 179 drivers/net/wireless/mediatek/mt76/usb.c mutex_unlock(&dev->usb.usb_ctrl_mtx); usb 187 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_usb *usb = &dev->usb; usb 189 drivers/net/wireless/mediatek/mt76/usb.c mutex_lock(&usb->usb_ctrl_mtx); usb 195 drivers/net/wireless/mediatek/mt76/usb.c mutex_unlock(&usb->usb_ctrl_mtx); usb 214 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_usb *usb = &dev->usb; usb 216 drivers/net/wireless/mediatek/mt76/usb.c mutex_lock(&usb->usb_ctrl_mtx); usb 222 drivers/net/wireless/mediatek/mt76/usb.c mutex_unlock(&usb->usb_ctrl_mtx); usb 249 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_usb *usb) usb 260 drivers/net/wireless/mediatek/mt76/usb.c usb->in_ep[in_ep] = usb_endpoint_num(ep_desc); usb 264 drivers/net/wireless/mediatek/mt76/usb.c usb->out_ep[out_ep] = usb_endpoint_num(ep_desc); usb 314 drivers/net/wireless/mediatek/mt76/usb.c if (dev->usb.sg_en) usb 329 drivers/net/wireless/mediatek/mt76/usb.c if (dev->usb.sg_en) usb 338 drivers/net/wireless/mediatek/mt76/usb.c if (dev->usb.sg_en) usb 380 drivers/net/wireless/mediatek/mt76/usb.c pipe = usb_rcvbulkpipe(udev, dev->usb.in_ep[index]); usb 382 drivers/net/wireless/mediatek/mt76/usb.c pipe = usb_sndbulkpipe(udev, dev->usb.out_ep[index]); usb 522 drivers/net/wireless/mediatek/mt76/usb.c tasklet_schedule(&dev->usb.rx_tasklet); usb 584 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_usb *usb = &dev->usb; usb 588 drivers/net/wireless/mediatek/mt76/usb.c usb->mcu.data = devm_kmalloc(dev->dev, MCU_RESP_URB_SIZE, GFP_KERNEL); usb 589 drivers/net/wireless/mediatek/mt76/usb.c if (!usb->mcu.data) usb 636 drivers/net/wireless/mediatek/mt76/usb.c tasklet_kill(&dev->usb.rx_tasklet); usb 702 drivers/net/wireless/mediatek/mt76/usb.c &dev->usb.stat_work, usb 712 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_usb *usb; usb 717 drivers/net/wireless/mediatek/mt76/usb.c usb = container_of(work, struct mt76_usb, stat_work.work); usb 718 drivers/net/wireless/mediatek/mt76/usb.c dev = container_of(usb, struct mt76_dev, usb); usb 730 drivers/net/wireless/mediatek/mt76/usb.c ieee80211_queue_delayed_work(dev->hw, &usb->stat_work, usb 754 drivers/net/wireless/mediatek/mt76/usb.c if (!dev->usb.sg_en) { usb 912 drivers/net/wireless/mediatek/mt76/usb.c cancel_delayed_work_sync(&dev->usb.stat_work); usb 959 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_usb *usb = &dev->usb; usb 961 drivers/net/wireless/mediatek/mt76/usb.c tasklet_init(&usb->rx_tasklet, mt76u_rx_tasklet, (unsigned long)dev); usb 963 drivers/net/wireless/mediatek/mt76/usb.c INIT_DELAYED_WORK(&usb->stat_work, mt76u_tx_status_data); usb 966 drivers/net/wireless/mediatek/mt76/usb.c mutex_init(&usb->mcu.mutex); usb 968 drivers/net/wireless/mediatek/mt76/usb.c mutex_init(&usb->usb_ctrl_mtx); usb 974 drivers/net/wireless/mediatek/mt76/usb.c usb->sg_en = mt76u_check_sg(dev); usb 976 drivers/net/wireless/mediatek/mt76/usb.c return mt76u_set_endpoints(intf, usb); usb 365 drivers/net/wireless/mediatek/mt7601u/usb.c MODULE_DEVICE_TABLE(usb, mt7601u_device_table); usb 1960 drivers/net/wireless/ralink/rt2x00/rt2500usb.c MODULE_DEVICE_TABLE(usb, rt2500usb_device_table); usb 1251 drivers/net/wireless/ralink/rt2x00/rt2800usb.c MODULE_DEVICE_TABLE(usb, rt2800usb_device_table); usb 2518 drivers/net/wireless/ralink/rt2x00/rt73usb.c MODULE_DEVICE_TABLE(usb, rt73usb_device_table); usb 82 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c MODULE_DEVICE_TABLE(usb, rtl8187_table); usb 6397 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c MODULE_DEVICE_TABLE(usb, dev_table); usb 369 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c MODULE_DEVICE_TABLE(usb, rtl8192c_usb_ids); usb 3756 drivers/net/wireless/rndis_wlan.c MODULE_DEVICE_TABLE(usb, products); usb 922 drivers/net/wireless/rsi/rsi_91x_usb.c MODULE_DEVICE_TABLE(usb, rsi_dev_table); usb 45 drivers/net/wireless/zydas/zd1201.c MODULE_DEVICE_TABLE(usb, zd1201_table); usb 133 drivers/net/wireless/zydas/zd1201.c dev_warn(&zd->usb->dev, "%s: urb failed: %d\n", usb 173 drivers/net/wireless/zydas/zd1201.c usb_fill_bulk_urb(urb, zd->usb, usb_sndbulkpipe(zd->usb, zd->endp_out2), usb 211 drivers/net/wireless/zydas/zd1201.c dev_warn(&zd->usb->dev, "%s: rx urb failed: %d\n", usb 397 drivers/net/wireless/zydas/zd1201.c urb->dev = zd->usb; usb 441 drivers/net/wireless/zydas/zd1201.c dev_dbg(&zd->usb->dev, "riddatalen mismatches, expected=%u, (packet=%u) length=%u, rid=0x%04X, rid_fid=0x%04X\n", usb 458 drivers/net/wireless/zydas/zd1201.c dev_dbg(&zd->usb->dev, "Packet type mismatch: 0x%x not 0x3\n", usb 473 drivers/net/wireless/zydas/zd1201.c dev_dbg(&zd->usb->dev, "Rx Resource packet type error: %02X\n", usb 551 drivers/net/wireless/zydas/zd1201.c usb_fill_bulk_urb(urb, zd->usb, usb_sndbulkpipe(zd->usb, usb 572 drivers/net/wireless/zydas/zd1201.c usb_fill_bulk_urb(urb, zd->usb, usb_sndbulkpipe(zd->usb, zd->endp_out2), usb 581 drivers/net/wireless/zydas/zd1201.c dev_dbg(&zd->usb->dev, "wrong or no RID received\n"); usb 621 drivers/net/wireless/zydas/zd1201.c usb_fill_bulk_urb(zd->rx_urb, zd->usb, usb 622 drivers/net/wireless/zydas/zd1201.c usb_rcvbulkpipe(zd->usb, zd->endp_in), buffer, ZD1201_RXSIZE, usb 817 drivers/net/wireless/zydas/zd1201.c usb_fill_bulk_urb(urb, zd->usb, usb_sndbulkpipe(zd->usb, zd->endp_out), usb 839 drivers/net/wireless/zydas/zd1201.c dev_warn(&zd->usb->dev, "%s: TX timeout, shooting down urb\n", usb 1031 drivers/net/wireless/zydas/zd1201.c dev_dbg(&zd->usb->dev, "Unknown porttype: %d\n", usb 1732 drivers/net/wireless/zydas/zd1201.c struct usb_device *usb; usb 1737 drivers/net/wireless/zydas/zd1201.c usb = interface_to_usbdev(interface); usb 1746 drivers/net/wireless/zydas/zd1201.c zd->usb = usb; usb 1751 drivers/net/wireless/zydas/zd1201.c err = zd1201_fw_upload(usb, zd->ap); usb 1753 drivers/net/wireless/zydas/zd1201.c dev_err(&usb->dev, "zd1201 firmware upload failed: %d\n", err); usb 1806 drivers/net/wireless/zydas/zd1201.c SET_NETDEV_DEV(dev, &usb->dev); usb 1811 drivers/net/wireless/zydas/zd1201.c dev_info(&usb->dev, "%s: ZD1201 USB Wireless interface\n", usb 23 drivers/net/wireless/zydas/zd1201.h struct usb_device *usb; usb 28 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_init(&chip->usb, hw, intf); usb 35 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_clear(&chip->usb); usb 54 drivers/net/wireless/zydas/zd1211rw/zd_chip.c i += zd_usb_scnprint_id(&chip->usb, buffer+i, size-i); usb 160 drivers/net/wireless/zydas/zd1211rw/zd_chip.c r = zd_usb_iowrite16v_async(&chip->usb, ioreqs16, count16); usb 175 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_iowrite16v_async_start(&chip->usb); usb 178 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_iowrite16v_async_end(&chip->usb, 0); usb 181 drivers/net/wireless/zydas/zd1211rw/zd_chip.c return zd_usb_iowrite16v_async_end(&chip->usb, 50 /* ms */); usb 191 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_iowrite16v_async_start(&chip->usb); usb 205 drivers/net/wireless/zydas/zd1211rw/zd_chip.c r = zd_usb_iowrite16v_async(&chip->usb, &ioreqs[i], j); usb 207 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_iowrite16v_async_end(&chip->usb, 0); usb 215 drivers/net/wireless/zydas/zd1211rw/zd_chip.c return zd_usb_iowrite16v_async_end(&chip->usb, 50 /* ms */); usb 228 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_iowrite16v_async_start(&chip->usb); usb 244 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_iowrite16v_async_end(&chip->usb, 0); usb 252 drivers/net/wireless/zydas/zd1211rw/zd_chip.c return zd_usb_iowrite16v_async_end(&chip->usb, 50 /* ms */); usb 1109 drivers/net/wireless/zydas/zd1211rw/zd_chip.c return zd_usb_read_fw(&chip->usb, E2P_MAC_ADDR_P1, addr, usb 1436 drivers/net/wireless/zydas/zd1211rw/zd_chip.c r = zd_usb_enable_int(&chip->usb); usb 1444 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_disable_int(&chip->usb); usb 1456 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_enable_tx(&chip->usb); usb 1457 drivers/net/wireless/zydas/zd1211rw/zd_chip.c r = zd_usb_enable_rx(&chip->usb); usb 1458 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_tx_watchdog_enable(&chip->usb); usb 1466 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_tx_watchdog_disable(&chip->usb); usb 1467 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_disable_rx(&chip->usb); usb 1468 drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_usb_disable_tx(&chip->usb); usb 753 drivers/net/wireless/zydas/zd1211rw/zd_chip.h struct zd_usb usb; usb 771 drivers/net/wireless/zydas/zd1211rw/zd_chip.h static inline struct zd_chip *zd_usb_to_chip(struct zd_usb *usb) usb 773 drivers/net/wireless/zydas/zd1211rw/zd_chip.h return container_of(usb, struct zd_chip, usb); usb 781 drivers/net/wireless/zydas/zd1211rw/zd_chip.h #define zd_chip_dev(chip) (&(chip)->usb.intf->dev) usb 793 drivers/net/wireless/zydas/zd1211rw/zd_chip.h return chip->usb.is_zd1211b; usb 801 drivers/net/wireless/zydas/zd1211rw/zd_chip.h return zd_usb_ioread16v(&chip->usb, values, addresses, count); usb 808 drivers/net/wireless/zydas/zd1211rw/zd_chip.h return zd_usb_ioread16(&chip->usb, value, addr); usb 829 drivers/net/wireless/zydas/zd1211rw/zd_chip.h return zd_usb_iowrite16v(&chip->usb, &ioreq, 1); usb 855 drivers/net/wireless/zydas/zd1211rw/zd_chip.h return zd_usb_rfwrite(&chip->usb, value, bits); usb 273 drivers/net/wireless/zydas/zd1211rw/zd_mac.c struct zd_usb *usb = &chip->usb; usb 276 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (!usb->initialized) { usb 277 drivers/net/wireless/zydas/zd1211rw/zd_mac.c r = zd_usb_init_hw(usb); usb 845 drivers/net/wireless/zydas/zd1211rw/zd_mac.c usb_queue_reset_device(mac->chip.usb.intf); usb 938 drivers/net/wireless/zydas/zd1211rw/zd_mac.c r = zd_usb_tx(&mac->chip.usb, skb); usb 283 drivers/net/wireless/zydas/zd1211rw/zd_mac.h static inline struct zd_mac *zd_usb_to_mac(struct zd_usb *usb) usb 285 drivers/net/wireless/zydas/zd1211rw/zd_mac.h return zd_chip_to_mac(zd_usb_to_chip(usb)); usb 97 drivers/net/wireless/zydas/zd1211rw/zd_usb.c MODULE_DEVICE_TABLE(usb, usb_ids); usb 102 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static bool check_read_regs(struct zd_usb *usb, struct usb_req_read_regs *req, usb 215 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static char *get_fw_name(struct zd_usb *usb, char *buffer, size_t size, usb 219 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->is_zd1211b ? usb 225 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static int handle_version_mismatch(struct zd_usb *usb, usb 228 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_device *udev = zd_usb_to_usbdev(usb); usb 235 drivers/net/wireless/zydas/zd1211rw/zd_usb.c get_fw_name(usb, fw_name, sizeof(fw_name), "ur"), usb 258 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static int upload_firmware(struct zd_usb *usb) usb 263 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_device *udev = zd_usb_to_usbdev(usb); usb 271 drivers/net/wireless/zydas/zd1211rw/zd_usb.c get_fw_name(usb, fw_name, sizeof(fw_name), "ub"), usb 286 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = handle_version_mismatch(usb, ub_fw); usb 297 drivers/net/wireless/zydas/zd1211rw/zd_usb.c get_fw_name(usb, fw_name, sizeof(fw_name), "uphr"), usb 325 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_read_fw(struct zd_usb *usb, zd_addr_t addr, u8 *data, u16 len) usb 328 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_device *udev = zd_usb_to_usbdev(usb); usb 360 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb = urb->context; usb 361 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 375 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb = urb->context; usb 376 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 406 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (!check_read_regs(usb, intr->read_regs.req, usb 429 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb; usb 462 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb = urb->context; usb 463 drivers/net/wireless/zydas/zd1211rw/zd_usb.c intr = &usb->intr; usb 503 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static inline int usb_int_enabled(struct zd_usb *usb) usb 506 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 515 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_enable_int(struct zd_usb *usb) usb 518 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_device *udev = zd_usb_to_usbdev(usb); usb 519 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 522 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "\n"); usb 544 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 551 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int_urb_complete, usb, usb 556 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "submit urb %p\n", intr->urb); usb 559 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 578 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_usb_disable_int(struct zd_usb *usb) usb 581 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_device *udev = zd_usb_to_usbdev(usb); usb 582 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 600 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "urb %p killed\n", urb); usb 608 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void handle_rx_packet(struct zd_usb *usb, const u8 *buffer, usb 616 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "invalid, small RX packet : %d\n", usb 641 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_mac_rx(zd_usb_to_hw(usb), buffer+l, k); usb 647 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_mac_rx(zd_usb_to_hw(usb), buffer, length); usb 654 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb; usb 678 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb = urb->context; usb 679 drivers/net/wireless/zydas/zd1211rw/zd_usb.c rx = &usb->rx; usb 701 drivers/net/wireless/zydas/zd1211rw/zd_usb.c handle_rx_packet(usb, rx->fragment, usb 707 drivers/net/wireless/zydas/zd1211rw/zd_usb.c handle_rx_packet(usb, buffer, length); usb 716 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static struct urb *alloc_rx_urb(struct zd_usb *usb) usb 718 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_device *udev = zd_usb_to_usbdev(usb); usb 734 drivers/net/wireless/zydas/zd1211rw/zd_usb.c rx_urb_complete, usb); usb 749 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static int __zd_usb_enable_rx(struct zd_usb *usb) usb 752 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_rx *rx = &usb->rx; usb 755 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "\n"); usb 762 drivers/net/wireless/zydas/zd1211rw/zd_usb.c urbs[i] = alloc_rx_urb(usb); usb 801 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_enable_rx(struct zd_usb *usb) usb 804 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_rx *rx = &usb->rx; usb 807 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = __zd_usb_enable_rx(usb); usb 810 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_reset_rx_idle_timer(usb); usb 815 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void __zd_usb_disable_rx(struct zd_usb *usb) usb 821 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_rx *rx = &usb->rx; usb 842 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_usb_disable_rx(struct zd_usb *usb) usb 844 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_rx *rx = &usb->rx; usb 847 drivers/net/wireless/zydas/zd1211rw/zd_usb.c __zd_usb_disable_rx(usb); usb 854 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void zd_usb_reset_rx(struct zd_usb *usb) usb 857 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_rx *rx = &usb->rx; usb 867 drivers/net/wireless/zydas/zd1211rw/zd_usb.c __zd_usb_disable_rx(usb); usb 868 drivers/net/wireless/zydas/zd1211rw/zd_usb.c __zd_usb_enable_rx(usb); usb 874 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_reset_rx_idle_timer(usb); usb 883 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_usb_disable_tx(struct zd_usb *usb) usb 885 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 911 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_usb_enable_tx(struct zd_usb *usb) usb 914 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 919 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ieee80211_wake_queues(zd_usb_to_hw(usb)); usb 924 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void tx_dec_submitted_urbs(struct zd_usb *usb) usb 926 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 932 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ieee80211_wake_queues(zd_usb_to_hw(usb)); usb 938 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void tx_inc_submitted_urbs(struct zd_usb *usb) usb 940 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 946 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ieee80211_stop_queues(zd_usb_to_hw(usb)); usb 964 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb; usb 973 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb = &zd_hw_mac(info->rate_driver_data[0])->chip.usb; usb 974 drivers/net/wireless/zydas/zd1211rw/zd_usb.c tx = &usb->tx; usb 992 drivers/net/wireless/zydas/zd1211rw/zd_usb.c skb_unlink(skb, &usb->tx.submitted_skbs); usb 995 drivers/net/wireless/zydas/zd1211rw/zd_usb.c tx_dec_submitted_urbs(usb); usb 1019 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_tx(struct zd_usb *usb, struct sk_buff *skb) usb 1023 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_device *udev = zd_usb_to_usbdev(usb); usb 1025 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 1047 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "error submit urb %p %d\n", urb, r); usb 1052 drivers/net/wireless/zydas/zd1211rw/zd_usb.c tx_inc_submitted_urbs(usb); usb 1060 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static bool zd_tx_timeout(struct zd_usb *usb) usb 1062 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 1086 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb = usb 1088 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 1092 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (!zd_tx_timeout(usb)) usb 1096 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_warn(zd_usb_dev(usb), "TX-stall detected, resetting device..."); usb 1098 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb_queue_reset_device(usb->intf); usb 1107 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_tx_watchdog_enable(struct zd_usb *usb) usb 1109 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 1112 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "\n"); usb 1119 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_tx_watchdog_disable(struct zd_usb *usb) usb 1121 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 1124 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "\n"); usb 1132 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb = usb 1134 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_mac *mac = zd_usb_to_mac(usb); usb 1139 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "\n"); usb 1142 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_reset_rx(usb); usb 1147 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb = (struct zd_usb *)param; usb 1149 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_reset_rx_idle_timer(usb); usb 1152 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_usb_reset_rx_idle_timer(struct zd_usb *usb) usb 1154 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_rx *rx = &usb->rx; usb 1159 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static inline void init_usb_interrupt(struct zd_usb *usb) usb 1161 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 1164 drivers/net/wireless/zydas/zd1211rw/zd_usb.c intr->interval = int_urb_interval(zd_usb_to_usbdev(usb)); usb 1170 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static inline void init_usb_rx(struct zd_usb *usb) usb 1172 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_rx *rx = &usb->rx; usb 1176 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (interface_to_usbdev(usb->intf)->speed == USB_SPEED_HIGH) { usb 1184 drivers/net/wireless/zydas/zd1211rw/zd_usb.c rx->reset_timer_tasklet.data = (unsigned long)usb; usb 1187 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static inline void init_usb_tx(struct zd_usb *usb) usb 1189 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_tx *tx = &usb->tx; usb 1201 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_usb_init(struct zd_usb *usb, struct ieee80211_hw *hw, usb 1204 drivers/net/wireless/zydas/zd1211rw/zd_usb.c memset(usb, 0, sizeof(*usb)); usb 1205 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->intf = usb_get_intf(intf); usb 1206 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb_set_intfdata(usb->intf, hw); usb 1207 drivers/net/wireless/zydas/zd1211rw/zd_usb.c init_usb_anchor(&usb->submitted_cmds); usb 1208 drivers/net/wireless/zydas/zd1211rw/zd_usb.c init_usb_interrupt(usb); usb 1209 drivers/net/wireless/zydas/zd1211rw/zd_usb.c init_usb_tx(usb); usb 1210 drivers/net/wireless/zydas/zd1211rw/zd_usb.c init_usb_rx(usb); usb 1213 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_usb_clear(struct zd_usb *usb) usb 1215 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb_set_intfdata(usb->intf, NULL); usb 1216 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb_put_intf(usb->intf); usb 1217 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_MEMCLEAR(usb, sizeof(*usb)); usb 1244 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size) usb 1246 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct usb_device *udev = interface_to_usbdev(usb->intf); usb 1318 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_init_hw(struct zd_usb *usb) usb 1321 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_mac *mac = zd_usb_to_mac(usb); usb 1323 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "\n"); usb 1325 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = upload_firmware(usb); usb 1327 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_err(zd_usb_dev(usb), usb 1332 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = usb_reset_configuration(zd_usb_to_usbdev(usb)); usb 1334 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1341 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1346 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->initialized = 1; usb 1354 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb; usb 1386 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb = &zd_hw_mac(hw)->chip.usb; usb 1387 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->is_zd1211b = (id->driver_info == DEVICE_ZD1211B) != 0; usb 1419 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb; usb 1427 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb = &mac->chip.usb; usb 1429 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "\n"); usb 1434 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_disable_tx(usb); usb 1435 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_disable_rx(usb); usb 1436 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_disable_int(usb); usb 1450 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void zd_usb_resume(struct zd_usb *usb) usb 1452 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_mac *mac = zd_usb_to_mac(usb); usb 1455 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "\n"); usb 1457 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = zd_op_start(zd_usb_to_hw(usb)); usb 1459 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_warn(zd_usb_dev(usb), "Device resume failed " usb 1461 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (usb->was_running) usb 1463 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb_queue_reset_device(usb->intf); usb 1470 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg(zd_usb_dev(usb), usb 1477 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void zd_usb_stop(struct zd_usb *usb) usb 1479 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "\n"); usb 1481 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_op_stop(zd_usb_to_hw(usb)); usb 1483 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_disable_tx(usb); usb 1484 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_disable_rx(usb); usb 1485 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_disable_int(usb); usb 1487 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->initialized = 0; usb 1494 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb; usb 1500 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb = &mac->chip.usb; usb 1502 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->was_running = test_bit(ZD_DEVICE_RUNNING, &mac->flags); usb 1504 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_stop(usb); usb 1514 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb; usb 1520 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb = &mac->chip.usb; usb 1524 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (usb->was_running) usb 1525 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_resume(usb); usb 1600 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void prepare_read_regs_int(struct zd_usb *usb, usb 1604 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 1614 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void disable_read_regs_int(struct zd_usb *usb) usb 1616 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 1623 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static bool check_read_regs(struct zd_usb *usb, struct usb_req_read_regs *req, usb 1627 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 1635 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1642 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1651 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1662 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static int get_results(struct zd_usb *usb, u16 *values, usb 1668 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb_interrupt *intr = &usb->intr; usb 1681 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (!check_read_regs(usb, req, count)) { usb 1682 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "error: invalid read regs\n"); usb 1697 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_ioread16v(struct zd_usb *usb, u16 *values, usb 1707 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "error: count is zero\n"); usb 1711 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1717 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1721 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (!usb_int_enabled(usb)) { usb 1722 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1727 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(mutex_is_locked(&zd_usb_to_chip(usb)->mutex)); usb 1729 drivers/net/wireless/zydas/zd1211rw/zd_usb.c sizeof(__le16) > sizeof(usb->req_buf)); usb 1731 drivers/net/wireless/zydas/zd1211rw/zd_usb.c sizeof(usb->req_buf)); usb 1734 drivers/net/wireless/zydas/zd1211rw/zd_usb.c req = (void *)usb->req_buf; usb 1742 drivers/net/wireless/zydas/zd1211rw/zd_usb.c udev = zd_usb_to_usbdev(usb); usb 1743 drivers/net/wireless/zydas/zd1211rw/zd_usb.c prepare_read_regs_int(usb, req, count); usb 1746 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1751 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "error in zd_ep_regs_out_msg()\n" usb 1758 drivers/net/wireless/zydas/zd1211rw/zd_usb.c timeout = wait_for_completion_timeout(&usb->intr.read_regs.completion, usb 1761 drivers/net/wireless/zydas/zd1211rw/zd_usb.c disable_read_regs_int(usb); usb 1762 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "read timed out\n"); usb 1767 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = get_results(usb, values, req, count, &retry); usb 1769 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "read retry, tries so far: %d\n", usb 1779 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb = urb->context; usb 1781 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (urb->status && !usb->cmd_error) usb 1782 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->cmd_error = urb->status; usb 1784 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (!usb->cmd_error && usb 1786 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->cmd_error = -EIO; usb 1789 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static int zd_submit_waiting_urb(struct zd_usb *usb, bool last) usb 1792 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct urb *urb = usb->urb_async_waiting; usb 1797 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->urb_async_waiting = NULL; usb 1802 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb_anchor_urb(urb, &usb->submitted_cmds); usb 1806 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1817 drivers/net/wireless/zydas/zd1211rw/zd_usb.c void zd_usb_iowrite16v_async_start(struct zd_usb *usb) usb 1819 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(usb_anchor_empty(&usb->submitted_cmds)); usb 1820 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(usb->urb_async_waiting == NULL); usb 1821 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(!usb->in_async); usb 1823 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(mutex_is_locked(&zd_usb_to_chip(usb)->mutex)); usb 1825 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->in_async = 1; usb 1826 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->cmd_error = 0; usb 1827 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->urb_async_waiting = NULL; usb 1830 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_iowrite16v_async_end(struct zd_usb *usb, unsigned int timeout) usb 1834 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(mutex_is_locked(&zd_usb_to_chip(usb)->mutex)); usb 1835 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(usb->in_async); usb 1838 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = zd_submit_waiting_urb(usb, true); usb 1840 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1844 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb_kill_anchored_urbs(&usb->submitted_cmds); usb 1849 drivers/net/wireless/zydas/zd1211rw/zd_usb.c timeout = usb_wait_anchor_empty_timeout(&usb->submitted_cmds, usb 1852 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb_kill_anchored_urbs(&usb->submitted_cmds); usb 1853 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (usb->cmd_error == -ENOENT) { usb 1854 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "timed out"); usb 1860 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = usb->cmd_error; usb 1862 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->in_async = 0; usb 1866 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, usb 1876 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(mutex_is_locked(&zd_usb_to_chip(usb)->mutex)); usb 1877 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(usb->in_async); usb 1882 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1888 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1893 drivers/net/wireless/zydas/zd1211rw/zd_usb.c udev = zd_usb_to_usbdev(usb); usb 1922 drivers/net/wireless/zydas/zd1211rw/zd_usb.c req, req_len, iowrite16v_urb_complete, usb, usb 1926 drivers/net/wireless/zydas/zd1211rw/zd_usb.c req, req_len, iowrite16v_urb_complete, usb); usb 1931 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = zd_submit_waiting_urb(usb, false); usb 1933 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1942 drivers/net/wireless/zydas/zd1211rw/zd_usb.c usb->urb_async_waiting = urb; usb 1949 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, usb 1954 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_iowrite16v_async_start(usb); usb 1955 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = zd_usb_iowrite16v_async(usb, ioreqs, count); usb 1957 drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_iowrite16v_async_end(usb, 0); usb 1960 drivers/net/wireless/zydas/zd1211rw/zd_usb.c return zd_usb_iowrite16v_async_end(usb, 50 /* ms */); usb 1963 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits) usb 1972 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1977 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1984 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1991 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 1998 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "value %#09x bits %d\n", value, bits); usb 2000 drivers/net/wireless/zydas/zd1211rw/zd_usb.c r = zd_usb_ioread16(usb, &bit_value_template, ZD_CR203); usb 2002 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 2008 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ZD_ASSERT(mutex_is_locked(&zd_usb_to_chip(usb)->mutex)); usb 2011 drivers/net/wireless/zydas/zd1211rw/zd_usb.c sizeof(usb->req_buf)); usb 2013 drivers/net/wireless/zydas/zd1211rw/zd_usb.c sizeof(usb->req_buf)); usb 2016 drivers/net/wireless/zydas/zd1211rw/zd_usb.c req = (void *)usb->req_buf; usb 2030 drivers/net/wireless/zydas/zd1211rw/zd_usb.c udev = zd_usb_to_usbdev(usb); usb 2033 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), usb 2038 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "error in zd_ep_regs_out_msg()" usb 218 drivers/net/wireless/zydas/zd1211rw/zd_usb.h #define zd_usb_dev(usb) (&usb->intf->dev) usb 220 drivers/net/wireless/zydas/zd1211rw/zd_usb.h static inline struct usb_device *zd_usb_to_usbdev(struct zd_usb *usb) usb 222 drivers/net/wireless/zydas/zd1211rw/zd_usb.h return interface_to_usbdev(usb->intf); usb 230 drivers/net/wireless/zydas/zd1211rw/zd_usb.h static inline struct ieee80211_hw *zd_usb_to_hw(struct zd_usb *usb) usb 232 drivers/net/wireless/zydas/zd1211rw/zd_usb.h return zd_intf_to_hw(usb->intf); usb 235 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_usb_init(struct zd_usb *usb, struct ieee80211_hw *hw, usb 237 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_init_hw(struct zd_usb *usb); usb 238 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_usb_clear(struct zd_usb *usb); usb 240 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size); usb 242 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_tx_watchdog_enable(struct zd_usb *usb); usb 243 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_tx_watchdog_disable(struct zd_usb *usb); usb 245 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_enable_int(struct zd_usb *usb); usb 246 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_usb_disable_int(struct zd_usb *usb); usb 248 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_enable_rx(struct zd_usb *usb); usb 249 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_usb_disable_rx(struct zd_usb *usb); usb 251 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_usb_reset_rx_idle_timer(struct zd_usb *usb); usb 253 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_usb_enable_tx(struct zd_usb *usb); usb 254 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_usb_disable_tx(struct zd_usb *usb); usb 256 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_tx(struct zd_usb *usb, struct sk_buff *skb); usb 258 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_ioread16v(struct zd_usb *usb, u16 *values, usb 261 drivers/net/wireless/zydas/zd1211rw/zd_usb.h static inline int zd_usb_ioread16(struct zd_usb *usb, u16 *value, usb 264 drivers/net/wireless/zydas/zd1211rw/zd_usb.h return zd_usb_ioread16v(usb, value, &addr, 1); usb 267 drivers/net/wireless/zydas/zd1211rw/zd_usb.h void zd_usb_iowrite16v_async_start(struct zd_usb *usb); usb 268 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_iowrite16v_async_end(struct zd_usb *usb, unsigned int timeout); usb 269 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, usb 271 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, usb 274 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits); usb 276 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_read_fw(struct zd_usb *usb, zd_addr_t addr, u8 *data, u16 len); usb 32 drivers/nfc/nfcmrvl/usb.c MODULE_DEVICE_TABLE(usb, nfcmrvl_table); usb 44 drivers/nfc/pn533/usb.c MODULE_DEVICE_TABLE(usb, pn533_usb_table); usb 1484 drivers/nfc/port100.c MODULE_DEVICE_TABLE(usb, port100_table); usb 5248 drivers/pci/quirks.c static void quirk_gpu_usb(struct pci_dev *usb) usb 5250 drivers/pci/quirks.c pci_create_device_link(usb, 2, 0, PCI_BASE_CLASS_DISPLAY, 16); usb 473 drivers/phy/tegra/xusb-tegra210.c static int tegra210_sata_uphy_enable(struct tegra_xusb_padctl *padctl, bool usb) usb 526 drivers/phy/tegra/xusb-tegra210.c if (usb) usb 542 drivers/phy/tegra/xusb-tegra210.c if (usb) usb 855 drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c DB8500_FUNC_GROUPS(usb, "usb_a_1"); usb 923 drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c FUNCTION(usb), usb 336 drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c STN8815_FUNC_GROUPS(usb, "usbfs_b_1", "usbhs_c_1"); usb 353 drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c FUNCTION(usb), usb 1424 drivers/pinctrl/sh-pfc/pfc-emev2.c SH_PFC_FUNCTION(usb), usb 3676 drivers/pinctrl/sh-pfc/pfc-sh73a0.c SH_PFC_FUNCTION(usb), usb 842 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c TEGRA124_LANE("ulpi-0", 0x004, 12, 0x1, 0, usb), usb 843 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c TEGRA124_LANE("hsic-0", 0x004, 14, 0x1, 0, usb), usb 844 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c TEGRA124_LANE("hsic-1", 0x004, 15, 0x1, 0, usb), usb 1529 drivers/pinctrl/tegra/pinctrl-tegra114.c FUNCTION(usb), usb 1694 drivers/pinctrl/tegra/pinctrl-tegra124.c FUNCTION(usb), usb 1258 drivers/pinctrl/tegra/pinctrl-tegra210.c FUNCTION(usb), usb 102 drivers/power/supply/88pm860x_charger.c struct power_supply *usb; usb 420 drivers/power/supply/88pm860x_charger.c power_supply_changed(info->usb); usb 707 drivers/power/supply/88pm860x_charger.c info->usb = power_supply_register(&pdev->dev, &pm860x_charger_desc, usb 709 drivers/power/supply/88pm860x_charger.c if (IS_ERR(info->usb)) { usb 710 drivers/power/supply/88pm860x_charger.c ret = PTR_ERR(info->usb); usb 729 drivers/power/supply/88pm860x_charger.c power_supply_unregister(info->usb); usb 741 drivers/power/supply/88pm860x_charger.c power_supply_unregister(info->usb); usb 294 drivers/power/supply/ab8500_charger.c struct ab8500_charger_info usb; usb 411 drivers/power/supply/ab8500_charger.c if (!di->usb.charger_connected && usb 418 drivers/power/supply/ab8500_charger.c di->usb.charger_connected)) { usb 429 drivers/power/supply/ab8500_charger.c if (connected != di->usb.charger_connected) { usb 431 drivers/power/supply/ab8500_charger.c di->usb.charger_connected = connected; usb 516 drivers/power/supply/ab8500_charger.c if (di->usb.charger_connected) { usb 538 drivers/power/supply/ab8500_charger.c if (di->usb.charger_online) { usb 582 drivers/power/supply/ab8500_charger.c if (di->usb.charger_online) { usb 1145 drivers/power/supply/ab8500_charger.c if (!di->usb.charger_connected) usb 1156 drivers/power/supply/ab8500_charger.c if (!di->usb.charger_connected && !di->ac.charger_connected) usb 1542 drivers/power/supply/ab8500_charger.c if (!di->usb.charger_connected) { usb 1605 drivers/power/supply/ab8500_charger.c di->usb.charger_online = 1; usb 1656 drivers/power/supply/ab8500_charger.c di->usb.charger_online = 0; usb 1657 drivers/power/supply/ab8500_charger.c di->usb.wd_expired = false; usb 1716 drivers/power/supply/ab8500_charger.c if (!di->usb.charger_connected) usb 2219 drivers/power/supply/ab8500_charger.c if (!di->usb.charger_online) { usb 2670 drivers/power/supply/ab8500_charger.c if (di->usb.charger_connected) usb 2806 drivers/power/supply/ab8500_charger.c if (di->usb.charger_online) { usb 2807 drivers/power/supply/ab8500_charger.c di->usb.wd_expired = true; usb 2886 drivers/power/supply/ab8500_charger.c else if (di->ac.wd_expired || di->usb.wd_expired) usb 2953 drivers/power/supply/ab8500_charger.c else if (di->ac.wd_expired || di->usb.wd_expired) usb 2963 drivers/power/supply/ab8500_charger.c val->intval = di->usb.charger_online; usb 2966 drivers/power/supply/ab8500_charger.c val->intval = di->usb.charger_connected; usb 2971 drivers/power/supply/ab8500_charger.c di->usb.charger_voltage = ret; usb 2972 drivers/power/supply/ab8500_charger.c val->intval = di->usb.charger_voltage * 1000; usb 2979 drivers/power/supply/ab8500_charger.c di->usb.cv_active = ab8500_charger_usb_cv(di); usb 2980 drivers/power/supply/ab8500_charger.c val->intval = di->usb.cv_active; usb 2985 drivers/power/supply/ab8500_charger.c di->usb.charger_current = ret; usb 2986 drivers/power/supply/ab8500_charger.c val->intval = di->usb.charger_current * 1000; usb 133 drivers/power/supply/cpcap-charger.c struct power_supply *usb; usb 470 drivers/power/supply/cpcap-charger.c power_supply_changed(ddata->usb); usb 647 drivers/power/supply/cpcap-charger.c ddata->usb = devm_power_supply_register(ddata->dev, usb 650 drivers/power/supply/cpcap-charger.c if (IS_ERR(ddata->usb)) { usb 651 drivers/power/supply/cpcap-charger.c error = PTR_ERR(ddata->usb); usb 29 drivers/power/supply/da9150-charger.c struct power_supply *usb; usb 379 drivers/power/supply/da9150-charger.c power_supply_changed(charger->usb); usb 390 drivers/power/supply/da9150-charger.c power_supply_changed(charger->usb); usb 410 drivers/power/supply/da9150-charger.c charger->supply_online = charger->usb; usb 419 drivers/power/supply/da9150-charger.c power_supply_changed(charger->usb); usb 438 drivers/power/supply/da9150-charger.c power_supply_changed(charger->usb); usb 556 drivers/power/supply/da9150-charger.c charger->usb = power_supply_register(dev, &usb_desc, NULL); usb 557 drivers/power/supply/da9150-charger.c if (IS_ERR(charger->usb)) { usb 558 drivers/power/supply/da9150-charger.c ret = PTR_ERR(charger->usb); usb 577 drivers/power/supply/da9150-charger.c charger->supply_online = charger->usb; usb 627 drivers/power/supply/da9150-charger.c power_supply_unregister(charger->usb); usb 667 drivers/power/supply/da9150-charger.c power_supply_unregister(charger->usb); usb 80 drivers/power/supply/lp8727_charger.c struct power_supply *usb; usb 195 drivers/power/supply/lp8727_charger.c pchg->chg_param = pdata ? pdata->usb : NULL; usb 242 drivers/power/supply/lp8727_charger.c power_supply_changed(pchg->psy->usb); usb 460 drivers/power/supply/lp8727_charger.c psy->usb = power_supply_register(pchg->dev, &lp8727_usb_desc, usb 462 drivers/power/supply/lp8727_charger.c if (IS_ERR(psy->usb)) usb 472 drivers/power/supply/lp8727_charger.c power_supply_unregister(psy->usb); usb 487 drivers/power/supply/lp8727_charger.c power_supply_unregister(psy->usb); usb 531 drivers/power/supply/lp8727_charger.c pdata->usb = lp8727_parse_charge_pdata(dev, child); usb 69 drivers/power/supply/max8925_power.c struct power_supply *usb; usb 538 drivers/power/supply/max8925_power.c info->usb = power_supply_register(&pdev->dev, &usb_desc, &psy_cfg); usb 539 drivers/power/supply/max8925_power.c if (IS_ERR(info->usb)) { usb 540 drivers/power/supply/max8925_power.c ret = PTR_ERR(info->usb); usb 543 drivers/power/supply/max8925_power.c info->usb->dev.parent = &pdev->dev; usb 562 drivers/power/supply/max8925_power.c power_supply_unregister(info->usb); usb 575 drivers/power/supply/max8925_power.c power_supply_unregister(info->usb); usb 31 drivers/power/supply/pcf50633-charger.c struct power_supply *usb; usb 100 drivers/power/supply/pcf50633-charger.c power_supply_changed(mbc->usb); usb 272 drivers/power/supply/pcf50633-charger.c power_supply_changed(mbc->usb); usb 418 drivers/power/supply/pcf50633-charger.c mbc->usb = power_supply_register(&pdev->dev, &pcf50633_mbc_usb_desc, usb 420 drivers/power/supply/pcf50633-charger.c if (IS_ERR(mbc->usb)) { usb 423 drivers/power/supply/pcf50633-charger.c return PTR_ERR(mbc->usb); usb 431 drivers/power/supply/pcf50633-charger.c power_supply_unregister(mbc->usb); usb 453 drivers/power/supply/pcf50633-charger.c power_supply_unregister(mbc->usb); usb 140 drivers/power/supply/smb347-charger.c struct power_supply *usb; usb 231 drivers/power/supply/smb347-charger.c bool usb = false; usb 247 drivers/power/supply/smb347-charger.c usb = !(val & IRQSTAT_E_USBIN_UV_STAT); usb 250 drivers/power/supply/smb347-charger.c ret = smb->mains_online != dc || smb->usb_online != usb; usb 252 drivers/power/supply/smb347-charger.c smb->usb_online = usb; usb 780 drivers/power/supply/smb347-charger.c power_supply_changed(smb->usb); usb 1256 drivers/power/supply/smb347-charger.c smb->usb = power_supply_register(dev, &smb347_usb_desc, usb 1258 drivers/power/supply/smb347-charger.c if (IS_ERR(smb->usb)) { usb 1261 drivers/power/supply/smb347-charger.c return PTR_ERR(smb->usb); usb 1270 drivers/power/supply/smb347-charger.c power_supply_unregister(smb->usb); usb 1305 drivers/power/supply/smb347-charger.c power_supply_unregister(smb->usb); usb 114 drivers/power/supply/twl4030_charger.c struct power_supply *usb; usb 597 drivers/power/supply/twl4030_charger.c power_supply_changed(bci->usb); usb 626 drivers/power/supply/twl4030_charger.c power_supply_changed(bci->usb); usb 1049 drivers/power/supply/twl4030_charger.c bci->usb = devm_power_supply_register(&pdev->dev, &twl4030_bci_usb_desc, usb 1051 drivers/power/supply/twl4030_charger.c if (IS_ERR(bci->usb)) { usb 1052 drivers/power/supply/twl4030_charger.c ret = PTR_ERR(bci->usb); usb 1091 drivers/power/supply/twl4030_charger.c if (device_create_file(&bci->usb->dev, &dev_attr_mode)) usb 1120 drivers/power/supply/twl4030_charger.c device_remove_file(&bci->usb->dev, &dev_attr_mode); usb 23 drivers/power/supply/wm831x_power.c struct power_supply *usb; usb 526 drivers/power/supply/wm831x_power.c power_supply_changed(wm831x_power->usb); usb 585 drivers/power/supply/wm831x_power.c power->usb = power_supply_register(&pdev->dev, &power->usb_desc, NULL); usb 586 drivers/power/supply/wm831x_power.c if (IS_ERR(power->usb)) { usb 587 drivers/power/supply/wm831x_power.c ret = PTR_ERR(power->usb); usb 691 drivers/power/supply/wm831x_power.c power_supply_unregister(power->usb); usb 725 drivers/power/supply/wm831x_power.c power_supply_unregister(wm831x_power->usb); usb 233 drivers/power/supply/wm8350_power.c power_supply_changed(power->usb); usb 485 drivers/power/supply/wm8350_power.c power->usb = power_supply_register(&pdev->dev, &wm8350_usb_desc, NULL); usb 486 drivers/power/supply/wm8350_power.c if (IS_ERR(power->usb)) { usb 487 drivers/power/supply/wm8350_power.c ret = PTR_ERR(power->usb); usb 522 drivers/power/supply/wm8350_power.c power_supply_unregister(power->usb); usb 238 drivers/staging/comedi/drivers/dt9812.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 249 drivers/staging/comedi/drivers/dt9812.c ret = usb_bulk_msg(usb, usb_sndbulkpipe(usb, devpriv->cmd_wr.addr), usb 254 drivers/staging/comedi/drivers/dt9812.c return usb_bulk_msg(usb, usb_rcvbulkpipe(usb, devpriv->cmd_rd.addr), usb 262 drivers/staging/comedi/drivers/dt9812.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 273 drivers/staging/comedi/drivers/dt9812.c ret = usb_bulk_msg(usb, usb_sndbulkpipe(usb, devpriv->cmd_wr.addr), usb 278 drivers/staging/comedi/drivers/dt9812.c return usb_bulk_msg(usb, usb_rcvbulkpipe(usb, devpriv->cmd_rd.addr), usb 286 drivers/staging/comedi/drivers/dt9812.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 299 drivers/staging/comedi/drivers/dt9812.c return usb_bulk_msg(usb, usb_sndbulkpipe(usb, devpriv->cmd_wr.addr), usb 307 drivers/staging/comedi/drivers/dt9812.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 318 drivers/staging/comedi/drivers/dt9812.c return usb_bulk_msg(usb, usb_sndbulkpipe(usb, devpriv->cmd_wr.addr), usb 681 drivers/staging/comedi/drivers/dt9812.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 698 drivers/staging/comedi/drivers/dt9812.c usb_reset_configuration(usb); usb 859 drivers/staging/comedi/drivers/dt9812.c MODULE_DEVICE_TABLE(usb, dt9812_usb_table); usb 168 drivers/staging/comedi/drivers/ni_usb6501.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 206 drivers/staging/comedi/drivers/ni_usb6501.c ret = usb_bulk_msg(usb, usb 207 drivers/staging/comedi/drivers/ni_usb6501.c usb_sndbulkpipe(usb, usb 216 drivers/staging/comedi/drivers/ni_usb6501.c ret = usb_bulk_msg(usb, usb 217 drivers/staging/comedi/drivers/ni_usb6501.c usb_rcvbulkpipe(usb, usb 250 drivers/staging/comedi/drivers/ni_usb6501.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 290 drivers/staging/comedi/drivers/ni_usb6501.c ret = usb_bulk_msg(usb, usb 291 drivers/staging/comedi/drivers/ni_usb6501.c usb_sndbulkpipe(usb, usb 300 drivers/staging/comedi/drivers/ni_usb6501.c ret = usb_bulk_msg(usb, usb 301 drivers/staging/comedi/drivers/ni_usb6501.c usb_rcvbulkpipe(usb, usb 590 drivers/staging/comedi/drivers/ni_usb6501.c MODULE_DEVICE_TABLE(usb, ni6501_usb_table); usb 482 drivers/staging/comedi/drivers/usbdux.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 496 drivers/staging/comedi/drivers/usbdux.c urb->dev = usb; usb 597 drivers/staging/comedi/drivers/usbdux.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 603 drivers/staging/comedi/drivers/usbdux.c return usb_bulk_msg(usb, usb_sndbulkpipe(usb, 1), usb 610 drivers/staging/comedi/drivers/usbdux.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 617 drivers/staging/comedi/drivers/usbdux.c ret = usb_bulk_msg(usb, usb_rcvbulkpipe(usb, 8), usb 1210 drivers/staging/comedi/drivers/usbdux.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 1215 drivers/staging/comedi/drivers/usbdux.c usb_fill_bulk_urb(urb, usb, usb_sndbulkpipe(usb, 4), usb 1369 drivers/staging/comedi/drivers/usbdux.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 1397 drivers/staging/comedi/drivers/usbdux.c ret = usb_control_msg(usb, usb_sndctrlpipe(usb, 0), usb 1409 drivers/staging/comedi/drivers/usbdux.c ret = usb_control_msg(usb, usb_sndctrlpipe(usb, 0), usb 1422 drivers/staging/comedi/drivers/usbdux.c ret = usb_control_msg(usb, usb_sndctrlpipe(usb, 0), usb 1439 drivers/staging/comedi/drivers/usbdux.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 1462 drivers/staging/comedi/drivers/usbdux.c urb->dev = usb; usb 1464 drivers/staging/comedi/drivers/usbdux.c urb->pipe = usb_rcvisocpipe(usb, 6); usb 1484 drivers/staging/comedi/drivers/usbdux.c urb->dev = usb; usb 1486 drivers/staging/comedi/drivers/usbdux.c urb->pipe = usb_sndisocpipe(usb, 2); usb 1560 drivers/staging/comedi/drivers/usbdux.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 1573 drivers/staging/comedi/drivers/usbdux.c devpriv->high_speed = (usb->speed == USB_SPEED_HIGH); usb 1588 drivers/staging/comedi/drivers/usbdux.c ret = usb_set_interface(usb, intf->altsetting->desc.bInterfaceNumber, usb 1596 drivers/staging/comedi/drivers/usbdux.c ret = comedi_load_firmware(dev, &usb->dev, USBDUX_FIRMWARE, usb 1716 drivers/staging/comedi/drivers/usbdux.c MODULE_DEVICE_TABLE(usb, usbdux_usb_table); usb 166 drivers/staging/comedi/drivers/usbduxfast.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 173 drivers/staging/comedi/drivers/usbduxfast.c ret = usb_bulk_msg(usb, usb_sndbulkpipe(usb, CHANNELLISTEP), usb 303 drivers/staging/comedi/drivers/usbduxfast.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 307 drivers/staging/comedi/drivers/usbduxfast.c usb_fill_bulk_urb(devpriv->urb, usb, usb_rcvbulkpipe(usb, BULKINEP), usb 765 drivers/staging/comedi/drivers/usbduxfast.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 805 drivers/staging/comedi/drivers/usbduxfast.c ret = usb_bulk_msg(usb, usb_rcvbulkpipe(usb, BULKINEP), usb 816 drivers/staging/comedi/drivers/usbduxfast.c ret = usb_bulk_msg(usb, usb_rcvbulkpipe(usb, BULKINEP), usb 845 drivers/staging/comedi/drivers/usbduxfast.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 872 drivers/staging/comedi/drivers/usbduxfast.c ret = usb_control_msg(usb, usb_sndctrlpipe(usb, 0), usb 884 drivers/staging/comedi/drivers/usbduxfast.c ret = usb_control_msg(usb, usb_sndctrlpipe(usb, 0), usb 897 drivers/staging/comedi/drivers/usbduxfast.c ret = usb_control_msg(usb, usb_sndctrlpipe(usb, 0), usb 916 drivers/staging/comedi/drivers/usbduxfast.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 921 drivers/staging/comedi/drivers/usbduxfast.c if (usb->speed != USB_SPEED_HIGH) { usb 938 drivers/staging/comedi/drivers/usbduxfast.c ret = usb_set_interface(usb, usb 954 drivers/staging/comedi/drivers/usbduxfast.c ret = comedi_load_firmware(dev, &usb->dev, FIRMWARE, usb 1026 drivers/staging/comedi/drivers/usbduxfast.c MODULE_DEVICE_TABLE(usb, usbduxfast_usb_table); usb 435 drivers/staging/comedi/drivers/usbduxsigma.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 448 drivers/staging/comedi/drivers/usbduxsigma.c urb->dev = usb; usb 556 drivers/staging/comedi/drivers/usbduxsigma.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 562 drivers/staging/comedi/drivers/usbduxsigma.c return usb_bulk_msg(usb, usb_sndbulkpipe(usb, 1), usb 569 drivers/staging/comedi/drivers/usbduxsigma.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 576 drivers/staging/comedi/drivers/usbduxsigma.c ret = usb_bulk_msg(usb, usb_rcvbulkpipe(usb, 8), usb 1060 drivers/staging/comedi/drivers/usbduxsigma.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 1065 drivers/staging/comedi/drivers/usbduxsigma.c usb_fill_bulk_urb(urb, usb, usb_sndbulkpipe(usb, 4), usb 1263 drivers/staging/comedi/drivers/usbduxsigma.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 1290 drivers/staging/comedi/drivers/usbduxsigma.c ret = usb_control_msg(usb, usb_sndctrlpipe(usb, 0), usb 1302 drivers/staging/comedi/drivers/usbduxsigma.c ret = usb_control_msg(usb, usb_sndctrlpipe(usb, 0), usb 1315 drivers/staging/comedi/drivers/usbduxsigma.c ret = usb_control_msg(usb, usb_sndctrlpipe(usb, 0), usb 1332 drivers/staging/comedi/drivers/usbduxsigma.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 1352 drivers/staging/comedi/drivers/usbduxsigma.c urb->dev = usb; usb 1356 drivers/staging/comedi/drivers/usbduxsigma.c urb->pipe = usb_rcvisocpipe(usb, 6); usb 1374 drivers/staging/comedi/drivers/usbduxsigma.c urb->dev = usb; usb 1378 drivers/staging/comedi/drivers/usbduxsigma.c urb->pipe = usb_sndisocpipe(usb, 2); usb 1446 drivers/staging/comedi/drivers/usbduxsigma.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 1460 drivers/staging/comedi/drivers/usbduxsigma.c devpriv->high_speed = (usb->speed == USB_SPEED_HIGH); usb 1475 drivers/staging/comedi/drivers/usbduxsigma.c ret = usb_set_interface(usb, intf->altsetting->desc.bInterfaceNumber, usb 1483 drivers/staging/comedi/drivers/usbduxsigma.c ret = comedi_load_firmware(dev, &usb->dev, FIRMWARE, usb 1603 drivers/staging/comedi/drivers/usbduxsigma.c MODULE_DEVICE_TABLE(usb, usbduxsigma_usb_table); usb 155 drivers/staging/comedi/drivers/vmk80xx.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 164 drivers/staging/comedi/drivers/vmk80xx.c tx_pipe = usb_sndbulkpipe(usb, tx_addr); usb 165 drivers/staging/comedi/drivers/vmk80xx.c rx_pipe = usb_rcvbulkpipe(usb, rx_addr); usb 173 drivers/staging/comedi/drivers/vmk80xx.c usb_bulk_msg(usb, tx_pipe, devpriv->usb_tx_buf, usb 175 drivers/staging/comedi/drivers/vmk80xx.c usb_bulk_msg(usb, rx_pipe, devpriv->usb_rx_buf, size, NULL, HZ * 10); usb 181 drivers/staging/comedi/drivers/vmk80xx.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 191 drivers/staging/comedi/drivers/vmk80xx.c pipe = usb_rcvintpipe(usb, ep->bEndpointAddress); usb 192 drivers/staging/comedi/drivers/vmk80xx.c return usb_interrupt_msg(usb, pipe, devpriv->usb_rx_buf, usb 200 drivers/staging/comedi/drivers/vmk80xx.c struct usb_device *usb = comedi_to_usb_dev(dev); usb 212 drivers/staging/comedi/drivers/vmk80xx.c pipe = usb_sndintpipe(usb, ep->bEndpointAddress); usb 213 drivers/staging/comedi/drivers/vmk80xx.c return usb_interrupt_msg(usb, pipe, devpriv->usb_tx_buf, usb 865 drivers/staging/comedi/drivers/vmk80xx.c MODULE_DEVICE_TABLE(usb, vmk80xx_usb_id_table); usb 39 drivers/staging/gdm724x/gdm_mux.c MODULE_DEVICE_TABLE(usb, id_table); usb 46 drivers/staging/gdm724x/gdm_usb.c MODULE_DEVICE_TABLE(usb, id_table); usb 60 drivers/staging/isdn/gigaset/bas-gigaset.c MODULE_DEVICE_TABLE(usb, gigaset_table); usb 393 drivers/staging/isdn/gigaset/gigaset.h struct usb_bc_state *usb; /* usb hardware driver (m105) */ usb 498 drivers/staging/isdn/gigaset/gigaset.h struct usb_cardstate *usb; /* USB hardware driver (m105) */ usb 52 drivers/staging/isdn/gigaset/usb-gigaset.c MODULE_DEVICE_TABLE(usb, gigaset_table); usb 154 drivers/staging/isdn/gigaset/usb-gigaset.c struct usb_device *udev = cs->hw.usb->udev; usb 177 drivers/staging/isdn/gigaset/usb-gigaset.c struct usb_device *udev = cs->hw.usb->udev; usb 197 drivers/staging/isdn/gigaset/usb-gigaset.c 0, 0, cs->hw.usb->bchars, 6, 2000 /*?*/); usb 306 drivers/staging/isdn/gigaset/usb-gigaset.c if (cs->hw.usb->busy) { usb 356 drivers/staging/isdn/gigaset/usb-gigaset.c src = cs->hw.usb->rcvbuf; usb 404 drivers/staging/isdn/gigaset/usb-gigaset.c cs->hw.usb->busy = 0; usb 417 drivers/staging/isdn/gigaset/usb-gigaset.c cs->hw.usb->busy = 0; usb 429 drivers/staging/isdn/gigaset/usb-gigaset.c struct usb_cardstate *ucs = cs->hw.usb; usb 538 drivers/staging/isdn/gigaset/usb-gigaset.c struct usb_device *udev = cs->hw.usb->udev; usb 541 drivers/staging/isdn/gigaset/usb-gigaset.c memcpy(cs->hw.usb->bchars, buf, 6); usb 555 drivers/staging/isdn/gigaset/usb-gigaset.c bcs->hw.usb = NULL; usb 567 drivers/staging/isdn/gigaset/usb-gigaset.c kfree(cs->hw.usb); usb 574 drivers/staging/isdn/gigaset/usb-gigaset.c cs->hw.usb = ucs = kzalloc(sizeof(struct usb_cardstate), GFP_KERNEL); usb 598 drivers/staging/isdn/gigaset/usb-gigaset.c struct usb_cardstate *ucs = cs->hw.usb; usb 695 drivers/staging/isdn/gigaset/usb-gigaset.c ucs = cs->hw.usb; usb 801 drivers/staging/isdn/gigaset/usb-gigaset.c ucs = cs->hw.usb; usb 837 drivers/staging/isdn/gigaset/usb-gigaset.c usb_kill_urb(cs->hw.usb->read_urb); usb 839 drivers/staging/isdn/gigaset/usb-gigaset.c usb_kill_urb(cs->hw.usb->bulk_out_urb); usb 855 drivers/staging/isdn/gigaset/usb-gigaset.c rc = usb_submit_urb(cs->hw.usb->read_urb, GFP_KERNEL); usb 389 drivers/staging/octeon-usb/octeon-hcd.c c.u32 = cvmx_usb_read_csr32(usb, address); \ usb 391 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, address, c.u32); \ usb 522 drivers/staging/octeon-usb/octeon-hcd.c static inline u32 cvmx_usb_read_csr32(struct octeon_hcd *usb, u64 address) usb 536 drivers/staging/octeon-usb/octeon-hcd.c static inline void cvmx_usb_write_csr32(struct octeon_hcd *usb, usb 540 drivers/staging/octeon-usb/octeon-hcd.c cvmx_read64_uint64(CVMX_USBNX_DMA0_INB_CHN0(usb->index)); usb 552 drivers/staging/octeon-usb/octeon-hcd.c static inline int cvmx_usb_pipe_needs_split(struct octeon_hcd *usb, usb 556 drivers/staging/octeon-usb/octeon-hcd.c usb->usbcx_hprt.s.prtspd == CVMX_USB_SPEED_HIGH; usb 574 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_wait_tx_rx(struct octeon_hcd *usb, int fflsh_type) usb 577 drivers/staging/octeon-usb/octeon-hcd.c u64 address = CVMX_USBCX_GRSTCTL(usb->index); usb 583 drivers/staging/octeon-usb/octeon-hcd.c c.u32 = cvmx_usb_read_csr32(usb, address); usb 600 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_fifo_setup(struct octeon_hcd *usb) usb 606 drivers/staging/octeon-usb/octeon-hcd.c usbcx_ghwcfg3.u32 = cvmx_usb_read_csr32(usb, usb 607 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GHWCFG3(usb->index)); usb 613 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GRXFSIZ(usb->index), cvmx_usbcx_grxfsiz, usb 621 drivers/staging/octeon-usb/octeon-hcd.c npsiz.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_GNPTXFSIZ(usb->index)); usb 624 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GNPTXFSIZ(usb->index), npsiz.u32); usb 631 drivers/staging/octeon-usb/octeon-hcd.c psiz.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HPTXFSIZ(usb->index)); usb 634 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HPTXFSIZ(usb->index), psiz.u32); usb 637 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GRSTCTL(usb->index), usb 639 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GRSTCTL(usb->index), usb 641 drivers/staging/octeon-usb/octeon-hcd.c cvmx_wait_tx_rx(usb, 0); usb 642 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GRSTCTL(usb->index), usb 644 drivers/staging/octeon-usb/octeon-hcd.c cvmx_wait_tx_rx(usb, 1); usb 656 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_usb_shutdown(struct octeon_hcd *usb) usb 661 drivers/staging/octeon-usb/octeon-hcd.c if (!list_empty(&usb->idle_pipes) || usb 662 drivers/staging/octeon-usb/octeon-hcd.c !list_empty(&usb->active_pipes[CVMX_USB_TRANSFER_ISOCHRONOUS]) || usb 663 drivers/staging/octeon-usb/octeon-hcd.c !list_empty(&usb->active_pipes[CVMX_USB_TRANSFER_INTERRUPT]) || usb 664 drivers/staging/octeon-usb/octeon-hcd.c !list_empty(&usb->active_pipes[CVMX_USB_TRANSFER_CONTROL]) || usb 665 drivers/staging/octeon-usb/octeon-hcd.c !list_empty(&usb->active_pipes[CVMX_USB_TRANSFER_BULK])) usb 669 drivers/staging/octeon-usb/octeon-hcd.c usbn_clk_ctl.u64 = cvmx_read64_uint64(CVMX_USBNX_CLK_CTL(usb->index)); usb 675 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); usb 690 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb) usb 712 drivers/staging/octeon-usb/octeon-hcd.c usbn_clk_ctl.u64 = cvmx_read64_uint64(CVMX_USBNX_CLK_CTL(usb->index)); usb 722 drivers/staging/octeon-usb/octeon-hcd.c if (usb->init_flags & CVMX_USB_INITIALIZE_FLAGS_CLOCK_XO_GND) { usb 737 drivers/staging/octeon-usb/octeon-hcd.c switch (usb->init_flags & usb 774 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); usb 778 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); usb 787 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); usb 796 drivers/staging/octeon-usb/octeon-hcd.c cvmx_read64_uint64(CVMX_USBNX_USBP_CTL_STATUS(usb->index)); usb 798 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_USBP_CTL_STATUS(usb->index), usb 807 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_USBP_CTL_STATUS(usb->index), usb 814 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); usb 821 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_USBP_CTL_STATUS(usb->index), usb 830 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); usb 833 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); usb 855 drivers/staging/octeon-usb/octeon-hcd.c usbcx_gahbcfg.s.dmaen = !(usb->init_flags & usb 861 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GAHBCFG(usb->index), usb 871 drivers/staging/octeon-usb/octeon-hcd.c usbcx_gusbcfg.u32 = cvmx_usb_read_csr32(usb, usb 872 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GUSBCFG(usb->index)); usb 877 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GUSBCFG(usb->index), usb 886 drivers/staging/octeon-usb/octeon-hcd.c usbcx_gintmsk.u32 = cvmx_usb_read_csr32(usb, usb 887 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GINTMSK(usb->index)); usb 893 drivers/staging/octeon-usb/octeon-hcd.c if (usb->init_flags & CVMX_USB_INITIALIZE_FLAGS_NO_DMA) usb 895 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GINTMSK(usb->index), usb 902 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 903 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTMSKX(channel, usb->index), usb 912 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), usb 914 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), usb 921 drivers/staging/octeon-usb/octeon-hcd.c usbcx_hcfg.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HCFG(usb->index)); usb 924 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HCFG(usb->index), usbcx_hcfg.u32); usb 926 drivers/staging/octeon-usb/octeon-hcd.c cvmx_fifo_setup(usb); usb 933 drivers/staging/octeon-usb/octeon-hcd.c usbc_gintsts.u32 = cvmx_usb_read_csr32(usb, usb 934 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GINTSTS(usb->index)); usb 935 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GINTSTS(usb->index), usb 945 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_shutdown(usb); usb 956 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_reset_port(struct octeon_hcd *usb) usb 958 drivers/staging/octeon-usb/octeon-hcd.c usb->usbcx_hprt.u32 = cvmx_usb_read_csr32(usb, usb 959 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HPRT(usb->index)); usb 962 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), cvmx_usbcx_hprt, usb 972 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), cvmx_usbcx_hprt, usb 979 drivers/staging/octeon-usb/octeon-hcd.c usb->usbcx_hprt.u32 = cvmx_usb_read_csr32(usb, usb 980 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HPRT(usb->index)); usb 993 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_usb_disable(struct octeon_hcd *usb) usb 996 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), cvmx_usbcx_hprt, usb 1012 drivers/staging/octeon-usb/octeon-hcd.c static struct cvmx_usb_port_status cvmx_usb_get_status(struct octeon_hcd *usb) usb 1019 drivers/staging/octeon-usb/octeon-hcd.c usbc_hprt.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HPRT(usb->index)); usb 1026 drivers/staging/octeon-usb/octeon-hcd.c result.connected != usb->port_status.connected; usb 1083 drivers/staging/octeon-usb/octeon-hcd.c static struct cvmx_usb_pipe *cvmx_usb_open_pipe(struct octeon_hcd *usb, usb 1120 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { usb 1123 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame = ((usb->frame_number + 7) & ~7) + usb 1127 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame = usb->frame_number + pipe->interval; usb 1134 drivers/staging/octeon-usb/octeon-hcd.c list_add_tail(&pipe->node, &usb->idle_pipes); usb 1151 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_poll_rx_fifo(struct octeon_hcd *usb) usb 1159 drivers/staging/octeon-usb/octeon-hcd.c rx_status.u32 = cvmx_usb_read_csr32(usb, usb 1160 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GRXSTSPH(usb->index)); usb 1174 drivers/staging/octeon-usb/octeon-hcd.c address = cvmx_read64_uint64(CVMX_USBNX_DMA0_INB_CHN0(usb->index) + usb 1178 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_DMA0_INB_CHN0(usb->index) + channel * 8, usb 1183 drivers/staging/octeon-usb/octeon-hcd.c *ptr++ = cvmx_usb_read_csr32(usb, usb 1184 drivers/staging/octeon-usb/octeon-hcd.c USB_FIFO_ADDRESS(channel, usb->index)); usb 1201 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_usb_fill_tx_hw(struct octeon_hcd *usb, usb 1212 drivers/staging/octeon-usb/octeon-hcd.c usb->index) ^ 4; usb 1237 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBNX_DMA0_INB_CHN0(usb->index)); usb 1246 drivers/staging/octeon-usb/octeon-hcd.c cvmx_read64_uint64(CVMX_USBNX_DMA0_INB_CHN0(usb->index)); usb 1256 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_poll_tx_fifo(struct octeon_hcd *usb) usb 1258 drivers/staging/octeon-usb/octeon-hcd.c if (usb->periodic.head != usb->periodic.tail) { usb 1261 drivers/staging/octeon-usb/octeon-hcd.c tx_status.u32 = cvmx_usb_read_csr32(usb, usb 1262 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HPTXSTS(usb->index)); usb 1263 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_fill_tx_hw(usb, &usb->periodic, usb 1265 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), usb 1268 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), usb 1272 drivers/staging/octeon-usb/octeon-hcd.c if (usb->nonperiodic.head != usb->nonperiodic.tail) { usb 1275 drivers/staging/octeon-usb/octeon-hcd.c tx_status.u32 = cvmx_usb_read_csr32(usb, usb 1276 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GNPTXSTS(usb->index)); usb 1277 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_fill_tx_hw(usb, &usb->nonperiodic, usb 1279 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), usb 1282 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), usb 1293 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_fill_tx_fifo(struct octeon_hcd *usb, int channel) usb 1301 drivers/staging/octeon-usb/octeon-hcd.c hcchar.u32 = cvmx_usb_read_csr32(usb, usb 1302 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index)); usb 1307 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcsplt.u32 = cvmx_usb_read_csr32(usb, usb 1308 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCSPLTX(channel, usb->index)); usb 1316 drivers/staging/octeon-usb/octeon-hcd.c usbc_hctsiz.u32 = cvmx_usb_read_csr32(usb, usb 1317 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCTSIZX(channel, usb->index)); usb 1323 drivers/staging/octeon-usb/octeon-hcd.c fifo = &usb->periodic; usb 1325 drivers/staging/octeon-usb/octeon-hcd.c fifo = &usb->nonperiodic; usb 1329 drivers/staging/octeon-usb/octeon-hcd.c cvmx_read64_uint64(CVMX_USBNX_DMA0_OUTB_CHN0(usb->index) + usb 1336 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_poll_tx_fifo(usb); usb 1347 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_start_channel_control(struct octeon_hcd *usb, usb 1351 drivers/staging/octeon-usb/octeon-hcd.c struct usb_hcd *hcd = octeon_to_hcd(usb); usb 1363 drivers/staging/octeon-usb/octeon-hcd.c usbc_hctsiz.u32 = cvmx_usb_read_csr32(usb, usb 1364 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCTSIZX(channel, usb->index)); usb 1375 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), usb 1382 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_DMA0_OUTB_CHN0(usb->index) + usb 1390 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), usb 1394 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCSPLTX(channel, usb->index), usb 1399 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { usb 1405 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), usb 1415 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), usb 1420 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCSPLTX(channel, usb->index), usb 1426 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), usb 1435 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), usb 1440 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCSPLTX(channel, usb->index), usb 1464 drivers/staging/octeon-usb/octeon-hcd.c (usb->init_flags & CVMX_USB_INITIALIZE_FLAGS_NO_DMA)) { usb 1484 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HCTSIZX(channel, usb->index), usb 1495 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_start_channel(struct octeon_hcd *usb, int channel, usb 1506 drivers/staging/octeon-usb/octeon-hcd.c usb->pipe_for_channel[channel] = pipe; usb 1511 drivers/staging/octeon-usb/octeon-hcd.c usb->idle_hardware_channels &= ~(1 << channel); usb 1520 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcint.u32 = cvmx_usb_read_csr32(usb, usb 1521 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTX(channel, usb->index)); usb 1523 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 1524 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTX(channel, usb->index), usb 1529 drivers/staging/octeon-usb/octeon-hcd.c if (usb->init_flags & CVMX_USB_INITIALIZE_FLAGS_NO_DMA) { usb 1538 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { usb 1550 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 1551 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTMSKX(channel, usb->index), usb 1555 drivers/staging/octeon-usb/octeon-hcd.c usbc_haintmsk.u32 = cvmx_usb_read_csr32(usb, usb 1556 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HAINTMSK(usb->index)); usb 1558 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HAINTMSK(usb->index), usb 1574 drivers/staging/octeon-usb/octeon-hcd.c reg = CVMX_USBNX_DMA0_OUTB_CHN0(usb->index); usb 1576 drivers/staging/octeon-usb/octeon-hcd.c reg = CVMX_USBNX_DMA0_INB_CHN0(usb->index); usb 1601 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { usb 1611 drivers/staging/octeon-usb/octeon-hcd.c (usb->frame_number + 1) & 0x7f; usb 1614 drivers/staging/octeon-usb/octeon-hcd.c (usb->frame_number + 2) & 0x7f; usb 1707 drivers/staging/octeon-usb/octeon-hcd.c (usb->init_flags & usb 1739 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 1740 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCSPLTX(channel, usb->index), usb 1742 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 1743 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCTSIZX(channel, usb->index), usb 1755 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.s.oddfrm = usb->frame_number & 1; usb 1763 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) usb 1780 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 1781 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index), usb 1788 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_start_channel_control(usb, channel, pipe); usb 1794 drivers/staging/octeon-usb/octeon-hcd.c if (!cvmx_usb_pipe_needs_split(usb, pipe)) { usb 1803 drivers/staging/octeon-usb/octeon-hcd.c usb->index), usb 1808 drivers/staging/octeon-usb/octeon-hcd.c usb->index), usb 1816 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_read_csr32(usb, usb 1818 drivers/staging/octeon-usb/octeon-hcd.c usb->index)) usb 1824 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) usb 1825 drivers/staging/octeon-usb/octeon-hcd.c usb->active_split = transaction; usb 1826 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), usb 1828 drivers/staging/octeon-usb/octeon-hcd.c if (usb->init_flags & CVMX_USB_INITIALIZE_FLAGS_NO_DMA) usb 1829 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_fill_tx_fifo(usb, channel); usb 1840 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb, usb 1843 drivers/staging/octeon-usb/octeon-hcd.c struct list_head *list = usb->active_pipes + xfer_type; usb 1844 drivers/staging/octeon-usb/octeon-hcd.c u64 current_frame = usb->frame_number; usb 1856 drivers/staging/octeon-usb/octeon-hcd.c (!usb->active_split || (usb->active_split == t))) { usb 1864 drivers/staging/octeon-usb/octeon-hcd.c static struct cvmx_usb_pipe *cvmx_usb_next_pipe(struct octeon_hcd *usb, usb 1876 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_find_ready_pipe(usb, usb 1880 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_find_ready_pipe(usb, usb 1885 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_find_ready_pipe(usb, CVMX_USB_TRANSFER_CONTROL); usb 1888 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_find_ready_pipe(usb, CVMX_USB_TRANSFER_BULK); usb 1898 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_schedule(struct octeon_hcd *usb, int is_sof) usb 1905 drivers/staging/octeon-usb/octeon-hcd.c if (usb->init_flags & CVMX_USB_INITIALIZE_FLAGS_NO_DMA) { usb 1911 drivers/staging/octeon-usb/octeon-hcd.c .u32 = cvmx_usb_read_csr32(usb, usb 1912 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HFNUM(usb->index)) usb 1916 drivers/staging/octeon-usb/octeon-hcd.c .u32 = cvmx_usb_read_csr32(usb, usb 1917 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HFIR(usb->index)) usb 1924 drivers/staging/octeon-usb/octeon-hcd.c while (usb->idle_hardware_channels) { usb 1926 drivers/staging/octeon-usb/octeon-hcd.c channel = __fls(usb->idle_hardware_channels); usb 1930 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_next_pipe(usb, is_sof); usb 1934 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_start_channel(usb, channel, pipe); usb 1945 drivers/staging/octeon-usb/octeon-hcd.c list_for_each_entry(pipe, &usb->active_pipes[ttype], node) { usb 1946 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->next_tx_frame > usb->frame_number) { usb 1952 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), usb 1956 drivers/staging/octeon-usb/octeon-hcd.c static void octeon_usb_urb_complete_callback(struct octeon_hcd *usb, usb 1964 drivers/staging/octeon-usb/octeon-hcd.c struct usb_hcd *hcd = octeon_to_hcd(usb); usb 2039 drivers/staging/octeon-usb/octeon-hcd.c usb_hcd_unlink_urb_from_ep(octeon_to_hcd(usb), urb); usb 2040 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock(&usb->lock); usb 2041 drivers/staging/octeon-usb/octeon-hcd.c usb_hcd_giveback_urb(octeon_to_hcd(usb), urb, urb->status); usb 2042 drivers/staging/octeon-usb/octeon-hcd.c spin_lock(&usb->lock); usb 2056 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_complete(struct octeon_hcd *usb, usb 2062 drivers/staging/octeon-usb/octeon-hcd.c if (usb->active_split == transaction) usb 2063 drivers/staging/octeon-usb/octeon-hcd.c usb->active_split = NULL; usb 2094 drivers/staging/octeon-usb/octeon-hcd.c list_move_tail(&pipe->node, &usb->idle_pipes); usb 2095 drivers/staging/octeon-usb/octeon-hcd.c octeon_usb_urb_complete_callback(usb, complete_code, pipe, usb 2125 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb, usb 2164 drivers/staging/octeon-usb/octeon-hcd.c &usb->active_pipes[pipe->transfer_type]); usb 2170 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_schedule(usb, 0); usb 2186 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb, usb 2190 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_submit_transaction(usb, pipe, CVMX_USB_TRANSFER_BULK, usb 2210 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb, usb 2214 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_submit_transaction(usb, pipe, usb 2235 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb, usb 2246 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_submit_transaction(usb, pipe, usb 2266 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb, usb 2273 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_submit_transaction(usb, pipe, usb 2296 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_usb_cancel(struct octeon_hcd *usb, usb 2308 drivers/staging/octeon-usb/octeon-hcd.c usb->pipe_for_channel[pipe->channel] = NULL; usb 2313 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.u32 = cvmx_usb_read_csr32(usb, usb 2314 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(pipe->channel, usb->index)); usb 2321 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 2323 drivers/staging/octeon-usb/octeon-hcd.c usb->index), usb 2327 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, CVMX_USB_STATUS_CANCEL); usb 2340 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_usb_cancel_all(struct octeon_hcd *usb, usb 2347 drivers/staging/octeon-usb/octeon-hcd.c int result = cvmx_usb_cancel(usb, pipe, transaction); usb 2364 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_usb_close_pipe(struct octeon_hcd *usb, usb 2385 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_usb_get_frame_number(struct octeon_hcd *usb) usb 2389 drivers/staging/octeon-usb/octeon-hcd.c usbc_hfnum.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HFNUM(usb->index)); usb 2394 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_transfer_control(struct octeon_hcd *usb, usb 2405 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2410 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { usb 2433 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { usb 2465 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) usb 2469 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2473 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, CVMX_USB_STATUS_OK); usb 2478 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_transfer_bulk(struct octeon_hcd *usb, usb 2490 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { usb 2498 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2507 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2512 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_transfer_intr(struct octeon_hcd *usb, usb 2518 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { usb 2527 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2533 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, CVMX_USB_STATUS_OK); usb 2537 drivers/staging/octeon-usb/octeon-hcd.c static void cvmx_usb_transfer_isoc(struct octeon_hcd *usb, usb 2544 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { usb 2559 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2573 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2582 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, CVMX_USB_STATUS_OK); usb 2594 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_usb_poll_channel(struct octeon_hcd *usb, int channel) usb 2596 drivers/staging/octeon-usb/octeon-hcd.c struct usb_hcd *hcd = octeon_to_hcd(usb); usb 2609 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcint.u32 = cvmx_usb_read_csr32(usb, usb 2610 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTX(channel, usb->index)); usb 2612 drivers/staging/octeon-usb/octeon-hcd.c if (usb->init_flags & CVMX_USB_INITIALIZE_FLAGS_NO_DMA) { usb 2613 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.u32 = cvmx_usb_read_csr32(usb, usb 2614 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index)); usb 2622 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 2624 drivers/staging/octeon-usb/octeon-hcd.c usb->index), usb 2639 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 2640 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTMSKX(channel, usb->index), usb 2643 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, usb 2644 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index), usb 2654 drivers/staging/octeon-usb/octeon-hcd.c usb->index, channel); usb 2668 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HCINTMSKX(channel, usb->index), 0); usb 2669 drivers/staging/octeon-usb/octeon-hcd.c usb->idle_hardware_channels |= (1 << channel); usb 2672 drivers/staging/octeon-usb/octeon-hcd.c pipe = usb->pipe_for_channel[channel]; usb 2685 drivers/staging/octeon-usb/octeon-hcd.c usb->pipe_for_channel[channel] = NULL; usb 2692 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.u32 = cvmx_usb_read_csr32(usb, usb 2693 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index)); usb 2694 drivers/staging/octeon-usb/octeon-hcd.c usbc_hctsiz.u32 = cvmx_usb_read_csr32(usb, usb 2695 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCTSIZX(channel, usb->index)); usb 2777 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2790 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2798 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2802 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2806 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2815 drivers/staging/octeon-usb/octeon-hcd.c if (!cvmx_usb_pipe_needs_split(usb, pipe)) { usb 2823 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, usb 2859 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_transfer_control(usb, pipe, transaction, usb 2865 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_transfer_bulk(usb, pipe, transaction, usb 2870 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_transfer_intr(usb, pipe, transaction, usb 2875 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_transfer_isoc(usb, pipe, transaction, usb 2885 drivers/staging/octeon-usb/octeon-hcd.c if (usb->active_split == transaction) usb 2886 drivers/staging/octeon-usb/octeon-hcd.c usb->active_split = NULL; usb 2896 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->next_tx_frame < usb->frame_number) usb 2897 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame = usb->frame_number + usb 2899 drivers/staging/octeon-usb/octeon-hcd.c (usb->frame_number - pipe->next_tx_frame) % usb 2904 drivers/staging/octeon-usb/octeon-hcd.c port = cvmx_usb_get_status(usb); usb 2913 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, usb 2920 drivers/staging/octeon-usb/octeon-hcd.c static void octeon_usb_port_callback(struct octeon_hcd *usb) usb 2922 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock(&usb->lock); usb 2923 drivers/staging/octeon-usb/octeon-hcd.c usb_hcd_poll_rh_status(octeon_to_hcd(usb)); usb 2924 drivers/staging/octeon-usb/octeon-hcd.c spin_lock(&usb->lock); usb 2937 drivers/staging/octeon-usb/octeon-hcd.c static int cvmx_usb_poll(struct octeon_hcd *usb) usb 2942 drivers/staging/octeon-usb/octeon-hcd.c prefetch_range(usb, sizeof(*usb)); usb 2945 drivers/staging/octeon-usb/octeon-hcd.c usbc_hfnum.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HFNUM(usb->index)); usb 2946 drivers/staging/octeon-usb/octeon-hcd.c if ((usb->frame_number & 0x3fff) > usbc_hfnum.s.frnum) usb 2947 drivers/staging/octeon-usb/octeon-hcd.c usb->frame_number += 0x4000; usb 2948 drivers/staging/octeon-usb/octeon-hcd.c usb->frame_number &= ~0x3fffull; usb 2949 drivers/staging/octeon-usb/octeon-hcd.c usb->frame_number |= usbc_hfnum.s.frnum; usb 2952 drivers/staging/octeon-usb/octeon-hcd.c usbc_gintsts.u32 = cvmx_usb_read_csr32(usb, usb 2953 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GINTSTS(usb->index)); usb 2956 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GINTSTS(usb->index), usb 2967 drivers/staging/octeon-usb/octeon-hcd.c if (usb->init_flags & CVMX_USB_INITIALIZE_FLAGS_NO_DMA) usb 2968 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_poll_rx_fifo(usb); usb 2972 drivers/staging/octeon-usb/octeon-hcd.c if (usb->init_flags & CVMX_USB_INITIALIZE_FLAGS_NO_DMA) usb 2973 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_poll_tx_fifo(usb); usb 2991 drivers/staging/octeon-usb/octeon-hcd.c octeon_usb_port_callback(usb); usb 2994 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_read_csr32(usb, CVMX_USBCX_HPRT(usb->index)); usb 2996 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HPRT(usb->index), usb 3014 drivers/staging/octeon-usb/octeon-hcd.c usbc_haint.u32 = cvmx_usb_read_csr32(usb, usb 3015 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HAINT(usb->index)); usb 3020 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_poll_channel(usb, channel); usb 3025 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_schedule(usb, usbc_gintsts.s.sof); usb 3038 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb = hcd_to_octeon(hcd); usb 3041 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3042 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_poll(usb); usb 3043 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3060 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb = hcd_to_octeon(hcd); usb 3062 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_get_frame_number(usb); usb 3069 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb = hcd_to_octeon(hcd); usb 3079 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3083 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3149 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_open_pipe(usb, usb_pipedevice(urb->pipe), usb 3163 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3200 drivers/staging/octeon-usb/octeon-hcd.c transaction = cvmx_usb_submit_isochronous(usb, usb 3216 drivers/staging/octeon-usb/octeon-hcd.c transaction = cvmx_usb_submit_interrupt(usb, pipe, urb); usb 3222 drivers/staging/octeon-usb/octeon-hcd.c transaction = cvmx_usb_submit_control(usb, pipe, urb); usb 3228 drivers/staging/octeon-usb/octeon-hcd.c transaction = cvmx_usb_submit_bulk(usb, pipe, urb); usb 3233 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3238 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3246 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb = hcd_to_octeon(hcd); usb 3253 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3260 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_cancel(usb, urb->ep->hcpriv, urb->hcpriv); usb 3263 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3274 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb = hcd_to_octeon(hcd); usb 3278 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3279 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_cancel_all(usb, pipe); usb 3280 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_close_pipe(usb, pipe)) usb 3282 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3289 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb = hcd_to_octeon(hcd); usb 3293 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3294 drivers/staging/octeon-usb/octeon-hcd.c port_status = cvmx_usb_get_status(usb); usb 3295 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3304 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb = hcd_to_octeon(hcd); usb 3333 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3334 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_disable(usb); usb 3335 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3352 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3353 drivers/staging/octeon-usb/octeon-hcd.c usb->port_status = cvmx_usb_get_status(usb); usb 3354 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3361 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3362 drivers/staging/octeon-usb/octeon-hcd.c usb->port_status = cvmx_usb_get_status(usb); usb 3363 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3371 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3372 drivers/staging/octeon-usb/octeon-hcd.c usb->port_status = cvmx_usb_get_status(usb); usb 3373 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3386 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3387 drivers/staging/octeon-usb/octeon-hcd.c usb->port_status = cvmx_usb_get_status(usb); usb 3388 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3418 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3419 drivers/staging/octeon-usb/octeon-hcd.c usb_port_status = cvmx_usb_get_status(usb); usb 3420 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3483 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3484 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), usb 3486 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3490 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3491 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_reset_port(usb); usb 3492 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 3537 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb; usb 3637 drivers/staging/octeon-usb/octeon-hcd.c usb = (struct octeon_hcd *)hcd->hcd_priv; usb 3639 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_init(&usb->lock); usb 3641 drivers/staging/octeon-usb/octeon-hcd.c usb->init_flags = initialize_flags; usb 3644 drivers/staging/octeon-usb/octeon-hcd.c usb->index = usb_num; usb 3645 drivers/staging/octeon-usb/octeon-hcd.c INIT_LIST_HEAD(&usb->idle_pipes); usb 3646 drivers/staging/octeon-usb/octeon-hcd.c for (i = 0; i < ARRAY_SIZE(usb->active_pipes); i++) usb 3647 drivers/staging/octeon-usb/octeon-hcd.c INIT_LIST_HEAD(&usb->active_pipes[i]); usb 3651 drivers/staging/octeon-usb/octeon-hcd.c usb->init_flags |= CVMX_USB_INITIALIZE_FLAGS_NO_DMA; usb 3653 drivers/staging/octeon-usb/octeon-hcd.c usb->idle_hardware_channels = 0x1; usb 3656 drivers/staging/octeon-usb/octeon-hcd.c usb->idle_hardware_channels = 0xf7; usb 3658 drivers/staging/octeon-usb/octeon-hcd.c usb->idle_hardware_channels = 0xff; usb 3661 drivers/staging/octeon-usb/octeon-hcd.c status = cvmx_usb_initialize(dev, usb); usb 3686 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_hcd *usb = hcd_to_octeon(hcd); usb 3690 drivers/staging/octeon-usb/octeon-hcd.c spin_lock_irqsave(&usb->lock, flags); usb 3691 drivers/staging/octeon-usb/octeon-hcd.c status = cvmx_usb_shutdown(usb); usb 3692 drivers/staging/octeon-usb/octeon-hcd.c spin_unlock_irqrestore(&usb->lock, flags); usb 1057 drivers/staging/octeon/octeon-stubs.h uint64_t usb:1; usb 1123 drivers/staging/octeon/octeon-stubs.h uint64_t usb:1; usb 48 drivers/staging/rtl8188eu/os_dep/usb_intf.c MODULE_DEVICE_TABLE(usb, rtw_usb_id_tbl); usb 94 drivers/staging/rtl8192u/r8192U_core.c MODULE_DEVICE_TABLE(usb, rtl8192_usb_id_tbl); usb 165 drivers/staging/rtl8712/usb_intf.c MODULE_DEVICE_TABLE(usb, rtl871x_usb_id_tbl); usb 914 drivers/staging/uwb/hwa-rc.c MODULE_DEVICE_TABLE(usb, hwarc_id_table); usb 434 drivers/staging/uwb/i1480/dfu/usb.c MODULE_DEVICE_TABLE(usb, i1480_usb_id_table); usb 85 drivers/staging/uwb/i1480/i1480-est.c MODULE_DEVICE_TABLE(usb, i1480_est_id_table); usb 382 drivers/staging/vt6656/baseband.c dev_dbg(&priv->usb->dev, "RF Type %d\n", priv->rf_type); usb 854 drivers/staging/vt6656/baseband.c dev_dbg(&priv->usb->dev, "%s bb_pre_ed_rssi %d\n", usb 118 drivers/staging/vt6656/card.c dev_dbg(&priv->usb->dev, "%s basic rate: %d\n", usb 122 drivers/staging/vt6656/card.c dev_dbg(&priv->usb->dev, "%s (NO OFDM) %d\n", usb 131 drivers/staging/vt6656/card.c dev_dbg(&priv->usb->dev, "%s rate: %d\n", usb 138 drivers/staging/vt6656/card.c dev_dbg(&priv->usb->dev, "%s basic rate: 24M\n", __func__); usb 660 drivers/staging/vt6656/card.c dev_dbg(&priv->usb->dev, "%s TBTT: %8llx\n", __func__, tsf); usb 263 drivers/staging/vt6656/device.h struct usb_device *usb; usb 56 drivers/staging/vt6656/dpc.c dev_dbg(&priv->usb->dev, "------- WRONG Length 1\n"); usb 62 drivers/staging/vt6656/dpc.c dev_dbg(&priv->usb->dev, "------ WRONG Length 2\n"); usb 81 drivers/staging/vt6656/dpc.c dev_dbg(&priv->usb->dev, "Wrong PLCP Length %x\n", usb 103 drivers/staging/vt6656/dpc.c dev_dbg(&priv->usb->dev, "Wrong RxRate %x\n", *rx_rate); usb 31 drivers/staging/vt6656/firmware.c struct device *dev = &priv->usb->dev; usb 76 drivers/staging/vt6656/firmware.c dev_dbg(&priv->usb->dev, "---->Branch to Sram\n"); usb 89 drivers/staging/vt6656/firmware.c dev_dbg(&priv->usb->dev, usb 94 drivers/staging/vt6656/firmware.c dev_dbg(&priv->usb->dev, "Firmware Version [%04x]\n", usb 98 drivers/staging/vt6656/firmware.c dev_dbg(&priv->usb->dev, "In Loader.\n"); usb 107 drivers/staging/vt6656/firmware.c dev_dbg(&priv->usb->dev, usb 47 drivers/staging/vt6656/int.c dev_dbg(&priv->usb->dev, "---->Interrupt Polling Thread\n"); usb 121 drivers/staging/vt6656/int.c dev_dbg(&priv->usb->dev, "---->s_nsInterruptProcessData\n"); usb 124 drivers/staging/vt6656/mac.c dev_dbg(&priv->usb->dev, "offset %d key ctl %d set key %24ph\n", usb 120 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "---->INIbInitAdapter. [%d][%d]\n", usb 127 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, usb 134 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, usb 142 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "vnt_vt3184_init fail\n"); usb 158 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "Issue Card init fail\n"); usb 166 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "Cardinit request in status fail!\n"); usb 328 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "Network address = %pM\n", usb 382 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "<----INIbInitAdapter Exit\n"); usb 539 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "vnt_alloc_bufs fail...\n"); usb 547 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, " init register fail\n"); usb 723 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "basic rates %x\n", conf->basic_rates); usb 763 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, usb 830 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "rx mode in = %x\n", rx_mode); usb 854 drivers/staging/vt6656/main_usb.c dev_dbg(&priv->usb->dev, "rx mode out= %x\n", rx_mode); usb 998 drivers/staging/vt6656/main_usb.c priv->usb = udev; usb 1028 drivers/staging/vt6656/main_usb.c rc = usb_reset_device(priv->usb); usb 1030 drivers/staging/vt6656/main_usb.c dev_warn(&priv->usb->dev, usb 1078 drivers/staging/vt6656/main_usb.c MODULE_DEVICE_TABLE(usb, vt6656_table); usb 77 drivers/staging/vt6656/power.c dev_dbg(&priv->usb->dev, "PS:Power Saving Mode Enable...\n"); usb 752 drivers/staging/vt6656/rf.c dev_dbg(&priv->usb->dev, usb 763 drivers/staging/vt6656/rf.c dev_dbg(&priv->usb->dev, usb 73 drivers/staging/vt6656/rxtx.c dev_dbg(&priv->usb->dev, "%s\n", __func__); usb 92 drivers/staging/vt6656/rxtx.c dev_dbg(&priv->usb->dev, "%s No Free Tx Context\n", __func__); usb 831 drivers/staging/vt6656/rxtx.c dev_dbg(&priv->usb->dev, "%s No free context\n", __func__); usb 1005 drivers/staging/vt6656/rxtx.c dev_dbg(&priv->usb->dev, "%s No free context!\n", __func__); usb 55 drivers/staging/vt6656/usbpipe.c ret = usb_control_msg(priv->usb, usb 56 drivers/staging/vt6656/usbpipe.c usb_sndctrlpipe(priv->usb, 0), usb 115 drivers/staging/vt6656/usbpipe.c ret = usb_control_msg(priv->usb, usb 116 drivers/staging/vt6656/usbpipe.c usb_rcvctrlpipe(priv->usb, 0), usb 163 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "%s status = %d\n", __func__, status); usb 170 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "Submit int URB failed %d\n", status); usb 187 drivers/staging/vt6656/usbpipe.c priv->usb, usb 188 drivers/staging/vt6656/usbpipe.c usb_rcvintpipe(priv->usb, 1), usb 197 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "Submit int URB failed %d\n", ret); usb 223 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "BULK In failed %d\n", urb->status); usb 244 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "Failed to re submit rx skb\n"); usb 256 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "rcb->skb is null\n"); usb 262 drivers/staging/vt6656/usbpipe.c priv->usb, usb 263 drivers/staging/vt6656/usbpipe.c usb_rcvbulkpipe(priv->usb, 2), usb 271 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "Submit Rx URB failed %d\n", ret); usb 288 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "Write %d bytes\n", context->buf_len); usb 297 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "BULK Out failed %d\n", urb->status); usb 324 drivers/staging/vt6656/usbpipe.c priv->usb, usb 325 drivers/staging/vt6656/usbpipe.c usb_sndbulkpipe(priv->usb, 3), usb 333 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "Submit Tx URB failed %d\n", status); usb 97 drivers/staging/vt6656/wcmd.c dev_info(&priv->usb->dev, "Starting mac80211\n"); usb 101 drivers/staging/vt6656/wcmd.c dev_err(&priv->usb->dev, "failed to start\n"); usb 131 drivers/staging/vt6656/wcmd.c dev_dbg(&priv->usb->dev, "Change from Antenna%d to", usb 1233 drivers/staging/wlan-ng/hfa384x.h struct usb_device *usb; usb 1369 drivers/staging/wlan-ng/hfa384x.h void hfa384x_create(struct hfa384x *hw, struct usb_device *usb); usb 337 drivers/staging/wlan-ng/hfa384x_usb.c usb_fill_bulk_urb(&hw->rx_urb, hw->usb, usb 449 drivers/staging/wlan-ng/hfa384x_usb.c ret = usb_clear_halt(hw->usb, hw->endp_in); usb 481 drivers/staging/wlan-ng/hfa384x_usb.c ret = usb_clear_halt(hw->usb, hw->endp_out); usb 527 drivers/staging/wlan-ng/hfa384x_usb.c void hfa384x_create(struct hfa384x *hw, struct usb_device *usb) usb 530 drivers/staging/wlan-ng/hfa384x_usb.c hw->usb = usb; usb 533 drivers/staging/wlan-ng/hfa384x_usb.c hw->endp_in = usb_rcvbulkpipe(usb, 1); usb 534 drivers/staging/wlan-ng/hfa384x_usb.c hw->endp_out = usb_sndbulkpipe(usb, 2); usb 1060 drivers/staging/wlan-ng/hfa384x_usb.c result = usb_reset_device(hw->usb); usb 2341 drivers/staging/wlan-ng/hfa384x_usb.c usb_get_std_status(hw->usb, USB_RECIP_ENDPOINT, hw->endp_in, usb 2347 drivers/staging/wlan-ng/hfa384x_usb.c if ((status == 1) && usb_clear_halt(hw->usb, hw->endp_in)) usb 2351 drivers/staging/wlan-ng/hfa384x_usb.c usb_get_std_status(hw->usb, USB_RECIP_ENDPOINT, hw->endp_out, usb 2357 drivers/staging/wlan-ng/hfa384x_usb.c if ((status == 1) && usb_clear_halt(hw->usb, hw->endp_out)) usb 2558 drivers/staging/wlan-ng/hfa384x_usb.c usb_fill_bulk_urb(&hw->tx_urb, hw->usb, usb 2842 drivers/staging/wlan-ng/hfa384x_usb.c usb_fill_bulk_urb(&hw->ctlx_urb, hw->usb, usb 58 drivers/staging/wlan-ng/prism2usb.c MODULE_DEVICE_TABLE(usb, usb_prism_tbl); usb 207 drivers/staging/wlan-ng/prism2usb.c usb_put_dev(hw->usb); usb 632 drivers/staging/wusbcore/cbaf.c MODULE_DEVICE_TABLE(usb, cbaf_id_table); usb 862 drivers/staging/wusbcore/host/hwa-hc.c MODULE_DEVICE_TABLE(usb, hwahc_id_table); usb 1335 drivers/usb/atm/cxacru.c MODULE_DEVICE_TABLE(usb, cxacru_usb_ids); usb 733 drivers/usb/atm/speedtch.c MODULE_DEVICE_TABLE(usb, speedtch_usb_ids); usb 576 drivers/usb/atm/ueagle-atm.c static int uea_send_modem_cmd(struct usb_device *usb, usb 584 drivers/usb/atm/ueagle-atm.c ret = usb_control_msg(usb, usb 585 drivers/usb/atm/ueagle-atm.c usb_sndctrlpipe(usb, 0), usb 602 drivers/usb/atm/ueagle-atm.c struct usb_device *usb = context; usb 608 drivers/usb/atm/ueagle-atm.c uea_enters(usb); usb 610 drivers/usb/atm/ueagle-atm.c uea_err(usb, "firmware is not available\n"); usb 629 drivers/usb/atm/ueagle-atm.c ret = uea_send_modem_cmd(usb, F8051_USBCS, sizeof(value), &value); usb 632 drivers/usb/atm/ueagle-atm.c uea_err(usb, "modem reset failed with error %d\n", ret); usb 644 drivers/usb/atm/ueagle-atm.c ret = uea_send_modem_cmd(usb, add, len, pfw + 3); usb 646 drivers/usb/atm/ueagle-atm.c uea_err(usb, "uploading firmware data failed " usb 660 drivers/usb/atm/ueagle-atm.c ret = uea_send_modem_cmd(usb, F8051_USBCS, 1, &value); usb 662 drivers/usb/atm/ueagle-atm.c uea_err(usb, "modem de-assert failed with error %d\n", ret); usb 664 drivers/usb/atm/ueagle-atm.c uea_info(usb, "firmware uploaded\n"); usb 669 drivers/usb/atm/ueagle-atm.c uea_err(usb, "firmware is corrupted\n"); usb 672 drivers/usb/atm/ueagle-atm.c uea_leaves(usb); usb 678 drivers/usb/atm/ueagle-atm.c static int uea_load_firmware(struct usb_device *usb, unsigned int ver) usb 683 drivers/usb/atm/ueagle-atm.c uea_enters(usb); usb 684 drivers/usb/atm/ueagle-atm.c uea_info(usb, "pre-firmware device, uploading firmware\n"); usb 704 drivers/usb/atm/ueagle-atm.c ret = request_firmware_nowait(THIS_MODULE, 1, fw_name, &usb->dev, usb 705 drivers/usb/atm/ueagle-atm.c GFP_KERNEL, usb, usb 708 drivers/usb/atm/ueagle-atm.c uea_err(usb, "firmware %s is not available\n", fw_name); usb 710 drivers/usb/atm/ueagle-atm.c uea_info(usb, "loading firmware %s\n", fw_name); usb 712 drivers/usb/atm/ueagle-atm.c uea_leaves(usb); usb 2493 drivers/usb/atm/ueagle-atm.c struct usb_device *usb = interface_to_usbdev(intf); usb 2498 drivers/usb/atm/ueagle-atm.c uea_enters(usb); usb 2507 drivers/usb/atm/ueagle-atm.c ret = claim_interface(usb, usbatm, UEA_US_IFACE_NO); usb 2514 drivers/usb/atm/ueagle-atm.c ret = claim_interface(usb, usbatm, UEA_DS_IFACE_NO); usb 2523 drivers/usb/atm/ueagle-atm.c sc->usb_dev = usb; usb 2547 drivers/usb/atm/ueagle-atm.c usb_set_interface(usb, UEA_DS_IFACE_NO, alt) == 0) { usb 2548 drivers/usb/atm/ueagle-atm.c uea_dbg(usb, "set alternate %u for 2 interface\n", alt); usb 2549 drivers/usb/atm/ueagle-atm.c uea_info(usb, "using iso mode\n"); usb 2552 drivers/usb/atm/ueagle-atm.c uea_err(usb, "setting alternate %u failed for " usb 2589 drivers/usb/atm/ueagle-atm.c struct usb_device *usb = interface_to_usbdev(intf); usb 2592 drivers/usb/atm/ueagle-atm.c uea_enters(usb); usb 2593 drivers/usb/atm/ueagle-atm.c uea_info(usb, "ADSL device founded vid (%#X) pid (%#X) Rev (%#X): %s\n", usb 2594 drivers/usb/atm/ueagle-atm.c le16_to_cpu(usb->descriptor.idVendor), usb 2595 drivers/usb/atm/ueagle-atm.c le16_to_cpu(usb->descriptor.idProduct), usb 2596 drivers/usb/atm/ueagle-atm.c le16_to_cpu(usb->descriptor.bcdDevice), usb 2599 drivers/usb/atm/ueagle-atm.c usb_reset_device(usb); usb 2602 drivers/usb/atm/ueagle-atm.c return uea_load_firmware(usb, UEA_CHIP_VERSION(id)); usb 2621 drivers/usb/atm/ueagle-atm.c struct usb_device *usb = interface_to_usbdev(intf); usb 2623 drivers/usb/atm/ueagle-atm.c uea_enters(usb); usb 2628 drivers/usb/atm/ueagle-atm.c if (usb->config->desc.bNumInterfaces != 1 && ifnum == 0) { usb 2632 drivers/usb/atm/ueagle-atm.c uea_info(usb, "ADSL device removed\n"); usb 2635 drivers/usb/atm/ueagle-atm.c uea_leaves(usb); usb 2724 drivers/usb/atm/ueagle-atm.c MODULE_DEVICE_TABLE(usb, uea_ids); usb 1935 drivers/usb/class/cdc-acm.c MODULE_DEVICE_TABLE(usb, acm_ids); usb 43 drivers/usb/class/cdc-wdm.c MODULE_DEVICE_TABLE (usb, wdm_ids); usb 1419 drivers/usb/class/usblp.c MODULE_DEVICE_TABLE(usb, usblp_ids); usb 55 drivers/usb/class/usbtmc.c MODULE_DEVICE_TABLE(usb, usbtmc_devices); usb 5529 drivers/usb/core/hub.c MODULE_DEVICE_TABLE(usb, hub_id_table); usb 37 drivers/usb/gadget/function/f_phonet.c struct f_phonet *usb; usb 235 drivers/usb/gadget/function/f_phonet.c fp = port->usb; usb 384 drivers/usb/gadget/function/f_phonet.c port->usb = NULL; usb 429 drivers/usb/gadget/function/f_phonet.c port->usb = fp; usb 456 drivers/usb/gadget/function/f_phonet.c alt = port->usb != NULL; usb 1493 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->usb->usbctl); usb 1495 drivers/usb/gadget/udc/net2280.c writel(BIT(GENERATE_RESUME), &dev->usb->usbstat); usb 1513 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->usb->usbctl); usb 1521 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->usb->usbctl); usb 1538 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->usb->usbctl); usb 1542 drivers/usb/gadget/udc/net2280.c writel(tmp | BIT(USB_DETECT_ENABLE), &dev->usb->usbctl); usb 1544 drivers/usb/gadget/udc/net2280.c writel(tmp & ~BIT(USB_DETECT_ENABLE), &dev->usb->usbctl); usb 1693 drivers/usb/gadget/udc/net2280.c t1 = readl(&dev->usb->usbctl); usb 1694 drivers/usb/gadget/udc/net2280.c t2 = readl(&dev->usb->usbstat); usb 1708 drivers/usb/gadget/udc/net2280.c readl(&dev->usb->stdrsp), t1, t2, usb 1709 drivers/usb/gadget/udc/net2280.c readl(&dev->usb->ouraddr), s); usb 2066 drivers/usb/gadget/udc/net2280.c (void) readl(&dev->usb->usbctl); usb 2071 drivers/usb/gadget/udc/net2280.c writel(0, &dev->usb->stdrsp); usb 2102 drivers/usb/gadget/udc/net2280.c (void)readl(&dev->usb->usbctl); usb 2108 drivers/usb/gadget/udc/net2280.c writel(0, &dev->usb->stdrsp); usb 2330 drivers/usb/gadget/udc/net2280.c &dev->usb->stdrsp); usb 2336 drivers/usb/gadget/udc/net2280.c &dev->usb->usbctl); usb 2352 drivers/usb/gadget/udc/net2280.c (void) readl(&dev->usb->usbctl); usb 2375 drivers/usb/gadget/udc/net2280.c &dev->usb->stdrsp); usb 2380 drivers/usb/gadget/udc/net2280.c &dev->usb->usbctl); usb 2393 drivers/usb/gadget/udc/net2280.c (void)readl(&dev->usb->usbctl); usb 2787 drivers/usb/gadget/udc/net2280.c if (!(readl(&dev->usb->usbstat) & BIT(SUPER_SPEED_MODE))) { usb 2944 drivers/usb/gadget/udc/net2280.c writel(readl(&dev->usb->usbctl) & usb 2946 drivers/usb/gadget/udc/net2280.c &dev->usb->usbctl); usb 3010 drivers/usb/gadget/udc/net2280.c writel(readl(&dev->usb->usbctl) | usb 3012 drivers/usb/gadget/udc/net2280.c &dev->usb->usbctl); usb 3110 drivers/usb/gadget/udc/net2280.c u32 val = readl(&dev->usb->usbstat); usb 3163 drivers/usb/gadget/udc/net2280.c u.raw[0] = readl(&dev->usb->setup0123); usb 3164 drivers/usb/gadget/udc/net2280.c u.raw[1] = readl(&dev->usb->setup4567); usb 3380 drivers/usb/gadget/udc/net2280.c (readl(&dev->usb->usbctl) & usb 3386 drivers/usb/gadget/udc/net2280.c (readl(&dev->usb->usbstat) & mask) usb 3669 drivers/usb/gadget/udc/net2280.c dev->usb = (struct net2280_usb_regs __iomem *) (base + 0x0080); usb 3684 drivers/usb/gadget/udc/net2280.c usbstat = readl(&dev->usb->usbstat); usb 3693 drivers/usb/gadget/udc/net2280.c writel(0, &dev->usb->usbctl); usb 3700 drivers/usb/gadget/udc/net2280.c writel(0, &dev->usb->usbctl); usb 3803 drivers/usb/gadget/udc/net2280.c writel(0, &dev->usb->usbctl); usb 174 drivers/usb/gadget/udc/net2280.h struct net2280_usb_regs __iomem *usb; usb 57 drivers/usb/host/fhci-hcd.c u16 fhci_get_sof_timer_count(struct fhci_usb *usb) usb 59 drivers/usb/host/fhci-hcd.c return be16_to_cpu(in_be16(&usb->fhci->regs->usb_ussft) / 12); usb 63 drivers/usb/host/fhci-hcd.c static u32 endpoint_zero_init(struct fhci_usb *usb, usb 69 drivers/usb/host/fhci-hcd.c rc = fhci_create_ep(usb, data_mem, ring_len); usb 74 drivers/usb/host/fhci-hcd.c fhci_init_ep_registers(usb, usb->ep0, data_mem); usb 80 drivers/usb/host/fhci-hcd.c void fhci_usb_enable_interrupt(struct fhci_usb *usb) usb 82 drivers/usb/host/fhci-hcd.c struct fhci_hcd *fhci = usb->fhci; usb 84 drivers/usb/host/fhci-hcd.c if (usb->intr_nesting_cnt == 1) { usb 89 drivers/usb/host/fhci-hcd.c out_be16(&usb->fhci->regs->usb_usber, 0xffff); usb 90 drivers/usb/host/fhci-hcd.c out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); usb 94 drivers/usb/host/fhci-hcd.c } else if (usb->intr_nesting_cnt > 1) usb 96 drivers/usb/host/fhci-hcd.c usb->intr_nesting_cnt--; usb 100 drivers/usb/host/fhci-hcd.c void fhci_usb_disable_interrupt(struct fhci_usb *usb) usb 102 drivers/usb/host/fhci-hcd.c struct fhci_hcd *fhci = usb->fhci; usb 104 drivers/usb/host/fhci-hcd.c if (usb->intr_nesting_cnt == 0) { usb 110 drivers/usb/host/fhci-hcd.c out_be16(&usb->fhci->regs->usb_usbmr, 0); usb 112 drivers/usb/host/fhci-hcd.c usb->intr_nesting_cnt++; usb 118 drivers/usb/host/fhci-hcd.c struct fhci_usb *usb = fhci->usb_lld; usb 120 drivers/usb/host/fhci-hcd.c out_be16(&usb->fhci->regs->usb_usber, 0xffff); usb 121 drivers/usb/host/fhci-hcd.c out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); usb 122 drivers/usb/host/fhci-hcd.c setbits8(&usb->fhci->regs->usb_usmod, USB_MODE_EN); usb 132 drivers/usb/host/fhci-hcd.c struct fhci_usb *usb = fhci->usb_lld; usb 134 drivers/usb/host/fhci-hcd.c fhci_usb_disable_interrupt(usb); usb 138 drivers/usb/host/fhci-hcd.c if (usb->port_status == FHCI_PORT_FULL || usb 139 drivers/usb/host/fhci-hcd.c usb->port_status == FHCI_PORT_LOW) usb 142 drivers/usb/host/fhci-hcd.c clrbits8(&usb->fhci->regs->usb_usmod, USB_MODE_EN); usb 243 drivers/usb/host/fhci-hcd.c struct fhci_usb *usb = lld; usb 246 drivers/usb/host/fhci-hcd.c if (usb) { usb 247 drivers/usb/host/fhci-hcd.c fhci = usb->fhci; usb 249 drivers/usb/host/fhci-hcd.c fhci_ep0_free(usb); usb 250 drivers/usb/host/fhci-hcd.c kfree(usb->actual_frame); usb 251 drivers/usb/host/fhci-hcd.c kfree(usb); usb 258 drivers/usb/host/fhci-hcd.c struct fhci_usb *usb = fhci->usb_lld; usb 260 drivers/usb/host/fhci-hcd.c memset_io(usb->fhci->pram, 0, FHCI_PRAM_SIZE); usb 262 drivers/usb/host/fhci-hcd.c usb->port_status = FHCI_PORT_DISABLED; usb 263 drivers/usb/host/fhci-hcd.c usb->max_frame_usage = FRAME_TIME_USAGE; usb 264 drivers/usb/host/fhci-hcd.c usb->sw_transaction_time = SW_FIX_TIME_BETWEEN_TRANSACTION; usb 266 drivers/usb/host/fhci-hcd.c usb->actual_frame = kzalloc(sizeof(*usb->actual_frame), GFP_KERNEL); usb 267 drivers/usb/host/fhci-hcd.c if (!usb->actual_frame) { usb 268 drivers/usb/host/fhci-hcd.c fhci_usb_free(usb); usb 272 drivers/usb/host/fhci-hcd.c INIT_LIST_HEAD(&usb->actual_frame->tds_list); usb 281 drivers/usb/host/fhci-hcd.c usb->saved_msk = (USB_E_TXB_MASK | usb 286 drivers/usb/host/fhci-hcd.c out_8(&usb->fhci->regs->usb_usmod, USB_MODE_HOST | USB_MODE_EN); usb 289 drivers/usb/host/fhci-hcd.c out_be16(&usb->fhci->regs->usb_usbmr, 0); usb 292 drivers/usb/host/fhci-hcd.c out_be16(&usb->fhci->regs->usb_usber, 0xffff); usb 294 drivers/usb/host/fhci-hcd.c if (endpoint_zero_init(usb, DEFAULT_DATA_MEM, DEFAULT_RING_LEN) != 0) { usb 295 drivers/usb/host/fhci-hcd.c fhci_usb_free(usb); usb 305 drivers/usb/host/fhci-hcd.c struct fhci_usb *usb; usb 308 drivers/usb/host/fhci-hcd.c usb = kzalloc(sizeof(*usb), GFP_KERNEL); usb 309 drivers/usb/host/fhci-hcd.c if (!usb) usb 312 drivers/usb/host/fhci-hcd.c usb->fhci = fhci; usb 313 drivers/usb/host/fhci-hcd.c usb->hc_list = fhci->hc_list; usb 314 drivers/usb/host/fhci-hcd.c usb->vroot_hub = fhci->vroot_hub; usb 316 drivers/usb/host/fhci-hcd.c usb->transfer_confirm = fhci_transfer_confirm_callback; usb 318 drivers/usb/host/fhci-hcd.c return usb; usb 467 drivers/usb/host/fhci-hcd.c struct fhci_usb *usb = fhci->usb_lld; usb 480 drivers/usb/host/fhci-hcd.c if (usb->port_status != FHCI_PORT_DISABLED) { usb 81 drivers/usb/host/fhci-hub.c struct fhci_usb *usb = (struct fhci_usb *)fhci->usb_lld; usb 88 drivers/usb/host/fhci-hub.c fhci_flush_all_transmissions(usb); usb 91 drivers/usb/host/fhci-hub.c port_status = usb->port_status; usb 92 drivers/usb/host/fhci-hub.c usb->port_status = FHCI_PORT_DISABLED; usb 95 drivers/usb/host/fhci-hub.c usb->saved_msk |= USB_E_IDLE_MASK; usb 96 drivers/usb/host/fhci-hub.c out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); usb 101 drivers/usb/host/fhci-hub.c usb->vroot_hub->port.wPortStatus &= ~USB_PORT_STAT_ENABLE; usb 102 drivers/usb/host/fhci-hub.c usb->vroot_hub->port.wPortChange |= USB_PORT_STAT_C_ENABLE; usb 111 drivers/usb/host/fhci-hub.c struct fhci_usb *usb = (struct fhci_usb *)lld; usb 112 drivers/usb/host/fhci-hub.c struct fhci_hcd *fhci = usb->fhci; usb 116 drivers/usb/host/fhci-hub.c fhci_config_transceiver(fhci, usb->port_status); usb 118 drivers/usb/host/fhci-hub.c if ((usb->port_status != FHCI_PORT_FULL) && usb 119 drivers/usb/host/fhci-hub.c (usb->port_status != FHCI_PORT_LOW)) usb 122 drivers/usb/host/fhci-hub.c usb->vroot_hub->port.wPortStatus |= USB_PORT_STAT_ENABLE; usb 123 drivers/usb/host/fhci-hub.c usb->vroot_hub->port.wPortChange |= USB_PORT_STAT_C_ENABLE; usb 148 drivers/usb/host/fhci-hub.c struct fhci_usb *usb = (struct fhci_usb *)lld; usb 149 drivers/usb/host/fhci-hub.c struct fhci_hcd *fhci = usb->fhci; usb 140 drivers/usb/host/fhci-q.c void fhci_move_td_from_ed_to_done_list(struct fhci_usb *usb, struct ed *ed) usb 155 drivers/usb/host/fhci-q.c list_add_tail(&td->node, &usb->hc_list->done_list); usb 157 drivers/usb/host/fhci-q.c usb->transfer_confirm(usb->fhci); usb 28 drivers/usb/host/fhci-sched.c static void recycle_frame(struct fhci_usb *usb, struct packet *pkt) usb 36 drivers/usb/host/fhci-sched.c cq_put(&usb->ep0->empty_frame_Q, pkt); usb 40 drivers/usb/host/fhci-sched.c void fhci_transaction_confirm(struct fhci_usb *usb, struct packet *pkt) usb 48 drivers/usb/host/fhci-sched.c td = fhci_remove_td_from_frame(usb->actual_frame); usb 56 drivers/usb/host/fhci-sched.c cq_put(&usb->ep0->dummy_packets_Q, pkt->data); usb 59 drivers/usb/host/fhci-sched.c recycle_frame(usb, pkt); usb 68 drivers/usb/host/fhci-sched.c td_next->start_frame = usb->actual_frame->frame_num; usb 87 drivers/usb/host/fhci-sched.c fhci_dbg(usb->fhci, "td err fu\n"); usb 91 drivers/usb/host/fhci-sched.c fhci_dbg(usb->fhci, "td err f!u\n"); usb 94 drivers/usb/host/fhci-sched.c fhci_dbg(usb->fhci, "td err !f\n"); usb 102 drivers/usb/host/fhci-sched.c fhci_vdbg(usb->fhci, "td nack\n"); usb 118 drivers/usb/host/fhci-sched.c fhci_move_td_from_ed_to_done_list(usb, ed); usb 126 drivers/usb/host/fhci-sched.c void fhci_flush_all_transmissions(struct fhci_usb *usb) usb 131 drivers/usb/host/fhci-sched.c mode = in_8(&usb->fhci->regs->usb_usmod); usb 132 drivers/usb/host/fhci-sched.c clrbits8(&usb->fhci->regs->usb_usmod, USB_MODE_EN); usb 134 drivers/usb/host/fhci-sched.c fhci_flush_bds(usb); usb 136 drivers/usb/host/fhci-sched.c while ((td = fhci_peek_td_from_frame(usb->actual_frame)) != NULL) { usb 140 drivers/usb/host/fhci-sched.c fhci_transaction_confirm(usb, pkt); usb 143 drivers/usb/host/fhci-sched.c usb->actual_frame->frame_status = FRAME_END_TRANSMISSION; usb 146 drivers/usb/host/fhci-sched.c out_be16(&usb->fhci->regs->usb_usber, 0xffff); usb 148 drivers/usb/host/fhci-sched.c out_8(&usb->fhci->regs->usb_usmod, mode | USB_MODE_EN); usb 155 drivers/usb/host/fhci-sched.c static int add_packet(struct fhci_usb *usb, struct ed *ed, struct td *td) usb 188 drivers/usb/host/fhci-sched.c if (usb->port_status == FHCI_PORT_FULL) usb 194 drivers/usb/host/fhci-sched.c if (usb->actual_frame->total_bytes + len + PROTOCOL_OVERHEAD >= usb 195 drivers/usb/host/fhci-sched.c usb->max_bytes_per_frame) { usb 196 drivers/usb/host/fhci-sched.c fhci_vdbg(usb->fhci, "not enough space in this frame: " usb 197 drivers/usb/host/fhci-sched.c "%d %d %d\n", usb->actual_frame->total_bytes, len, usb 198 drivers/usb/host/fhci-sched.c usb->max_bytes_per_frame); usb 203 drivers/usb/host/fhci-sched.c if (usb->actual_frame->frame_status != FRAME_IS_PREPARED && usb 204 drivers/usb/host/fhci-sched.c (usb->actual_frame->frame_status & FRAME_END_TRANSMISSION || usb 205 drivers/usb/host/fhci-sched.c (fw_transaction_time + usb->sw_transaction_time >= usb 206 drivers/usb/host/fhci-sched.c 1000 - fhci_get_sof_timer_count(usb)))) { usb 207 drivers/usb/host/fhci-sched.c fhci_dbg(usb->fhci, "not enough time in this frame\n"); usb 212 drivers/usb/host/fhci-sched.c pkt = cq_get(&usb->ep0->empty_frame_Q); usb 214 drivers/usb/host/fhci-sched.c fhci_dbg(usb->fhci, "there is no empty frame\n"); usb 221 drivers/usb/host/fhci-sched.c data = cq_get(&usb->ep0->dummy_packets_Q); usb 231 drivers/usb/host/fhci-sched.c usb->actual_frame->total_bytes += (len + PROTOCOL_OVERHEAD); usb 232 drivers/usb/host/fhci-sched.c fhci_add_td_to_frame(usb->actual_frame, td); usb 234 drivers/usb/host/fhci-sched.c if (usb->port_status != FHCI_PORT_FULL && usb 235 drivers/usb/host/fhci-sched.c usb->port_status != FHCI_PORT_LOW) { usb 238 drivers/usb/host/fhci-sched.c fhci_transaction_confirm(usb, pkt); usb 239 drivers/usb/host/fhci-sched.c } else if (fhci_host_transaction(usb, pkt, td->type, ed->dev_addr, usb 245 drivers/usb/host/fhci-sched.c cq_put(&usb->ep0->dummy_packets_Q, pkt->data); usb 246 drivers/usb/host/fhci-sched.c recycle_frame(usb, pkt); usb 247 drivers/usb/host/fhci-sched.c usb->actual_frame->total_bytes -= (len + PROTOCOL_OVERHEAD); usb 248 drivers/usb/host/fhci-sched.c fhci_err(usb->fhci, "host transaction failed\n"); usb 268 drivers/usb/host/fhci-sched.c static int scan_ed_list(struct fhci_usb *usb, usb 282 drivers/usb/host/fhci-sched.c u32 save_transaction_time = usb->sw_transaction_time; usb 293 drivers/usb/host/fhci-sched.c fhci_move_td_from_ed_to_done_list(usb, ed); usb 304 drivers/usb/host/fhci-sched.c (((usb->actual_frame->frame_num - usb 308 drivers/usb/host/fhci-sched.c if (add_packet(usb, ed, td) < 0) usb 312 drivers/usb/host/fhci-sched.c td->start_frame = usb->actual_frame->frame_num; usb 313 drivers/usb/host/fhci-sched.c usb->sw_transaction_time += save_transaction_time; usb 315 drivers/usb/host/fhci-sched.c if (usb->actual_frame->total_bytes >= usb 316 drivers/usb/host/fhci-sched.c usb->max_bytes_per_frame) { usb 317 drivers/usb/host/fhci-sched.c usb->actual_frame->frame_status = usb 319 drivers/usb/host/fhci-sched.c fhci_push_dummy_bd(usb->ep0); usb 324 drivers/usb/host/fhci-sched.c if (usb->actual_frame->total_bytes >= frame_part[list_type]) usb 330 drivers/usb/host/fhci-sched.c usb->sw_transaction_time = save_transaction_time; usb 335 drivers/usb/host/fhci-sched.c static u32 rotate_frames(struct fhci_usb *usb) usb 337 drivers/usb/host/fhci-sched.c struct fhci_hcd *fhci = usb->fhci; usb 339 drivers/usb/host/fhci-sched.c if (!list_empty(&usb->actual_frame->tds_list)) { usb 341 drivers/usb/host/fhci-sched.c usb->actual_frame->frame_num) & 0x7ff) > 5) usb 342 drivers/usb/host/fhci-sched.c fhci_flush_actual_frame(usb); usb 347 drivers/usb/host/fhci-sched.c usb->actual_frame->frame_status = FRAME_IS_PREPARED; usb 348 drivers/usb/host/fhci-sched.c usb->actual_frame->frame_num = in_be16(&fhci->pram->frame_num) & 0x7ff; usb 349 drivers/usb/host/fhci-sched.c usb->actual_frame->total_bytes = 0; usb 358 drivers/usb/host/fhci-sched.c void fhci_schedule_transactions(struct fhci_usb *usb) usb 362 drivers/usb/host/fhci-sched.c if (usb->actual_frame->frame_status & FRAME_END_TRANSMISSION) usb 363 drivers/usb/host/fhci-sched.c if (rotate_frames(usb) != 0) usb 366 drivers/usb/host/fhci-sched.c if (usb->actual_frame->frame_status & FRAME_END_TRANSMISSION) usb 369 drivers/usb/host/fhci-sched.c if (usb->actual_frame->total_bytes == 0) { usb 374 drivers/usb/host/fhci-sched.c scan_ed_list(usb, &usb->hc_list->iso_list, FHCI_TF_ISO); usb 380 drivers/usb/host/fhci-sched.c scan_ed_list(usb, &usb->hc_list->intr_list, FHCI_TF_INTR); usb 386 drivers/usb/host/fhci-sched.c left = scan_ed_list(usb, &usb->hc_list->ctrl_list, usb 395 drivers/usb/host/fhci-sched.c scan_ed_list(usb, &usb->hc_list->bulk_list, FHCI_TF_BULK); usb 401 drivers/usb/host/fhci-sched.c struct fhci_usb *usb = fhci->usb_lld; usb 403 drivers/usb/host/fhci-sched.c if ((usb->port_status == FHCI_PORT_DISABLED) && usb 404 drivers/usb/host/fhci-sched.c (usb->vroot_hub->port.wPortStatus & USB_PORT_STAT_CONNECTION) && usb 405 drivers/usb/host/fhci-sched.c !(usb->vroot_hub->port.wPortChange & USB_PORT_STAT_C_CONNECTION)) { usb 406 drivers/usb/host/fhci-sched.c if (usb->vroot_hub->port.wPortStatus & USB_PORT_STAT_LOW_SPEED) usb 407 drivers/usb/host/fhci-sched.c usb->port_status = FHCI_PORT_LOW; usb 409 drivers/usb/host/fhci-sched.c usb->port_status = FHCI_PORT_FULL; usb 411 drivers/usb/host/fhci-sched.c usb->saved_msk &= ~USB_E_IDLE_MASK; usb 412 drivers/usb/host/fhci-sched.c out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); usb 415 drivers/usb/host/fhci-sched.c gtm_set_exact_timer16(fhci->timer, usb->max_frame_usage, false); usb 417 drivers/usb/host/fhci-sched.c fhci_host_transmit_actual_frame(usb); usb 418 drivers/usb/host/fhci-sched.c usb->actual_frame->frame_status = FRAME_IS_TRANSMITTED; usb 420 drivers/usb/host/fhci-sched.c fhci_schedule_transactions(usb); usb 426 drivers/usb/host/fhci-sched.c struct fhci_usb *usb = fhci->usb_lld; usb 430 drivers/usb/host/fhci-sched.c fhci_usb_disable_interrupt(usb); usb 431 drivers/usb/host/fhci-sched.c clrbits8(&usb->fhci->regs->usb_usmod, USB_MODE_LSS); usb 432 drivers/usb/host/fhci-sched.c usb->port_status = FHCI_PORT_DISABLED; usb 437 drivers/usb/host/fhci-sched.c usb->saved_msk |= USB_E_IDLE_MASK; usb 438 drivers/usb/host/fhci-sched.c out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); usb 440 drivers/usb/host/fhci-sched.c usb->vroot_hub->port.wPortStatus &= ~USB_PORT_STAT_CONNECTION; usb 441 drivers/usb/host/fhci-sched.c usb->vroot_hub->port.wPortChange |= USB_PORT_STAT_C_CONNECTION; usb 442 drivers/usb/host/fhci-sched.c usb->max_bytes_per_frame = 0; usb 443 drivers/usb/host/fhci-sched.c fhci_usb_enable_interrupt(usb); usb 452 drivers/usb/host/fhci-sched.c struct fhci_usb *usb = fhci->usb_lld; usb 458 drivers/usb/host/fhci-sched.c fhci_usb_disable_interrupt(usb); usb 470 drivers/usb/host/fhci-sched.c usb->port_status = FHCI_PORT_LOW; usb 471 drivers/usb/host/fhci-sched.c setbits8(&usb->fhci->regs->usb_usmod, USB_MODE_LSS); usb 472 drivers/usb/host/fhci-sched.c usb->vroot_hub->port.wPortStatus |= usb 475 drivers/usb/host/fhci-sched.c usb->vroot_hub->port.wPortChange |= usb 477 drivers/usb/host/fhci-sched.c usb->max_bytes_per_frame = usb 479 drivers/usb/host/fhci-sched.c fhci_port_enable(usb); usb 488 drivers/usb/host/fhci-sched.c usb->port_status = FHCI_PORT_FULL; usb 489 drivers/usb/host/fhci-sched.c clrbits8(&usb->fhci->regs->usb_usmod, USB_MODE_LSS); usb 490 drivers/usb/host/fhci-sched.c usb->vroot_hub->port.wPortStatus &= usb 492 drivers/usb/host/fhci-sched.c usb->vroot_hub->port.wPortStatus |= usb 494 drivers/usb/host/fhci-sched.c usb->vroot_hub->port.wPortChange |= usb 496 drivers/usb/host/fhci-sched.c usb->max_bytes_per_frame = (MAX_BYTES_PER_FRAME - 15); usb 497 drivers/usb/host/fhci-sched.c fhci_port_enable(usb); usb 500 drivers/usb/host/fhci-sched.c fhci_usb_enable_interrupt(usb); usb 508 drivers/usb/host/fhci-sched.c struct fhci_usb *usb = fhci->usb_lld; usb 514 drivers/usb/host/fhci-sched.c if (usb->actual_frame->frame_status == FRAME_IS_TRANSMITTED) { usb 515 drivers/usb/host/fhci-sched.c usb->actual_frame->frame_status = FRAME_TIMER_END_TRANSMISSION; usb 516 drivers/usb/host/fhci-sched.c fhci_push_dummy_bd(usb->ep0); usb 519 drivers/usb/host/fhci-sched.c fhci_schedule_transactions(usb); usb 527 drivers/usb/host/fhci-sched.c static void abort_transmission(struct fhci_usb *usb) usb 529 drivers/usb/host/fhci-sched.c fhci_dbg(usb->fhci, "-> %s\n", __func__); usb 533 drivers/usb/host/fhci-sched.c out_8(&usb->fhci->regs->usb_uscom, USB_CMD_FLUSH_FIFO | EP_ZERO); usb 536 drivers/usb/host/fhci-sched.c fhci_flush_bds(usb); usb 539 drivers/usb/host/fhci-sched.c fhci_dbg(usb->fhci, "<- %s\n", __func__); usb 545 drivers/usb/host/fhci-sched.c struct fhci_usb *usb; usb 551 drivers/usb/host/fhci-sched.c usb = fhci->usb_lld; usb 553 drivers/usb/host/fhci-sched.c usb_er |= in_be16(&usb->fhci->regs->usb_usber) & usb 554 drivers/usb/host/fhci-sched.c in_be16(&usb->fhci->regs->usb_usbmr); usb 557 drivers/usb/host/fhci-sched.c out_be16(&usb->fhci->regs->usb_usber, usb_er); usb 562 drivers/usb/host/fhci-sched.c if ((usb->port_status == FHCI_PORT_FULL) || usb 563 drivers/usb/host/fhci-sched.c (usb->port_status == FHCI_PORT_LOW)) { usb 566 drivers/usb/host/fhci-sched.c } else if (usb->port_status == FHCI_PORT_WAITING) { usb 567 drivers/usb/host/fhci-sched.c usb->port_status = FHCI_PORT_DISCONNECTING; usb 570 drivers/usb/host/fhci-sched.c usb->saved_msk |= USB_E_IDLE_MASK; usb 571 drivers/usb/host/fhci-sched.c out_be16(&usb->fhci->regs->usb_usber, usb 572 drivers/usb/host/fhci-sched.c usb->saved_msk); usb 573 drivers/usb/host/fhci-sched.c } else if (usb->port_status == FHCI_PORT_DISABLED) { usb 601 drivers/usb/host/fhci-sched.c if (usb->port_status == FHCI_PORT_DISABLED) { usb 604 drivers/usb/host/fhci-sched.c } else if (usb->port_status == usb 608 drivers/usb/host/fhci-sched.c usb->saved_msk &= ~USB_E_IDLE_MASK; usb 609 drivers/usb/host/fhci-sched.c out_be16(&usb->fhci->regs->usb_usbmr, usb 610 drivers/usb/host/fhci-sched.c usb->saved_msk); usb 95 drivers/usb/host/fhci-tds.c void fhci_ep0_free(struct fhci_usb *usb) usb 100 drivers/usb/host/fhci-tds.c ep = usb->ep0; usb 136 drivers/usb/host/fhci-tds.c usb->ep0 = NULL; usb 148 drivers/usb/host/fhci-tds.c u32 fhci_create_ep(struct fhci_usb *usb, enum fhci_mem_alloc data_mem, usb 160 drivers/usb/host/fhci-tds.c fhci_err(usb->fhci, "illegal TD ring length parameters\n"); usb 224 drivers/usb/host/fhci-tds.c usb->ep0 = ep; usb 228 drivers/usb/host/fhci-tds.c fhci_ep0_free(usb); usb 230 drivers/usb/host/fhci-tds.c fhci_err(usb->fhci, "no memory for the %s\n", err_for); usb 242 drivers/usb/host/fhci-tds.c void fhci_init_ep_registers(struct fhci_usb *usb, struct endpoint *ep, usb 248 drivers/usb/host/fhci-tds.c out_be16(&usb->fhci->regs->usb_usep[0], usb 250 drivers/usb/host/fhci-tds.c out_be16(&usb->fhci->pram->ep_ptr[0], usb 277 drivers/usb/host/fhci-tds.c static void fhci_td_transaction_confirm(struct fhci_usb *usb) usb 279 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; usb 320 drivers/usb/host/fhci-tds.c fhci_err(usb->fhci, "no frame to confirm\n"); usb 335 drivers/usb/host/fhci-tds.c fhci_err(usb->fhci, "illegal error " usb 346 drivers/usb/host/fhci-tds.c fhci_err(usb->fhci, "illegal error occurred\n"); usb 359 drivers/usb/host/fhci-tds.c fhci_transaction_confirm(usb, pkt); usb 377 drivers/usb/host/fhci-tds.c u32 fhci_host_transaction(struct fhci_usb *usb, usb 385 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; usb 390 drivers/usb/host/fhci-tds.c fhci_usb_disable_interrupt(usb); usb 397 drivers/usb/host/fhci-tds.c fhci_usb_enable_interrupt(usb); usb 403 drivers/usb/host/fhci-tds.c fhci_usb_enable_interrupt(usb); usb 447 drivers/usb/host/fhci-tds.c (usb->port_status == FHCI_PORT_FULL)) usb 462 drivers/usb/host/fhci-tds.c out_8(&usb->fhci->regs->usb_uscom, USB_CMD_STR_FIFO); usb 468 drivers/usb/host/fhci-tds.c void fhci_flush_bds(struct fhci_usb *usb) usb 474 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; usb 495 drivers/usb/host/fhci-tds.c fhci_td_transaction_confirm(usb); usb 523 drivers/usb/host/fhci-tds.c void fhci_flush_actual_frame(struct fhci_usb *usb) usb 531 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; usb 534 drivers/usb/host/fhci-tds.c mode = in_8(&usb->fhci->regs->usb_usmod); usb 535 drivers/usb/host/fhci-tds.c out_8(&usb->fhci->regs->usb_usmod, mode & ~USB_MODE_EN); usb 558 drivers/usb/host/fhci-tds.c fhci_td_transaction_confirm(usb); usb 567 drivers/usb/host/fhci-tds.c usb->actual_frame->frame_status = FRAME_TIMER_END_TRANSMISSION; usb 570 drivers/usb/host/fhci-tds.c out_be16(&usb->fhci->regs->usb_usber, 0xffff); usb 572 drivers/usb/host/fhci-tds.c out_8(&usb->fhci->regs->usb_usmod, mode | USB_MODE_EN); usb 576 drivers/usb/host/fhci-tds.c void fhci_tx_conf_interrupt(struct fhci_usb *usb) usb 578 drivers/usb/host/fhci-tds.c fhci_td_transaction_confirm(usb); usb 584 drivers/usb/host/fhci-tds.c if (((fhci_get_sof_timer_count(usb) < usb->max_frame_usage) || usb 585 drivers/usb/host/fhci-tds.c (usb->actual_frame->frame_status & FRAME_END_TRANSMISSION)) && usb 586 drivers/usb/host/fhci-tds.c (list_empty(&usb->actual_frame->tds_list))) usb 587 drivers/usb/host/fhci-tds.c fhci_schedule_transactions(usb); usb 590 drivers/usb/host/fhci-tds.c void fhci_host_transmit_actual_frame(struct fhci_usb *usb) usb 595 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; usb 612 drivers/usb/host/fhci-tds.c out_8(&usb->fhci->regs->usb_uscom, USB_CMD_STR_FIFO); usb 508 drivers/usb/host/fhci.h u16 fhci_get_sof_timer_count(struct fhci_usb *usb); usb 509 drivers/usb/host/fhci.h void fhci_usb_enable_interrupt(struct fhci_usb *usb); usb 510 drivers/usb/host/fhci.h void fhci_usb_disable_interrupt(struct fhci_usb *usb); usb 535 drivers/usb/host/fhci.h void fhci_flush_bds(struct fhci_usb *usb); usb 536 drivers/usb/host/fhci.h void fhci_flush_actual_frame(struct fhci_usb *usb); usb 537 drivers/usb/host/fhci.h u32 fhci_host_transaction(struct fhci_usb *usb, struct packet *pkt, usb 541 drivers/usb/host/fhci.h void fhci_host_transmit_actual_frame(struct fhci_usb *usb); usb 542 drivers/usb/host/fhci.h void fhci_tx_conf_interrupt(struct fhci_usb *usb); usb 544 drivers/usb/host/fhci.h u32 fhci_create_ep(struct fhci_usb *usb, enum fhci_mem_alloc data_mem, usb 546 drivers/usb/host/fhci.h void fhci_init_ep_registers(struct fhci_usb *usb, usb 549 drivers/usb/host/fhci.h void fhci_ep0_free(struct fhci_usb *usb); usb 553 drivers/usb/host/fhci.h void fhci_transaction_confirm(struct fhci_usb *usb, struct packet *pkt); usb 554 drivers/usb/host/fhci.h void fhci_flush_all_transmissions(struct fhci_usb *usb); usb 555 drivers/usb/host/fhci.h void fhci_schedule_transactions(struct fhci_usb *usb); usb 567 drivers/usb/host/fhci.h void fhci_move_td_from_ed_to_done_list(struct fhci_usb *usb, struct ed *ed); usb 964 drivers/usb/image/mdc800.c MODULE_DEVICE_TABLE (usb, mdc800_table); usb 654 drivers/usb/image/microtek.c MODULE_DEVICE_TABLE (usb, mts_usb_ids); usb 46 drivers/usb/misc/adutux.c MODULE_DEVICE_TABLE(usb, device_table); usb 60 drivers/usb/misc/appledisplay.c MODULE_DEVICE_TABLE(usb, appledisplay_table); usb 69 drivers/usb/misc/chaoskey.c MODULE_DEVICE_TABLE(usb, chaoskey_table); usb 60 drivers/usb/misc/cypress_cy7c63.c MODULE_DEVICE_TABLE(usb, cypress_table); usb 29 drivers/usb/misc/cytherm.c MODULE_DEVICE_TABLE (usb, id_table); usb 132 drivers/usb/misc/ehset.c MODULE_DEVICE_TABLE(usb, ehset_id_table); usb 224 drivers/usb/misc/emi26.c MODULE_DEVICE_TABLE (usb, id_table); usb 236 drivers/usb/misc/emi62.c MODULE_DEVICE_TABLE (usb, id_table); usb 90 drivers/usb/misc/ftdi-elan.c MODULE_DEVICE_TABLE(usb, ftdi_elan_table); usb 62 drivers/usb/misc/idmouse.c MODULE_DEVICE_TABLE(usb, idmouse_table); usb 151 drivers/usb/misc/iowarrior.c MODULE_DEVICE_TABLE(usb, iowarrior_ids); usb 32 drivers/usb/misc/isight_firmware.c MODULE_DEVICE_TABLE(usb, id_table); usb 116 drivers/usb/misc/ldusb.c MODULE_DEVICE_TABLE(usb, ld_usb_table); usb 181 drivers/usb/misc/legousbtower.c MODULE_DEVICE_TABLE (usb, tower_table); usb 3200 drivers/usb/misc/sisusbvga/sisusb.c MODULE_DEVICE_TABLE(usb, sisusb_table); usb 25 drivers/usb/misc/trancevibrator.c MODULE_DEVICE_TABLE (usb, id_table); usb 37 drivers/usb/misc/usblcd.c MODULE_DEVICE_TABLE(usb, id_table); usb 29 drivers/usb/misc/usbsevseg.c MODULE_DEVICE_TABLE(usb, id_table); usb 3037 drivers/usb/misc/usbtest.c MODULE_DEVICE_TABLE(usb, id_table); usb 782 drivers/usb/misc/uss720.c MODULE_DEVICE_TABLE (usb, uss720_table); usb 42 drivers/usb/misc/yurex.c MODULE_DEVICE_TABLE(usb, yurex_table); usb 109 drivers/usb/renesas_usbhs/mod.h void usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *usb, int id); usb 70 drivers/usb/serial/aircable.c MODULE_DEVICE_TABLE(usb, id_table); usb 48 drivers/usb/serial/ark3116.c MODULE_DEVICE_TABLE(usb, id_table); usb 63 drivers/usb/serial/belkin_sa.c MODULE_DEVICE_TABLE(usb, id_table); usb 88 drivers/usb/serial/ch341.c MODULE_DEVICE_TABLE(usb, id_table); usb 240 drivers/usb/serial/cp210x.c MODULE_DEVICE_TABLE(usb, id_table); usb 66 drivers/usb/serial/cyberjack.c MODULE_DEVICE_TABLE(usb, id_table); usb 82 drivers/usb/serial/cypress_m8.c MODULE_DEVICE_TABLE(usb, id_table_combined); usb 260 drivers/usb/serial/digi_acceleport.c MODULE_DEVICE_TABLE(usb, id_table_combined); usb 42 drivers/usb/serial/empeg.c MODULE_DEVICE_TABLE(usb, id_table); usb 28 drivers/usb/serial/f81232.c MODULE_DEVICE_TABLE(usb, id_table); usb 1590 drivers/usb/serial/f81534.c MODULE_DEVICE_TABLE(usb, f81534_id_table); usb 1042 drivers/usb/serial/ftdi_sio.c MODULE_DEVICE_TABLE(usb, id_table_combined); usb 203 drivers/usb/serial/garmin_gps.c MODULE_DEVICE_TABLE(usb, id_table); usb 135 drivers/usb/serial/io_edgeport.c MODULE_DEVICE_TABLE(usb, id_table_combined); usb 212 drivers/usb/serial/io_ti.c MODULE_DEVICE_TABLE(usb, id_table_combined); usb 493 drivers/usb/serial/ipaq.c MODULE_DEVICE_TABLE(usb, ipaq_id_table); usb 130 drivers/usb/serial/ipw.c MODULE_DEVICE_TABLE(usb, id_table); usb 69 drivers/usb/serial/ir-usb.c MODULE_DEVICE_TABLE(usb, ir_id_table); usb 35 drivers/usb/serial/iuu_phoenix.c MODULE_DEVICE_TABLE(usb, id_table); usb 497 drivers/usb/serial/keyspan.c MODULE_DEVICE_TABLE(usb, keyspan_ids_combined); usb 77 drivers/usb/serial/keyspan_pda.c MODULE_DEVICE_TABLE(usb, id_table_combined); usb 73 drivers/usb/serial/kl5kusb105.c MODULE_DEVICE_TABLE(usb, id_table); usb 75 drivers/usb/serial/kobil_sct.c MODULE_DEVICE_TABLE(usb, id_table); usb 67 drivers/usb/serial/mct_u232.c MODULE_DEVICE_TABLE(usb, id_table); usb 52 drivers/usb/serial/metro-usb.c MODULE_DEVICE_TABLE(usb, id_table); usb 74 drivers/usb/serial/mos7720.c MODULE_DEVICE_TABLE(usb, id_table); usb 205 drivers/usb/serial/mos7840.c MODULE_DEVICE_TABLE(usb, id_table); usb 185 drivers/usb/serial/mxuport.c MODULE_DEVICE_TABLE(usb, mxuport_idtable); usb 25 drivers/usb/serial/navman.c MODULE_DEVICE_TABLE(usb, id_table); usb 46 drivers/usb/serial/omninet.c MODULE_DEVICE_TABLE(usb, id_table); usb 36 drivers/usb/serial/opticon.c MODULE_DEVICE_TABLE(usb, id_table); usb 2033 drivers/usb/serial/option.c MODULE_DEVICE_TABLE(usb, option_ids); usb 62 drivers/usb/serial/oti6858.c MODULE_DEVICE_TABLE(usb, id_table); usb 114 drivers/usb/serial/pl2303.c MODULE_DEVICE_TABLE(usb, id_table); usb 71 drivers/usb/serial/qcaux.c MODULE_DEVICE_TABLE(usb, id_table); usb 188 drivers/usb/serial/qcserial.c MODULE_DEVICE_TABLE(usb, id_table); usb 105 drivers/usb/serial/quatech2.c MODULE_DEVICE_TABLE(usb, id_table); usb 129 drivers/usb/serial/safe_serial.c MODULE_DEVICE_TABLE(usb, id_table); usb 284 drivers/usb/serial/sierra.c MODULE_DEVICE_TABLE(usb, id_table); usb 50 drivers/usb/serial/spcp8x5.c MODULE_DEVICE_TABLE(usb, id_table); usb 58 drivers/usb/serial/ssu100.c MODULE_DEVICE_TABLE(usb, id_table); usb 24 drivers/usb/serial/symbolserial.c MODULE_DEVICE_TABLE(usb, id_table); usb 509 drivers/usb/serial/ti_usb_3410_5052.c MODULE_DEVICE_TABLE(usb, ti_id_table_combined); usb 38 drivers/usb/serial/upd78f0730.c MODULE_DEVICE_TABLE(usb, id_table); usb 149 drivers/usb/serial/usb-serial-simple.c MODULE_DEVICE_TABLE(usb, id_table); usb 45 drivers/usb/serial/usb_debug.c MODULE_DEVICE_TABLE(usb, id_table_combined); usb 158 drivers/usb/serial/visor.c MODULE_DEVICE_TABLE(usb, id_table_combined); usb 70 drivers/usb/serial/whiteheat.c MODULE_DEVICE_TABLE(usb, id_table_combined); usb 22 drivers/usb/serial/wishbone-serial.c MODULE_DEVICE_TABLE(usb, id_table); usb 39 drivers/usb/serial/xsens_mt.c MODULE_DEVICE_TABLE(usb, id_table); usb 137 drivers/usb/storage/alauda.c MODULE_DEVICE_TABLE(usb, alauda_usb_ids); usb 40 drivers/usb/storage/cypress_atacb.c MODULE_DEVICE_TABLE(usb, cypress_usb_ids); usb 87 drivers/usb/storage/datafab.c MODULE_DEVICE_TABLE(usb, datafab_usb_ids); usb 50 drivers/usb/storage/ene_ub6250.c MODULE_DEVICE_TABLE(usb, ene_ub6250_usb_ids); usb 126 drivers/usb/storage/freecom.c MODULE_DEVICE_TABLE(usb, freecom_usb_ids); usb 74 drivers/usb/storage/isd200.c MODULE_DEVICE_TABLE(usb, isd200_usb_ids); usb 69 drivers/usb/storage/jumpshot.c MODULE_DEVICE_TABLE(usb, jumpshot_usb_ids); usb 58 drivers/usb/storage/karma.c MODULE_DEVICE_TABLE(usb, karma_usb_ids); usb 62 drivers/usb/storage/onetouch.c MODULE_DEVICE_TABLE(usb, onetouch_usb_ids); usb 176 drivers/usb/storage/realtek_cr.c MODULE_DEVICE_TABLE(usb, realtek_cr_ids); usb 70 drivers/usb/storage/sddr09.c MODULE_DEVICE_TABLE(usb, sddr09_usb_ids); usb 47 drivers/usb/storage/sddr55.c MODULE_DEVICE_TABLE(usb, sddr55_usb_ids); usb 169 drivers/usb/storage/shuttle_usbat.c MODULE_DEVICE_TABLE(usb, usbat_usb_ids); usb 917 drivers/usb/storage/uas.c MODULE_DEVICE_TABLE(usb, uas_usb_ids); usb 47 drivers/usb/storage/usual-tables.c MODULE_DEVICE_TABLE(usb, usb_storage_usb_ids); usb 30 drivers/usb/usb-skeleton.c MODULE_DEVICE_TABLE(usb, skel_table); usb 127 drivers/video/fbdev/smscufx.c MODULE_DEVICE_TABLE(usb, id_table); usb 64 drivers/video/fbdev/udlfb.c MODULE_DEVICE_TABLE(usb, id_table); usb 1079 drivers/w1/masters/ds2490.c MODULE_DEVICE_TABLE(usb, ds_id_table); usb 76 drivers/watchdog/pcwd_usb.c MODULE_DEVICE_TABLE(usb, usb_pcwd_table); usb 83 include/linux/mfd/palmas.h struct palmas_usb *usb; usb 699 include/linux/mfd/twl.h struct twl4030_usb_data *usb; usb 122 include/linux/mfd/wm8350/supply.h struct power_supply *usb; usb 61 include/linux/platform_data/lp8727.h struct lp8727_chg_param *usb; usb 431 include/soc/fsl/qe/immap_qe.h struct qe_usb_ctlr usb; /* USB */ usb 139 include/uapi/linux/edd.h } __attribute__ ((packed)) usb; usb 226 sound/soc/codecs/ssm2602.c #define SSM2602_COEFF_SRATE(sr, bosr, usb) (((sr) << 2) | ((bosr) << 1) | (usb)) usb 106 sound/soc/codecs/wm8711.c u8 usb:1; usb 164 sound/soc/codecs/wm8711.c (coeff_div[i].bosr << 1) | coeff_div[i].usb; usb 254 sound/soc/codecs/wm8731.c u8 usb:1; usb 342 sound/soc/codecs/wm8731.c (coeff_div[i].bosr << 1) | coeff_div[i].usb; usb 280 sound/soc/codecs/wm8737.c u8 usb; usb 353 sound/soc/codecs/wm8737.c clocking |= coeff_div[i].usb | (coeff_div[i].sr << WM8737_SR_SHIFT); usb 432 sound/soc/codecs/wm8750.c u8 usb:1; usb 604 sound/soc/codecs/wm8750.c (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); usb 794 sound/soc/codecs/wm8753.c u8 usb:1; usb 1166 sound/soc/codecs/wm8753.c coeff_div[coeff].usb); usb 198 sound/soc/codecs/wm8955.c int usb; usb 320 sound/soc/codecs/wm8955.c srate = clock_cfgs[sr].usb | (clock_cfgs[sr].sr << WM8955_SR_SHIFT); usb 365 sound/soc/codecs/wm8971.c u8 usb:1; usb 534 sound/soc/codecs/wm8971.c (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); usb 454 sound/soc/codecs/wm8988.c u8 usb:1; usb 705 sound/soc/codecs/wm8988.c (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); usb 199 sound/usb/6fire/chip.c MODULE_DEVICE_TABLE(usb, device_table); usb 456 sound/usb/bcd2000/bcd2000.c MODULE_DEVICE_TABLE(usb, id_table); usb 563 sound/usb/caiaq/device.c MODULE_DEVICE_TABLE(usb, snd_usb_id_table); usb 902 sound/usb/card.c MODULE_DEVICE_TABLE(usb, usb_audio_ids); usb 284 sound/usb/hiface/chip.c MODULE_DEVICE_TABLE(usb, device_table); usb 427 sound/usb/line6/pod.c MODULE_DEVICE_TABLE(usb, pod_id_table); usb 328 sound/usb/line6/podhd.c MODULE_DEVICE_TABLE(usb, podhd_id_table); usb 487 sound/usb/line6/toneport.c MODULE_DEVICE_TABLE(usb, toneport_id_table); usb 196 sound/usb/line6/variax.c MODULE_DEVICE_TABLE(usb, variax_id_table); usb 1363 sound/usb/misc/ua101.c MODULE_DEVICE_TABLE(usb, ua101_ids); usb 747 sound/usb/usx2y/us122l.c MODULE_DEVICE_TABLE(usb, snd_us122l_usb_id_table); usb 412 sound/usb/usx2y/usbusx2y.c MODULE_DEVICE_TABLE(usb, snd_usX2Y_usb_id_table);