Home
last modified time | relevance | path

Searched refs:system_clock (Results 1 – 4 of 4) sorted by relevance

/system/tpm/trunks/ftdi/
Dsupport.h30 uint16_t freq2div(uint32_t system_clock, uint32_t freq);
31 uint32_t div2freq(uint32_t system_clock, uint16_t div);
Dsupport.c81 uint16_t freq2div(uint32_t system_clock, uint32_t freq) { in freq2div() argument
82 return (((system_clock / freq) / 2) - 1); in freq2div()
86 uint32_t div2freq(uint32_t system_clock, uint16_t div) { in div2freq() argument
87 return (system_clock / ((1 + div) * 2)); in div2freq()
Dmpsse.c407 uint32_t system_clock = 0; in SetClock() local
416 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()
/system/core/adb/client/
Dusb_linux.cpp325 auto now = std::chrono::system_clock::now(); in usb_bulk_write()