Lines Matching defs:port
167 struct port { struct
172 struct ports_device *portdev; argument
175 struct port_buffer *inbuf; argument
179 * port. Has to be a spinlock because it can be called from argument
187 /* The IO vqs for this port */ argument
190 /* File in the debugfs directory that exposes this port's information */ argument
195 * this port for accounting and debugging purposes. These argument
198 struct port_stats stats; argument
206 /* Each port associates with a separate char device */ argument
210 /* Reference-counting to handle port hot-unplugs and file operations */ argument
216 /* The 'name' of the port that we expose via sysfs properties */ argument
222 /* The 'id' to identify the port with the Host */ argument
230 /* We should allow only one process to open a port */ argument
234 static struct port *find_port_by_vtermno(u32 vtermno) in find_port_by_vtermno() argument
236 struct port *port; in find_port_by_vtermno() local
256 struct port *port; in find_port_by_devt_in_portdev() local
276 struct port *port; in find_port_by_devt() local
293 struct port *port; in find_port_by_id() local
310 struct port *port; in find_port_by_vq() local
323 static bool is_console_port(struct port *port) in is_console_port()
460 static struct port_buffer *get_inbuf(struct port *port) in get_inbuf()
498 static void discard_port_data(struct port *port) in discard_port_data()
524 static bool port_has_data(struct port *port) in port_has_data()
570 static ssize_t send_control_msg(struct port *port, unsigned int event, in send_control_msg()
581 static void reclaim_consumed_buffers(struct port *port) in reclaim_consumed_buffers()
596 static ssize_t __send_to_port(struct port *port, struct scatterlist *sg, in __send_to_port()
654 static ssize_t fill_readbuf(struct port *port, u8 __user *out_buf, in fill_readbuf()
697 static bool will_read_block(struct port *port) in will_read_block()
706 static bool will_write_block(struct port *port) in will_write_block()
732 struct port *port; in port_fops_read() local
776 static int wait_port_writable(struct port *port, bool nonblock) in wait_port_writable()
799 struct port *port; in port_fops_write() local
904 struct port *port = filp->private_data; in port_fops_splice_write() local
963 struct port *port; in port_fops_poll() local
988 struct port *port; in port_fops_release() local
1023 struct port *port; in port_fops_open() local
1076 struct port *port; in port_fops_fasync() local
1109 struct port *port; in put_chars() local
1137 struct port *port; in get_chars() local
1149 static void resize_console(struct port *port) in resize_console()
1168 struct port *port; in notifier_add_vio() local
1194 static int init_port_console(struct port *port) in init_port_console()
1243 struct port *port; in show_port_name() local
1264 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()
1324 struct port *port; in add_port() local
1447 struct port *port; in remove_port() local
1454 static void remove_port_data(struct port *port) in remove_port_data()
1471 static void unplug_port(struct port *port) in unplug_port()
1528 struct port *port; in handle_control_message() local
1700 struct port *port; in out_intr() local
1713 struct port *port; in in_intr() local
1781 struct port *port; in config_work_handler() local
1905 struct port *port, *port2; in virtcons_remove() local
2093 struct port *port; in virtcons_freeze() local
2128 struct port *port; in virtcons_restore() local