Searched refs:buf_bytes (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/sound/soc/sh/ |
| D | siu_pcm.c | 26 #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() 408 siu_stream->buf_bytes = snd_pcm_lib_buffer_bytes(ss); in siu_pcm_prepare() 415 if (siu_stream->buf_bytes % siu_stream->period_bytes) { in siu_pcm_prepare() 417 __func__, siu_stream->buf_bytes, in siu_pcm_prepare() 431 (unsigned long)rt->dma_addr, siu_stream->buf_bytes, in siu_pcm_prepare() 506 siu_read32(base + SIU_SBFSTS), ptr, siu_stream->buf_bytes, in siu_pcm_pointer_dma() 509 if (ptr >= siu_stream->buf_bytes) in siu_pcm_pointer_dma()
|
| D | siu.h | 102 size_t buf_bytes; member
|
| /Linux-v5.4/arch/s390/crypto/ |
| D | aes_s390.c | 66 unsigned int buf_bytes; member 874 if (gw->buf_bytes && gw->buf_bytes >= minbytesneeded) { in gcm_in_walk_go() 876 gw->nbytes = gw->buf_bytes; in gcm_in_walk_go() 892 if (!gw->buf_bytes && gw->walk_bytes >= minbytesneeded) { in gcm_in_walk_go() 899 n = min(gw->walk_bytes, AES_BLOCK_SIZE - gw->buf_bytes); in gcm_in_walk_go() 900 memcpy(gw->buf + gw->buf_bytes, gw->walk_ptr, n); in gcm_in_walk_go() 901 gw->buf_bytes += n; in gcm_in_walk_go() 903 if (gw->buf_bytes >= minbytesneeded) { in gcm_in_walk_go() 905 gw->nbytes = gw->buf_bytes; in gcm_in_walk_go() 955 int n = gw->buf_bytes - bytesdone; in gcm_in_walk_done() [all …]
|
| /Linux-v5.4/sound/firewire/fireworks/ |
| D | fireworks_command.c | 109 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()
|
| /Linux-v5.4/sound/pci/cs5535audio/ |
| D | cs5535audio_pcm.c | 244 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_cs5535audio_hw_params() 330 if (curdma >= dma->buf_bytes) { in snd_cs5535audio_pcm_pointer() 332 curdma, dma->buf_bytes); in snd_cs5535audio_pcm_pointer()
|
| D | cs5535audio.h | 79 unsigned int buf_addr, buf_bytes; member
|
| /Linux-v5.4/drivers/mmc/core/ |
| D | block.c | 346 u64 buf_bytes; member 367 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; in mmc_blk_ioctl_copy_from_user() 368 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { in mmc_blk_ioctl_copy_from_user() 373 if (!idata->buf_bytes) { in mmc_blk_ioctl_copy_from_user() 379 idata->ic.data_ptr, idata->buf_bytes); in mmc_blk_ioctl_copy_from_user() 404 idata->buf, idata->buf_bytes)) in mmc_blk_ioctl_copy_to_user() 503 if (idata->buf_bytes) { in __mmc_blk_ioctl_cmd() 509 sg_init_one(data.sg, idata->buf, idata->buf_bytes); in __mmc_blk_ioctl_cmd()
|
| /Linux-v5.4/sound/pci/ |
| D | atiixp_modem.c | 210 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member 609 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer() 790 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_atiixp_pcm_hw_params()
|
| D | atiixp.c | 234 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member 660 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer() 959 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_atiixp_pcm_hw_params()
|
| /Linux-v5.4/drivers/net/ethernet/myricom/myri10ge/ |
| D | myri10ge.c | 381 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()
|