Searched refs:buf_bytes (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/sound/soc/sh/ |
D | siu_pcm.c | 38 #define GET_MAX_PERIODS(buf_bytes, period_bytes) \ argument 39 ((buf_bytes) / (period_bytes)) 99 GET_MAX_PERIODS(siu_stream->buf_bytes, in siu_dma_tx_complete() 106 siu_stream->buf_bytes, siu_stream->cookie); in siu_dma_tx_complete() 419 siu_stream->buf_bytes = snd_pcm_lib_buffer_bytes(ss); in siu_pcm_prepare() 426 if (siu_stream->buf_bytes % siu_stream->period_bytes) { in siu_pcm_prepare() 428 __func__, siu_stream->buf_bytes, in siu_pcm_prepare() 442 (unsigned long)rt->dma_addr, siu_stream->buf_bytes, in siu_pcm_prepare() 517 siu_read32(base + SIU_SBFSTS), ptr, siu_stream->buf_bytes, in siu_pcm_pointer_dma() 520 if (ptr >= siu_stream->buf_bytes) in siu_pcm_pointer_dma()
|
D | siu.h | 116 size_t buf_bytes; member
|
/linux-4.4.14/sound/firewire/fireworks/ |
D | fireworks_command.c | 110 unsigned int buf_bytes, cmd_bytes; in efw_transaction() local 114 buf_bytes = sizeof(struct snd_efw_transaction) + in efw_transaction() 118 buf = kzalloc(buf_bytes, GFP_KERNEL); in efw_transaction() 146 buf, buf_bytes); in efw_transaction()
|
/linux-4.4.14/sound/pci/cs5535audio/ |
D | cs5535audio_pcm.c | 257 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_cs5535audio_hw_params() 343 if (curdma >= dma->buf_bytes) { in snd_cs5535audio_pcm_pointer() 345 curdma, dma->buf_bytes); in snd_cs5535audio_pcm_pointer()
|
D | cs5535audio.h | 78 unsigned int buf_addr, buf_bytes; member
|
/linux-4.4.14/drivers/mmc/card/ |
D | block.c | 338 u64 buf_bytes; member 358 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; in mmc_blk_ioctl_copy_from_user() 359 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { in mmc_blk_ioctl_copy_from_user() 364 if (!idata->buf_bytes) in mmc_blk_ioctl_copy_from_user() 367 idata->buf = kzalloc(idata->buf_bytes, GFP_KERNEL); in mmc_blk_ioctl_copy_from_user() 374 idata->ic.data_ptr, idata->buf_bytes)) { in mmc_blk_ioctl_copy_from_user() 400 idata->buf, idata->buf_bytes)) in mmc_blk_ioctl_copy_to_user() 488 if (idata->buf_bytes) { in __mmc_blk_ioctl_cmd() 494 sg_init_one(data.sg, idata->buf, idata->buf_bytes); in __mmc_blk_ioctl_cmd()
|
/linux-4.4.14/sound/pci/ |
D | atiixp_modem.c | 224 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member 623 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer() 804 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_atiixp_pcm_hw_params()
|
D | atiixp.c | 248 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member 674 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer() 966 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_atiixp_pcm_hw_params()
|
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 397 char buf_bytes[sizeof(*buf) + 8]; in myri10ge_send_cmd() local 404 buf = (struct mcp_cmd *)ALIGN((unsigned long)buf_bytes, 8); in myri10ge_send_cmd()
|