Home
last modified time | relevance | path

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

/drivers/char/tpm/
Dtpm-dev.c34 u8 data_buffer[TPM_BUFSIZE]; member
50 memset(priv->data_buffer, 0, sizeof(priv->data_buffer)); in timeout_work()
101 rc = copy_to_user(buf, priv->data_buffer, ret_size); in tpm_read()
102 memset(priv->data_buffer, 0, orig_ret_size); in tpm_read()
134 (priv->data_buffer, (void __user *) buf, in_size)) { in tpm_write()
140 in_size < be32_to_cpu(*((__be32 *) (priv->data_buffer + 2)))) { in tpm_write()
153 out_size = tpm_transmit(priv->chip, priv->data_buffer, in tpm_write()
154 sizeof(priv->data_buffer), 0); in tpm_write()
/drivers/misc/vmw_vmci/
Dvmci_guest.c65 void *data_buffer; member
215 u8 *dg_in_buffer = vmci_dev->data_buffer; in vmci_dispatch_dgs()
224 vmci_dev->data_buffer, current_dg_in_buffer_size); in vmci_dispatch_dgs()
286 vmci_dev->data_buffer + in vmci_dispatch_dgs()
328 vmci_dev->data_buffer, in vmci_dispatch_dgs()
347 vmci_dev->data_buffer, in vmci_dispatch_dgs()
503 vmci_dev->data_buffer = vmalloc(VMCI_MAX_DG_SIZE); in vmci_guest_probe_device()
504 if (!vmci_dev->data_buffer) { in vmci_guest_probe_device()
686 vfree(vmci_dev->data_buffer); in vmci_guest_probe_device()
745 vfree(vmci_dev->data_buffer); in vmci_guest_remove_device()
/drivers/mtd/nand/
Dqcom_nandc.c263 u8 *data_buffer; member
697 memset(nandc->data_buffer, 0xff, nandc->buf_count); in nandc_param()
701 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, in nandc_param()
862 memcpy(nandc->data_buffer, nandc->reg_read_buf, in post_command()
1180 memset(nandc->data_buffer, 0xff, size); in copy_last_cw()
1187 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, size); in copy_last_cw()
1462 mtd_ooblayout_get_databytes(mtd, nandc->data_buffer + data_size, oob, in qcom_nandc_write_oob()
1469 write_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, in qcom_nandc_write_oob()
1521 bad = nandc->data_buffer[bbpos] != 0xff; in qcom_nandc_block_bad()
1524 bad = bad || (nandc->data_buffer[bbpos + 1] != 0xff); in qcom_nandc_block_bad()
[all …]
/drivers/staging/media/bcm2048/
Dradio-bcm2048.c1352 char data_buffer[BCM2048_MAX_RDS_RT + 1]; in bcm2048_get_rds_rt() local
1366 data_buffer[j++] = bdev->rds_info.rds_rt[i]; in bcm2048_get_rds_rt()
1375 data_buffer[j] = 0; in bcm2048_get_rds_rt()
1392 memcpy(data, data_buffer, sizeof(data_buffer)); in bcm2048_get_rds_rt()
1402 char data_buffer[BCM2048_MAX_RDS_PS + 1]; in bcm2048_get_rds_ps() local
1413 data_buffer[j++] = bdev->rds_info.rds_ps[i]; in bcm2048_get_rds_ps()
1423 data_buffer[j] = 0; in bcm2048_get_rds_ps()
1425 memcpy(data, data_buffer, sizeof(data_buffer)); in bcm2048_get_rds_ps()
1772 char *data_buffer; in bcm2048_get_rds_data() local
1781 data_buffer = kcalloc(BCM2048_MAX_RDS_RADIO_TEXT, 5, GFP_KERNEL); in bcm2048_get_rds_data()
[all …]
/drivers/crypto/ux500/hash/
Dhash_core.c764 int msg_length, u8 *data_buffer, u8 *buffer, in hash_process_data() argument
774 *(data_buffer + count); in hash_process_data()
808 if ((0 == (((u32)data_buffer) % 4)) && in hash_process_data()
811 (const u32 *)data_buffer, in hash_process_data()
818 *(data_buffer + count); in hash_process_data()
825 data_buffer += (HASH_BLOCK_SIZE - *index); in hash_process_data()
1067 u8 *data_buffer; in hash_hw_update() local
1095 data_buffer = walk.data; in hash_hw_update()
1097 data_buffer, buffer, &index); in hash_hw_update()
/drivers/scsi/
D3w-9xxx.c746 tw_compat_info = (TW_Compatibility_Info *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
764 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
783 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
787 event = (TW_Event *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
812 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
816 event = (TW_Event *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
841 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
845 tw_lock = (TW_Lock *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
D3w-xxxx.h342 char data_buffer[1]; member
D3w-sas.h325 char data_buffer[1]; member
D3w-9xxx.h594 char data_buffer[1]; member
D3w-xxxx.c933 memset(tw_ioctl->data_buffer, 0, data_buffer_length); in tw_chrdev_ioctl()
947 memcpy(tw_ioctl->data_buffer, &tw_aen_code, sizeof(tw_aen_code)); in tw_chrdev_ioctl()
/drivers/usb/isp1760/
Disp1760-hcd.c121 void *data_buffer; member
600 if (qtd->data_buffer == qtd->urb->setup_packet) in create_ptd_atl()
790 qtd->data_buffer, in collect_qtds()
880 qtd->data_buffer, qtd->length); in enqueue_qtds()
1367 qtd->data_buffer = databuffer; in qtd_fill()
/drivers/scsi/esas2r/
Desas2r_ioctl.c1415 memcpy(ioctl->data.prw.data_buffer, a->nvram, in esas2r_ioctl_handler()
1431 (struct esas2r_sas_nvram *)ioctl->data.prw.data_buffer); in esas2r_ioctl_handler()
1441 (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.h516 u32 data_buffer[1]; member
524 u32 data_buffer[1]; member
Dbe_cmds.c1845 resp->data_buffer, in be_cmd_get_fat_dump()