Home
last modified time | relevance | path

Searched refs:numbytes (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/drivers/isdn/gigaset/
Dasyncdata.c49 static unsigned cmd_loop(unsigned numbytes, struct inbuf_t *inbuf) in cmd_loop() argument
57 while (procbytes < numbytes) { in cmd_loop()
121 static unsigned lock_loop(unsigned numbytes, struct inbuf_t *inbuf) in lock_loop() argument
125 gigaset_dbg_buffer(DEBUG_LOCKCMD, "received response", numbytes, src); in lock_loop()
126 gigaset_if_receive(inbuf->cs, src, numbytes); in lock_loop()
127 return numbytes; in lock_loop()
138 static unsigned hdlc_loop(unsigned numbytes, struct inbuf_t *inbuf) in hdlc_loop() argument
150 if (!numbytes) in hdlc_loop()
156 while (procbytes < numbytes) { in hdlc_loop()
172 if (procbytes >= numbytes) { in hdlc_loop()
[all …]
Disocdata.c894 static void cmd_loop(unsigned char *src, int numbytes, struct inbuf_t *inbuf) in cmd_loop() argument
900 while (numbytes--) { in cmd_loop()
944 unsigned tail, head, numbytes; in gigaset_isoc_input() local
953 numbytes = tail - head; in gigaset_isoc_input()
954 gig_dbg(DEBUG_INTR, "processing %u bytes", numbytes); in gigaset_isoc_input()
958 numbytes, src); in gigaset_isoc_input()
959 gigaset_if_receive(inbuf->cs, src, numbytes); in gigaset_isoc_input()
961 cmd_loop(src, numbytes, inbuf); in gigaset_isoc_input()
964 head += numbytes; in gigaset_isoc_input()
Dbas-gigaset.c482 unsigned numbytes; in read_ctrl_callback() local
491 numbytes = urb->actual_length; in read_ctrl_callback()
492 if (unlikely(numbytes != ucs->rcvbuf_size)) { in read_ctrl_callback()
495 numbytes, ucs->rcvbuf_size); in read_ctrl_callback()
496 if (numbytes > ucs->rcvbuf_size) in read_ctrl_callback()
497 numbytes = ucs->rcvbuf_size; in read_ctrl_callback()
501 if (gigaset_fill_inbuf(inbuf, ucs->rcvbuf, numbytes)) { in read_ctrl_callback()
1310 int totleft, numbytes, offset, frame, rc; in read_iso_tasklet() local
1368 numbytes = ifd->actual_length; in read_iso_tasklet()
1378 frame, numbytes, in read_iso_tasklet()
[all …]
Dusb-gigaset.c357 unsigned numbytes; in gigaset_read_int_callback() local
362 numbytes = urb->actual_length; in gigaset_read_int_callback()
364 if (numbytes) { in gigaset_read_int_callback()
371 --numbytes; in gigaset_read_int_callback()
372 if (gigaset_fill_inbuf(inbuf, src, numbytes)) { in gigaset_read_int_callback()
Dcommon.c576 unsigned numbytes) in gigaset_fill_inbuf() argument
580 gig_dbg(DEBUG_INTR, "received %u bytes", numbytes); in gigaset_fill_inbuf()
582 if (!numbytes) in gigaset_fill_inbuf()
585 bytesleft = numbytes; in gigaset_fill_inbuf()
612 return numbytes != bytesleft; in gigaset_fill_inbuf()
Dgigaset.h811 unsigned numbytes);
/linux-3.4.99/drivers/i2c/algos/
Di2c-algo-pca.c188 int numbytes = 0; in pca_xfer() local
247 if (numbytes < msg->len) { in pca_xfer()
249 msg->buf[numbytes]); in pca_xfer()
250 numbytes++; in pca_xfer()
253 curmsg++; numbytes = 0; in pca_xfer()
271 if (numbytes < msg->len) { in pca_xfer()
272 pca_rx_byte(adap, &msg->buf[numbytes], 1); in pca_xfer()
273 numbytes++; in pca_xfer()
275 numbytes < msg->len - 1); in pca_xfer()
278 curmsg++; numbytes = 0; in pca_xfer()
[all …]
/linux-3.4.99/drivers/tty/serial/
Dxilinx_uartps.c152 unsigned int isrstatus, numbytes; in xuartps_isr() local
207 numbytes = port->fifosize; in xuartps_isr()
209 while (numbytes--) { in xuartps_isr()
312 unsigned int status, numbytes = port->fifosize; in xuartps_start_tx() local
324 while (numbytes-- && ((xuartps_readl(XUARTPS_SR_OFFSET) in xuartps_start_tx()
/linux-3.4.99/drivers/mtd/devices/
Ddoc2000.c162 static int DoC_Address(struct DiskOnChip *doc, int numbytes, unsigned long ofs, in DoC_Address() argument
188 if (numbytes == ADDR_COLUMN || numbytes == ADDR_COLUMN_PAGE) { in DoC_Address()
200 if (numbytes == ADDR_PAGE || numbytes == ADDR_COLUMN_PAGE) { in DoC_Address()
Ddoc2001.c114 static inline void DoC_Address(void __iomem * docptr, int numbytes, unsigned long ofs, in DoC_Address() argument
122 switch (numbytes) in DoC_Address()
Ddoc2001plus.c120 static inline void DoC_Address(struct DiskOnChip *doc, int numbytes, in DoC_Address() argument
129 switch (numbytes) { in DoC_Address()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c900 esw_stats->numbytes = le64_to_cpu(stats->numbytes); in qlcnic_get_port_stats()
929 esw_stats->numbytes = QLCNIC_ESW_STATS_NOT_AVAIL; in qlcnic_get_eswitch_stats()
954 QLCNIC_ADD_ESW_STATS(esw_stats->numbytes, in qlcnic_get_eswitch_stats()
955 port_stats.numbytes); in qlcnic_get_eswitch_stats()
Dqlcnic.h1206 __le64 numbytes; member
Dqlcnic_ethtool.c892 data[ind++] = QLCNIC_FILL_ESWITCH_STATS(stats->numbytes); in qlcnic_fill_device_stats()
/linux-3.4.99/drivers/staging/comedi/drivers/
Ddt9812.c194 u16 numbytes; member
350 cmd.u.flash_data_info.numbytes = cpu_to_le16(buf_size); in dt9812_read_info()
/linux-3.4.99/fs/ocfs2/
Dalloc.c7121 unsigned int numbytes; in ocfs2_truncate_inline() local
7160 numbytes = end - start; in ocfs2_truncate_inline()
7161 memset(idata->id_data + start, 0, numbytes); in ocfs2_truncate_inline()