Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/keyboard/
H A Dcap11xx.c339 u32 gain32; in cap11xx_i2c_probe() local
390 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()