Searched refs:rmi_i2c (Results 1 – 2 of 2) sorted by relevance
62 static int rmi_set_page(struct rmi_i2c_xport *rmi_i2c, u8 page) in rmi_set_page() argument64 struct i2c_client *client = rmi_i2c->client; in rmi_set_page()75 rmi_i2c->page = page; in rmi_set_page()82 struct rmi_i2c_xport *rmi_i2c = in rmi_i2c_write_block() local84 struct i2c_client *client = rmi_i2c->client; in rmi_i2c_write_block()88 mutex_lock(&rmi_i2c->page_mutex); in rmi_i2c_write_block()90 if (!rmi_i2c->tx_buf || rmi_i2c->tx_buf_size < tx_size) { in rmi_i2c_write_block()91 if (rmi_i2c->tx_buf) in rmi_i2c_write_block()92 devm_kfree(&client->dev, rmi_i2c->tx_buf); in rmi_i2c_write_block()93 rmi_i2c->tx_buf_size = tx_size + BUFFER_SIZE_INCREMENT; in rmi_i2c_write_block()[all …]
18 obj-$(CONFIG_RMI4_I2C) += rmi_i2c.o