Lines Matching refs:rmi_dev

734 	struct rmi_device *rmi_dev = fn->rmi_dev;  in f11_read_control_regs()  local
738 error = rmi_read_block(rmi_dev, ctrl_base_addr, ctrl->ctrl0_11, in f11_read_control_regs()
753 struct rmi_device *rmi_dev = fn->rmi_dev; in f11_write_control_regs() local
756 error = rmi_write_block(rmi_dev, ctrl_base_addr, ctrl->ctrl0_11, in f11_write_control_regs()
764 static int rmi_f11_get_query_parameters(struct rmi_device *rmi_dev, in rmi_f11_get_query_parameters() argument
774 rc = rmi_read_block(rmi_dev, query_base_addr, query_buf, in rmi_f11_get_query_parameters()
797 rc = rmi_read(rmi_dev, query_base_addr + query_size, query_buf); in rmi_f11_get_query_parameters()
819 rc = rmi_read(rmi_dev, query_base_addr + query_size, in rmi_f11_get_query_parameters()
827 rc = rmi_read_block(rmi_dev, query_base_addr + query_size, in rmi_f11_get_query_parameters()
874 rc = rmi_read(rmi_dev, query_base_addr + query_size, query_buf); in rmi_f11_get_query_parameters()
899 rc = rmi_read(rmi_dev, query_base_addr + query_size, query_buf); in rmi_f11_get_query_parameters()
910 rc = rmi_read(rmi_dev, query_base_addr + query_size, query_buf); in rmi_f11_get_query_parameters()
936 rc = rmi_read(rmi_dev, query_base_addr + query_size, query_buf); in rmi_f11_get_query_parameters()
961 rc = rmi_read(rmi_dev, query_base_addr + query_size, query_buf); in rmi_f11_get_query_parameters()
975 rc = rmi_read(rmi_dev, query_base_addr + query_size, query_buf); in rmi_f11_get_query_parameters()
996 rc = rmi_read_block(rmi_dev, query_base_addr in rmi_f11_get_query_parameters()
1017 rc = rmi_read(rmi_dev, query_base_addr + query_size, in rmi_f11_get_query_parameters()
1027 rc = rmi_read(rmi_dev, query_base_addr + query_size, in rmi_f11_get_query_parameters()
1041 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f11_initialize() local
1050 rmi_get_platform_data(rmi_dev); in rmi_f11_initialize()
1051 struct rmi_driver_data *drvdata = dev_get_drvdata(&rmi_dev->dev); in rmi_f11_initialize()
1091 rc = rmi_read(rmi_dev, query_base_addr, &buf); in rmi_f11_initialize()
1105 rc = rmi_f11_get_query_parameters(rmi_dev, f11, in rmi_f11_initialize()
1160 rc = rmi_read_block(rmi_dev, in rmi_f11_initialize()
1166 rc = rmi_read_block(rmi_dev, in rmi_f11_initialize()
1247 struct rmi_driver *drv = fn->rmi_dev->driver; in rmi_f11_config()
1252 drv->clear_irq_bits(fn->rmi_dev, f11->abs_mask); in rmi_f11_config()
1254 drv->set_irq_bits(fn->rmi_dev, f11->abs_mask); in rmi_f11_config()
1257 drv->clear_irq_bits(fn->rmi_dev, f11->rel_mask); in rmi_f11_config()
1259 drv->set_irq_bits(fn->rmi_dev, f11->rel_mask); in rmi_f11_config()
1272 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f11_attention() local
1273 struct rmi_driver_data *drvdata = dev_get_drvdata(&rmi_dev->dev); in rmi_f11_attention()
1293 error = rmi_read_block(rmi_dev, in rmi_f11_attention()
1316 error = rmi_write(fn->rmi_dev, fn->fd.command_base_addr, in rmi_f11_resume()