Searched refs:gain32 (Results 1 – 1 of 1) sorted by relevance
339 u32 gain32; in cap11xx_i2c_probe() local390 if (!of_property_read_u32(node, "microchip,sensor-gain", &gain32)) { in cap11xx_i2c_probe()394 else if (is_power_of_2(gain32) && gain32 <= 8) in cap11xx_i2c_probe()395 gain = ilog2(gain32); in cap11xx_i2c_probe()397 dev_err(dev, "Invalid sensor-gain value %d\n", gain32); in cap11xx_i2c_probe()