Lines Matching refs:bus

267     n_driver->driver.bus = &usb_bus_type;  in ms_usb_register()
318 if ((*pudev)->bus->hcpriv == hcd)
396 struct usb_device *ms_usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus) in ms_usb_alloc_dev() argument
414 pUdev->bus = bus; in ms_usb_alloc_dev()
457 struct usb_hcd *pHcd = (struct usb_hcd*) pUdev->bus->hcpriv; in ms_usb_disconnect()
529 ms_devmap_clear_bit(pUdev->u32DevNum, pUdev->bus->devmap.usb_devicemap); in ms_usb_disconnect()
550 s32Devnum = find_next_zero_bit(pUdev->bus->devmap.usb_devicemap, 128, pUdev->bus->devnum_next); in ms_usb_choose_address()
552 s32Devnum = find_next_zero_bit(pUdev->bus->devmap.usb_devicemap, 128, 1); in ms_usb_choose_address()
554 pUdev->bus->devnum_next = ( s32Devnum >= 127 ? 1 : s32Devnum + 1); in ms_usb_choose_address()
559 ms_devmap_set_bit(s32Devnum, pUdev->bus->devmap.usb_devicemap); in ms_usb_choose_address()
598 ms_usb_generic_driver.bus = &usb_bus_type; in ms_usb_new_device()
608 USB_sprintf(&pUdev->dev.bus_id[0], "%d-%s", (int)pUdev->bus->busnum, pUdev->devpath); in ms_usb_new_device()
796 (int)pUdev->bus->busnum, pUdev->devpath, in ms_usb_new_device()
807 ms_devmap_clear_bit(pUdev->u32DevNum, pUdev->bus->devmap.usb_devicemap); in ms_usb_new_device()
820 …if (!pUdev || !pUdev->bus /*|| !pUdev->bus->bus_ops || !pUdev->bus->bus_ops->ms_alloc_hcd_buffer*/) in ms_usb_buffer_alloc()
823 return ms_hcd_buffer_alloc(pUdev->bus, size, mem_flags, dma); in ms_usb_buffer_alloc()
833 if (!pUdev || !pUdev->bus /*|| !pUdev->bus->bus_ops || !pUdev->bus->bus_ops->ms_free_hcd_buffer*/) in ms_usb_buffer_free()
838 ms_hcd_buffer_free(pUdev->bus, size, addr, dma); in ms_usb_buffer_free()