/drivers/char/tpm/ |
D | tpm_tis_spi.c | 49 u8 *iobuf; member 72 phy->iobuf[0] = (in ? 0x80 : 0) | (transfer_len - 1); in tpm_tis_spi_transfer() 73 phy->iobuf[1] = 0xd4; in tpm_tis_spi_transfer() 74 phy->iobuf[2] = addr >> 8; in tpm_tis_spi_transfer() 75 phy->iobuf[3] = addr; in tpm_tis_spi_transfer() 78 spi_xfer.tx_buf = phy->iobuf; in tpm_tis_spi_transfer() 79 spi_xfer.rx_buf = phy->iobuf; in tpm_tis_spi_transfer() 89 if ((phy->iobuf[3] & 0x01) == 0) { in tpm_tis_spi_transfer() 91 phy->iobuf[0] = 0; in tpm_tis_spi_transfer() 100 if (phy->iobuf[0] & 0x01) in tpm_tis_spi_transfer() [all …]
|
/drivers/mtd/tests/ |
D | speedtest.c | 46 static unsigned char *iobuf; variable 86 return mtdtest_write(mtd, addr, mtd->erasesize, iobuf); in write_eraseblock() 93 void *buf = iobuf; in write_eraseblock_by_page() 111 void *buf = iobuf; in write_eraseblock_by_2pages() 130 return mtdtest_read(mtd, addr, mtd->erasesize, iobuf); in read_eraseblock() 137 void *buf = iobuf; in read_eraseblock_by_page() 155 void *buf = iobuf; in read_eraseblock_by_2pages() 242 iobuf = kmalloc(mtd->erasesize, GFP_KERNEL); in mtd_speedtest_init() 243 if (!iobuf) in mtd_speedtest_init() 246 prandom_bytes(iobuf, mtd->erasesize); in mtd_speedtest_init() [all …]
|
D | readtest.c | 39 static unsigned char *iobuf; variable 51 void *buf = iobuf; in read_eraseblock_by_page() 104 p += sprintf(p, "%02x", (unsigned int)iobuf[i]); in dump_eraseblock() 166 iobuf = kmalloc(mtd->erasesize, GFP_KERNEL); in mtd_readtest_init() 167 if (!iobuf) in mtd_readtest_init() 208 kfree(iobuf); in mtd_readtest_init()
|
/drivers/usb/storage/ |
D | transport.c | 154 if (us->current_urb->transfer_buffer == us->iobuf) in usb_stor_msg_common() 973 memcpy(us->iobuf, srb->cmnd, srb->cmd_len); in usb_stor_CB_transport() 977 us->ifnum, us->iobuf, srb->cmd_len); in usb_stor_CB_transport() 1017 result = usb_stor_intr_transfer(us, us->iobuf, 2); in usb_stor_CB_transport() 1019 us->iobuf[0], us->iobuf[1]); in usb_stor_CB_transport() 1035 if (us->iobuf[0]) in usb_stor_CB_transport() 1047 if (us->iobuf[0]) { in usb_stor_CB_transport() 1049 us->iobuf[0]); in usb_stor_CB_transport() 1055 switch (us->iobuf[1] & 0x0F) { in usb_stor_CB_transport() 1084 us->iobuf[0] = 0; in usb_stor_Bulk_max_lun() [all …]
|
D | karma.c | 114 memset(us->iobuf, 0, RIO_SEND_LEN); in rio_karma_send_command() 115 memcpy(us->iobuf, RIO_PREFIX, RIO_PREFIX_LEN); in rio_karma_send_command() 116 us->iobuf[5] = cmd; in rio_karma_send_command() 117 us->iobuf[6] = seq; in rio_karma_send_command() 122 us->iobuf, RIO_SEND_LEN, NULL); in rio_karma_send_command() 137 us->iobuf[4] = 0x80; in rio_karma_send_command() 138 us->iobuf[5] = 0; in rio_karma_send_command()
|
D | shuttle_usbat.c | 328 unsigned char *reply = us->iobuf; in usbat_check_status() 358 unsigned char *command = us->iobuf; in usbat_set_shuttle_features() 410 unsigned char *status = us->iobuf; in usbat_wait_not_busy() 461 unsigned char *command = us->iobuf; in usbat_read_block() 495 unsigned char *command = us->iobuf; in usbat_write_block() 543 unsigned char *command = us->iobuf; in usbat_hp8200e_rw_block_test() 546 unsigned char *data = us->iobuf; in usbat_hp8200e_rw_block_test() 547 unsigned char *status = us->iobuf; in usbat_hp8200e_rw_block_test() 695 unsigned char *data = us->iobuf; in usbat_multiple_write() 696 unsigned char *command = us->iobuf; in usbat_multiple_write() [all …]
|
D | jumpshot.c | 152 0, 0xA0, 0, 7, us->iobuf, 1); in jumpshot_get_status() 157 if (us->iobuf[0] != 0x50) { in jumpshot_get_status() 158 usb_stor_dbg(us, "0x%2x\n", us->iobuf[0]); in jumpshot_get_status() 170 unsigned char *command = us->iobuf; in jumpshot_read_data() 247 unsigned char *command = us->iobuf; in jumpshot_write_data() 336 unsigned char *command = us->iobuf; in jumpshot_id_device() 397 unsigned char *ptr = us->iobuf; in jumpshot_handle_mode_sense() 491 unsigned char *ptr = us->iobuf; in jumpshot_transport()
|
D | sddr55.c | 142 unsigned char *command = us->iobuf; in sddr55_status() 143 unsigned char *status = us->iobuf; in sddr55_status() 205 unsigned char *command = us->iobuf; in sddr55_read_data() 206 unsigned char *status = us->iobuf; in sddr55_read_data() 324 unsigned char *command = us->iobuf; in sddr55_write_data() 325 unsigned char *status = us->iobuf; in sddr55_write_data() 529 unsigned char *command = us->iobuf; in sddr55_read_deviceID() 530 unsigned char *content = us->iobuf; in sddr55_read_deviceID() 655 unsigned char *command = us->iobuf; in sddr55_read_map() 798 unsigned char *ptr = us->iobuf; in sddr55_transport()
|
D | datafab.c | 152 unsigned char *command = us->iobuf; in datafab_read_data() 235 unsigned char *command = us->iobuf; in datafab_write_data() 236 unsigned char *reply = us->iobuf; in datafab_write_data() 336 unsigned char *command = us->iobuf; in datafab_determine_lun() 401 unsigned char *command = us->iobuf; in datafab_id_device() 468 unsigned char *ptr = us->iobuf; in datafab_handle_mode_sense() 565 unsigned char *ptr = us->iobuf; in datafab_transport()
|
D | sddr09.c | 340 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() 1084 unsigned char *command = us->iobuf; in sddr09_read_deviceID() 1085 unsigned char *content = us->iobuf; in sddr09_read_deviceID() [all …]
|
D | freecom.c | 168 (struct freecom_xfer_wrap *) us->iobuf; in freecom_readdata() 201 (struct freecom_xfer_wrap *) us->iobuf; in freecom_writedata() 242 fcb = (struct freecom_cb_wrap *) us->iobuf; in freecom_transport() 243 fst = (struct freecom_status *) us->iobuf; in freecom_transport() 455 char *buffer = us->iobuf; in init_freecom()
|
D | initializers.c | 69 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf; in usb_stor_ucr61s2b_init() 70 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf; in usb_stor_ucr61s2b_init()
|
D | realtek_cr.c | 216 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *)us->iobuf; in rts51x_bulk_transport() 217 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *)us->iobuf; in rts51x_bulk_transport() 306 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in rts51x_bulk_transport_special() 307 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in rts51x_bulk_transport_special() 354 us->iobuf[0] = 0; in rts51x_get_max_lun() 359 0, us->ifnum, us->iobuf, 1, 10 * HZ); in rts51x_get_max_lun() 362 result, us->iobuf[0]); in rts51x_get_max_lun() 366 return us->iobuf[0]; in rts51x_get_max_lun()
|
D | ene_ub6250.c | 509 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ene_send_scsi_cmd() 510 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in ene_send_scsi_cmd() 692 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in sd_scsi_read() 732 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in sd_scsi_write() 885 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_read_readpage() 1164 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_read_copyblock() 1196 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_read_eraseblock() 1274 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_lib_overwrite_extra() 1358 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_lib_read_extra() 1543 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ms_lib_read_extrablock() [all …]
|
D | usb.h | 146 unsigned char *iobuf; /* I/O buffer */ member
|
D | alauda.c | 377 unsigned char *command = us->iobuf; in alauda_reset_media() 393 unsigned char *data = us->iobuf; in alauda_init_media() 572 unsigned char *data = us->iobuf; in alauda_read_map() 1136 unsigned char *ptr = us->iobuf; in alauda_transport()
|
D | usb.c | 478 us->iobuf = usb_alloc_coherent(us->pusb_dev, US_IOBUF_SIZE, in associate_dev() 480 if (!us->iobuf) { in associate_dev() 846 usb_free_coherent(us->pusb_dev, US_IOBUF_SIZE, us->iobuf, us->iobuf_dma); in dissociate_dev()
|
/drivers/nvdimm/ |
D | blk.c | 90 void *iobuf; in nd_blk_rw_integrity() local 100 iobuf = kmap_atomic(bv.bv_page); in nd_blk_rw_integrity() 101 err = ndbr->do_io(ndbr, dev_offset, iobuf + bv.bv_offset, in nd_blk_rw_integrity() 103 kunmap_atomic(iobuf); in nd_blk_rw_integrity() 132 void *iobuf; in nsblk_do_bvec() local 154 iobuf = kmap_atomic(page); in nsblk_do_bvec() 155 err = ndbr->do_io(ndbr, dev_offset, iobuf + off, cur_len, rw); in nsblk_do_bvec() 156 kunmap_atomic(iobuf); in nsblk_do_bvec() 213 resource_size_t offset, void *iobuf, size_t n, int rw, in nsblk_rw_bytes() argument 230 return ndbr->do_io(ndbr, dev_offset, iobuf, n, rw); in nsblk_rw_bytes()
|
/drivers/usb/misc/ |
D | cypress_cy7c63.c | 77 unsigned char *iobuf; in vendor_command() local 80 iobuf = kzalloc(CYPRESS_MAX_REQSIZE, GFP_KERNEL); in vendor_command() 81 if (!iobuf) { in vendor_command() 92 address, data, iobuf, CYPRESS_MAX_REQSIZE, in vendor_command() 99 dev->port[0] = iobuf[1]; in vendor_command() 105 dev->port[1] = iobuf[1]; in vendor_command() 113 kfree(iobuf); in vendor_command()
|
/drivers/mfd/ |
D | rtsx_usb.c | 645 ucr->iobuf = usb_alloc_coherent(ucr->pusb_dev, IOBUF_SIZE, in rtsx_usb_probe() 647 if (!ucr->iobuf) in rtsx_usb_probe() 654 ucr->cmd_buf = ucr->rsp_buf = ucr->iobuf; in rtsx_usb_probe() 681 usb_free_coherent(ucr->pusb_dev, IOBUF_SIZE, ucr->iobuf, in rtsx_usb_probe() 695 usb_free_coherent(ucr->pusb_dev, IOBUF_SIZE, ucr->iobuf, in rtsx_usb_disconnect()
|
/drivers/acpi/nfit/ |
D | nfit.h | 171 void *iobuf, u64 len, int rw);
|
/drivers/media/pci/ttpci/ |
D | av7110.h | 136 void *iobuf; /* memory for all buffers */ member
|
/drivers/mmc/core/ |
D | sdio_uart.c | 433 u8 iobuf[16]; in sdio_uart_transmit_chars() local 452 len = kfifo_out_locked(xmit, iobuf, 16, &port->write_lock); in sdio_uart_transmit_chars() 454 sdio_out(port, UART_TX, iobuf[count]); in sdio_uart_transmit_chars()
|
/drivers/net/wireless/cisco/ |
D | airo.c | 7770 unsigned char *iobuf; in readrids() local 7812 if ((iobuf = kzalloc(RIDSIZE, GFP_KERNEL)) == NULL) in readrids() 7815 PC4500_readrid(ai,ridcode,iobuf,RIDSIZE, 1); in readrids() 7822 if (copy_to_user(comp->data, iobuf, min(len, (int)RIDSIZE))) { in readrids() 7823 kfree (iobuf); in readrids() 7826 kfree (iobuf); in readrids() 7839 unsigned char *iobuf; in writerids() local 7888 if ((iobuf = kmalloc(RIDSIZE, GFP_KERNEL)) == NULL) in writerids() 7891 PC4500_readrid(ai,RID_STATSDELTACLEAR,iobuf,RIDSIZE, 1); in writerids() 7897 if (copy_to_user(comp->data, iobuf, in writerids() [all …]
|
/drivers/media/pci/ddbridge/ |
D | ddbridge.h | 352 u8 iobuf[1028]; member
|