Searched refs:divmod_result_t (Results 1 – 6 of 6) sorted by relevance
/hal_rpi_pico-latest/src/host/hardware_divider/include/hardware/ |
D | divider.h | 16 typedef uint64_t divmod_result_t; typedef 31 static inline divmod_result_t hw_divider_divmod_u32(uint32_t a, uint32_t b) { in hw_divider_divmod_u32() 45 static inline divmod_result_t hw_divider_divmod_s32(int32_t a, int32_t b) { in hw_divider_divmod_s32() 50 extern __thread divmod_result_t hw_divider_result_threadlocal; 85 static inline divmod_result_t hw_divider_result_wait(void) { in hw_divider_result_wait() 96 static inline divmod_result_t hw_divider_result_nowait(void) { in hw_divider_result_nowait() 114 inline static uint32_t to_quotient_u32(divmod_result_t r) { in to_quotient_u32() 124 inline static int32_t to_quotient_s32(divmod_result_t r) { in to_quotient_s32() 136 inline static uint32_t to_remainder_u32(divmod_result_t r) { in to_remainder_u32() 148 inline static int32_t to_remainder_s32(divmod_result_t r) { in to_remainder_s32()
|
/hal_rpi_pico-latest/src/rp2_common/hardware_divider/include/hardware/ |
D | divider.h | 52 typedef uint64_t divmod_result_t; typedef 55 extern divmod_result_t hw_divider_results[NUM_CORES]; 72 divmod_result_t hw_divider_divmod_s32(int32_t a, int32_t b); 74 static inline divmod_result_t hw_divider_divmod_s32(int32_t a, int32_t b) { in hw_divider_divmod_s32() 90 divmod_result_t hw_divider_divmod_u32(uint32_t a, uint32_t b); 92 static inline divmod_result_t hw_divider_divmod_u32(uint32_t a, uint32_t b) { in hw_divider_divmod_u32() 169 static inline divmod_result_t hw_divider_result_nowait(void) { in hw_divider_result_nowait() 172 divmod_result_t rc = ((divmod_result_t) sio_hw->div_remainder) << 32u; in hw_divider_result_nowait() 187 static inline divmod_result_t hw_divider_result_wait(void) { in hw_divider_result_wait() 198 inline static uint32_t to_quotient_u32(divmod_result_t r) { in to_quotient_u32() [all …]
|
/hal_rpi_pico-latest/src/common/pico_divider_headers/include/pico/ |
D | divider.h | 54 divmod_result_t r = hw_divider_divmod_s32(a, b); in divmod_s32s32_rem() 67 divmod_result_t divmod_s32s32(int32_t a, int32_t b); 89 divmod_result_t r = hw_divider_divmod_u32(a, b); in divmod_u32u32_rem() 102 divmod_result_t divmod_u32u32(uint32_t a, uint32_t b); 207 divmod_result_t divmod_s32s32_unsafe(int32_t a, int32_t b); 244 divmod_result_t divmod_u32u32_unsafe(uint32_t a, uint32_t b);
|
/hal_rpi_pico-latest/src/rp2_common/pico_divider/ |
D | divider_compiler.c | 14 divmod_result_t divmod_s32s32(int32_t a, int32_t b) { in divmod_s32s32() 22 divmod_result_t divmod_u32u32(uint32_t a, uint32_t b) { in divmod_u32u32() 102 divmod_result_t divmod_s32s32_unsafe(int32_t a, int32_t b) { return divmod_s32s32(a, b); } in divmod_s32s32_unsafe() 106 divmod_result_t divmod_u32u32_unsafe(uint32_t a, uint32_t b) { return divmod_u32u32(a, b); } in divmod_u32u32_unsafe()
|
/hal_rpi_pico-latest/src/rp2_common/hardware_divider/ |
D | divider.c | 10 divmod_result_t hw_divider_results[NUM_CORES];
|
/hal_rpi_pico-latest/src/host/pico_divider/ |
D | divider.c | 14 divmod_result_t divmod_s32s32(int32_t a, int32_t b) { in divmod_s32s32() 22 divmod_result_t divmod_u32u32(uint32_t a, uint32_t b) { in divmod_u32u32() 102 divmod_result_t divmod_s32s32_unsafe(int32_t a, int32_t b) { return divmod_s32s32(a, b); } in divmod_s32s32_unsafe()
|