Searched refs:iobuf (Results 1 - 25 of 25) sorted by relevance

/drivers/usb/storage/
H A Dinitializers.c52 us->iobuf[0] = 0x1;
55 0x01, 0x0, us->iobuf, 0x1, 5 * HZ);
65 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf;
66 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf;
H A Dkarma.c110 memset(us->iobuf, 0, RIO_SEND_LEN);
111 memcpy(us->iobuf, RIO_PREFIX, RIO_PREFIX_LEN);
112 us->iobuf[5] = cmd;
113 us->iobuf[6] = seq;
118 us->iobuf, RIO_SEND_LEN, &partial);
133 us->iobuf[4] = 0x80;
134 us->iobuf[5] = 0;
H A Dtransport.c145 /* we assume that if transfer_buffer isn't us->iobuf then it
149 if (us->current_urb->transfer_buffer == us->iobuf)
964 result = usb_stor_intr_transfer(us, us->iobuf, 2);
966 us->iobuf[0], us->iobuf[1]);
981 if (us->iobuf[0])
992 if (us->iobuf[0]) {
994 us->iobuf[0]);
1000 switch (us->iobuf[1] & 0x0F) {
1028 us->iobuf[
[all...]
H A Dshuttle_usbat.c324 unsigned char *reply = us->iobuf;
354 unsigned char *command = us->iobuf;
406 unsigned char *status = us->iobuf;
456 unsigned char *command = us->iobuf;
490 unsigned char *command = us->iobuf;
538 unsigned char *command = us->iobuf;
541 unsigned char *data = us->iobuf;
542 unsigned char *status = us->iobuf;
690 unsigned char *data = us->iobuf;
691 unsigned char *command = us->iobuf;
[all...]
H A Djumpshot.c149 0, 0xA0, 0, 7, us->iobuf, 1);
154 if (us->iobuf[0] != 0x50) {
155 usb_stor_dbg(us, "0x%2x\n", us->iobuf[0]);
167 unsigned char *command = us->iobuf;
244 unsigned char *command = us->iobuf;
333 unsigned char *command = us->iobuf;
394 unsigned char *ptr = us->iobuf;
488 unsigned char *ptr = us->iobuf;
H A Dfreecom.c156 (struct freecom_xfer_wrap *) us->iobuf;
189 (struct freecom_xfer_wrap *) us->iobuf;
230 fcb = (struct freecom_cb_wrap *) us->iobuf;
231 fst = (struct freecom_status *) us->iobuf;
429 char *buffer = us->iobuf;
H A Ddatafab.c148 unsigned char *command = us->iobuf;
231 unsigned char *command = us->iobuf;
232 unsigned char *reply = us->iobuf;
332 unsigned char *command = us->iobuf;
397 unsigned char *command = us->iobuf;
464 unsigned char *ptr = us->iobuf;
561 unsigned char *ptr = us->iobuf;
H A Dsddr55.c137 unsigned char *command = us->iobuf;
138 unsigned char *status = us->iobuf;
200 unsigned char *command = us->iobuf;
201 unsigned char *status = us->iobuf;
319 unsigned char *command = us->iobuf;
320 unsigned char *status = us->iobuf;
524 unsigned char *command = us->iobuf;
525 unsigned char *content = us->iobuf;
650 unsigned char *command = us->iobuf;
789 unsigned char *ptr = us->iobuf;
[all...]
H A Dsddr09.c336 unsigned char *command = us->iobuf;
357 unsigned char *command = us->iobuf;
401 unsigned char *command = us->iobuf;
531 unsigned char *command = us->iobuf;
583 unsigned char *command = us->iobuf;
645 unsigned char *command = us->iobuf;
719 unsigned char *command = us->iobuf;
720 unsigned char *data = us->iobuf;
1077 unsigned char *command = us->iobuf;
1078 unsigned char *content = us->iobuf;
[all...]
H A Dusb.h144 unsigned char *iobuf; /* I/O buffer */ member in struct:us_data
H A Drealtek_cr.c213 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *)us->iobuf;
214 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *)us->iobuf;
300 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
301 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf;
348 us->iobuf[0] = 0;
353 0, us->ifnum, us->iobuf, 1, 10 * HZ);
356 result, us->iobuf[0]);
360 return us->iobuf[0];
H A Dene_ub6250.c499 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
500 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf;
664 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
704 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
857 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
1138 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
1172 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
1252 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
1338 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
1538 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
[all...]
H A Dalauda.c369 unsigned char *command = us->iobuf;
385 unsigned char *data = us->iobuf;
564 unsigned char *data = us->iobuf;
1129 unsigned char *ptr = us->iobuf;
H A Dusb.c455 us->iobuf = usb_alloc_coherent(us->pusb_dev, US_IOBUF_SIZE,
457 if (!us->iobuf) {
824 usb_free_coherent(us->pusb_dev, US_IOBUF_SIZE, us->iobuf, us->iobuf_dma);
/drivers/mtd/tests/
H A Dspeedtest.c45 static unsigned char *iobuf; variable
85 return mtdtest_write(mtd, addr, mtd->erasesize, iobuf);
92 void *buf = iobuf;
110 void *buf = iobuf;
129 return mtdtest_read(mtd, addr, mtd->erasesize, iobuf);
136 void *buf = iobuf;
154 void *buf = iobuf;
242 iobuf = kmalloc(mtd->erasesize, GFP_KERNEL);
243 if (!iobuf)
246 prandom_bytes(iobuf, mt
[all...]
H A Dreadtest.c39 static unsigned char *iobuf; variable
51 void *buf = iobuf;
104 p += sprintf(p, "%02x", (unsigned int)iobuf[i]);
166 iobuf = kmalloc(mtd->erasesize, GFP_KERNEL);
167 if (!iobuf)
203 kfree(iobuf);
/drivers/usb/misc/
H A Dcypress_cy7c63.c77 unsigned char *iobuf; local
80 iobuf = kzalloc(CYPRESS_MAX_REQSIZE, GFP_KERNEL);
81 if (!iobuf) {
93 address, data, iobuf, CYPRESS_MAX_REQSIZE,
100 dev->port[0] = iobuf[1];
106 dev->port[1] = iobuf[1];
114 kfree(iobuf);
/drivers/media/pci/ddbridge/
H A Dddbridge.h167 u8 iobuf[1028]; member in struct:ddb
H A Dddbridge-core.c1457 wbuf = &dev->iobuf[0];
/drivers/mfd/
H A Drtsx_usb.c627 ucr->iobuf = usb_alloc_coherent(ucr->pusb_dev, IOBUF_SIZE,
629 if (!ucr->iobuf)
636 ucr->cmd_buf = ucr->rsp_buf = ucr->iobuf;
663 usb_free_coherent(ucr->pusb_dev, IOBUF_SIZE, ucr->iobuf,
677 usb_free_coherent(ucr->pusb_dev, IOBUF_SIZE, ucr->iobuf,
/drivers/media/pci/ttpci/
H A Dav7110.h132 void *iobuf; /* memory for all buffers */ member in struct:av7110
H A Dav7110_av.c1623 dvb_ringbuffer_init(&av7110->avout, av7110->iobuf, AVOUTLEN);
1624 dvb_ringbuffer_init(&av7110->aout, av7110->iobuf + AVOUTLEN, AOUTLEN);
1626 av7110->kbuf[0] = (u8 *)(av7110->iobuf + AVOUTLEN + AOUTLEN + BMPLEN);
H A Dav7110.c2668 av7110->iobuf = vmalloc(AVOUTLEN+AOUTLEN+BMPLEN+4*IPACKS);
2669 if (!av7110->iobuf)
2677 av7110->bmpbuf = av7110->iobuf+AVOUTLEN+AOUTLEN;
2749 vfree(av7110->iobuf);
2803 vfree(av7110->iobuf);
/drivers/mmc/card/
H A Dsdio_uart.c435 u8 iobuf[16]; local
454 len = kfifo_out_locked(xmit, iobuf, 16, &port->write_lock);
456 sdio_out(port, UART_TX, iobuf[count]);
/drivers/net/wireless/
H A Dairo.c7779 unsigned char *iobuf; local
7823 if ((iobuf = kmalloc(RIDSIZE, GFP_KERNEL)) == NULL)
7826 PC4500_readrid(ai,ridcode,iobuf,RIDSIZE, 1);
7833 if (copy_to_user(comp->data, iobuf, min(len, (int)RIDSIZE))) {
7834 kfree (iobuf);
7837 kfree (iobuf);
7850 unsigned char *iobuf; local
7899 if ((iobuf = kmalloc(RIDSIZE, GFP_KERNEL)) == NULL)
7902 PC4500_readrid(ai,RID_STATSDELTACLEAR,iobuf,RIDSIZE, 1);
7908 if (copy_to_user(comp->data, iobuf,
[all...]

Completed in 688 milliseconds