Lines Matching refs:rmi_dev
68 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_read_sensor_tuning() local
93 ret = rmi_read_block(rmi_dev, fn->fd.control_base_addr + offset, buf, in rmi_f12_read_sensor_tuning()
202 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_attention() local
203 struct rmi_driver_data *drvdata = dev_get_drvdata(&rmi_dev->dev); in rmi_f12_attention()
218 retval = rmi_read_block(rmi_dev, f12->data_addr, in rmi_f12_attention()
240 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_write_control_regs() local
262 ret = rmi_read_block(rmi_dev, fn->fd.control_base_addr in rmi_f12_write_control_regs()
282 ret = rmi_write_block(rmi_dev, in rmi_f12_write_control_regs()
296 struct rmi_driver *drv = fn->rmi_dev->driver; in rmi_f12_config()
304 drv->clear_irq_bits(fn->rmi_dev, f12->abs_mask); in rmi_f12_config()
306 drv->set_irq_bits(fn->rmi_dev, f12->abs_mask); in rmi_f12_config()
308 drv->clear_irq_bits(fn->rmi_dev, f12->rel_mask); in rmi_f12_config()
322 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_probe() local
327 struct rmi_device_platform_data *pdata = rmi_get_platform_data(rmi_dev); in rmi_f12_probe()
328 struct rmi_driver_data *drvdata = dev_get_drvdata(&rmi_dev->dev); in rmi_f12_probe()
336 ret = rmi_read(fn->rmi_dev, query_addr, &buf); in rmi_f12_probe()
373 ret = rmi_read_register_desc(rmi_dev, query_addr, in rmi_f12_probe()
383 ret = rmi_read_register_desc(rmi_dev, query_addr, in rmi_f12_probe()
393 ret = rmi_read_register_desc(rmi_dev, query_addr, in rmi_f12_probe()