Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/i2c/ccs/
Dccs-reg-access.c20 static u32 float_to_u32_mul_1000000(struct i2c_client *client, u32 phloat) in float_to_u32_mul_1000000() argument
25 if (phloat >= 0x80000000) { in float_to_u32_mul_1000000()
30 if (phloat == 0x7f800000) in float_to_u32_mul_1000000()
33 if ((phloat & 0x7f800000) == 0x7f800000) { in float_to_u32_mul_1000000()
39 if (phloat == 0) in float_to_u32_mul_1000000()
42 if (phloat > 0x4f800000) in float_to_u32_mul_1000000()
49 exp = ((int32_t)phloat >> 23) - 127; in float_to_u32_mul_1000000()
52 man = ((phloat & 0x7fffff) | 0x800000) * 1000000ULL; in float_to_u32_mul_1000000()