Searched refs:slave_cb (Results 1 – 1 of 1) sorted by relevance
17 int i2c_slave_register(struct i2c_client *client, i2c_slave_cb_t slave_cb) in i2c_slave_register() argument21 if (WARN(IS_ERR_OR_NULL(client) || !slave_cb, "insufficient data\n")) in i2c_slave_register()42 client->slave_cb = slave_cb; in i2c_slave_register()49 client->slave_cb = NULL; in i2c_slave_register()74 client->slave_cb = NULL; in i2c_slave_unregister()