Home
last modified time | relevance | path

Searched refs:to_i2c_driver (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/i2c/
Di2c-core.c81 driver = to_i2c_driver(drv); in i2c_device_match()
116 driver = to_i2c_driver(dev->driver); in i2c_device_probe()
142 driver = to_i2c_driver(dev->driver); in i2c_device_remove()
164 driver = to_i2c_driver(dev->driver); in i2c_device_shutdown()
177 driver = to_i2c_driver(dev->driver); in i2c_legacy_suspend()
190 driver = to_i2c_driver(dev->driver); in i2c_legacy_resume()
815 return i2c_do_add_adapter(to_i2c_driver(d), data); in __process_new_adapter()
1023 return i2c_do_del_adapter(to_i2c_driver(d), data); in __process_removed_adapter()
/linux-3.4.99/include/linux/
Di2c.h200 #define to_i2c_driver(d) container_of(d, struct i2c_driver, driver) macro