Lines Matching refs:max_adapters
69 * @max_adapters: Maximum number of adapters this I2C ATR can have
87 int max_adapters;
398 for (chan_id = 0; chan_id < atr->max_adapters; ++chan_id) {
403 if (chan_id == atr->max_adapters)
501 const struct i2c_atr_ops *ops, int max_adapters)
506 if (max_adapters > ATR_MAX_ADAPTERS)
512 atr = kzalloc(struct_size(atr, adapter, max_adapters), GFP_KERNEL);
522 atr->max_adapters = max_adapters;
556 for (i = 0; i < atr->max_adapters; ++i)
577 if (chan_id >= atr->max_adapters) {