Home
last modified time | relevance | path

Searched refs:xport (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/input/rmi4/
H A 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, struc in rmi_smb_write_block()
174 smb_block_read(struct rmi_transport_dev *xport, u8 commandcode, void *buf, size_t len) smb_block_read() argument
189 rmi_smb_read_block(struct rmi_transport_dev *xport, u16 rmiaddr, void *databuff, size_t len) rmi_smb_read_block() argument
265 rmi_smb_reset(struct rmi_transport_dev *xport, u16 reset_addr) rmi_smb_reset() argument
[all...]
H A Drmi_i2c.c19 * @xport: The transport interface structure
32 struct rmi_transport_dev xport; member
50 * @xport: The pointer to the rmi_transport_dev struct
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()
[all...]
H A 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()
H A 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()
244 * @xport: The pointer to the rmi_transport_dev struct
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, struc in rmi_spi_read_block()
[all...]
H A Drmi_bus.c72 * @xport: the transport device to register
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()
115 * @xport: the transport driver to unregister
118 void rmi_unregister_transport_device(struct rmi_transport_dev *xport) in rmi_unregister_transport_device() argument
[all...]
H A 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 in rmi_driver_probe()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/
H A Defct_xport.c29 struct efct_xport *xport; in efct_xport_alloc() local
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()
81 efct_xport_attach(struct efct_xport *xport) in efct_xport_attach() argument
83 struct efct *efct = xport->efct; in efct_xport_attach()
94 xport in efct_xport_attach()
183 struct efct_xport *xport = from_timer(xport, t, stats_timer); efct_xport_stats_timer_cb() local
193 struct efct_xport *xport = NULL; efct_xport_config_stats_timer() local
214 efct_xport_initialize(struct efct_xport *xport) efct_xport_initialize() argument
264 efct_xport_status(struct efct_xport *xport, enum efct_xport_status cmd, union efct_xport_stats_u *result) efct_xport_status() argument
500 efct_xport_detach(struct efct_xport *xport) efct_xport_detach() argument
527 efct_xport_control(struct efct_xport *xport, enum efct_xport_ctrl cmd, ...) efct_xport_control() argument
638 efct_xport_free(struct efct_xport *xport) efct_xport_free() argument
812 struct efct_xport *xport = efct->xport; efct_get_stats() local
[all...]
H A Defct_scsi.c33 struct efct_xport *xport; in efct_scsi_io_alloc() local
39 xport = efct->xport; in efct_scsi_io_alloc()
41 io = efct_io_pool_io_alloc(efct->xport->io_pool); in efct_scsi_io_alloc()
44 atomic_add_return(1, &xport->io_alloc_failed_count); in efct_scsi_io_alloc()
95 efct_io_pool_io_free(efct->xport->io_pool, io); in _efct_scsi_io_free()
391 struct efct_xport *xport = efct->xport; in efct_scsi_dispatch_pending() local
397 spin_lock_irqsave(&xport->io_pending_lock, flags); in efct_scsi_dispatch_pending()
399 if (!list_empty(&xport in efct_scsi_dispatch_pending()
460 struct efct_xport *xport = efct->xport; efct_scsi_check_pending() local
521 struct efct_xport *xport = efct->xport; efct_scsi_io_dispatch() local
588 struct efct_xport *xport = efct->xport; efct_scsi_io_dispatch_abort() local
697 struct efct_xport *xport = efct->xport; efct_scsi_xfer_data() local
1100 struct efct_xport *xport; efct_scsi_tgt_abort_io() local
[all...]
H A Defct_xport.h134 * lock: xport->io_pending_lock
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);
H A Defct_driver.c158 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()
214 if (efct_xport_control(efct->xport, EFCT_XPORT_SHUTDOWN)) in efct_device_detach()
220 efct_xport_detach(efct->xport); in efct_device_detach()
222 efct_xport_free(efct->xport); in efct_device_detach()
[all...]
H A Defct_io.c98 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()
H A Defct_driver.h67 struct efct_xport *xport; member
/kernel/linux/linux-5.10/drivers/input/rmi4/
H A 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, struc in rmi_smb_write_block()
174 smb_block_read(struct rmi_transport_dev *xport, u8 commandcode, void *buf, size_t len) smb_block_read() argument
189 rmi_smb_read_block(struct rmi_transport_dev *xport, u16 rmiaddr, void *databuff, size_t len) rmi_smb_read_block() argument
265 rmi_smb_reset(struct rmi_transport_dev *xport, u16 reset_addr) rmi_smb_reset() argument
[all...]
H A Drmi_i2c.c19 * @xport: The transport interface structure
28 struct rmi_transport_dev xport; member
46 * @xport: The pointer to the rmi_transport_dev struct
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()
[all...]
H A 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()
H A 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()
242 * @xport: The pointer to the rmi_transport_dev struct
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, struc in rmi_spi_read_block()
[all...]
H A Drmi_bus.c72 * @xport: the transport device to register
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()
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()
114 * @xport: the transport driver to unregister
117 void rmi_unregister_transport_device(struct rmi_transport_dev *xport) in rmi_unregister_transport_device() argument
119 struct rmi_device *rmi_dev = xport in rmi_unregister_transport_device()
[all...]
H A 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 in rmi_driver_probe()
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-rmi.c59 * @xport: transport device to be registered with the RMI4 core.
82 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 in rmi_input_event()
488 rmi_hid_reset(struct rmi_transport_dev *xport, u16 reset_addr) rmi_hid_reset() argument
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-rmi.c59 * @xport: transport device to be registered with the RMI4 core.
82 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()
259 static int rmi_hid_write_block(struct rmi_transport_dev *xport, u16 addr, in rmi_hid_write_block() argument
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()
323 struct rmi_device *rmi_dev = hdata->xport in rmi_input_event()
488 rmi_hid_reset(struct rmi_transport_dev *xport, u16 reset_addr) rmi_hid_reset() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Drmi.h282 int (*write_block)(struct rmi_transport_dev *xport, u16 addr,
284 int (*read_block)(struct rmi_transport_dev *xport, u16 addr,
286 int (*reset)(struct rmi_transport_dev *xport, u16 reset_addr);
318 * @xport: Pointer to the transport interface
326 struct rmi_transport_dev *xport; member
369 int rmi_register_transport_device(struct rmi_transport_dev *xport);
370 void rmi_unregister_transport_device(struct rmi_transport_dev *xport);
/kernel/linux/linux-6.6/include/linux/
H A Drmi.h282 int (*write_block)(struct rmi_transport_dev *xport, u16 addr,
284 int (*read_block)(struct rmi_transport_dev *xport, u16 addr,
286 int (*reset)(struct rmi_transport_dev *xport, u16 reset_addr);
318 * @xport: Pointer to the transport interface
326 struct rmi_transport_dev *xport; member
369 int rmi_register_transport_device(struct rmi_transport_dev *xport);
370 void rmi_unregister_transport_device(struct rmi_transport_dev *xport);
/kernel/linux/linux-5.10/fs/afs/
H A Daddr_list.c137 unsigned int xport = port; in afs_parse_text_addrs() local
176 xport = 0; in afs_parse_text_addrs()
183 xport *= 10; in afs_parse_text_addrs()
184 xport += *p - '0'; in afs_parse_text_addrs()
185 if (xport > 65535) { in afs_parse_text_addrs()
200 afs_merge_fs_addr4(alist, x[0], xport); in afs_parse_text_addrs()
202 afs_merge_fs_addr6(alist, x, xport); in afs_parse_text_addrs()
/kernel/linux/linux-6.6/fs/afs/
H A Daddr_list.c137 unsigned int xport = port; in afs_parse_text_addrs() local
176 xport = 0; in afs_parse_text_addrs()
183 xport *= 10; in afs_parse_text_addrs()
184 xport += *p - '0'; in afs_parse_text_addrs()
185 if (xport > 65535) { in afs_parse_text_addrs()
200 afs_merge_fs_addr4(alist, x[0], xport); in afs_parse_text_addrs()
202 afs_merge_fs_addr6(alist, x, xport); in afs_parse_text_addrs()
/kernel/linux/linux-5.10/sound/isa/
H A Dsc6000.c355 long xport, long xmpu, in sc6000_hw_cfg_encode()
360 if (xport == 0x240) in sc6000_hw_cfg_encode()
354 sc6000_hw_cfg_encode(char __iomem *vport, int *cfg, long xport, long xmpu, long xmss_port, int joystick) sc6000_hw_cfg_encode() argument

Completed in 18 milliseconds

12