Lines Matching refs:cap
205 const struct cap11xx_hw_model *cap; in cap11xx_i2c_probe() local
215 cap = &cap11xx_devices[id->driver_data]; in cap11xx_i2c_probe()
216 if (!cap || !cap->num_channels) { in cap11xx_i2c_probe()
223 cap->num_channels * sizeof(priv->keycodes[0]), in cap11xx_i2c_probe()
236 if (val != cap->product_id) { in cap11xx_i2c_probe()
238 val, cap->product_id); in cap11xx_i2c_probe()
275 for (i = 0; i < cap->num_channels; i++) in cap11xx_i2c_probe()
279 priv->keycodes, cap->num_channels); in cap11xx_i2c_probe()
303 for (i = 0; i < cap->num_channels; i++) in cap11xx_i2c_probe()
310 priv->idev->keycodemax = cap->num_channels; in cap11xx_i2c_probe()
313 priv->idev->id.product = cap->product_id; in cap11xx_i2c_probe()