Home
last modified time | relevance | path

Searched refs:buf_bytes (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/sound/soc/sh/
H A Dsiu_pcm.c26 #define GET_MAX_PERIODS(buf_bytes, period_bytes) \ argument
27 ((buf_bytes) / (period_bytes))
87 GET_MAX_PERIODS(siu_stream->buf_bytes, in siu_dma_tx_complete()
94 siu_stream->buf_bytes, siu_stream->cookie); in siu_dma_tx_complete()
377 siu_stream->buf_bytes = snd_pcm_lib_buffer_bytes(ss); in siu_pcm_prepare()
384 if (siu_stream->buf_bytes % siu_stream->period_bytes) { in siu_pcm_prepare()
386 __func__, siu_stream->buf_bytes, in siu_pcm_prepare()
400 (unsigned long)rt->dma_addr, siu_stream->buf_bytes, in siu_pcm_prepare()
478 siu_read32(base + SIU_SBFSTS), ptr, siu_stream->buf_bytes, in siu_pcm_pointer_dma()
481 if (ptr >= siu_stream->buf_bytes) in siu_pcm_pointer_dma()
H A Dsiu.h102 size_t buf_bytes; member
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Daes_s390.c67 unsigned int buf_bytes; member
714 if (gw->buf_bytes && gw->buf_bytes >= minbytesneeded) { in gcm_in_walk_go()
716 gw->nbytes = gw->buf_bytes; in gcm_in_walk_go()
732 if (!gw->buf_bytes && gw->walk_bytes >= minbytesneeded) { in gcm_in_walk_go()
739 n = min(gw->walk_bytes, AES_BLOCK_SIZE - gw->buf_bytes); in gcm_in_walk_go()
740 memcpy(gw->buf + gw->buf_bytes, gw->walk_ptr, n); in gcm_in_walk_go()
741 gw->buf_bytes += n; in gcm_in_walk_go()
743 if (gw->buf_bytes >= minbytesneeded) { in gcm_in_walk_go()
745 gw->nbytes = gw->buf_bytes; in gcm_in_walk_go()
795 int n = gw->buf_bytes - bytesdone; in gcm_in_walk_done()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/backend/
H A Dmali_kbase_hwcnt_backend_csf_if_fw.c81 size_t buf_bytes; member
230 fw_ctx->buf_bytes = prfcnt_info->dump_bytes; in kbasep_hwcnt_backend_csf_if_fw_get_prfcnt_info()
248 fw_ctx->buf_bytes = prfcnt_hw_size + prfcnt_fw_size; in kbasep_hwcnt_backend_csf_if_fw_get_prfcnt_info()
263 .dump_bytes = fw_ctx->buf_bytes, in kbasep_hwcnt_backend_csf_if_fw_get_prfcnt_info()
321 num_pages = PFN_UP(fw_ctx->buf_bytes * buf_count); in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc()
423 start_address = fw_ctx->buf_bytes * ring_buf_index_first; in kbasep_hwcnt_backend_csf_if_fw_ring_buf_sync()
427 stop_address = (fw_ctx->buf_bytes * (ring_buf_index_last + 1)) - 1; in kbasep_hwcnt_backend_csf_if_fw_ring_buf_sync()
/OK3568_Linux_fs/kernel/sound/firewire/fireworks/
H A Dfireworks_command.c109 unsigned int buf_bytes, cmd_bytes; in efw_transaction() local
113 buf_bytes = sizeof(struct snd_efw_transaction) + in efw_transaction()
117 buf = kzalloc(buf_bytes, GFP_KERNEL); in efw_transaction()
145 buf, buf_bytes); in efw_transaction()
/OK3568_Linux_fs/kernel/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c240 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_cs5535audio_hw_params()
326 if (curdma >= dma->buf_bytes) { in snd_cs5535audio_pcm_pointer()
328 curdma, dma->buf_bytes); in snd_cs5535audio_pcm_pointer()
H A Dcs5535audio.h79 unsigned int buf_addr, buf_bytes; member
/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A Dblock.c350 u64 buf_bytes; member
371 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; in mmc_blk_ioctl_copy_from_user()
372 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { in mmc_blk_ioctl_copy_from_user()
377 if (!idata->buf_bytes) { in mmc_blk_ioctl_copy_from_user()
383 idata->ic.data_ptr, idata->buf_bytes); in mmc_blk_ioctl_copy_from_user()
408 idata->buf, idata->buf_bytes)) in mmc_blk_ioctl_copy_to_user()
490 if (idata->buf_bytes) { in __mmc_blk_ioctl_cmd()
496 sg_init_one(data.sg, idata->buf, idata->buf_bytes); in __mmc_blk_ioctl_cmd()
/OK3568_Linux_fs/kernel/sound/pci/
H A Datiixp_modem.c210 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member
609 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer()
787 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_atiixp_pcm_hw_params()
H A Datiixp.c234 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member
660 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer()
956 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_atiixp_pcm_hw_params()
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_dlp.c1058 int buf_bytes = dlp_frames_to_bytes(prtd, prtd->buf_sz); in dmaengine_dlp_prepare() local
1067 pref->buf = kzalloc(buf_bytes, GFP_KERNEL); in dmaengine_dlp_prepare()
1078 prtd->buf = kzalloc(buf_bytes, GFP_KERNEL); in dmaengine_dlp_prepare()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/
H A D0006_let_dma_memory_read_write_function_take_MemTxAttrs_argument.patch1050 - buf, buf_bytes);
1052 + buf_bytes, MEMTXATTRS_UNSPECIFIED);
1053 sdbus_write_data(&s->sdbus, buf, buf_bytes);
1057 sdbus_read_data(&s->sdbus, buf, buf_bytes);
1060 - buf, buf_bytes);
1062 + buf_bytes, MEMTXATTRS_UNSPECIFIED);
1064 num_done += buf_bytes;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c381 char buf_bytes[sizeof(*buf) + 8]; in myri10ge_send_cmd() local
388 buf = (struct mcp_cmd *)ALIGN((unsigned long)buf_bytes, 8); in myri10ge_send_cmd()