Searched refs:running_total (Results 1 – 3 of 3) sorted by relevance
326 static u32 xhci_v1_0_td_remainder(int running_total, in xhci_v1_0_td_remainder() argument335 if (num_trbs_left == 0 || (running_total == 0 && trb_buff_len == 0)) in xhci_v1_0_td_remainder()342 packets_transferred = (running_total + trb_buff_len) / maxpacketsize; in xhci_v1_0_td_remainder()571 int running_total, trb_buff_len; in xhci_bulk_tx() local597 running_total = TRB_MAX_BUFF_SIZE - in xhci_bulk_tx()599 trb_buff_len = running_total; in xhci_bulk_tx()600 running_total &= TRB_MAX_BUFF_SIZE - 1; in xhci_bulk_tx()606 if (running_total != 0 || length == 0) in xhci_bulk_tx()610 while (running_total < length) { in xhci_bulk_tx()612 running_total += TRB_MAX_BUFF_SIZE; in xhci_bulk_tx()[all …]
118 double running_total = 0; in operator ()() local121 running_total += cdf(j); in operator ()()123 cdf(j) = running_total; in operator ()()129 const double to_find = simple_philox.RandDouble() * running_total; in operator ()()
96 __device__ BlockPrefixCallbackOp(T running_total, Op op) in BlockPrefixCallbackOp()97 : running_total_(running_total), op_(op) {} in BlockPrefixCallbackOp()