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;
672 struct snd_usx2y_urb_seq *us = NULL; in usx2y_rate_set() local678 us = kzalloc(sizeof(*us) + sizeof(struct urb *) * NOOF_SETRATE_URBS, GFP_KERNEL); in usx2y_rate_set()679 if (!us) { in usx2y_rate_set()690 us->urb[i] = usb_alloc_urb(0, GFP_KERNEL); in usx2y_rate_set()691 if (!us->urb[i]) { in usx2y_rate_set()697 usb_fill_bulk_urb(us->urb[i], usx2y->dev, usb_sndbulkpipe(usx2y->dev, 4), in usx2y_rate_set()700 err = usb_urb_ep_type_check(us->urb[0]); in usx2y_rate_set()703 us->submitted = 0; in usx2y_rate_set()704 us->len = NOOF_SETRATE_URBS; in usx2y_rate_set()705 usx2y->us04 = us; in usx2y_rate_set()[all …]
45 #define US_TO_SAMPLES(rate, us) \ argument46 ((rate) / (1000000 / ((us) < 1000000 ? (us) : 1000000)))