Home
last modified time | relevance | path

Searched refs:t (Results 1 – 6 of 6) sorted by relevance

/platform/nrf52xxx/
A Dtimer.c92 uint64_t t; in current_time() local
95 t = base_counter; in current_time()
96 } while (base_counter != t); in current_time()
98 return DIV_BY_32768(t); in current_time()
103 volatile uint64_t t; in current_time_hires() local
109 t = base_counter; in current_time_hires()
111 } while ((t != base_counter)); in current_time_hires()
113 return DIV_BY_32768((t + delta * 1000) * 1000); in current_time_hires()
/platform/stm32f7xx/
A Dusbc.c80 LTRACEF("completing transfer %p\n", t); in HAL_PCD_DataOutStageCallback()
83 t->bufpos = ep->xfer_count; in HAL_PCD_DataOutStageCallback()
84 t->result = 0; in HAL_PCD_DataOutStageCallback()
85 t->callback(epnum, t); in HAL_PCD_DataOutStageCallback()
111 t->bufpos = ep->xfer_count; in HAL_PCD_DataInStageCallback()
112 t->result = 0; in HAL_PCD_DataInStageCallback()
113 t->callback(epnum, t); in HAL_PCD_DataInStageCallback()
141 t->result = ERR_CANCELLED; in HAL_PCD_ResetCallback()
142 t->callback(i, t); in HAL_PCD_ResetCallback()
147 t->result = ERR_CANCELLED; in HAL_PCD_ResetCallback()
[all …]
/platform/stm32f0xx/
A Dusbc.c111 LTRACEF("completing transfer %p\n", t); in HAL_PCD_DataOutStageCallback()
114 t->bufpos = ep->xfer_count; in HAL_PCD_DataOutStageCallback()
115 t->result = 0; in HAL_PCD_DataOutStageCallback()
116 t->callback(epnum, t); in HAL_PCD_DataOutStageCallback()
144 t->bufpos = ep->xfer_count; in HAL_PCD_DataInStageCallback()
145 t->result = 0; in HAL_PCD_DataInStageCallback()
146 t->callback(epnum, t); in HAL_PCD_DataInStageCallback()
175 t->result = ERR_CANCELLED; in HAL_PCD_ResetCallback()
176 t->callback(i, t); in HAL_PCD_ResetCallback()
181 t->result = ERR_CANCELLED; in HAL_PCD_ResetCallback()
[all …]
/platform/zynq/
A Dfpga.c59 lk_time_t t; in zynq_program_fpga() local
61 t = current_time(); in zynq_program_fpga()
63 if (current_time() - t > FPGA_TIMEOUT) { in zynq_program_fpga()
76 t = current_time(); in zynq_program_fpga()
90 if (current_time() - t > FPGA_TIMEOUT) { in zynq_program_fpga()
/platform/nrf51xxx/
A Dtimer.c52 uint64_t t;
55 t = current_ticks;
56 } while (current_ticks != t);
58 return t * tick_interval_ms;
/platform/qemu-virt-m68k/
A Dgoldfish_rtc.c97 uint64_t t = read_raw_time() - system_boot_offset; in current_time_hires() local
99 return t / 1000ULL; // ns -> us in current_time_hires()
103 uint64_t t = read_raw_time() - system_boot_offset; in current_time() local
105 return (lk_time_t)(t / 1000000ULL); // ns -> ms in current_time()

Completed in 9 milliseconds