Lines Matching refs:cap
514 const struct cap11xx_hw_model *cap;
523 cap = &cap11xx_devices[id->driver_data];
524 if (!cap || !cap->num_channels) {
530 struct_size(priv, keycodes, cap->num_channels),
545 if (val != cap->product_id) {
547 val, cap->product_id);
568 priv->model = cap;
589 for (i = 0; i < cap->num_channels; i++)
596 priv->idev->keycodemax = cap->num_channels;
599 priv->idev->id.product = cap->product_id;
605 error = cap11xx_init_leds(dev, priv, cap->num_leds);