Home
last modified time | relevance | path

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

12

/drivers/usb/storage/
Dkarma.c110 memset(us->iobuf, 0, RIO_SEND_LEN); in rio_karma_send_command()
111 memcpy(us->iobuf, RIO_PREFIX, RIO_PREFIX_LEN); in rio_karma_send_command()
112 us->iobuf[5] = cmd; in rio_karma_send_command()
113 us->iobuf[6] = seq; in rio_karma_send_command()
118 us->iobuf, RIO_SEND_LEN, &partial); in rio_karma_send_command()
133 us->iobuf[4] = 0x80; in rio_karma_send_command()
134 us->iobuf[5] = 0; in rio_karma_send_command()
Dtransport.c149 if (us->current_urb->transfer_buffer == us->iobuf) in usb_stor_msg_common()
964 result = usb_stor_intr_transfer(us, us->iobuf, 2); in usb_stor_CB_transport()
966 us->iobuf[0], us->iobuf[1]); in usb_stor_CB_transport()
981 if (us->iobuf[0]) in usb_stor_CB_transport()
992 if (us->iobuf[0]) { in usb_stor_CB_transport()
994 us->iobuf[0]); in usb_stor_CB_transport()
1000 switch (us->iobuf[1] & 0x0F) { in usb_stor_CB_transport()
1028 us->iobuf[0] = 0; in usb_stor_Bulk_max_lun()
1033 0, us->ifnum, us->iobuf, 1, 10*HZ); in usb_stor_Bulk_max_lun()
1036 result, us->iobuf[0]); in usb_stor_Bulk_max_lun()
[all …]
Dinitializers.c52 us->iobuf[0] = 0x1; in usb_stor_euscsi_init()
55 0x01, 0x0, us->iobuf, 0x1, 5000); in usb_stor_euscsi_init()
65 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf; in usb_stor_ucr61s2b_init()
66 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf; in usb_stor_ucr61s2b_init()
Dshuttle_usbat.c324 unsigned char *reply = us->iobuf; in usbat_check_status()
354 unsigned char *command = us->iobuf; in usbat_set_shuttle_features()
406 unsigned char *status = us->iobuf; in usbat_wait_not_busy()
456 unsigned char *command = us->iobuf; in usbat_read_block()
490 unsigned char *command = us->iobuf; in usbat_write_block()
538 unsigned char *command = us->iobuf; in usbat_hp8200e_rw_block_test()
541 unsigned char *data = us->iobuf; in usbat_hp8200e_rw_block_test()
542 unsigned char *status = us->iobuf; in usbat_hp8200e_rw_block_test()
690 unsigned char *data = us->iobuf; in usbat_multiple_write()
691 unsigned char *command = us->iobuf; in usbat_multiple_write()
[all …]
Djumpshot.c149 0, 0xA0, 0, 7, us->iobuf, 1); in jumpshot_get_status()
154 if (us->iobuf[0] != 0x50) { in jumpshot_get_status()
155 usb_stor_dbg(us, "0x%2x\n", us->iobuf[0]); in jumpshot_get_status()
167 unsigned char *command = us->iobuf; in jumpshot_read_data()
244 unsigned char *command = us->iobuf; in jumpshot_write_data()
333 unsigned char *command = us->iobuf; in jumpshot_id_device()
394 unsigned char *ptr = us->iobuf; in jumpshot_handle_mode_sense()
488 unsigned char *ptr = us->iobuf; in jumpshot_transport()
Dsddr55.c137 unsigned char *command = us->iobuf; in sddr55_status()
138 unsigned char *status = us->iobuf; in sddr55_status()
200 unsigned char *command = us->iobuf; in sddr55_read_data()
201 unsigned char *status = us->iobuf; in sddr55_read_data()
319 unsigned char *command = us->iobuf; in sddr55_write_data()
320 unsigned char *status = us->iobuf; in sddr55_write_data()
524 unsigned char *command = us->iobuf; in sddr55_read_deviceID()
525 unsigned char *content = us->iobuf; in sddr55_read_deviceID()
650 unsigned char *command = us->iobuf; in sddr55_read_map()
789 unsigned char *ptr = us->iobuf; in sddr55_transport()
Ddatafab.c148 unsigned char *command = us->iobuf; in datafab_read_data()
231 unsigned char *command = us->iobuf; in datafab_write_data()
232 unsigned char *reply = us->iobuf; in datafab_write_data()
332 unsigned char *command = us->iobuf; in datafab_determine_lun()
397 unsigned char *command = us->iobuf; in datafab_id_device()
464 unsigned char *ptr = us->iobuf; in datafab_handle_mode_sense()
561 unsigned char *ptr = us->iobuf; in datafab_transport()
Dsddr09.c340 unsigned char *command = us->iobuf;
361 unsigned char *command = us->iobuf; in sddr09_request_sense()
405 unsigned char *command = us->iobuf; in sddr09_readX()
535 unsigned char *command = us->iobuf; in sddr09_erase()
587 unsigned char *command = us->iobuf; in sddr09_writeX()
649 unsigned char *command = us->iobuf;
723 unsigned char *command = us->iobuf; in sddr09_read_status()
724 unsigned char *data = us->iobuf; in sddr09_read_status()
1081 unsigned char *command = us->iobuf; in sddr09_read_deviceID()
1082 unsigned char *content = us->iobuf; in sddr09_read_deviceID()
[all …]
Dfreecom.c156 (struct freecom_xfer_wrap *) us->iobuf; in freecom_readdata()
189 (struct freecom_xfer_wrap *) us->iobuf; in freecom_writedata()
230 fcb = (struct freecom_cb_wrap *) us->iobuf; in freecom_transport()
231 fst = (struct freecom_status *) us->iobuf; in freecom_transport()
429 char *buffer = us->iobuf; in init_freecom()
Drealtek_cr.c213 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *)us->iobuf; in rts51x_bulk_transport()
214 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *)us->iobuf; in rts51x_bulk_transport()
300 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in rts51x_bulk_transport_special()
301 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in rts51x_bulk_transport_special()
348 us->iobuf[0] = 0; in rts51x_get_max_lun()
353 0, us->ifnum, us->iobuf, 1, 10 * HZ); in rts51x_get_max_lun()
356 result, us->iobuf[0]); in rts51x_get_max_lun()
360 return us->iobuf[0]; in rts51x_get_max_lun()
Dene_ub6250.c499 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ene_send_scsi_cmd()
500 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in ene_send_scsi_cmd()
664 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in sd_scsi_read()
704 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in sd_scsi_write()
857 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_read_readpage()
1138 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_read_copyblock()
1172 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_read_eraseblock()
1252 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_lib_overwrite_extra()
1338 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_lib_read_extra()
1538 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_lib_read_extrablock()
[all …]
Dusb.h144 unsigned char *iobuf; /* I/O buffer */ member
Dalauda.c373 unsigned char *command = us->iobuf; in alauda_reset_media()
389 unsigned char *data = us->iobuf; in alauda_init_media()
571 unsigned char *data = us->iobuf; in alauda_read_map()
1136 unsigned char *ptr = us->iobuf; in alauda_transport()
Dusb.c450 us->iobuf = usb_alloc_coherent(us->pusb_dev, US_IOBUF_SIZE, in associate_dev()
452 if (!us->iobuf) { in associate_dev()
808 usb_free_coherent(us->pusb_dev, US_IOBUF_SIZE, us->iobuf, us->iobuf_dma); in dissociate_dev()
/drivers/usb/misc/
Dcypress_cy7c63.c78 unsigned char *iobuf; in vendor_command() local
81 iobuf = kzalloc(CYPRESS_MAX_REQSIZE, GFP_KERNEL); in vendor_command()
82 if (!iobuf) { in vendor_command()
94 address, data, iobuf, CYPRESS_MAX_REQSIZE, in vendor_command()
101 dev->port[0] = iobuf[1]; in vendor_command()
107 dev->port[1] = iobuf[1]; in vendor_command()
115 kfree(iobuf); in vendor_command()
/drivers/staging/keucr/
Dinit.c46 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ENE_Read_BYTE()
66 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ENE_SMInit()
118 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ENE_LoadBinCode()
160 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ENE_SendScsiCmd()
161 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in ENE_SendScsiCmd()
242 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ENE_Read_Data()
243 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in ENE_Read_Data()
284 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ENE_Write_Data()
285 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in ENE_Write_Data()
Dtransport.c50 if (us->current_urb->transfer_buffer == us->iobuf) in usb_stor_msg_common()
560 us->iobuf[0] = 0; in usb_stor_Bulk_max_lun()
565 0, us->ifnum, us->iobuf, 1, HZ); in usb_stor_Bulk_max_lun()
572 return us->iobuf[0]; in usb_stor_Bulk_max_lun()
582 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in usb_stor_Bulk_transport()
583 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in usb_stor_Bulk_transport()
595 us->iobuf[31] = 0; in usb_stor_Bulk_transport()
Dsmilsub.c206 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in Ssfdc_D_ReadSect()
257 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in Ssfdc_D_ReadBlock()
309 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in Ssfdc_D_CopyBlock()
355 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in Ssfdc_D_WriteSectForCopy()
393 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in Ssfdc_D_EraseBlock()
427 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in Ssfdc_D_ReadRedtData()
467 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in Ssfdc_D_WriteRedtData()
Dusb.c262 us->iobuf = usb_alloc_coherent(us->pusb_dev, US_IOBUF_SIZE, GFP_KERNEL, &us->iobuf_dma); in associate_dev()
263 if (!us->iobuf) { in associate_dev()
438 if (us->iobuf) in dissociate_dev()
439 usb_free_coherent(us->pusb_dev, US_IOBUF_SIZE, us->iobuf, us->iobuf_dma); in dissociate_dev()
Dusb.h161 unsigned char *iobuf; /* I/O buffer */ member
/drivers/mtd/tests/
Dmtd_speedtest.c43 static unsigned char *iobuf; variable
128 err = mtd_write(mtd, addr, mtd->erasesize, &written, iobuf); in write_eraseblock()
143 void *buf = iobuf; in write_eraseblock_by_page()
166 void *buf = iobuf; in write_eraseblock_by_2pages()
199 err = mtd_read(mtd, addr, mtd->erasesize, &read, iobuf); in read_eraseblock()
217 void *buf = iobuf; in read_eraseblock_by_page()
243 void *buf = iobuf; in read_eraseblock_by_2pages()
386 iobuf = kmalloc(mtd->erasesize, GFP_KERNEL); in mtd_speedtest_init()
387 if (!iobuf) { in mtd_speedtest_init()
392 prandom_bytes(iobuf, mtd->erasesize); in mtd_speedtest_init()
[all …]
Dmtd_readtest.c37 static unsigned char *iobuf; variable
50 void *buf = iobuf; in read_eraseblock_by_page()
109 p += sprintf(p, "%02x", (unsigned int)iobuf[i]); in dump_eraseblock()
206 iobuf = kmalloc(mtd->erasesize, GFP_KERNEL); in mtd_readtest_init()
207 if (!iobuf) { in mtd_readtest_init()
244 kfree(iobuf); in mtd_readtest_init()
/drivers/staging/rts5139/
Drts51x.c467 rts51x->iobuf = usb_buffer_alloc(rts51x->pusb_dev, RTS51X_IOBUF_SIZE, in associate_dev()
469 if (!rts51x->iobuf) { in associate_dev()
612 chip->cmd_buf = chip->rsp_buf = rts51x->iobuf; in rts51x_acquire_resources()
664 if (rts51x->iobuf) in dissociate_dev()
666 rts51x->iobuf, rts51x->iobuf_dma); in dissociate_dev()
Drts51x.h103 unsigned char *iobuf; /* I/O buffer */ member
/drivers/media/pci/ddbridge/
Dddbridge.h167 u8 iobuf[1028]; member

12