Lines Matching defs:i2c
3 * common keywest i2c layer
10 #include <linux/i2c.h>
22 /* If instantiated via i2c-powermac, we still need to set the client */
30 * This is kind of a hack, best would be to turn powermac to fixed i2c
65 * Let i2c-core delete that device on driver removal.
66 * This is safe because i2c-core holds the core_lock mutex for us.
83 { "MAC,tas3004", 0 }, /* instantiated by i2c-powermac */
87 MODULE_DEVICE_TABLE(i2c, keywest_i2c_id);
99 void snd_pmac_keywest_cleanup(struct pmac_keywest *i2c)
101 if (keywest_ctx && keywest_ctx == i2c) {
123 int snd_pmac_keywest_init(struct pmac_keywest *i2c)
135 keywest_ctx = i2c;
139 snd_printk(KERN_ERR "cannot register keywest i2c driver\n");
144 /* There was already a device from i2c-powermac. Great, let's return */