Lines Matching refs:xport
37 struct rmi_transport_dev xport; member
81 if (rmi_spi->xport.pdata.spi_data.read_delay_us) in rmi_spi_manage_pools()
86 if (rmi_spi->xport.pdata.spi_data.write_delay_us) in rmi_spi_manage_pools()
118 &rmi_spi->xport.pdata.spi_data; in rmi_spi_xfer()
272 static int rmi_spi_write_block(struct rmi_transport_dev *xport, u16 addr, in rmi_spi_write_block() argument
276 container_of(xport, struct rmi_spi_xport, xport); in rmi_spi_write_block()
298 static int rmi_spi_read_block(struct rmi_transport_dev *xport, u16 addr, in rmi_spi_read_block() argument
302 container_of(xport, struct rmi_spi_xport, xport); in rmi_spi_read_block()
368 rmi_unregister_transport_device(&rmi_spi->xport); in rmi_spi_unregister_transport()
386 pdata = &rmi_spi->xport.pdata; in rmi_spi_probe()
413 rmi_spi->xport.dev = &spi->dev; in rmi_spi_probe()
414 rmi_spi->xport.proto_name = "spi"; in rmi_spi_probe()
415 rmi_spi->xport.ops = &rmi_spi_ops; in rmi_spi_probe()
435 error = rmi_register_transport_device(&rmi_spi->xport); in rmi_spi_probe()
457 ret = rmi_driver_suspend(rmi_spi->xport.rmi_dev, true); in rmi_spi_suspend()
470 ret = rmi_driver_resume(rmi_spi->xport.rmi_dev, true); in rmi_spi_resume()
485 ret = rmi_driver_suspend(rmi_spi->xport.rmi_dev, false); in rmi_spi_runtime_suspend()
498 ret = rmi_driver_resume(rmi_spi->xport.rmi_dev, false); in rmi_spi_runtime_resume()