Lines Matching defs:port

166 struct port {  struct
171 struct ports_device *portdev; argument
174 struct port_buffer *inbuf; argument
178 * port. Has to be a spinlock because it can be called from argument
186 /* The IO vqs for this port */ argument
189 /* File in the debugfs directory that exposes this port's information */ argument
194 * this port for accounting and debugging purposes. These argument
197 struct port_stats stats; argument
205 /* Each port associates with a separate char device */ argument
209 /* Reference-counting to handle port hot-unplugs and file operations */ argument
215 /* The 'name' of the port that we expose via sysfs properties */ argument
221 /* The 'id' to identify the port with the Host */ argument
229 /* We should allow only one process to open a port */ argument
233 static struct port *find_port_by_vtermno(u32 vtermno) in find_port_by_vtermno() argument
235 struct port *port; in find_port_by_vtermno() local
255 struct port *port; in find_port_by_devt_in_portdev() local
275 struct port *port; in find_port_by_devt() local
292 struct port *port; in find_port_by_id() local
309 struct port *port; in find_port_by_vq() local
322 static bool is_console_port(struct port *port) in is_console_port()
459 static struct port_buffer *get_inbuf(struct port *port) in get_inbuf()
497 static void discard_port_data(struct port *port) in discard_port_data()
523 static bool port_has_data(struct port *port) in port_has_data()
569 static ssize_t send_control_msg(struct port *port, unsigned int event, in send_control_msg()
580 static void reclaim_consumed_buffers(struct port *port) in reclaim_consumed_buffers()
595 static ssize_t __send_to_port(struct port *port, struct scatterlist *sg, in __send_to_port()
653 static ssize_t fill_readbuf(struct port *port, u8 __user *out_buf, in fill_readbuf()
696 static bool will_read_block(struct port *port) in will_read_block()
705 static bool will_write_block(struct port *port) in will_write_block()
731 struct port *port; in port_fops_read() local
775 static int wait_port_writable(struct port *port, bool nonblock) in wait_port_writable()
798 struct port *port; in port_fops_write() local
903 struct port *port = filp->private_data; in port_fops_splice_write() local
962 struct port *port; in port_fops_poll() local
987 struct port *port; in port_fops_release() local
1022 struct port *port; in port_fops_open() local
1075 struct port *port; in port_fops_fasync() local
1108 struct port *port; in put_chars() local
1136 struct port *port; in get_chars() local
1148 static void resize_console(struct port *port) in resize_console()
1167 struct port *port; in notifier_add_vio() local
1193 static int init_port_console(struct port *port) in init_port_console()
1242 struct port *port; in show_port_name() local
1263 struct port *port = s->private; in port_debugfs_show() local
1281 static void set_console_size(struct port *port, u16 rows, u16 cols) in set_console_size()
1316 static void send_sigio_to_port(struct port *port) in send_sigio_to_port()
1325 struct port *port; in add_port() local
1450 struct port *port; in remove_port() local
1457 static void remove_port_data(struct port *port) in remove_port_data()
1474 static void unplug_port(struct port *port) in unplug_port()
1531 struct port *port; in handle_control_message() local
1702 struct port *port; in out_intr() local
1715 struct port *port; in in_intr() local
1783 struct port *port; in config_work_handler() local
1907 struct port *port, *port2; in virtcons_remove() local
2095 struct port *port; in virtcons_freeze() local
2130 struct port *port; in virtcons_restore() local