Lines Matching defs:driver
199 * struct i2c_driver - represent an I2C device driver
207 * @driver: Device driver model driver
208 * @id_table: List of I2C devices supported by this driver
213 * The driver.owner field should be set to the module owner of this driver.
214 * The driver.name field should be set to the name of this driver.
222 * If @detect is missing, the driver will still work fine for enumerated
236 /* Standard driver model interfaces */
240 /* New driver model interface to aid the seamless removal of the
245 /* driver model interfaces that don't relate to enumeration */
262 struct device_driver driver;
270 #define to_i2c_driver(d) container_of(d, struct i2c_driver, driver)
285 * calls it to pass on slave events to the slave driver.
288 * i2c bus. The behaviour exposed to Linux is defined by the driver
383 * that are present. This information is used to grow the driver model tree.
549 * @recover_bus: Recover routine. Either pass driver's recover_bus() routine, or
806 int i2c_register_driver(struct module *owner, struct i2c_driver *driver);
807 void i2c_del_driver(struct i2c_driver *driver);
810 #define i2c_add_driver(driver) i2c_register_driver(THIS_MODULE, driver)
814 return !IS_ERR_OR_NULL(client) && client->dev.driver;
870 * module_i2c_driver() - Helper macro for registering a modular I2C driver
880 * builtin_i2c_driver() - Helper macro for registering a builtin I2C driver
884 * init. This eliminates a lot of boilerplate. Each driver may only