| /drivers/input/rmi4/ |
| A D | rmi_smbus.c | 32 struct rmi_transport_dev xport; member 62 container_of(xport, struct rmi_smb_xport, xport); in smb_block_write() 83 container_of(xport, struct rmi_smb_xport, xport); in rmi_smb_get_command_code() 142 container_of(xport, struct rmi_smb_xport, xport); in rmi_smb_write_block() 178 container_of(xport, struct rmi_smb_xport, xport); in smb_block_read() 193 container_of(xport, struct rmi_smb_xport, xport); in rmi_smb_read_block() 268 container_of(xport, struct rmi_smb_xport, xport); in rmi_smb_reset() 323 rmi_smb->xport.dev = &client->dev; in rmi_smb_probe() 324 rmi_smb->xport.pdata = *pdata; in rmi_smb_probe() 326 rmi_smb->xport.proto_name = "smb"; in rmi_smb_probe() [all …]
|
| A D | rmi_i2c.c | 32 struct rmi_transport_dev xport; member 83 container_of(xport, struct rmi_i2c_xport, xport); in rmi_i2c_write_block() 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() 214 pdata = &rmi_i2c->xport.pdata; in rmi_i2c_probe() 257 rmi_i2c->xport.dev = &client->dev; in rmi_i2c_probe() 258 rmi_i2c->xport.proto_name = "i2c"; in rmi_i2c_probe() 259 rmi_i2c->xport.ops = &rmi_i2c_ops; in rmi_i2c_probe() 275 error = rmi_register_transport_device(&rmi_i2c->xport); in rmi_i2c_probe() 296 ret = rmi_driver_suspend(rmi_i2c->xport.rmi_dev, true); in rmi_i2c_suspend() [all …]
|
| A D | rmi_spi.c | 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() 276 container_of(xport, struct rmi_spi_xport, xport); in rmi_spi_write_block() 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() [all …]
|
| A D | rmi_bus.h | 107 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()
|
| A D | rmi_bus.c | 74 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() 93 rmi_dev->dev.parent = xport->dev; in rmi_register_transport_device() 95 xport->rmi_dev = rmi_dev; in rmi_register_transport_device() 101 rmi_dbg(RMI_DEBUG_CORE, xport->dev, in rmi_register_transport_device() 103 dev_name(rmi_dev->xport->dev), dev_name(&rmi_dev->dev)); in rmi_register_transport_device() 118 void rmi_unregister_transport_device(struct rmi_transport_dev *xport) in rmi_unregister_transport_device() argument 120 struct rmi_device *rmi_dev = xport->rmi_dev; in rmi_unregister_transport_device() 159 struct device_node *node = fn->rmi_dev->xport->dev->of_node; in rmi_function_of_probe()
|
| A D | rmi_driver.c | 229 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 …]
|
| A D | rmi_f01.c | 641 if (device_may_wakeup(fn->rmi_dev->xport->dev)) in rmi_f01_suspend()
|
| /drivers/scsi/elx/efct/ |
| A D | efct_xport.c | 31 xport = kzalloc(sizeof(*xport), GFP_KERNEL); in efct_xport_alloc() 32 if (!xport) in efct_xport_alloc() 33 return xport; in efct_xport_alloc() 35 xport->efct = efct; in efct_xport_alloc() 36 return xport; in efct_xport_alloc() 183 struct efct_xport *xport = timer_container_of(xport, t, stats_timer); in efct_xport_stats_timer_cb() local 200 xport = efct->xport; in efct_xport_config_stats_timer() 271 efct = xport->efct; in efct_xport_status() 640 if (xport) { in efct_xport_free() 643 kfree(xport); in efct_xport_free() [all …]
|
| A D | efct_scsi.c | 33 struct efct_xport *xport; in efct_scsi_io_alloc() local 39 xport = efct->xport; in efct_scsi_io_alloc() 391 struct efct_xport *xport = efct->xport; in efct_scsi_dispatch_pending() local 460 struct efct_xport *xport = efct->xport; in efct_scsi_check_pending() local 521 struct efct_xport *xport = efct->xport; in efct_scsi_io_dispatch() local 551 &xport->io_pending_list); in efct_scsi_io_dispatch() 588 struct efct_xport *xport = efct->xport; in efct_scsi_io_dispatch_abort() local 696 if (efct->xport) { in efct_scsi_xfer_data() 697 struct efct_xport *xport = efct->xport; in efct_scsi_xfer_data() local 1100 struct efct_xport *xport; in efct_scsi_tgt_abort_io() local [all …]
|
| A D | efct_xport.h | 168 efct_xport_attach(struct efct_xport *xport); 170 efct_xport_initialize(struct efct_xport *xport); 172 efct_xport_detach(struct efct_xport *xport); 174 efct_xport_control(struct efct_xport *xport, enum efct_xport_ctrl cmd, ...); 176 efct_xport_status(struct efct_xport *xport, enum efct_xport_status cmd, 179 efct_xport_free(struct efct_xport *xport);
|
| A D | efct_driver.c | 158 efct->xport = efct_xport_alloc(efct); in efct_device_attach() 159 if (!efct->xport) { in efct_device_attach() 165 rc = efct_xport_attach(efct->xport); in efct_device_attach() 171 rc = efct_xport_initialize(efct->xport); in efct_device_attach() 196 efct_xport_detach(efct->xport); in efct_device_attach() 198 efct_xport_free(efct->xport); in efct_device_attach() 199 efct->xport = NULL; in efct_device_attach() 220 efct_xport_detach(efct->xport); in efct_device_detach() 222 efct_xport_free(efct->xport); in efct_device_detach() 223 efct->xport = NULL; in efct_device_detach() [all …]
|
| A D | efct_io.c | 98 efct->xport->io_pool = NULL; in efct_io_pool_free() 140 atomic_add_return(1, &efct->xport->io_active_count); in efct_io_pool_io_alloc() 141 atomic_add_return(1, &efct->xport->io_total_alloc); in efct_io_pool_io_alloc() 166 atomic_sub_return(1, &efct->xport->io_active_count); in efct_io_pool_io_free() 167 atomic_add_return(1, &efct->xport->io_total_free); in efct_io_pool_io_free()
|
| A D | efct_driver.h | 67 struct efct_xport *xport; member
|
| A D | efct_lio.c | 116 ret = efct_xport_control(efct->xport, EFCT_XPORT_PORT_ONLINE); in efct_lio_tpg_enable_store()
|
| /drivers/hid/ |
| A D | hid-rmi.c | 82 struct rmi_transport_dev xport; member 191 struct rmi_data *data = container_of(xport, struct rmi_data, xport); in rmi_hid_read_block() 262 struct rmi_data *data = container_of(xport, struct rmi_data, xport); in rmi_hid_write_block() 298 struct rmi_device *rmi_dev = data->xport.rmi_dev; in rmi_reset_attn_mode() 488 struct rmi_data *data = container_of(xport, struct rmi_data, xport); in rmi_hid_reset() 503 data->xport.input = input; in rmi_input_configured() 723 data->xport.dev = hdev->dev.parent; in rmi_probe() 724 data->xport.pdata = rmi_hid_pdata; in rmi_probe() 725 data->xport.pdata.irq = data->rmi_irq; in rmi_probe() 726 data->xport.proto_name = "hid"; in rmi_probe() [all …]
|
| /drivers/net/hyperv/ |
| A D | hyperv_net.h | 1497 u8 xport; member
|