Lines Matching refs:sent
68 int sent = -EOPNOTSUPP; in write_modem() local
80 sent = tty->ops->write(tty, skb->data, skb->len); in write_modem()
81 gig_dbg(DEBUG_OUTPUT, "write_modem: sent %d", sent); in write_modem()
82 if (sent < 0) { in write_modem()
85 return sent; in write_modem()
87 skb_pull(skb, sent); in write_modem()
97 return sent; in write_modem()
109 int sent = 0; in send_cb() local
119 sent = tty->ops->write(tty, cb->buf + cb->offset, cb->len); in send_cb()
120 if (sent < 0) { in send_cb()
122 gig_dbg(DEBUG_OUTPUT, "send_cb: write error %d", sent); in send_cb()
124 return sent; in send_cb()
126 cb->offset += sent; in send_cb()
127 cb->len -= sent; in send_cb()
129 sent, cb->len, cs->cmdbytes); in send_cb()
150 return sent; in send_cb()
164 int sent = 0; in gigaset_modem_fill() local
177 sent = send_cb(cs); in gigaset_modem_fill()
178 gig_dbg(DEBUG_OUTPUT, "%s: send_cb -> %d", __func__, sent); in gigaset_modem_fill()
179 if (sent) in gigaset_modem_fill()