Home
last modified time | relevance | path

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

/linux/sound/soc/renesas/ !
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()
394 dev_dbg(dev, "port=%d buf=%lx buf_bytes=%d period_bytes=%d " 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()
[all...]
H A Dsiu.h102 size_t buf_bytes; member
/linux/arch/s390/crypto/ !
H A Daes_s390.c71 unsigned int buf_bytes; member
809 if (gw->buf_bytes && gw->buf_bytes >= minbytesneeded) { in gcm_in_walk_go()
811 gw->nbytes = gw->buf_bytes; in gcm_in_walk_go()
827 if (!gw->buf_bytes && gw->walk_bytes >= minbytesneeded) { in gcm_in_walk_go()
834 n = min(gw->walk_bytes, AES_BLOCK_SIZE - gw->buf_bytes); in gcm_in_walk_go()
835 memcpy(gw->buf + gw->buf_bytes, gw->walk.addr, n); in gcm_in_walk_go()
836 gw->buf_bytes += n; in gcm_in_walk_go()
838 if (gw->buf_bytes >= minbytesneeded) { in gcm_in_walk_go()
840 gw->nbytes = gw->buf_bytes; in gcm_in_walk_go()
[all...]
/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()
/linux/fs/bcachefs/ !
H A Ddata_update.c732 unsigned buf_bytes) in __bch2_data_update_bios_init() argument
734 unsigned nr_vecs = DIV_ROUND_UP(buf_bytes, PAGE_SIZE); in __bch2_data_update_bios_init()
743 if (bch2_bio_alloc_pages(&m->op.wbio.bio, buf_bytes, GFP_KERNEL)) { in __bch2_data_update_bios_init()
751 m->rbio.bio.bi_iter.bi_size = buf_bytes; in __bch2_data_update_bios_init()
765 unsigned buf_bytes = 0; in bch2_data_update_bios_init() local
767 buf_bytes = max_t(unsigned, buf_bytes, p.crc.uncompressed_size << 9); in bch2_data_update_bios_init()
769 return __bch2_data_update_bios_init(m, c, io_opts, buf_bytes); in bch2_data_update_bios_init()
869 unsigned buf_bytes = 0; in bch2_data_update_init() local
901 buf_bytes in bch2_data_update_init()
[all...]
/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()
326 dev_err(cs5535au->card->dev, "diff=%x >= %x buf_bytes.\n", 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
/linux/drivers/mmc/core/ !
H A Dblock.c449 u64 buf_bytes; member
474 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; in mmc_blk_ioctl_copy_from_user()
475 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { in mmc_blk_ioctl_copy_from_user()
480 if (!idata->buf_bytes) { in mmc_blk_ioctl_copy_from_user()
486 idata->ic.data_ptr, idata->buf_bytes); in mmc_blk_ioctl_copy_from_user()
511 idata->buf, idata->buf_bytes)) in mmc_blk_ioctl_copy_to_user()
559 if (idata->buf_bytes) { in __mmc_blk_ioctl_cmd()
565 sg_init_one(data.sg, idata->buf, idata->buf_bytes); in __mmc_blk_ioctl_cmd()
2861 int write_flag, u8 *buf, unsigned int buf_bytes) in set_idata() argument
2873 idata->ic.blocks = buf_bytes / idat in set_idata()
[all...]
/linux/sound/pci/ !
H A Datiixp_modem.c209 unsigned int buf_addr, buf_bytes; /* DMA buffer address, bytes */ member
606 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer()
784 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
657 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer()
953 dma->buf_bytes = params_buffer_bytes(hw_params); in snd_atiixp_pcm_hw_params()
/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()