Lines Matching refs:num_channels
92 unsigned int num_channels; member
108 [CAP1106] = { .product_id = 0x55, .num_channels = 6, .num_leds = 0, .no_gain = false },
109 [CAP1126] = { .product_id = 0x53, .num_channels = 6, .num_leds = 2, .no_gain = false },
110 [CAP1188] = { .product_id = 0x50, .num_channels = 8, .num_leds = 8, .no_gain = false },
111 [CAP1203] = { .product_id = 0x6d, .num_channels = 3, .num_leds = 0, .no_gain = true },
112 [CAP1206] = { .product_id = 0x67, .num_channels = 6, .num_leds = 0, .no_gain = true },
113 [CAP1293] = { .product_id = 0x6f, .num_channels = 3, .num_leds = 0, .no_gain = false },
114 [CAP1298] = { .product_id = 0x71, .num_channels = 8, .num_leds = 0, .no_gain = false },
347 if (!cap || !cap->num_channels) { in cap11xx_i2c_probe()
353 struct_size(priv, keycodes, cap->num_channels), in cap11xx_i2c_probe()
414 for (i = 0; i < cap->num_channels; i++) in cap11xx_i2c_probe()
418 priv->keycodes, cap->num_channels); in cap11xx_i2c_probe()
445 for (i = 0; i < cap->num_channels; i++) in cap11xx_i2c_probe()
452 priv->idev->keycodemax = cap->num_channels; in cap11xx_i2c_probe()