Searched refs:us (Results 1 – 3 of 3) sorted by relevance
78 unsigned int us)91 us /= end - start;93 us /= start - end;99 if (us < value) {109 increment = (value + (value >> 1)) / us;
657 struct snd_usX2Y_urbSeq *us = NULL; in usX2Y_rate_set() local662 us = kzalloc(sizeof(*us) + sizeof(struct urb*) * NOOF_SETRATE_URBS, GFP_KERNEL); in usX2Y_rate_set()663 if (NULL == us) { in usX2Y_rate_set()673 if (NULL == (us->urb[i] = usb_alloc_urb(0, GFP_KERNEL))) { in usX2Y_rate_set()679 usb_fill_bulk_urb(us->urb[i], usX2Y->dev, usb_sndbulkpipe(usX2Y->dev, 4), in usX2Y_rate_set()682 us->submitted = 0; in usX2Y_rate_set()683 us->len = NOOF_SETRATE_URBS; in usX2Y_rate_set()684 usX2Y->US04 = us; in usX2Y_rate_set()685 wait_event_timeout(usX2Y->In04WaitQueue, 0 == us->len, HZ); in usX2Y_rate_set()687 if (us->len) in usX2Y_rate_set()[all …]
59 #define US_TO_SAMPLES(rate, us) \ argument60 ((rate) / (1000000 / ((us) < 1000000 ? (us) : 1000000)))