Home
last modified time | relevance | path

Searched refs:memblk (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/samples/vfio-mdev/
Dmdpy.c101 void *memblk; member
185 memcpy(mdev_state->memblk, buf, count); in mdev_access()
187 memcpy(buf, mdev_state->memblk, count); in mdev_access()
213 memset(mdev_state->memblk + i * stride, in mdpy_reset()
244 mdev_state->memblk = vmalloc_user(fbsize); in mdpy_probe()
245 if (!mdev_state->memblk) { in mdpy_probe()
267 vfree(mdev_state->memblk); in mdpy_probe()
283 vfree(mdev_state->memblk); in mdpy_remove()
425 return remap_vmalloc_range(vma, mdev_state->memblk, 0); in mdpy_mmap()
/linux-5.19.10/sound/pci/trident/
Dtrident_main.c791 if (voice->memblk) in snd_trident_allocate_pcm_mem()
792 snd_trident_free_pages(trident, voice->memblk); in snd_trident_allocate_pcm_mem()
793 voice->memblk = snd_trident_alloc_pages(trident, substream); in snd_trident_allocate_pcm_mem()
794 if (voice->memblk == NULL) in snd_trident_allocate_pcm_mem()
883 if (voice && voice->memblk) { in snd_trident_hw_free()
884 snd_trident_free_pages(trident, voice->memblk); in snd_trident_hw_free()
885 voice->memblk = NULL; in snd_trident_hw_free()
921 if (voice->memblk) in snd_trident_playback_prepare()
922 voice->LBA = voice->memblk->offset; in snd_trident_playback_prepare()
1027 if (voice->memblk) in snd_trident_capture_prepare()
[all …]
Dtrident.h292 struct snd_util_memblk *memblk; /* memory block if TLB enabled */ member
/linux-5.19.10/sound/pci/emu10k1/
Demupcm.c417 if (epcm->memblk != NULL) in snd_emu10k1_playback_hw_params()
418 snd_emu10k1_free_pages(emu, epcm->memblk); in snd_emu10k1_playback_hw_params()
419 epcm->memblk = snd_emu10k1_alloc_pages(emu, substream); in snd_emu10k1_playback_hw_params()
421 if (! epcm->memblk) in snd_emu10k1_playback_hw_params()
423 mapped = ((struct snd_emu10k1_memblk *)epcm->memblk)->mapped_page; in snd_emu10k1_playback_hw_params()
452 if (epcm->memblk) { in snd_emu10k1_playback_hw_free()
453 snd_emu10k1_free_pages(emu, epcm->memblk); in snd_emu10k1_playback_hw_free()
454 epcm->memblk = NULL; in snd_emu10k1_playback_hw_free()
481 if (epcm->memblk) { in snd_emu10k1_efx_playback_hw_free()
482 snd_emu10k1_free_pages(emu, epcm->memblk); in snd_emu10k1_efx_playback_hw_free()
[all …]
Dmemory.c434 snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk) in snd_emu10k1_synth_free() argument
437 struct snd_emu10k1_memblk *blk = (struct snd_emu10k1_memblk *)memblk; in snd_emu10k1_synth_free()
446 __snd_util_mem_free(hdr, memblk); in snd_emu10k1_synth_free()
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c654 u8 *memblk; in brcmf_p2p_escan() local
660 memblk = kzalloc(memsize, GFP_KERNEL); in brcmf_p2p_escan()
661 if (!memblk) in brcmf_p2p_escan()
670 p2p_params = (struct brcmf_p2p_scan_le *)memblk; in brcmf_p2p_escan()
754 ret = brcmf_fil_bsscfg_data_set(vif->ifp, "p2p_scan", memblk, memsize); in brcmf_p2p_escan()
758 kfree(memblk); in brcmf_p2p_escan()
/linux-5.19.10/drivers/crypto/caam/
Dregs.h862 struct rtic_block memblk[4]; /* Memory Blocks A-D */ member
/linux-5.19.10/include/sound/
Demu10k1.h1516 struct snd_util_memblk *memblk; member