Lines Matching refs:mux_config
1398 const struct i801_mux_config *mux_config; in i801_add_mux() local
1405 mux_config = priv->mux_drvdata; in i801_add_mux()
1410 gpio_data.values = mux_config->values; in i801_add_mux()
1411 gpio_data.n_values = mux_config->n_values; in i801_add_mux()
1412 gpio_data.classes = mux_config->classes; in i801_add_mux()
1417 struct_size(lookup, table, mux_config->n_gpios + 1), in i801_add_mux()
1422 for (i = 0; i < mux_config->n_gpios; i++) in i801_add_mux()
1423 lookup->table[i] = GPIO_LOOKUP(mux_config->gpio_chip, in i801_add_mux()
1424 mux_config->gpios[i], "mux", 0); in i801_add_mux()
1453 const struct i801_mux_config *mux_config; in i801_get_adapter_class() local
1460 mux_config = id->driver_data; in i801_get_adapter_class()
1461 for (i = 0; i < mux_config->n_values; i++) in i801_get_adapter_class()
1462 class &= ~mux_config->classes[i]; in i801_get_adapter_class()
1465 priv->mux_drvdata = mux_config; in i801_get_adapter_class()