Lines Matching refs:num_channels
92 unsigned int num_channels; member
105 [CAP1106] = { .product_id = 0x55, .num_channels = 6, .num_leds = 0, .no_gain = false },
106 [CAP1126] = { .product_id = 0x53, .num_channels = 6, .num_leds = 2, .no_gain = false },
107 [CAP1188] = { .product_id = 0x50, .num_channels = 8, .num_leds = 8, .no_gain = false },
108 [CAP1206] = { .product_id = 0x67, .num_channels = 6, .num_leds = 0, .no_gain = true },
341 if (!cap || !cap->num_channels) { in cap11xx_i2c_probe()
347 struct_size(priv, keycodes, cap->num_channels), in cap11xx_i2c_probe()
405 for (i = 0; i < cap->num_channels; i++) in cap11xx_i2c_probe()
409 priv->keycodes, cap->num_channels); in cap11xx_i2c_probe()
436 for (i = 0; i < cap->num_channels; i++) in cap11xx_i2c_probe()
443 priv->idev->keycodemax = cap->num_channels; in cap11xx_i2c_probe()