Lines Matching refs:xport
32 struct rmi_transport_dev xport; member
79 static int rmi_i2c_write_block(struct rmi_transport_dev *xport, u16 addr, in rmi_i2c_write_block() argument
83 container_of(xport, struct rmi_i2c_xport, xport); in rmi_i2c_write_block()
128 static int rmi_i2c_read_block(struct rmi_transport_dev *xport, u16 addr, in rmi_i2c_read_block() argument
132 container_of(xport, struct rmi_i2c_xport, xport); in rmi_i2c_read_block()
198 rmi_unregister_transport_device(&rmi_i2c->xport); in rmi_i2c_unregister_transport()
215 pdata = &rmi_i2c->xport.pdata; in rmi_i2c_probe()
258 rmi_i2c->xport.dev = &client->dev; in rmi_i2c_probe()
259 rmi_i2c->xport.proto_name = "i2c"; in rmi_i2c_probe()
260 rmi_i2c->xport.ops = &rmi_i2c_ops; in rmi_i2c_probe()
276 error = rmi_register_transport_device(&rmi_i2c->xport); in rmi_i2c_probe()
298 ret = rmi_driver_suspend(rmi_i2c->xport.rmi_dev, true); in rmi_i2c_suspend()
321 ret = rmi_driver_resume(rmi_i2c->xport.rmi_dev, true); in rmi_i2c_resume()
336 ret = rmi_driver_suspend(rmi_i2c->xport.rmi_dev, false); in rmi_i2c_runtime_suspend()
359 ret = rmi_driver_resume(rmi_i2c->xport.rmi_dev, false); in rmi_i2c_runtime_resume()