Home
last modified time | relevance | path

Searched refs:s32Devnum (Results 1 – 1 of 1) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvUSB.c547 int s32Devnum; in ms_usb_choose_address() local
550 s32Devnum = find_next_zero_bit(pUdev->bus->devmap.usb_devicemap, 128, pUdev->bus->devnum_next); in ms_usb_choose_address()
551 if (s32Devnum >= 128) 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()
556 if (s32Devnum < 128) in ms_usb_choose_address()
559 ms_devmap_set_bit(s32Devnum, pUdev->bus->devmap.usb_devicemap); in ms_usb_choose_address()
560 pUdev->u32DevNum = s32Devnum; in ms_usb_choose_address()