Searched refs:clock_type (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/scripts/native_simulator/native/src/ |
D | native_rtc.c | 18 uint64_t native_rtc_gettime_us(int clock_type) in native_rtc_gettime_us() argument 20 if (clock_type == RTC_CLOCK_BOOT) { in native_rtc_gettime_us() 22 } else if (clock_type == RTC_CLOCK_REALTIME) { /* RTC_CLOCK_REALTIME */ in native_rtc_gettime_us() 24 } else if (clock_type == RTC_CLOCK_PSEUDOHOSTREALTIME) { in native_rtc_gettime_us() 33 clock_type); in native_rtc_gettime_us() 42 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec) in native_rtc_gettime() argument 44 if (clock_type == RTC_CLOCK_BOOT || clock_type == RTC_CLOCK_REALTIME) { in native_rtc_gettime() 45 uint64_t us = native_rtc_gettime_us(clock_type); in native_rtc_gettime()
|
/Zephyr-latest/boards/native/native_posix/ |
D | native_rtc.c | 20 uint64_t native_rtc_gettime_us(int clock_type) in native_rtc_gettime_us() argument 22 if (clock_type == RTC_CLOCK_BOOT) { in native_rtc_gettime_us() 24 } else if (clock_type == RTC_CLOCK_REALTIME) { /* RTC_CLOCK_REALTIME */ in native_rtc_gettime_us() 26 } else if (clock_type == RTC_CLOCK_PSEUDOHOSTREALTIME) { in native_rtc_gettime_us() 35 clock_type); in native_rtc_gettime_us() 44 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec) in native_rtc_gettime() argument 46 if (clock_type == RTC_CLOCK_BOOT || clock_type == RTC_CLOCK_REALTIME) { in native_rtc_gettime() 47 uint64_t us = native_rtc_gettime_us(clock_type); in native_rtc_gettime()
|
D | native_rtc.h | 44 uint64_t native_rtc_gettime_us(int clock_type); 53 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec);
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_sam_pmc.c | 33 LOG_DBG("Type: %x, Id: %d", cfg->clock_type, cfg->peripheral_id); in atmel_sam_clock_control_on() 35 switch (cfg->clock_type) { in atmel_sam_clock_control_on() 59 LOG_DBG("Type: %x, Id: %d", cfg->clock_type, cfg->peripheral_id); in atmel_sam_clock_control_off() 61 switch (cfg->clock_type) { in atmel_sam_clock_control_off() 86 LOG_DBG("Type: %x, Id: %d", cfg->clock_type, cfg->peripheral_id); in atmel_sam_clock_control_get_rate() 88 switch (cfg->clock_type) { in atmel_sam_clock_control_get_rate() 116 LOG_DBG("Type: %x, Id: %d", cfg->clock_type, cfg->peripheral_id); in atmel_sam_clock_control_get_status() 118 switch (cfg->clock_type) { in atmel_sam_clock_control_get_status()
|
/Zephyr-latest/include/zephyr/drivers/clock_control/ |
D | atmel_sam_pmc.h | 16 uint32_t clock_type; member 22 .clock_type = DT_CLOCKS_CELL_BY_IDX(node_id, clock_id, clock_type), \
|
/Zephyr-latest/scripts/native_simulator/native/src/include/ |
D | native_rtc.h | 43 uint64_t native_rtc_gettime_us(int clock_type); 52 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec);
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_uac2_macros.h | 164 (DT_ENUM_IDX(entity, clock_type)) | \
|