Home
last modified time | relevance | path

Searched refs:cbuf (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/drivers/isdn/isdnloop/
Disdnloop.c1136 char cbuf[60]; in isdnloop_command() local
1165 sprintf(cbuf, "00;FV2ON\n01;EAZ1\n02;EAZ2\n"); in isdnloop_command()
1166 i = isdnloop_writecmd(cbuf, strlen(cbuf), 0, card); in isdnloop_command()
1178 sprintf(cbuf, "00;FV2OFF\n"); in isdnloop_command()
1179 i = isdnloop_writecmd(cbuf, strlen(cbuf), 0, card); in isdnloop_command()
1214 sprintf(cbuf, "%02d;D%s_R%s,%02d,%02d,%s\n", (int) (a + 1), in isdnloop_command()
1217 i = isdnloop_writecmd(cbuf, strlen(cbuf), 0, card); in isdnloop_command()
1225 cbuf[0] = 0; in isdnloop_command()
1228 sprintf(cbuf, "%02d;BX75\n", (int) a); in isdnloop_command()
1232 sprintf(cbuf, "%02d;BX2T\n", (int) a); in isdnloop_command()
[all …]
/linux-2.4.37.9/drivers/isdn/eicon/
Deicon_isa.c127 eicon_isa_codebuf cbuf; in eicon_isa_bootload() local
131 if (copy_from_user(&cbuf, cb, sizeof(eicon_isa_codebuf))) in eicon_isa_bootload()
135 if (cbuf.bootstrap_len > 1024) { in eicon_isa_bootload()
137 cbuf.bootstrap_len); in eicon_isa_bootload()
140 if (!(code = kmalloc(cbuf.bootstrap_len, GFP_KERNEL))) { in eicon_isa_bootload()
144 if (copy_from_user(code, &cb->code, cbuf.bootstrap_len)) { in eicon_isa_bootload()
217 memcpy_toio(&card->shmem->c, code, cbuf.bootstrap_len); in eicon_isa_bootload()
237 writeb(cbuf.boot_opt, &boot->ctrl); in eicon_isa_bootload()
305 eicon_isa_codebuf cbuf; in eicon_isa_load() local
309 if (copy_from_user(&cbuf, cb, sizeof(eicon_isa_codebuf))) in eicon_isa_load()
[all …]
/linux-2.4.37.9/drivers/net/appletalk/
Dltpc.c243 static int do_read(struct net_device *dev, void *cbuf, int cbuflen,
273 unsigned char *cbuf; member
301 printk("enqueued a 0x%02x command\n",qel->cbuf[0]); in enQ()
323 for(i=0;i<n;i++) printk("%02x ",qel->cbuf[i]); in deQ()
551 qels[0].cbuf = rescbuf; in idle()
580 memcpy(ltdmacbuf,q->cbuf,q->cbuflen); in idle()
600 qels[0].cbuf = rescbuf; in idle()
653 static int do_write(struct net_device *dev, void *cbuf, int cbuflen, in do_write() argument
661 qels[i].cbuf = (unsigned char *) cbuf; in do_write()
677 static int do_read(struct net_device *dev, void *cbuf, int cbuflen, in do_read() argument
[all …]
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/
Dpcibr_intr.c101 pcibr_wrap_get(pcibr_intr_cbuf_t cbuf) in pcibr_wrap_get() argument
105 if (cbuf->ib_in == cbuf->ib_out) in pcibr_wrap_get()
107 (void *)cbuf, cbuf->ib_out); in pcibr_wrap_get()
109 wrap = cbuf->ib_cbuf[cbuf->ib_out++]; in pcibr_wrap_get()
110 cbuf->ib_out = cbuf->ib_out % IBUFSIZE; in pcibr_wrap_get()
118 pcibr_wrap_put(pcibr_intr_wrap_t wrap, pcibr_intr_cbuf_t cbuf) in pcibr_wrap_put() argument
127 spin_lock(&cbuf->ib_lock); in pcibr_wrap_put()
128 in = (cbuf->ib_in + 1) % IBUFSIZE; in pcibr_wrap_put()
129 if (in == cbuf->ib_out) in pcibr_wrap_put()
131 (void *)cbuf, cbuf->ib_in); in pcibr_wrap_put()
[all …]
/linux-2.4.37.9/drivers/isdn/icn/
Dicn.c1170 char cbuf[60]; in icn_command() local
1281 sprintf(cbuf, "00;FV2ON\n01;EAZ%c\n02;EAZ%c\n", in icn_command()
1283 i = icn_writecmd(cbuf, strlen(cbuf), 0, card); in icn_command()
1295 sprintf(cbuf, "00;FV2OFF\n"); in icn_command()
1296 i = icn_writecmd(cbuf, strlen(cbuf), 0, card); in icn_command()
1331 sprintf(cbuf, "%02d;D%s_R%s,%02d,%02d,%s\n", (int) (a + 1), in icn_command()
1334 i = icn_writecmd(cbuf, strlen(cbuf), 0, card); in icn_command()
1345 sprintf(cbuf, "%02d;BX75\n", (int) a); in icn_command()
1348 sprintf(cbuf, "%02d;BTRA\n", (int) a); in icn_command()
1351 i = icn_writecmd(cbuf, strlen(cbuf), 0, card); in icn_command()
[all …]
/linux-2.4.37.9/drivers/mtd/devices/
Ddoc1000.c353 u_char cbuf; in flashcard_write() local
355 cbuf = *buf; in flashcard_write()
360 ret = byte_write(pageaddr, cbuf); in flashcard_write()
379 u_char cbuf; in flashcard_write() local
381 cbuf = *buf; in flashcard_write()
383 ret = byte_write(pageaddr, cbuf); in flashcard_write()
/linux-2.4.37.9/drivers/isdn/pcbit/
Ddrv.c441 u_char *cbuf = kmalloc(len, GFP_KERNEL); in pcbit_writecmd() local
442 if (!cbuf) in pcbit_writecmd()
445 if (copy_from_user(cbuf, buf, len)) { in pcbit_writecmd()
446 kfree(cbuf); in pcbit_writecmd()
449 memcpy_toio(dev->sh_mem, cbuf, len); in pcbit_writecmd()
450 kfree(cbuf); in pcbit_writecmd()
/linux-2.4.37.9/drivers/char/
Dser_a2232.c558 volatile u_char *ibuf, *cbuf, *obuf; in a2232_vbl_inter() local
579 cbuf = mem->InCtl[p]; in a2232_vbl_inter()
584 switch (cbuf[bufpos]) { in a2232_vbl_inter()
606 printk("A2232: 65EC02 software broken, unknown data type %d occured.\n",cbuf[bufpos]); in a2232_vbl_inter()
Drocket.c245 unsigned char *cbuf; in rp_do_receive() local
253 cbuf = tty->flip.char_buf; in rp_do_receive()
322 *cbuf++ = CharNStat & 0xff; in rp_do_receive()
345 sInStrW(sGetTxRxDataIO(cp), cbuf, in rp_do_receive()
348 cbuf[ToRecv-1] = sInB(sGetTxRxDataIO(cp)); in rp_do_receive()
350 cbuf += ToRecv; in rp_do_receive()
/linux-2.4.37.9/arch/ppc/boot/simple/
Dm8260_tty.c221 serial_readbuf(u_char *cbuf) in serial_readbuf() argument
246 *cbuf++ = *buf++; in serial_readbuf()
/linux-2.4.37.9/include/linux/
Disdn_ppp.h226 unsigned char *cbuf; member
/linux-2.4.37.9/drivers/usb/
Dov511.c670 ov->cbuf[0] = value; in reg_w()
675 0, (__u16)reg, &ov->cbuf[0], 1, HZ); in reg_w()
696 0, (__u16)reg, &ov->cbuf[0], 1, HZ); in reg_r()
701 rc = ov->cbuf[0]; in reg_r()
702 PDEBUG(5, "0x%02X:0x%02X", reg, ov->cbuf[0]); in reg_r()
750 *((u32 *)ov->cbuf) = __cpu_to_le32(val); in ov518_reg_w32()
756 0, (__u16)reg, ov->cbuf, n, HZ); in ov518_reg_w32()
4615 kfree(ov->cbuf); in ov51x_v4l1_close()
4616 ov->cbuf = NULL; in ov51x_v4l1_close()
6482 ov->cbuf = kmalloc(OV511_CBUF_SIZE, GFP_KERNEL); in ov51x_probe()
[all …]
Dov511.h547 unsigned char *cbuf; /* Buffer for payload */ member
/linux-2.4.37.9/drivers/isdn/
Disdn_tty.c2572 char cbuf[3]; in isdn_tty_check_esc() local
2582 copy_from_user(cbuf, p, count); in isdn_tty_check_esc()
2583 p = cbuf; in isdn_tty_check_esc()