Searched refs:system_clock (Results 1 – 4 of 4) sorted by relevance
30 uint16_t freq2div(uint32_t system_clock, uint32_t freq);31 uint32_t div2freq(uint32_t system_clock, uint16_t div);
81 uint16_t freq2div(uint32_t system_clock, uint32_t freq) { in freq2div() argument82 return (((system_clock / freq) / 2) - 1); in freq2div()86 uint32_t div2freq(uint32_t system_clock, uint16_t div) { in div2freq() argument87 return (system_clock / ((1 + div) * 2)); in div2freq()
407 uint32_t system_clock = 0; in SetClock() local416 system_clock = SIXTY_MHZ; in SetClock()419 system_clock = TWELVE_MHZ; in SetClock()426 divisor = freq2div(system_clock, freq); in SetClock()434 mpsse->clock = div2freq(system_clock, divisor); in SetClock()
325 auto now = std::chrono::system_clock::now(); in usb_bulk_write()