/kernel/linux/linux-5.10/sound/sh/ |
H A D | sh_dac_audio.c | 47 char *data_buffer, *buffer_begin, *buffer_end; member 68 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in dac_audio_reset() 107 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in snd_sh_dac_pcm_open() 134 memset(chip->data_buffer, 0, chip->pdata->buffer_size); in snd_sh_dac_pcm_prepare() 148 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in snd_sh_dac_pcm_trigger() 167 if (copy_from_user_toio(chip->data_buffer + pos, src, count)) in snd_sh_dac_pcm_copy() 169 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_copy() 186 memcpy_toio(chip->data_buffer + pos, src, count); in snd_sh_dac_pcm_copy_kernel() 187 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_copy_kernel() 204 memset_io(chip->data_buffer in snd_sh_dac_pcm_silence() [all...] |
/kernel/linux/linux-6.6/sound/sh/ |
H A D | sh_dac_audio.c | 46 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_iter_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 memset_io(chip->data_buffer + pos, 0, count); in snd_sh_dac_pcm_silence() 186 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_silence() 200 int pointer = chip->buffer_begin - chip->data_buffer; in snd_sh_dac_pcm_pointer() [all...] |
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm-dev-common.c | 70 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() 106 memset(priv->data_buffer, 0, sizeof(priv->data_buffer)); in tpm_timeout_work() 144 rc = copy_to_user(buf, priv->data_buffer + *off, ret_size); in tpm_common_read() 146 memset(priv->data_buffer, 0, TPM_BUFSIZE); in tpm_common_read() 150 memset(priv->data_buffer + *off, 0, ret_size); in tpm_common_read() 187 if (copy_from_user(priv->data_buffer, buf, size)) { in tpm_common_write() 193 size < be32_to_cpu(*((__be32 *)(priv->data_buffer + 2)))) { in tpm_common_write() 224 ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer, in tpm_common_write() [all...] |
H A D | tpm-dev.h | 21 u8 data_buffer[TPM_BUFSIZE]; member
|
/kernel/linux/linux-6.6/drivers/char/tpm/ |
H A D | tpm-dev-common.c | 69 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() [all...] |
H A D | tpm-dev.h | 21 u8 data_buffer[TPM_BUFSIZE]; member
|
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
H A D | vmci_guest.c | 54 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() [all...] |
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/ |
H A D | vmci_guest.c | 61 void *data_buffer; member 125 * For DMA datagrams, the data_buffer will contain the header on the in vmci_read_data() 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 in vmci_guest_probe_device() [all...] |
/kernel/linux/linux-5.10/drivers/platform/chrome/wilco_ec/ |
H A D | mailbox.c | 151 rs = ec->data_buffer; in wilco_ec_transfer() 206 rq = ec->data_buffer; in wilco_ec_mailbox()
|
H A D | core.c | 52 ec->data_buffer = devm_kzalloc(dev, ec->data_size, GFP_KERNEL); in wilco_ec_probe() 53 if (!ec->data_buffer) in wilco_ec_probe()
|
/kernel/linux/linux-6.6/drivers/platform/chrome/wilco_ec/ |
H A D | mailbox.c | 151 rs = ec->data_buffer; in wilco_ec_transfer() 206 rq = ec->data_buffer; in wilco_ec_mailbox()
|
H A D | core.c | 52 ec->data_buffer = devm_kzalloc(dev, ec->data_size, GFP_KERNEL); in wilco_ec_probe() 53 if (!ec->data_buffer) in wilco_ec_probe()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | qcom_nandc.c | 340 * @data_buffer: our local DMA buffer for page read/writes, 390 u8 *data_buffer; member 1199 memset(nandc->data_buffer, 0xff, nandc->buf_count); in nandc_param() 1203 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, in nandc_param() 1419 memcpy(nandc->data_buffer, nandc->reg_read_buf, in post_command() 1925 memset(nandc->data_buffer, 0xff, size); in copy_last_cw() 1932 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, size, 0); in copy_last_cw() 2167 memset(nandc->data_buffer, 0xff, host->cw_data); in qcom_nandc_write_oob() 2169 mtd_ooblayout_get_databytes(mtd, nandc->data_buffer + data_size, oob, in qcom_nandc_write_oob() 2177 nandc->data_buffer, data_siz in qcom_nandc_write_oob() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | qcom_nandc.c | 371 * @data_buffer: our local DMA buffer for page read/writes, 426 u8 *data_buffer; member 1805 memset(nandc->data_buffer, 0xff, size); in copy_last_cw() 1812 read_data_dma(nandc, FLASH_BUF_ACC, nandc->data_buffer, size, 0); in copy_last_cw() 2130 memset(nandc->data_buffer, 0xff, host->cw_data); in qcom_nandc_write_oob() 2132 mtd_ooblayout_get_databytes(mtd, nandc->data_buffer + data_size, oob, in qcom_nandc_write_oob() 2140 nandc->data_buffer, data_size + oob_size, 0); in qcom_nandc_write_oob() 2182 bad = nandc->data_buffer[bbpos] != 0xff; in qcom_nandc_block_bad() 2185 bad = bad || (nandc->data_buffer[bbpos + 1] != 0xff); in qcom_nandc_block_bad() 2205 memset(nandc->data_buffer, in qcom_nandc_block_markbad() [all...] |
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | wilco-ec.h | 31 * @data_buffer: Buffer used for EC communication. The same buffer 45 void *data_buffer; member
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | wilco-ec.h | 31 * @data_buffer: Buffer used for EC communication. The same buffer 45 void *data_buffer; member
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | aha1542.c | 72 void *data_buffer; member 265 void *buf = acmd->data_buffer; in aha1542_free_cmd() 448 void *buf = acmd->data_buffer; in aha1542_queuecommand() 1018 acmd->data_buffer = dma_alloc_coherent(shost->dma_dev, in aha1542_init_cmd_priv() 1021 if (!acmd->data_buffer) in aha1542_init_cmd_priv() 1031 acmd->data_buffer, acmd->data_buffer_handle); in aha1542_exit_cmd_priv()
|
H A D | 3w-9xxx.c | 746 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()
|
H A D | 3w-xxxx.h | 351 char data_buffer[]; member
|
H A D | 3w-sas.h | 338 char data_buffer[]; member
|
/kernel/linux/linux-5.10/drivers/crypto/ux500/hash/ |
H A D | hash_core.c | 765 int msg_length, u8 *data_buffer, u8 *buffer, in hash_process_data() 775 *(data_buffer + count); in hash_process_data() 803 * If 'data_buffer' is four byte aligned and in hash_process_data() 805 * write data directly from 'data_buffer' to 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() 1071 u8 *data_buffer; in hash_hw_update() local 1104 data_buffer in hash_hw_update() 763 hash_process_data(struct hash_device_data *device_data, struct hash_ctx *ctx, struct hash_req_ctx *req_ctx, int msg_length, u8 *data_buffer, u8 *buffer, u8 *index) hash_process_data() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | 3w-9xxx.c | 743 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()
|
H A D | 3w-sas.h | 322 char data_buffer[1]; member
|
H A D | 3w-xxxx.h | 342 char data_buffer[1]; member
|
/kernel/linux/linux-5.10/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 123 void *data_buffer; member 597 if (qtd->data_buffer == qtd->urb->setup_packet) in create_ptd_atl() 787 qtd->data_buffer, in collect_qtds() 877 qtd->data_buffer, qtd->length); in enqueue_qtds() 1364 qtd->data_buffer = databuffer; in qtd_fill()
|