Searched refs:rnd_pos (Results 1 – 2 of 2) sorted by relevance
3732 fp_round_64(uint64 num, uint8 rnd_pos) in fp_round_64() argument3738 rnd_val = bcm_shl_64(1, (rnd_pos - 1)); in fp_round_64()3739 rnd_val = (rnd_pos == 0) ? 0 : rnd_val; in fp_round_64()3741 rnd_out = (uint32)bcm_shr_64(rnd_out_tmp, rnd_pos); in fp_round_64()3748 fp_round_32(uint32 num, uint8 rnd_pos) in fp_round_32() argument3753 rnd_val = 1 << (rnd_pos - 1); in fp_round_32()3754 rnd_val = (rnd_pos == 0) ? 0 : rnd_val; in fp_round_32()3756 return (rnd_out_tmp >> rnd_pos); in fp_round_32()
1125 uint32 fp_round_64(uint64 num, uint8 rnd_pos);1126 uint32 fp_round_32(uint32 num, uint8 rnd_pos);