Lines Matching defs:numbytes
48 static unsigned cmd_loop(unsigned numbytes, struct inbuf_t *inbuf)
56 while (procbytes < numbytes) {
120 static unsigned lock_loop(unsigned numbytes, struct inbuf_t *inbuf)
124 gigaset_dbg_buffer(DEBUG_LOCKCMD, "received response", numbytes, src);
125 gigaset_if_receive(inbuf->cs, src, numbytes);
126 return numbytes;
137 static unsigned hdlc_loop(unsigned numbytes, struct inbuf_t *inbuf)
149 if (!numbytes)
155 while (procbytes < numbytes) {
171 if (procbytes >= numbytes) {
284 static unsigned iraw_loop(unsigned numbytes, struct inbuf_t *inbuf)
297 return numbytes;
300 while (procbytes < numbytes && skb->len < bcs->rx_bufsize) {
409 unsigned numbytes, procbytes;
418 numbytes = (inbuf->head > inbuf->tail ?
420 gig_dbg(DEBUG_INTR, "processing %u bytes", numbytes);
422 * numbytes may be 0 if handle_dle() ate the last byte.
427 procbytes = lock_loop(numbytes, inbuf);
429 procbytes = cmd_loop(numbytes, inbuf);
431 procbytes = hdlc_loop(numbytes, inbuf);
433 procbytes = iraw_loop(numbytes, inbuf);