Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/i2c/smiapp/
H A Dsmiapp-regs.c20 uint32_t phloat) in float_to_u32_mul_1000000()
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()
46 * Unbias exponent (note how phloat is now guaranteed to 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()
19 float_to_u32_mul_1000000(struct i2c_client *client, uint32_t phloat) float_to_u32_mul_1000000() argument
/kernel/linux/linux-6.6/drivers/media/i2c/ccs/
H A 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()
46 * Unbias exponent (note how phloat is now guaranteed to 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()

Completed in 2 milliseconds