Lines Matching refs:data

35  * This is a global struct for storing common data for all the devices
93 /* offset in the buf from which to consume data */
113 * This is a per-device struct that stores data common to all the
165 /* This struct holds the per-port data */
173 /* The current buffer from which data has to be fed to readers */
499 /* Discard any unread data this port has. Callers lockers. */
600 void *data, bool nonblock)
613 err = virtqueue_add_outbuf(out_vq, sg, nents, data, GFP_ATOMIC);
630 * Wait till the host acknowledges it pushed out the data we
631 * sent. This is done for data from the hvc_console; the tty
633 * sleep here. An alternative would be to copy the data to a
646 * We're expected to return the amount of data we wrote -- all
653 * Give out the data that's requested from the buffer that we have
683 * We're done using all the data in this buffer.
684 * Re-queue so that the Host can send us more data.
722 * sent data (this is only applicable for nonblocking ports).
764 * waiting for more data.
767 * might receive some data as well as the host could get
769 * really want to give off whatever data we have and only then
861 struct sg_list *sgl = sd->u.data;
914 .u.data = &sgl,
1086 * a console device, read from it, write to it, poll for data and
1114 void *data;
1124 data = kmemdup(buf, count, GFP_ATOMIC);
1125 if (!data)
1128 sg_init_one(sg, data, count);
1129 ret = __send_to_port(port, sg, 1, count, data, false);
1130 kfree(data);
1138 * We call out to fill_readbuf that gets us the required data from the
1176 static int notifier_add_vio(struct hvc_struct *hp, int data)
1190 static void notifier_del_vio(struct hvc_struct *hp, int data)
1294 static int port_debugfs_show(struct seq_file *s, void *data)
1480 /* No users remain, remove all port-specific data. */
1493 /* Remove unused data this port might have received. */
1761 * Normally the port should not accept data when the port is
1763 * send data till the guest is connected. But this condition
1765 * tty is spawned) and the other side sends out data over the
1766 * vring, or when a remote devices start sending data before
1769 * A generic serial port will discard data if not connected,
1770 * while console ports and rproc-serial ports accepts data at
1780 /* Send a SIGIO indicating new data in case the process asked for it */