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
236 static struct port *find_port_by_vtermno(u32 vtermno) in find_port_by_vtermno() argument
238 struct port *port; in find_port_by_vtermno() local
258 struct port *port; in find_port_by_devt_in_portdev() local
278 struct port *port; in find_port_by_devt() local
295 struct port *port; in find_port_by_id() local
312 struct port *port; in find_port_by_vq() local
325 static bool is_console_port(struct port *port) in is_console_port()
462 static struct port_buffer *get_inbuf(struct port *port) in get_inbuf()
500 static void discard_port_data(struct port *port) in discard_port_data()
526 static bool port_has_data(struct port *port) in port_has_data()
572 static ssize_t send_control_msg(struct port *port, unsigned int event, in send_control_msg()
583 static void reclaim_consumed_buffers(struct port *port) in reclaim_consumed_buffers()
598 static ssize_t __send_to_port(struct port *port, struct scatterlist *sg, in __send_to_port()
656 static ssize_t fill_readbuf(struct port *port, char __user *out_buf, in fill_readbuf()
699 static bool will_read_block(struct port *port) in will_read_block()
708 static bool will_write_block(struct port *port) in will_write_block()
734 struct port *port; in port_fops_read() local
778 static int wait_port_writable(struct port *port, bool nonblock) in wait_port_writable()
801 struct port *port; in port_fops_write() local
906 struct port *port = filp->private_data; in port_fops_splice_write() local
965 struct port *port; in port_fops_poll() local
990 struct port *port; in port_fops_release() local
1025 struct port *port; in port_fops_open() local
1078 struct port *port; in port_fops_fasync() local
1112 struct port *port; in put_chars() local
1143 struct port *port; in get_chars() local
1159 static void resize_console(struct port *port) in resize_console()
1178 struct port *port; in notifier_add_vio() local
1219 static int init_port_console(struct port *port) in init_port_console()
1275 struct port *port; in show_port_name() local
1296 struct port *port = s->private; in port_debugfs_show() local
1314 static void set_console_size(struct port *port, u16 rows, u16 cols) in set_console_size()
1349 static void send_sigio_to_port(struct port *port) in send_sigio_to_port()
1358 struct port *port; in add_port() local
1483 struct port *port; in remove_port() local
1490 static void remove_port_data(struct port *port) in remove_port_data()
1507 static void unplug_port(struct port *port) in unplug_port()
1564 struct port *port; in handle_control_message() local
1735 struct port *port; in out_intr() local
1748 struct port *port; in in_intr() local
1816 struct port *port; in config_work_handler() local
1949 struct port *port, *port2; in virtcons_remove() local
2151 struct port *port; in virtcons_freeze() local
2186 struct port *port; in virtcons_restore() local