Home
last modified time | relevance | path

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

/drivers/char/tpm/
Dtpm-dev-common.c70 ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer, in tpm_dev_async_work()
71 sizeof(priv->data_buffer)); in tpm_dev_async_work()
100 memset(priv->data_buffer, 0, sizeof(priv->data_buffer)); in tpm_timeout_work()
138 rc = copy_to_user(buf, priv->data_buffer + *off, ret_size); in tpm_common_read()
140 memset(priv->data_buffer, 0, TPM_BUFSIZE); in tpm_common_read()
144 memset(priv->data_buffer + *off, 0, ret_size); in tpm_common_read()
181 if (copy_from_user(priv->data_buffer, buf, size)) { in tpm_common_write()
187 size < be32_to_cpu(*((__be32 *)(priv->data_buffer + 2)))) { in tpm_common_write()
219 ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer, in tpm_common_write()
220 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()
672 vfree(vmci_dev->data_buffer); in vmci_guest_probe_device()
727 vfree(vmci_dev->data_buffer); in vmci_guest_remove_device()
/drivers/mtd/nand/raw/
Dqcom_nandc.c391 u8 *data_buffer; member
1198 memset(nandc->data_buffer, 0xff, nandc->buf_count); in nandc_param()
1202 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, in nandc_param()
1418 memcpy(nandc->data_buffer, nandc->reg_read_buf, in post_command()
1922 memset(nandc->data_buffer, 0xff, size); in copy_last_cw()
1929 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, size, 0); in copy_last_cw()
2164 memset(nandc->data_buffer, 0xff, host->cw_data); in qcom_nandc_write_oob()
2166 mtd_ooblayout_get_databytes(mtd, nandc->data_buffer + data_size, oob, in qcom_nandc_write_oob()
2174 nandc->data_buffer, data_size + oob_size, 0); in qcom_nandc_write_oob()
2219 bad = nandc->data_buffer[bbpos] != 0xff; in qcom_nandc_block_bad()
[all …]
/drivers/platform/chrome/wilco_ec/
Dcore.c56 ec->data_buffer = devm_kzalloc(dev, ec->data_size, GFP_KERNEL); in wilco_ec_probe()
57 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/crypto/ux500/hash/
Dhash_core.c765 int msg_length, u8 *data_buffer, u8 *buffer, in hash_process_data() argument
775 *(data_buffer + count); in hash_process_data()
809 if (IS_ALIGNED((unsigned long)data_buffer, 4) && in hash_process_data()
812 (const u32 *)data_buffer, in hash_process_data()
819 *(data_buffer + count); in hash_process_data()
826 data_buffer += (HASH_BLOCK_SIZE - *index); in hash_process_data()
1070 u8 *data_buffer; in hash_hw_update() local
1098 data_buffer = walk.data; in hash_hw_update()
1100 data_buffer, buffer, &index); in hash_hw_update()
/drivers/scsi/
D3w-9xxx.c743 tw_compat_info = (TW_Compatibility_Info *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
761 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
780 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
784 event = (TW_Event *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
809 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
813 event = (TW_Event *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
838 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
842 tw_lock = (TW_Lock *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
D3w-xxxx.h342 char data_buffer[1]; member
D3w-sas.h322 char data_buffer[1]; member
D3w-9xxx.h591 char data_buffer[1]; 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.c122 void *data_buffer; member
599 if (qtd->data_buffer == qtd->urb->setup_packet) in create_ptd_atl()
789 qtd->data_buffer, in collect_qtds()
879 qtd->data_buffer, qtd->length); in enqueue_qtds()
1368 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.c1454 u8 *data_buffer) in sci_stp_request_pio_data_in_copy_data() argument
1463 stp_req, data_buffer, stp_req->pio_len); in sci_stp_request_pio_data_in_copy_data()
1470 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.c1839 resp->data_buffer, in be_cmd_get_fat_dump()