Home
last modified time | relevance | path

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

/linux-6.1.9/sound/sh/
Dsh_dac_audio.c46 char *data_buffer, *buffer_begin, *buffer_end; member
67 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in dac_audio_reset()
106 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in snd_sh_dac_pcm_open()
133 memset(chip->data_buffer, 0, chip->pdata->buffer_size); in snd_sh_dac_pcm_prepare()
147 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in snd_sh_dac_pcm_trigger()
166 if (copy_from_user_toio(chip->data_buffer + pos, src, count)) in snd_sh_dac_pcm_copy()
168 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_copy()
185 memcpy_toio(chip->data_buffer + pos, src, count); in snd_sh_dac_pcm_copy_kernel()
186 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_copy_kernel()
203 memset_io(chip->data_buffer + pos, 0, count); in snd_sh_dac_pcm_silence()
[all …]
/linux-6.1.9/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
/linux-6.1.9/drivers/misc/vmw_vmci/
Dvmci_guest.c61 void *data_buffer; member
130 struct vmci_data_in_out_header *buffer_header = vmci_dev->data_buffer; in vmci_read_data()
132 size_t buffer_offset = dest - vmci_dev->data_buffer; in vmci_read_data()
307 u8 *dg_in_buffer = vmci_dev->data_buffer; in vmci_dispatch_dgs()
561 if (vmci_dev->data_buffer != NULL) in vmci_free_dg_buffers()
564 vmci_dev->data_buffer, in vmci_free_dg_buffers()
567 vfree(vmci_dev->data_buffer); in vmci_free_dg_buffers()
648 vmci_dev->data_buffer = dma_alloc_coherent(&pdev->dev, VMCI_DMA_DG_BUFFER_SIZE, in vmci_guest_probe_device()
652 vmci_dev->data_buffer = vmalloc(VMCI_MAX_DG_SIZE); in vmci_guest_probe_device()
654 if (!vmci_dev->data_buffer) { in vmci_guest_probe_device()
/linux-6.1.9/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()
/linux-6.1.9/drivers/mtd/nand/raw/
Dqcom_nandc.c420 u8 *data_buffer; member
1339 memset(nandc->data_buffer, 0xff, nandc->buf_count); in nandc_param()
1343 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, in nandc_param()
1561 memcpy(nandc->data_buffer, nandc->reg_read_buf, in post_command()
2070 memset(nandc->data_buffer, 0xff, size); in copy_last_cw()
2077 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, size, 0); in copy_last_cw()
2393 memset(nandc->data_buffer, 0xff, host->cw_data); in qcom_nandc_write_oob()
2395 mtd_ooblayout_get_databytes(mtd, nandc->data_buffer + data_size, oob, in qcom_nandc_write_oob()
2403 nandc->data_buffer, data_size + oob_size, 0); in qcom_nandc_write_oob()
2448 bad = nandc->data_buffer[bbpos] != 0xff; in qcom_nandc_block_bad()
[all …]
/linux-6.1.9/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()
1071 u8 *data_buffer; in hash_hw_update() local
1104 data_buffer = walk.data; in hash_hw_update()
1106 data_buffer, buffer, &index); in hash_hw_update()
/linux-6.1.9/drivers/scsi/
Daha1542.c72 void *data_buffer; member
265 void *buf = acmd->data_buffer; in aha1542_free_cmd()
448 void *buf = acmd->data_buffer; in aha1542_queuecommand()
1017 acmd->data_buffer = dma_alloc_coherent(shost->dma_dev, in aha1542_init_cmd_priv()
1020 if (!acmd->data_buffer) in aha1542_init_cmd_priv()
1030 acmd->data_buffer, acmd->data_buffer_handle); in aha1542_exit_cmd_priv()
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.h351 char data_buffer[]; member
D3w-sas.h338 char data_buffer[1]; member
D3w-9xxx.h610 char data_buffer[]; member
D3w-xxxx.c936 memset(tw_ioctl->data_buffer, 0, data_buffer_length); in tw_chrdev_ioctl()
950 memcpy(tw_ioctl->data_buffer, &tw_aen_code, sizeof(tw_aen_code)); in tw_chrdev_ioctl()
/linux-6.1.9/include/linux/platform_data/
Dwilco-ec.h45 void *data_buffer; member
/linux-6.1.9/drivers/usb/isp1760/
Disp1760-hcd.c147 void *data_buffer; member
880 if (qtd->data_buffer == qtd->urb->setup_packet) in create_ptd_atl()
1074 qtd->data_buffer, in collect_qtds()
1165 qtd->data_buffer, qtd->length); in enqueue_qtds()
1749 qtd->data_buffer = databuffer; in qtd_fill()
/linux-6.1.9/drivers/scsi/esas2r/
Desas2r_ioctl.c1390 memcpy(ioctl->data.prw.data_buffer, a->nvram, in esas2r_ioctl_handler()
1406 (struct esas2r_sas_nvram *)ioctl->data.prw.data_buffer); in esas2r_ioctl_handler()
1416 (struct esas2r_sas_nvram *)ioctl->data.prw.data_buffer); in esas2r_ioctl_handler()
Datioctl.h102 char data_buffer[512]; member
/linux-6.1.9/drivers/scsi/isci/
Drequest.c1450 u8 *data_buffer) in sci_stp_request_pio_data_in_copy_data() argument
1459 stp_req, data_buffer, stp_req->pio_len); in sci_stp_request_pio_data_in_copy_data()
1466 stp_req, data_buffer, SCU_MAX_FRAME_BUFFER_SIZE); in sci_stp_request_pio_data_in_copy_data()
/linux-6.1.9/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()
/linux-6.1.9/drivers/scsi/elx/libefc_sli/
Dsli4.h3140 u8 data_buffer[4]; member