/linux-2.6.39/drivers/isdn/isdnloop/ |
D | isdnloop.c | 1129 char cbuf[60]; in isdnloop_command() local 1158 sprintf(cbuf, "00;FV2ON\n01;EAZ1\n02;EAZ2\n"); in isdnloop_command() 1159 i = isdnloop_writecmd(cbuf, strlen(cbuf), 0, card); in isdnloop_command() 1171 sprintf(cbuf, "00;FV2OFF\n"); in isdnloop_command() 1172 i = isdnloop_writecmd(cbuf, strlen(cbuf), 0, card); in isdnloop_command() 1207 sprintf(cbuf, "%02d;D%s_R%s,%02d,%02d,%s\n", (int) (a + 1), in isdnloop_command() 1210 i = isdnloop_writecmd(cbuf, strlen(cbuf), 0, card); in isdnloop_command() 1218 cbuf[0] = 0; in isdnloop_command() 1221 sprintf(cbuf, "%02d;BX75\n", (int) a); in isdnloop_command() 1225 sprintf(cbuf, "%02d;BX2T\n", (int) a); in isdnloop_command() [all …]
|
/linux-2.6.39/drivers/platform/x86/ |
D | intel_scu_ipc.c | 164 u8 cbuf[IPC_WWBUF_SIZE] = { }; in pwr_reg_rdwr() local 165 u32 *wbuf = (u32 *)&cbuf; in pwr_reg_rdwr() 169 memset(cbuf, 0, sizeof(cbuf)); in pwr_reg_rdwr() 180 cbuf[bytes++] = addr[i]; in pwr_reg_rdwr() 181 cbuf[bytes++] = addr[i] >> 8; in pwr_reg_rdwr() 183 cbuf[bytes++] = data[d++]; in pwr_reg_rdwr() 185 cbuf[bytes++] = data[d++]; in pwr_reg_rdwr() 192 cbuf[offset] = addr[nc]; in pwr_reg_rdwr() 193 cbuf[offset + 1] = addr[nc] >> 8; in pwr_reg_rdwr() 202 cbuf[offset] = data[nc]; in pwr_reg_rdwr() [all …]
|
/linux-2.6.39/drivers/net/appletalk/ |
D | ltpc.c | 243 static int do_read(struct net_device *dev, void *cbuf, int cbuflen, 272 unsigned char *cbuf; member 300 printk("enqueued a 0x%02x command\n",qel->cbuf[0]); in enQ() 322 for(i=0;i<n;i++) printk("%02x ",qel->cbuf[i]); in deQ() 546 qels[0].cbuf = rescbuf; in idle() 575 memcpy(ltdmacbuf,q->cbuf,q->cbuflen); in idle() 595 qels[0].cbuf = rescbuf; in idle() 647 static int do_write(struct net_device *dev, void *cbuf, int cbuflen, in do_write() argument 655 qels[i].cbuf = (unsigned char *) cbuf; in do_write() 671 static int do_read(struct net_device *dev, void *cbuf, int cbuflen, in do_read() argument [all …]
|
/linux-2.6.39/drivers/isdn/icn/ |
D | icn.c | 1158 char cbuf[60]; in icn_command() local 1275 sprintf(cbuf, "00;FV2ON\n01;EAZ%c\n02;EAZ%c\n", in icn_command() 1277 i = icn_writecmd(cbuf, strlen(cbuf), 0, card); in icn_command() 1289 sprintf(cbuf, "00;FV2OFF\n"); in icn_command() 1290 i = icn_writecmd(cbuf, strlen(cbuf), 0, card); in icn_command() 1325 sprintf(cbuf, "%02d;D%s_R%s,%02d,%02d,%s\n", (int) (a + 1), in icn_command() 1328 i = icn_writecmd(cbuf, strlen(cbuf), 0, card); in icn_command() 1339 sprintf(cbuf, "%02d;BX75\n", (int) a); in icn_command() 1342 sprintf(cbuf, "%02d;BTRA\n", (int) a); in icn_command() 1345 i = icn_writecmd(cbuf, strlen(cbuf), 0, card); in icn_command() [all …]
|
/linux-2.6.39/sound/parisc/ |
D | harmony.c | 228 h->cbuf.buf += h->cbuf.count; in snd_harmony_interrupt() 229 h->cbuf.buf %= h->cbuf.size; in snd_harmony_interrupt() 232 h->cbuf.addr + h->cbuf.buf); in snd_harmony_interrupt() 354 harmony_write(h, HARMONY_RNXTADD, h->cbuf.addr); in snd_harmony_capture_trigger() 446 h->cbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_capture_prepare() 447 h->cbuf.count = snd_pcm_lib_period_bytes(ss); in snd_harmony_capture_prepare() 448 if (h->cbuf.buf >= h->cbuf.size) in snd_harmony_capture_prepare() 449 h->cbuf.buf = 0; in snd_harmony_capture_prepare() 462 h->cbuf.addr = rt->dma_addr; in snd_harmony_capture_prepare() 507 if ((h->cbuf.addr == 0) || (h->cbuf.size == 0)) in snd_harmony_capture_pointer() [all …]
|
D | harmony.h | 35 struct harmony_buffer cbuf; member
|
/linux-2.6.39/fs/btrfs/ |
D | lzo.c | 35 void *cbuf; /* where decompressed data goes */ member 44 vfree(workspace->cbuf); in lzo_free_workspace() 59 workspace->cbuf = vmalloc(lzo1x_worst_compress(PAGE_CACHE_SIZE)); in lzo_alloc_workspace() 60 if (!workspace->mem || !workspace->buf || !workspace->cbuf) in lzo_alloc_workspace() 141 ret = lzo1x_1_compress(data_in, in_len, workspace->cbuf, in lzo_compress_pages() 160 buf = workspace->cbuf; in lzo_compress_pages() 315 buf = workspace->cbuf; in lzo_decompress_biovec()
|
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/ |
D | hndrte_cons.h | 58 char cbuf[CBUF_LEN]; member
|
D | dhd_sdio.c | 4979 addr = bus->console_addr + offsetof(hndrte_cons_t, cbuf); in dhd_bus_console_in()
|
/linux-2.6.39/drivers/hid/ |
D | hid-roccat.c | 57 struct roccat_report cbuf[ROCCAT_CBUF_SIZE]; member 120 report = &device->cbuf[reader->cbuf_start]; in roccat_read() 263 report = &device->cbuf[device->cbuf_end]; in roccat_report_event()
|
/linux-2.6.39/drivers/isdn/pcbit/ |
D | drv.c | 393 u_char *cbuf; in pcbit_writecmd() local 414 cbuf = memdup_user(buf, len); in pcbit_writecmd() 415 if (IS_ERR(cbuf)) in pcbit_writecmd() 416 return PTR_ERR(cbuf); in pcbit_writecmd() 418 memcpy_toio(dev->sh_mem, cbuf, len); in pcbit_writecmd() 419 kfree(cbuf); in pcbit_writecmd()
|
/linux-2.6.39/net/atm/ |
D | resources.c | 214 compat_uptr_t cbuf; in atm_dev_ioctl() local 216 if (get_user(cbuf, &ciobuf->buffer)) in atm_dev_ioctl() 218 buf = compat_ptr(cbuf); in atm_dev_ioctl()
|
/linux-2.6.39/fs/ubifs/ |
D | tnc_commit.c | 867 idx = c->cbuf + used; in write_index() 948 err = ubifs_leb_write(c, lnum, c->cbuf, buf_offs, in write_index() 976 ubifs_pad(c, c->cbuf + wlen, blen - wlen); in write_index() 982 err = ubifs_leb_write(c, lnum, c->cbuf, buf_offs, in write_index() 999 memmove(c->cbuf, c->cbuf + blen, used); in write_index()
|
D | super.c | 1254 c->cbuf = kmalloc(sz, GFP_NOFS); in mount_ubifs() 1255 if (!c->cbuf) { in mount_ubifs() 1498 kfree(c->cbuf); in mount_ubifs() 1536 kfree(c->cbuf); in ubifs_umount()
|
D | ubifs.h | 1251 void *cbuf; member
|
/linux-2.6.39/drivers/tty/ |
D | n_gsm.c | 559 u8 cbuf[10]; in gsm_send() local 564 cbuf[0] = GSM0_SOF; in gsm_send() 565 cbuf[1] = (addr << 2) | (cr << 1) | EA; in gsm_send() 566 cbuf[2] = control; in gsm_send() 567 cbuf[3] = EA; /* Length of data = 0 */ in gsm_send() 568 cbuf[4] = 0xFF - gsm_fcs_add_block(INIT_FCS, cbuf + 1, 3); in gsm_send() 569 cbuf[5] = GSM0_SOF; in gsm_send() 579 len = gsm_stuff_frame(ibuf, cbuf + 1, 3); in gsm_send() 581 cbuf[0] = GSM1_SOF; in gsm_send() 582 cbuf[len + 1] = GSM1_SOF; in gsm_send() [all …]
|
D | rocket.c | 324 unsigned char *cbuf; in rp_do_receive() local 402 space = tty_prepare_flip_string(tty, &cbuf, ToRecv); in rp_do_receive() 413 sInStrW(sGetTxRxDataIO(cp), (unsigned short *) cbuf, wRecv); in rp_do_receive() 415 cbuf[ToRecv - 1] = sInB(sGetTxRxDataIO(cp)); in rp_do_receive()
|
/linux-2.6.39/drivers/staging/generic_serial/ |
D | ser_a2232.c | 519 volatile u_char *ibuf, *cbuf, *obuf; in a2232_vbl_inter() local 540 cbuf = mem->InCtl[p]; in a2232_vbl_inter() 545 switch (cbuf[bufpos]) { in a2232_vbl_inter() 567 printk("A2232: 65EC02 software broken, unknown data type %d occurred.\n",cbuf[bufpos]); in a2232_vbl_inter()
|
/linux-2.6.39/drivers/watchdog/ |
D | intel_scu_watchdog.c | 129 u8 cbuf[16] = { '\0' }; in watchdog_set_ipc() local 132 ipc_wbuf = (u32 *)&cbuf; in watchdog_set_ipc()
|
/linux-2.6.39/fs/dlm/ |
D | lowcomms.c | 69 struct cbuf { struct 75 static void cbuf_add(struct cbuf *cb, int n) in cbuf_add() argument 80 static int cbuf_data(struct cbuf *cb) in cbuf_data() 85 static void cbuf_init(struct cbuf *cb, int size) in cbuf_init() 91 static void cbuf_eat(struct cbuf *cb, int n) in cbuf_eat() 98 static bool cbuf_empty(struct cbuf *cb) in cbuf_empty() 120 struct cbuf cb;
|
/linux-2.6.39/kernel/debug/kdb/ |
D | kdb_main.c | 854 static char cbuf[CMD_BUFLEN+2]; in kdb_parse() local 876 cpp = cbuf; in kdb_parse() 889 if (cpp >= cbuf + CMD_BUFLEN) { in kdb_parse() 907 if (cpp >= cbuf + CMD_BUFLEN) in kdb_parse() 1445 char cbuf[32]; in kdb_md_line() local 1446 char *c = cbuf; in kdb_md_line() 1450 memset(cbuf, '\0', sizeof(cbuf)); in kdb_md_line() 1516 " ", cbuf); in kdb_md_line()
|
/linux-2.6.39/include/linux/ |
D | isdn_ppp.h | 231 unsigned char *cbuf; member
|
/linux-2.6.39/drivers/s390/char/ |
D | con3270.c | 582 void *cbuf; in con3270_init() local 623 cbuf = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in con3270_init() 624 add_string_memory(&condev->freemem, cbuf, PAGE_SIZE); in con3270_init()
|
/linux-2.6.39/drivers/media/dvb/ttpci/ |
D | av7110_hw.c | 749 u16 cbuf[5] = { (COMTYPE_OSD << 8) + DText, 3, win, x, y }; in WriteText() local 787 ret = __av7110_send_fw_cmd(av7110, cbuf, 5); in WriteText()
|
/linux-2.6.39/drivers/md/ |
D | md.c | 2976 safe_delay_store(mddev_t *mddev, const char *cbuf, size_t len) in safe_delay_store() argument 2980 if (strict_strtoul_scaled(cbuf, &msec, 3) < 0) in safe_delay_store()
|