Searched refs:us (Results 1 – 3 of 3) sorted by relevance
63 unsigned int us)76 us /= end - start;78 us /= start - end;84 if (us < value) {94 increment = (value + (value >> 1)) / us;
643 struct snd_usX2Y_urbSeq *us = NULL; in usX2Y_rate_set() local648 us = kzalloc(sizeof(*us) + sizeof(struct urb*) * NOOF_SETRATE_URBS, GFP_KERNEL); in usX2Y_rate_set()649 if (NULL == us) { in usX2Y_rate_set()660 if (NULL == (us->urb[i] = usb_alloc_urb(0, GFP_KERNEL))) { in usX2Y_rate_set()666 usb_fill_bulk_urb(us->urb[i], usX2Y->dev, usb_sndbulkpipe(usX2Y->dev, 4), in usX2Y_rate_set()669 err = usb_urb_ep_type_check(us->urb[0]); in usX2Y_rate_set()672 us->submitted = 0; in usX2Y_rate_set()673 us->len = NOOF_SETRATE_URBS; in usX2Y_rate_set()674 usX2Y->US04 = us; in usX2Y_rate_set()675 wait_event_timeout(usX2Y->In04WaitQueue, 0 == us->len, HZ); in usX2Y_rate_set()[all …]
45 #define US_TO_SAMPLES(rate, us) \ argument46 ((rate) / (1000000 / ((us) < 1000000 ? (us) : 1000000)))