/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
D | osal_math.c | 62 unsigned int remainder; in osal_div_u64_rem() local 64 div_u64_rem(dividend, divisor, &remainder); in osal_div_u64_rem() 66 return remainder; in osal_div_u64_rem() 73 int remainder; in osal_div_s64_rem() local 75 div_s64_rem(dividend, divisor, &remainder); in osal_div_s64_rem() 77 return remainder; in osal_div_s64_rem() 84 unsigned long long remainder; in osal_div64_u64_rem() local 86 div64_u64_rem(dividend, divisor, &remainder); in osal_div64_u64_rem() 88 return remainder; in osal_div64_u64_rem()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
D | osal_math.c | 56 unsigned int remainder; in osal_div_u64_rem() local 58 div_u64_rem(dividend, divisor, &remainder); in osal_div_u64_rem() 60 return remainder; in osal_div_u64_rem() 67 int remainder; in osal_div_s64_rem() local 69 div_s64_rem(dividend, divisor, &remainder); in osal_div_s64_rem() 71 return remainder; in osal_div_s64_rem() 78 unsigned long long remainder; in osal_div64_u64_rem() local 80 div64_u64_rem(dividend, divisor, &remainder); in osal_div64_u64_rem() 82 return remainder; in osal_div64_u64_rem()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/ |
D | math64.h | 25 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() argument 27 *remainder = dividend % divisor; in div_u64_rem() 39 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() argument 41 *remainder = dividend % divisor; in div_s64_rem() 53 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() argument 55 *remainder = dividend % divisor; in div64_u64_rem() 89 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() argument 91 *remainder = do_div(dividend, divisor); in div_u64_rem() 97 extern s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder); 101 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder); [all …]
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/ |
D | mali_kbase_ipa_simple.c | 65 u32 remainder; in calculate_temp_scaling_factor() local 67 const s64 t2 = div_s64_rem((t * t), 0x3E8, &remainder); in calculate_temp_scaling_factor() 70 const s64 t3 = div_s64_rem((t * t2), 0x3E8, &remainder); in calculate_temp_scaling_factor() 83 s64 res_unclamped = div_s64_rem(res_big, 0x3E8, &remainder); in calculate_temp_scaling_factor()
|
D | mali_kbase_ipa.c | 361 u32 remainder; in kbase_scale_dynamic_power() local 365 return div_u64_rem(v2fc, 0x3E8, &remainder); in kbase_scale_dynamic_power() 392 u32 remainder; in kbase_scale_static_power() local 395 return div_u64_rem(v3c_big, 0xF4240, &remainder); in kbase_scale_static_power() 524 u32 remainder; in kbase_get_real_power() local 527 *power = div_u64_rem(((u64)*power * (u64)busy_time), total_time, &remainder); in kbase_get_real_power()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/ |
D | mali_kbase_ipa_simple.c | 67 u32 remainder; in calculate_temp_scaling_factor() local 69 const s64 t2 = div_s64_rem((t * t), 1000, &remainder); in calculate_temp_scaling_factor() 72 const s64 t3 = div_s64_rem((t * t2), 1000, &remainder); in calculate_temp_scaling_factor() 85 s64 res_unclamped = div_s64_rem(res_big, 1000, &remainder); in calculate_temp_scaling_factor()
|
D | mali_kbase_ipa.c | 390 u32 remainder; in kbase_scale_dynamic_power() local 394 return div_u64_rem(v2fc, 1000, &remainder); in kbase_scale_dynamic_power() 421 u32 remainder; in kbase_scale_static_power() local 425 return div_u64_rem(v3c_big, 1000000, &remainder); in kbase_scale_static_power() 562 u32 remainder; in kbase_get_real_power() local 565 *power = div_u64_rem(((u64) *power * (u64) busy_time), total_time, &remainder); in kbase_get_real_power()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/ |
D | drv_ifep_rsa_v100.c | 63 hi_u16 remainder; in drv_rsa_crc16_init() local 68 remainder = (hi_u16)n << BITS_IN_BYTE; in drv_rsa_crc16_init() 70 if (remainder & U16_MSB) { in drv_rsa_crc16_init() 71 remainder = (remainder << 1) ^ CRC16_POLYNOMIAL; in drv_rsa_crc16_init() 73 remainder = (remainder << 1); in drv_rsa_crc16_init() 76 *(local_crc_table + n) = remainder; in drv_rsa_crc16_init()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_wapi_sms4.c | 184 u16 remainder; in WapiSMS4Cryption() local 188 remainder = InputLength & 0x0F; in WapiSMS4Cryption() 190 if (remainder != 0) in WapiSMS4Cryption() 193 remainder = 16; in WapiSMS4Cryption() 212 for (j = 0; j < remainder; j++) in WapiSMS4Cryption() 214 *OutputLength += remainder; in WapiSMS4Cryption() 235 u32 blockNum, i, remainder, rk[32]; in WapiSMS4CalculateMic() local 239 remainder = Input1Length & 0x0F; in WapiSMS4CalculateMic() 256 if (remainder != 0) { in WapiSMS4CalculateMic() 258 memcpy(TempBlock, (Input1 + blockNum * 16), remainder); in WapiSMS4CalculateMic() [all …]
|
D | rtw_eeprom.c | 293 u8 quotient, remainder, addr_2align_odd; in eeprom_read() local 306 remainder = sz & 0x1; in eeprom_read() 315 if (remainder) { /* end of read at lower part of short : 0,2,4,6,... */ in eeprom_read()
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/src/ |
D | os_mbuf.c | 319 int remainder; in os_mbuf_append() local 337 remainder = len; in os_mbuf_append() 343 if (space > remainder) { in os_mbuf_append() 344 space = remainder; in os_mbuf_append() 351 remainder -= space; in os_mbuf_append() 357 while (remainder > 0) { in os_mbuf_append() 363 new->om_len = min(omp->omp_databuf_len, remainder); in os_mbuf_append() 366 remainder -= new->om_len; in os_mbuf_append() 373 OS_MBUF_PKTHDR(om)->omp_len += len - remainder; in os_mbuf_append() 376 if (remainder != 0) { in os_mbuf_append()
|
/device/soc/goodix/gr551x/sdk_liteos/platform/system/ |
D | system.c | 47 …d long long div_u64_rem(unsigned long long dividend, unsigned int divisor, unsigned int *remainder) in div_u64_rem() argument 54 *remainder = dividend % divisor; in div_u64_rem() 60 unsigned int remainder; in div_u64() local 61 return div_u64_rem(dividend, divisor, &remainder); in div_u64()
|
/device/soc/rockchip/rk2206/sdk_liteos/platform/system/ |
D | system.c | 50 unsigned int *remainder) in div_u64_rem() argument 57 *remainder = dividend % divisor; in div_u64_rem() 63 unsigned int remainder; in div_u64() local 64 return div_u64_rem(dividend, divisor, &remainder); in div_u64()
|
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/src/ |
D | duet_uart.c | 61 uint32_t remainder; in duet_uart_calc_baud() local 70 remainder = uart_clk % temp; in duet_uart_calc_baud() 71 temp = 8 * remainder / baud; in duet_uart_calc_baud()
|
/device/soc/hisilicon/common/platform/uart/ |
D | uart_pl011.c | 73 uint32_t remainder; in Pl011ConfigBaudrate() local 84 remainder = CONFIG_UART_CLK_INPUT % value; in Pl011ConfigBaudrate() 85 value = (FBRD_COEFFICIENTS * remainder) / udd->baudrate; in Pl011ConfigBaudrate()
|
/device/qemu/drivers/uart/ |
D | uart_pl011.c | 74 uint32_t remainder; in Pl011ConfigBaudrate() local 85 remainder = CONFIG_UART_CLK_INPUT % value; in Pl011ConfigBaudrate() 86 value = (FBRD_COEFFICIENTS * remainder) / udd->baudrate; in Pl011ConfigBaudrate()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/ |
D | tgmath.h | 192 #undef remainder 255 #define remainder(x,y) __tg_real_2(remainder, (x), (y)) macro
|
D | math.h | 2457 double remainder(double, double);
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/mmu/ |
D | mali_kbase_mmu.c | 136 size_t remainder; in reg_grow_calc_extra_pages() local 155 remainder = minimum_extra % multiple; in reg_grow_calc_extra_pages() 173 remainder = 0; in reg_grow_calc_extra_pages() 180 remainder = pages_after_initial % multiple; in reg_grow_calc_extra_pages() 185 if (remainder == 0) { in reg_grow_calc_extra_pages() 189 return minimum_extra + multiple - remainder; in reg_grow_calc_extra_pages()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/mmu/ |
D | mali_kbase_mmu.c | 246 size_t remainder; in reg_grow_calc_extra_pages() local 266 remainder = minimum_extra % multiple; in reg_grow_calc_extra_pages() 284 remainder = 0; in reg_grow_calc_extra_pages() 292 remainder = pages_after_initial % multiple; in reg_grow_calc_extra_pages() 297 if (remainder == 0) in reg_grow_calc_extra_pages() 300 return minimum_extra + multiple - remainder; in reg_grow_calc_extra_pages()
|
/device/soc/esp/esp32/components/esp_hw_support/port/esp32/ |
D | rtc_clk.c | 773 uint32_t remainder = freq_hz % MHZ; in rtc_clk_apb_freq_get() local 774 return freq_hz - remainder; in rtc_clk_apb_freq_get()
|
/device/qemu/arm_mps2_an386/liteos_m/board/driver/net/ |
D | lan9118_eth_drv.c | 325 uint32_t remainder = ((uint32_t)pbuf->payload) % align; in AlignMemory() local 326 if (remainder) { in AlignMemory() 327 uint32_t offset = align - remainder; in AlignMemory()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | dhd_wlfc.c | 2974 uint16 remainder = (uint16)tlv_hdr_len; in dhd_wlfc_parse_header_info() local 2996 if (remainder) { in dhd_wlfc_parse_header_info() 2997 while ((processed < (WLFC_MAX_PENDING_DATALEN * 2)) && (remainder > 0)) { in dhd_wlfc_parse_header_info() 3000 remainder -= 1; in dhd_wlfc_parse_header_info() 3008 if (remainder < (2 + len)) in dhd_wlfc_parse_header_info() 3011 remainder -= 2 + len; in dhd_wlfc_parse_header_info() 3016 __FUNCTION__, __LINE__, type, remainder, processed)); in dhd_wlfc_parse_header_info() 3029 __FUNCTION__, __LINE__, type, remainder, processed)); in dhd_wlfc_parse_header_info() 3072 if (remainder != 0 && wlfc) { in dhd_wlfc_parse_header_info()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | dhd_wlfc.c | 3007 uint16 remainder = (uint16)tlv_hdr_len; in dhd_wlfc_parse_header_info() local 3029 if (remainder) { in dhd_wlfc_parse_header_info() 3030 while ((processed < (WLFC_MAX_PENDING_DATALEN * 2)) && (remainder > 0)) { in dhd_wlfc_parse_header_info() 3033 remainder -= 1; in dhd_wlfc_parse_header_info() 3041 if (remainder < (2 + len)) in dhd_wlfc_parse_header_info() 3044 remainder -= 2 + len; in dhd_wlfc_parse_header_info() 3049 __FUNCTION__, __LINE__, type, remainder, processed)); in dhd_wlfc_parse_header_info() 3062 __FUNCTION__, __LINE__, type, remainder, processed)); in dhd_wlfc_parse_header_info() 3105 if (remainder != 0 && wlfc) { in dhd_wlfc_parse_header_info()
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | dhd_wlfc.c | 3069 uint16 remainder = (uint16)tlv_hdr_len; in dhd_wlfc_parse_header_info() local 3091 if (remainder) { in dhd_wlfc_parse_header_info() 3093 (remainder > 0)) { in dhd_wlfc_parse_header_info() 3096 remainder -= 1; in dhd_wlfc_parse_header_info() 3104 if (remainder < (0x2 + len)) { in dhd_wlfc_parse_header_info() 3108 remainder -= 0x2 + len; in dhd_wlfc_parse_header_info() 3113 __FUNCTION__, __LINE__, type, remainder, processed)); in dhd_wlfc_parse_header_info() 3127 __FUNCTION__, __LINE__, type, remainder, in dhd_wlfc_parse_header_info() 3172 if (remainder != 0 && wlfc) { in dhd_wlfc_parse_header_info()
|