Lines Matching refs:tt
340 osapi_spin_lock_init (&hub->tt.lock); in ms_hub_configure()
341 ms_list_init (&hub->tt.clear_list); in ms_hub_configure()
349 hub->tt.hub = ms_dev; in ms_hub_configure()
353 hub->tt.hub = ms_dev; in ms_hub_configure()
354 hub->tt.multi = 1; in ms_hub_configure()
366 hub->tt.think_time = 666; in ms_hub_configure()
371 hub->tt.think_time = 666 * 2; in ms_hub_configure()
375 hub->tt.think_time = 666 * 3; in ms_hub_configure()
379 hub->tt.think_time = 666 * 4; in ms_hub_configure()
1007 if (pHub->tt) { in ms_hub_port_connect_change()
1008 pUdev->tt = pHub->tt; in ms_hub_port_connect_change()
1015 pUdev->tt = &hubstate->tt; in ms_hub_port_connect_change()
1467 struct usb_tt *utt = ms_dev->tt; in ms_usb_hub_tt_clear_buffer()
1480 ms_clear->tt = utt->multi ? ms_dev->u32TTPort : 1; in ms_usb_hub_tt_clear_buffer()
1504 osapi_spin_lock_irqsave (&hub->tt.lock, flags); in ms_hub_tt_kevent()
1506 osapi_spin_unlock_irqrestore (&hub->tt.lock, flags); in ms_hub_tt_kevent()
1511 while (--limit && !list_empty (&hub->tt.clear_list)) { in ms_hub_tt_kevent()
1517 temp = hub->tt.clear_list.next; in ms_hub_tt_kevent()
1522 osapi_spin_unlock_irqrestore (&hub->tt.lock, flags); in ms_hub_tt_kevent()
1526 clear->tt, NULL, 0, 1000); in ms_hub_tt_kevent()
1527 osapi_spin_lock_irqsave (&hub->tt.lock, flags); in ms_hub_tt_kevent()
1531 clear->tt, clear->devinfo, status); in ms_hub_tt_kevent()
1534 osapi_spin_unlock_irqrestore (&hub->tt.lock, flags); in ms_hub_tt_kevent()