/openbmc/u-boot/board/nvidia/dalmore/ |
H A D | dalmore.c | 44 uchar reg, data_buffer[1]; in board_sdmmc_voltage_init() local 54 data_buffer[0] = 0x31; in board_sdmmc_voltage_init() 57 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init() 60 __func__, reg, data_buffer[0], ret); in board_sdmmc_voltage_init() 63 data_buffer[0] = 0x01; in board_sdmmc_voltage_init() 66 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init() 69 __func__, reg, data_buffer[0], ret); in board_sdmmc_voltage_init() 72 data_buffer[0] = 0x03; in board_sdmmc_voltage_init() 80 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init() 83 __func__, reg, data_buffer[0], ret); in board_sdmmc_voltage_init()
|
/openbmc/linux/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(chip->data_buffer + pos, count, 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(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 …]
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm-dev-common.c | 71 ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer, in tpm_dev_async_work() 72 sizeof(priv->data_buffer)); in tpm_dev_async_work() 107 memset(priv->data_buffer, 0, sizeof(priv->data_buffer)); in tpm_timeout_work() 145 rc = copy_to_user(buf, priv->data_buffer + *off, ret_size); in tpm_common_read() 147 memset(priv->data_buffer, 0, TPM_BUFSIZE); in tpm_common_read() 151 memset(priv->data_buffer + *off, 0, ret_size); in tpm_common_read() 188 if (copy_from_user(priv->data_buffer, buf, size)) { in tpm_common_write() 194 size < be32_to_cpu(*((__be32 *)(priv->data_buffer + 2)))) { in tpm_common_write() 225 ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer, in tpm_common_write() 226 sizeof(priv->data_buffer)); in tpm_common_write()
|
H A D | tpm-dev.h | 21 u8 data_buffer[TPM_BUFSIZE]; member
|
/openbmc/u-boot/board/nvidia/cardhu/ |
H A D | cardhu.c | 43 uchar reg, data_buffer[1]; in board_sdmmc_voltage_init() local 54 data_buffer[0] = 0x65; in board_sdmmc_voltage_init() 58 if (dm_i2c_write(dev, reg, data_buffer, 1)) in board_sdmmc_voltage_init() 63 data_buffer[0] = 0x09; in board_sdmmc_voltage_init() 67 if (dm_i2c_write(dev, reg, data_buffer, 1)) in board_sdmmc_voltage_init()
|
/openbmc/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_guest.c | 61 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() 650 vmci_dev->data_buffer = dma_alloc_coherent(&pdev->dev, VMCI_DMA_DG_BUFFER_SIZE, in vmci_guest_probe_device() 654 vmci_dev->data_buffer = vmalloc(VMCI_MAX_DG_SIZE); in vmci_guest_probe_device() 656 if (!vmci_dev->data_buffer) { in vmci_guest_probe_device()
|
/openbmc/linux/drivers/platform/chrome/wilco_ec/ |
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()
|
H A D | mailbox.c | 151 rs = ec->data_buffer; in wilco_ec_transfer() 206 rq = ec->data_buffer; in wilco_ec_mailbox()
|
/openbmc/qemu/hw/vfio/ |
H A D | migration.c | 365 data_size = read(migration->data_fd, migration->data_buffer, in vfio_save_block() 391 qemu_put_buffer(f, migration->data_buffer, data_size); in vfio_save_block() 475 migration->data_buffer = g_try_malloc0(migration->data_buffer_size); in vfio_save_setup() 476 if (!migration->data_buffer) { in vfio_save_setup() 539 g_free(migration->data_buffer); in vfio_save_cleanup() 540 migration->data_buffer = NULL; in vfio_save_cleanup()
|
/openbmc/linux/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
|
H A D | 3w-9xxx.h | 610 char data_buffer[]; member
|
H A D | 3w-xxxx.c | 936 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()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | wilco-ec.h | 45 void *data_buffer; member
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | qcom_nandc.c | 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, 0x00, host->cw_size); in qcom_nandc_block_markbad() 2216 nandc->data_buffer, host->cw_size, 0); in qcom_nandc_block_markbad() [all …]
|
/openbmc/qemu/include/hw/vfio/ |
H A D | vfio-common.h | 70 void *data_buffer; member
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 147 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()
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_ioctl.c | 1390 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()
|
H A D | atioctl.h | 102 char data_buffer[512]; member
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | request.c | 1450 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()
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.h | 512 u32 data_buffer[1]; member 520 u32 data_buffer[1]; member
|
H A D | be_cmds.c | 1842 resp->data_buffer, in be_cmd_get_fat_dump()
|
/openbmc/linux/drivers/scsi/elx/libefc_sli/ |
H A D | sli4.h | 3140 u8 data_buffer[4]; member
|