Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/keyboard/
Dcap11xx.c330 u32 gain32; in cap11xx_i2c_probe() local
380 if (!of_property_read_u32(node, "microchip,sensor-gain", &gain32)) { in cap11xx_i2c_probe()
381 if (is_power_of_2(gain32) && gain32 <= 8) in cap11xx_i2c_probe()
382 gain = ilog2(gain32); in cap11xx_i2c_probe()
384 dev_err(dev, "Invalid sensor-gain value %d\n", gain32); in cap11xx_i2c_probe()