Home
last modified time | relevance | path

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

/openbmc/linux/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()
373 siu_stream->buf_bytes = snd_pcm_lib_buffer_bytes(ss); in siu_pcm_prepare()
380 if (siu_stream->buf_bytes % siu_stream->period_bytes) { in siu_pcm_prepare()
382 __func__, siu_stream->buf_bytes, in siu_pcm_prepare()
396 (unsigned long)rt->dma_addr, siu_stream->buf_bytes, in siu_pcm_prepare()
474 siu_read32(base + SIU_SBFSTS), ptr, siu_stream->buf_bytes, in siu_pcm_pointer_dma()
477 if (ptr >= siu_stream->buf_bytes) in siu_pcm_pointer_dma()
H A Dsiu.h102 size_t buf_bytes; member
/openbmc/linux/arch/s390/crypto/
H A Daes_s390.c67 unsigned int buf_bytes; member
712 if (gw->buf_bytes && gw->buf_bytes >= minbytesneeded) { in gcm_in_walk_go()
714 gw->nbytes = gw->buf_bytes; in gcm_in_walk_go()
730 if (!gw->buf_bytes && gw->walk_bytes >= minbytesneeded) { in gcm_in_walk_go()
737 n = min(gw->walk_bytes, AES_BLOCK_SIZE - gw->buf_bytes); in gcm_in_walk_go()
738 memcpy(gw->buf + gw->buf_bytes, gw->walk_ptr, n); in gcm_in_walk_go()
739 gw->buf_bytes += n; in gcm_in_walk_go()
741 if (gw->buf_bytes >= minbytesneeded) { in gcm_in_walk_go()
743 gw->nbytes = gw->buf_bytes; in gcm_in_walk_go()
793 int n = gw->buf_bytes - bytesdone; in gcm_in_walk_done()
[all …]
/openbmc/linux/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()
/openbmc/qemu/hw/sd/
H A Dallwinner-sdhost.c359 uint32_t buf_bytes = num_bytes - num_done; in allwinner_sdhost_process_desc() local
360 if (buf_bytes > sizeof(buf)) { in allwinner_sdhost_process_desc()
361 buf_bytes = sizeof(buf); in allwinner_sdhost_process_desc()
368 buf_bytes, MEMTXATTRS_UNSPECIFIED); in allwinner_sdhost_process_desc()
369 sdbus_write_data(&s->sdbus, buf, buf_bytes); in allwinner_sdhost_process_desc()
373 sdbus_read_data(&s->sdbus, buf, buf_bytes); in allwinner_sdhost_process_desc()
376 buf_bytes, MEMTXATTRS_UNSPECIFIED); in allwinner_sdhost_process_desc()
378 num_done += buf_bytes; in allwinner_sdhost_process_desc()
/openbmc/linux/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c239 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_cs5535audio_hw_params()
325 if (curdma >= dma->buf_bytes) { in snd_cs5535audio_pcm_pointer()
327 curdma, dma->buf_bytes); in snd_cs5535audio_pcm_pointer()
H A Dcs5535audio.h79 unsigned int buf_addr, buf_bytes; member
/openbmc/linux/drivers/mmc/core/
H A Dblock.c402 u64 buf_bytes; member
427 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; in mmc_blk_ioctl_copy_from_user()
428 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { in mmc_blk_ioctl_copy_from_user()
433 if (!idata->buf_bytes) { in mmc_blk_ioctl_copy_from_user()
439 idata->ic.data_ptr, idata->buf_bytes); in mmc_blk_ioctl_copy_from_user()
464 idata->buf, idata->buf_bytes)) in mmc_blk_ioctl_copy_to_user()
512 if (idata->buf_bytes) { in __mmc_blk_ioctl_cmd()
518 sg_init_one(data.sg, idata->buf, idata->buf_bytes); in __mmc_blk_ioctl_cmd()
/openbmc/linux/sound/pci/
H A Datiixp_modem.c209 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member
608 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer()
786 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_atiixp_pcm_hw_params()
H A Datiixp.c233 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member
659 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer()
955 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_atiixp_pcm_hw_params()
/openbmc/qemu/block/
H A Dvmdk.c1916 int cluster_bytes, buf_bytes; in vmdk_read_extent() local
1936 buf_bytes = cluster_bytes * 2; in vmdk_read_extent()
1937 cluster_buf = g_malloc(buf_bytes); in vmdk_read_extent()
1940 ret = bdrv_co_pread(extent->file, cluster_offset, buf_bytes, cluster_buf, in vmdk_read_extent()
1953 if (!data_len || data_len > buf_bytes) { in vmdk_read_extent()
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0004-FF-A-v15-arm_ffa-introduce-Arm-FF-A-support.patch998 + u64 buf_bytes;
1005 + buf_bytes = uc_priv->pair.rxtx_min_pages * SZ_4K;
1007 + if (data_bytes > buf_bytes) {
1011 + buf_bytes);
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c382 char buf_bytes[sizeof(*buf) + 8]; in myri10ge_send_cmd() local
389 buf = (struct mcp_cmd *)ALIGN((unsigned long)buf_bytes, 8); in myri10ge_send_cmd()