Lines Matching defs:port

180 struct port {  struct
185 struct ports_device *portdev; argument
188 struct port_buffer *inbuf; argument
192 * port. Has to be a spinlock because it can be called from argument
200 /* The IO vqs for this port */ argument
203 /* File in the debugfs directory that exposes this port's information */ argument
208 * this port for accounting and debugging purposes. These argument
211 struct port_stats stats; argument
219 /* Each port associates with a separate char device */ argument
223 /* Reference-counting to handle port hot-unplugs and file operations */ argument
229 /* The 'name' of the port that we expose via sysfs properties */ argument
235 /* The 'id' to identify the port with the Host */ argument
243 /* We should allow only one process to open a port */ argument
250 static struct port *find_port_by_vtermno(u32 vtermno) in find_port_by_vtermno() argument
252 struct port *port; in find_port_by_vtermno() local
272 struct port *port; in find_port_by_devt_in_portdev() local
292 struct port *port; in find_port_by_devt() local
309 struct port *port; in find_port_by_id() local
326 struct port *port; in find_port_by_vq() local
339 static bool is_console_port(struct port *port) in is_console_port()
480 static struct port_buffer *get_inbuf(struct port *port) in get_inbuf()
518 static void discard_port_data(struct port *port) in discard_port_data()
544 static bool port_has_data(struct port *port) in port_has_data()
589 static ssize_t send_control_msg(struct port *port, unsigned int event, in send_control_msg()
600 static void reclaim_consumed_buffers(struct port *port) in reclaim_consumed_buffers()
615 static ssize_t __send_to_port(struct port *port, struct scatterlist *sg, in __send_to_port()
673 static ssize_t fill_readbuf(struct port *port, char __user *out_buf, in fill_readbuf()
716 static bool will_read_block(struct port *port) in will_read_block()
725 static bool will_write_block(struct port *port) in will_write_block()
751 struct port *port; in port_fops_read() local
795 static int wait_port_writable(struct port *port, bool nonblock) in wait_port_writable()
818 struct port *port; in port_fops_write() local
923 struct port *port = filp->private_data; in port_fops_splice_write() local
984 struct port *port; in port_fops_poll() local
1009 struct port *port; in port_fops_release() local
1044 struct port *port; in port_fops_open() local
1097 struct port *port; in port_fops_fasync() local
1131 struct port *port; in put_chars() local
1154 struct port *port; in get_chars() local
1170 static void resize_console(struct port *port) in resize_console()
1189 struct port *port; in notifier_add_vio() local
1230 static int init_port_console(struct port *port) in init_port_console()
1283 struct port *port; in show_port_name() local
1305 struct port *port; in debugfs_read() local
1349 static void set_console_size(struct port *port, u16 rows, u16 cols) in set_console_size()
1384 static void send_sigio_to_port(struct port *port) in send_sigio_to_port()
1393 struct port *port; in add_port() local
1522 struct port *port; in remove_port() local
1529 static void remove_port_data(struct port *port) in remove_port_data()
1556 static void unplug_port(struct port *port) in unplug_port()
1612 struct port *port; in handle_control_message() local
1775 struct port *port; in out_intr() local
1786 struct port *port; in in_intr() local
1852 struct port *port; in config_work_handler() local
2117 struct port *port, *port2; in virtcons_remove() local
2175 struct port *port; in virtcons_freeze() local
2209 struct port *port; in virtcons_restore() local