Home
last modified time | relevance | path

Searched refs:xport (Results 1 – 9 of 9) sorted by relevance

/drivers/input/rmi4/
Drmi_smbus.c32 struct rmi_transport_dev xport; member
58 static int smb_block_write(struct rmi_transport_dev *xport, in smb_block_write() argument
62 container_of(xport, struct rmi_smb_xport, xport); in smb_block_write()
79 static int rmi_smb_get_command_code(struct rmi_transport_dev *xport, in rmi_smb_get_command_code() argument
83 container_of(xport, struct rmi_smb_xport, xport); in rmi_smb_get_command_code()
114 retval = smb_block_write(xport, i + 0x80, &new_map, sizeof(new_map)); in rmi_smb_get_command_code()
136 static int rmi_smb_write_block(struct rmi_transport_dev *xport, u16 rmiaddr, in rmi_smb_write_block() argument
142 container_of(xport, struct rmi_smb_xport, xport); in rmi_smb_write_block()
153 retval = rmi_smb_get_command_code(xport, rmiaddr, block_len, in rmi_smb_write_block()
158 retval = smb_block_write(xport, commandcode, in rmi_smb_write_block()
[all …]
Drmi_i2c.c28 struct rmi_transport_dev xport; member
75 static int rmi_i2c_write_block(struct rmi_transport_dev *xport, u16 addr, in rmi_i2c_write_block() argument
79 container_of(xport, struct rmi_i2c_xport, xport); in rmi_i2c_write_block()
124 static int rmi_i2c_read_block(struct rmi_transport_dev *xport, u16 addr, in rmi_i2c_read_block() argument
128 container_of(xport, struct rmi_i2c_xport, xport); in rmi_i2c_read_block()
194 rmi_unregister_transport_device(&rmi_i2c->xport); in rmi_i2c_unregister_transport()
211 pdata = &rmi_i2c->xport.pdata; in rmi_i2c_probe()
254 rmi_i2c->xport.dev = &client->dev; in rmi_i2c_probe()
255 rmi_i2c->xport.proto_name = "i2c"; in rmi_i2c_probe()
256 rmi_i2c->xport.ops = &rmi_i2c_ops; in rmi_i2c_probe()
[all …]
Drmi_spi.c37 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()
270 static int rmi_spi_write_block(struct rmi_transport_dev *xport, u16 addr, in rmi_spi_write_block() argument
274 container_of(xport, struct rmi_spi_xport, xport); in rmi_spi_write_block()
296 static int rmi_spi_read_block(struct rmi_transport_dev *xport, u16 addr, in rmi_spi_read_block() argument
300 container_of(xport, struct rmi_spi_xport, xport); in rmi_spi_read_block()
366 rmi_unregister_transport_device(&rmi_spi->xport); in rmi_spi_unregister_transport()
384 pdata = &rmi_spi->xport.pdata; in rmi_spi_probe()
[all …]
Drmi_bus.h107 return &d->xport->pdata; in rmi_get_platform_data()
136 return d->xport->ops->read_block(d->xport, addr, buf, 1); in rmi_read()
153 return d->xport->ops->read_block(d->xport, addr, buf, len); in rmi_read_block()
167 return d->xport->ops->write_block(d->xport, addr, &data, 1); in rmi_write()
183 return d->xport->ops->write_block(d->xport, addr, buf, len); in rmi_write_block()
Drmi_bus.c74 int rmi_register_transport_device(struct rmi_transport_dev *xport) in rmi_register_transport_device() argument
86 rmi_dev->xport = xport; in rmi_register_transport_device()
94 xport->rmi_dev = rmi_dev; in rmi_register_transport_device()
100 rmi_dbg(RMI_DEBUG_CORE, xport->dev, in rmi_register_transport_device()
102 dev_name(rmi_dev->xport->dev), dev_name(&rmi_dev->dev)); in rmi_register_transport_device()
117 void rmi_unregister_transport_device(struct rmi_transport_dev *xport) in rmi_unregister_transport_device() argument
119 struct rmi_device *rmi_dev = xport->rmi_dev; in rmi_unregister_transport_device()
158 struct device_node *node = fn->rmi_dev->xport->dev->of_node; in rmi_function_of_probe()
Drmi_driver.c229 dev_driver_string(rmi_dev->xport->dev), in rmi_irq_init()
802 if (rmi_dev->xport->ops->reset) { in rmi_initial_reset()
803 error = rmi_dev->xport->ops->reset(rmi_dev->xport, in rmi_initial_reset()
891 if (clear_wake && device_may_wakeup(rmi_dev->xport->dev)) { in rmi_enable_irq()
926 if (enable_wake && device_may_wakeup(rmi_dev->xport->dev)) { in rmi_disable_irq()
1015 struct fwnode_handle *fwnode = rmi_dev->xport->dev->fwnode; in rmi_probe_interrupts()
1124 if (rmi_dev->xport->dev->of_node) { in rmi_driver_probe()
1125 retval = rmi_driver_of_probe(rmi_dev->xport->dev, pdata); in rmi_driver_probe()
1180 if (rmi_dev->xport->input) { in rmi_driver_probe()
1188 data->input = rmi_dev->xport->input; in rmi_driver_probe()
[all …]
Drmi_f01.c640 if (device_may_wakeup(fn->rmi_dev->xport->dev)) in rmi_f01_suspend()
/drivers/hid/
Dhid-rmi.c82 struct rmi_transport_dev xport; member
188 static int rmi_hid_read_block(struct rmi_transport_dev *xport, u16 addr, in rmi_hid_read_block() argument
191 struct rmi_data *data = container_of(xport, struct rmi_data, xport); in rmi_hid_read_block()
260 static int rmi_hid_write_block(struct rmi_transport_dev *xport, u16 addr, in rmi_hid_write_block() argument
263 struct rmi_data *data = container_of(xport, struct rmi_data, xport); in rmi_hid_write_block()
299 struct rmi_device *rmi_dev = data->xport.rmi_dev; in rmi_reset_attn_mode()
324 struct rmi_device *rmi_dev = hdata->xport.rmi_dev; in rmi_input_event()
443 struct rmi_device *rmi_dev = data->xport.rmi_dev; in rmi_suspend()
461 struct rmi_device *rmi_dev = data->xport.rmi_dev; in rmi_post_resume()
488 static int rmi_hid_reset(struct rmi_transport_dev *xport, u16 reset_addr) in rmi_hid_reset() argument
[all …]
/drivers/net/hyperv/
Dhyperv_net.h1375 u8 xport; member