Searched refs:buf_bytes (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/sound/soc/sh/
H A Dsiu_pcm.c38 #define GET_MAX_PERIODS(buf_bytes, period_bytes) \
39 ((buf_bytes) / (period_bytes))
99 GET_MAX_PERIODS(siu_stream->buf_bytes, siu_dma_tx_complete()
106 siu_stream->buf_bytes, siu_stream->cookie); siu_dma_tx_complete()
419 siu_stream->buf_bytes = snd_pcm_lib_buffer_bytes(ss); siu_pcm_prepare()
426 if (siu_stream->buf_bytes % siu_stream->period_bytes) { siu_pcm_prepare()
428 __func__, siu_stream->buf_bytes, siu_pcm_prepare()
440 dev_dbg(dev, "port=%d buf=%lx buf_bytes=%d period_bytes=%d " siu_pcm_prepare()
442 (unsigned long)rt->dma_addr, siu_stream->buf_bytes, siu_pcm_prepare()
517 siu_read32(base + SIU_SBFSTS), ptr, siu_stream->buf_bytes, siu_pcm_pointer_dma()
520 if (ptr >= siu_stream->buf_bytes) siu_pcm_pointer_dma()
H A Dsiu.h116 size_t buf_bytes; member in struct:siu_stream
/linux-4.1.27/sound/firewire/fireworks/
H A Dfireworks_command.c110 unsigned int buf_bytes, cmd_bytes; efw_transaction() local
114 buf_bytes = sizeof(struct snd_efw_transaction) + efw_transaction()
118 buf = kzalloc(buf_bytes, GFP_KERNEL); efw_transaction()
146 buf, buf_bytes); efw_transaction()
/linux-4.1.27/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c257 dma->buf_bytes = params_buffer_bytes(hw_params); snd_cs5535audio_hw_params()
343 if (curdma >= dma->buf_bytes) { snd_cs5535audio_pcm_pointer()
344 dev_err(cs5535au->card->dev, "diff=%x >= %x buf_bytes.\n", snd_cs5535audio_pcm_pointer()
345 curdma, dma->buf_bytes); snd_cs5535audio_pcm_pointer()
H A Dcs5535audio.h78 unsigned int buf_addr, buf_bytes; member in struct:cs5535audio_dma
/linux-4.1.27/drivers/mmc/card/
H A Dblock.c336 u64 buf_bytes; member in struct:mmc_blk_ioc_data
356 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; mmc_blk_ioctl_copy_from_user()
357 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { mmc_blk_ioctl_copy_from_user()
362 if (!idata->buf_bytes) mmc_blk_ioctl_copy_from_user()
365 idata->buf = kzalloc(idata->buf_bytes, GFP_KERNEL); mmc_blk_ioctl_copy_from_user()
372 idata->ic.data_ptr, idata->buf_bytes)) { mmc_blk_ioctl_copy_from_user()
492 if (idata->buf_bytes) { mmc_blk_ioctl_cmd()
498 sg_init_one(data.sg, idata->buf, idata->buf_bytes); mmc_blk_ioctl_cmd()
589 idata->buf, idata->buf_bytes)) { mmc_blk_ioctl_cmd()
/linux-4.1.27/sound/pci/
H A Datiixp_modem.c224 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member in struct:atiixp_dma
623 if (curptr >= dma->buf_bytes) snd_atiixp_pcm_pointer()
804 dma->buf_bytes = params_buffer_bytes(hw_params); snd_atiixp_pcm_hw_params()
H A Datiixp.c248 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member in struct:atiixp_dma
674 if (curptr >= dma->buf_bytes) snd_atiixp_pcm_pointer()
966 dma->buf_bytes = params_buffer_bytes(hw_params); snd_atiixp_pcm_hw_params()
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c397 char buf_bytes[sizeof(*buf) + 8]; myri10ge_send_cmd() local
404 buf = (struct mcp_cmd *)ALIGN((unsigned long)buf_bytes, 8); myri10ge_send_cmd()

Completed in 461 milliseconds