Home
last modified time | relevance | path

Searched refs:serport (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/input/serio/
Dserport.c31 struct serport { struct
46 struct serport *serport = serio->port_data; in serport_serio_write() argument
47 return -(serport->tty->ops->write(serport->tty, &data, 1) != 1); in serport_serio_write()
52 struct serport *serport = serio->port_data; in serport_serio_open() local
55 spin_lock_irqsave(&serport->lock, flags); in serport_serio_open()
56 set_bit(SERPORT_ACTIVE, &serport->flags); in serport_serio_open()
57 spin_unlock_irqrestore(&serport->lock, flags); in serport_serio_open()
65 struct serport *serport = serio->port_data; in serport_serio_close() local
68 spin_lock_irqsave(&serport->lock, flags); in serport_serio_close()
69 clear_bit(SERPORT_ACTIVE, &serport->flags); in serport_serio_close()
[all …]
DMakefile11 obj-$(CONFIG_SERIO_SERPORT) += serport.o
DKconfig56 module will be called serport.
/linux-6.1.9/drivers/tty/serdev/
Dserdev-ttyport.c13 struct serport { struct
29 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_receive_buf() argument
32 if (!test_bit(SERPORT_ACTIVE, &serport->flags)) in ttyport_receive_buf()
51 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_write_wakeup() local
59 test_bit(SERPORT_ACTIVE, &serport->flags)) in ttyport_write_wakeup()
79 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_write_buf() local
80 struct tty_struct *tty = serport->tty; in ttyport_write_buf()
82 if (!test_bit(SERPORT_ACTIVE, &serport->flags)) in ttyport_write_buf()
86 return tty->ops->write(serport->tty, data, len); in ttyport_write_buf()
91 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_write_flush() local
[all …]
/linux-6.1.9/Documentation/i2c/busses/
Di2c-taos-evm.rst25 In order to use this driver, you'll need the serport driver, and the
30 # modprobe serport
/linux-6.1.9/Documentation/input/joydev/
Djoystick.rst75 modprobe serport
86 alias tty-ldisc-2 serport
456 In addition to having the spaceorb/spaceball and serport modules in the