Home
last modified time | relevance | path

Searched refs:data_buffer (Results 1 – 20 of 20) sorted by relevance

/drivers/char/tpm/
Dtpm-dev-common.c69 ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer, in tpm_dev_async_work()
70 sizeof(priv->data_buffer)); in tpm_dev_async_work()
105 memset(priv->data_buffer, 0, sizeof(priv->data_buffer)); in tpm_timeout_work()
143 rc = copy_to_user(buf, priv->data_buffer + *off, ret_size); in tpm_common_read()
145 memset(priv->data_buffer, 0, TPM_BUFSIZE); in tpm_common_read()
149 memset(priv->data_buffer + *off, 0, ret_size); in tpm_common_read()
186 if (copy_from_user(priv->data_buffer, buf, size)) { in tpm_common_write()
192 size < be32_to_cpu(*((__be32 *)(priv->data_buffer + 2)))) { in tpm_common_write()
223 ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer, in tpm_common_write()
224 sizeof(priv->data_buffer)); in tpm_common_write()
Dtpm-dev.h21 u8 data_buffer[TPM_BUFSIZE]; member
/drivers/misc/vmw_vmci/
Dvmci_guest.c54 void *data_buffer; member
211 u8 *dg_in_buffer = vmci_dev->data_buffer; in vmci_dispatch_dgs()
220 vmci_dev->data_buffer, current_dg_in_buffer_size); in vmci_dispatch_dgs()
282 vmci_dev->data_buffer + in vmci_dispatch_dgs()
324 vmci_dev->data_buffer, in vmci_dispatch_dgs()
343 vmci_dev->data_buffer, in vmci_dispatch_dgs()
475 vmci_dev->data_buffer = vmalloc(VMCI_MAX_DG_SIZE); in vmci_guest_probe_device()
476 if (!vmci_dev->data_buffer) { in vmci_guest_probe_device()
674 vfree(vmci_dev->data_buffer); in vmci_guest_probe_device()
729 vfree(vmci_dev->data_buffer); in vmci_guest_remove_device()
/drivers/platform/chrome/wilco_ec/
Dcore.c52 ec->data_buffer = devm_kzalloc(dev, ec->data_size, GFP_KERNEL); in wilco_ec_probe()
53 if (!ec->data_buffer) in wilco_ec_probe()
Dmailbox.c151 rs = ec->data_buffer; in wilco_ec_transfer()
206 rq = ec->data_buffer; in wilco_ec_mailbox()
/drivers/mtd/nand/raw/
Dqcom_nandc.c404 u8 *data_buffer; member
1281 memset(nandc->data_buffer, 0xff, nandc->buf_count); in nandc_param()
1285 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, in nandc_param()
1503 memcpy(nandc->data_buffer, nandc->reg_read_buf, in post_command()
2012 memset(nandc->data_buffer, 0xff, size); in copy_last_cw()
2019 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, size, 0); in copy_last_cw()
2254 memset(nandc->data_buffer, 0xff, host->cw_data); in qcom_nandc_write_oob()
2256 mtd_ooblayout_get_databytes(mtd, nandc->data_buffer + data_size, oob, in qcom_nandc_write_oob()
2264 nandc->data_buffer, data_size + oob_size, 0); in qcom_nandc_write_oob()
2309 bad = nandc->data_buffer[bbpos] != 0xff; in qcom_nandc_block_bad()
[all …]
/drivers/crypto/ux500/hash/
Dhash_core.c767 int msg_length, u8 *data_buffer, u8 *buffer, in hash_process_data() argument
777 *(data_buffer + count); in hash_process_data()
811 if (IS_ALIGNED((unsigned long)data_buffer, 4) && in hash_process_data()
814 (const u32 *)data_buffer, in hash_process_data()
821 *(data_buffer + count); in hash_process_data()
828 data_buffer += (HASH_BLOCK_SIZE - *index); in hash_process_data()
1073 u8 *data_buffer; in hash_hw_update() local
1106 data_buffer = walk.data; in hash_hw_update()
1108 data_buffer, buffer, &index); in hash_hw_update()
/drivers/scsi/
Daha1542.c72 void *data_buffer; member
266 void *buf = acmd->data_buffer; in aha1542_free_cmd()
452 void *buf = acmd->data_buffer; in aha1542_queuecommand()
1022 acmd->data_buffer = dma_alloc_coherent(shost->dma_dev, in aha1542_init_cmd_priv()
1025 if (!acmd->data_buffer) in aha1542_init_cmd_priv()
1035 acmd->data_buffer, acmd->data_buffer_handle); in aha1542_exit_cmd_priv()
D3w-9xxx.c744 tw_compat_info = (TW_Compatibility_Info *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
762 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
781 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
785 event = (TW_Event *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
810 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
814 event = (TW_Event *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
839 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
843 tw_lock = (TW_Lock *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
D3w-xxxx.h351 char data_buffer[1]; member
D3w-sas.h338 char data_buffer[1]; member
D3w-9xxx.h610 char data_buffer[]; member
D3w-xxxx.c934 memset(tw_ioctl->data_buffer, 0, data_buffer_length); in tw_chrdev_ioctl()
948 memcpy(tw_ioctl->data_buffer, &tw_aen_code, sizeof(tw_aen_code)); in tw_chrdev_ioctl()
/drivers/usb/isp1760/
Disp1760-hcd.c147 void *data_buffer; member
881 if (qtd->data_buffer == qtd->urb->setup_packet) in create_ptd_atl()
1075 qtd->data_buffer, in collect_qtds()
1166 qtd->data_buffer, qtd->length); in enqueue_qtds()
1750 qtd->data_buffer = databuffer; in qtd_fill()
/drivers/scsi/esas2r/
Desas2r_ioctl.c1391 memcpy(ioctl->data.prw.data_buffer, a->nvram, in esas2r_ioctl_handler()
1407 (struct esas2r_sas_nvram *)ioctl->data.prw.data_buffer); in esas2r_ioctl_handler()
1417 (struct esas2r_sas_nvram *)ioctl->data.prw.data_buffer); in esas2r_ioctl_handler()
Datioctl.h102 char data_buffer[512]; member
/drivers/scsi/isci/
Drequest.c1449 u8 *data_buffer) in sci_stp_request_pio_data_in_copy_data() argument
1458 stp_req, data_buffer, stp_req->pio_len); in sci_stp_request_pio_data_in_copy_data()
1465 stp_req, data_buffer, SCU_MAX_FRAME_BUFFER_SIZE); in sci_stp_request_pio_data_in_copy_data()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h512 u32 data_buffer[1]; member
520 u32 data_buffer[1]; member
Dbe_cmds.c1841 resp->data_buffer, in be_cmd_get_fat_dump()
/drivers/scsi/elx/libefc_sli/
Dsli4.h3140 u8 data_buffer[4]; member