Lines Matching refs:rmi_dev
68 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_read_sensor_tuning() local
94 ret = rmi_read_block(rmi_dev, fn->fd.control_base_addr + offset, buf, in rmi_f12_read_sensor_tuning()
204 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_attention() local
205 struct rmi_driver_data *drvdata = dev_get_drvdata(&rmi_dev->dev); in rmi_f12_attention()
220 retval = rmi_read_block(rmi_dev, f12->data_addr, in rmi_f12_attention()
242 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_write_control_regs() local
264 ret = rmi_read_block(rmi_dev, fn->fd.control_base_addr in rmi_f12_write_control_regs()
284 ret = rmi_write_block(rmi_dev, in rmi_f12_write_control_regs()
298 struct rmi_driver *drv = fn->rmi_dev->driver; in rmi_f12_config()
301 drv->set_irq_bits(fn->rmi_dev, fn->irq_mask); in rmi_f12_config()
315 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_probe() local
320 struct rmi_device_platform_data *pdata = rmi_get_platform_data(rmi_dev); in rmi_f12_probe()
321 struct rmi_driver_data *drvdata = dev_get_drvdata(&rmi_dev->dev); in rmi_f12_probe()
326 ret = rmi_read(fn->rmi_dev, query_addr, &buf); in rmi_f12_probe()
354 ret = rmi_read_register_desc(rmi_dev, query_addr, in rmi_f12_probe()
364 ret = rmi_read_register_desc(rmi_dev, query_addr, in rmi_f12_probe()
374 ret = rmi_read_register_desc(rmi_dev, query_addr, in rmi_f12_probe()