Home
last modified time | relevance | path

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

/Linux-v5.10/samples/vfio-mdev/
Dmdpy.c99 void *memblk; member
195 memcpy(mdev_state->memblk, buf, count); in mdev_access()
197 memcpy(buf, mdev_state->memblk, count); in mdev_access()
223 memset(mdev_state->memblk + i * stride, in mdpy_reset()
253 mdev_state->memblk = vmalloc_user(fbsize); in mdpy_create()
254 if (!mdev_state->memblk) { in mdpy_create()
283 vfree(mdev_state->memblk); in mdpy_remove()
421 mdev_state->memblk, 0, in mdpy_mmap()
/Linux-v5.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.h293 struct snd_util_memblk *memblk; /* memory block if TLB enabled */ member
/Linux-v5.10/sound/pci/emu10k1/
Demupcm.c415 if (epcm->memblk != NULL) in snd_emu10k1_playback_hw_params()
416 snd_emu10k1_free_pages(emu, epcm->memblk); in snd_emu10k1_playback_hw_params()
417 epcm->memblk = snd_emu10k1_alloc_pages(emu, substream); in snd_emu10k1_playback_hw_params()
419 if (! epcm->memblk) in snd_emu10k1_playback_hw_params()
421 mapped = ((struct snd_emu10k1_memblk *)epcm->memblk)->mapped_page; in snd_emu10k1_playback_hw_params()
450 if (epcm->memblk) { in snd_emu10k1_playback_hw_free()
451 snd_emu10k1_free_pages(emu, epcm->memblk); in snd_emu10k1_playback_hw_free()
452 epcm->memblk = NULL; in snd_emu10k1_playback_hw_free()
479 if (epcm->memblk) { in snd_emu10k1_efx_playback_hw_free()
480 snd_emu10k1_free_pages(emu, epcm->memblk); in snd_emu10k1_efx_playback_hw_free()
[all …]
Dmemory.c429 snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk) in snd_emu10k1_synth_free() argument
432 struct snd_emu10k1_memblk *blk = (struct snd_emu10k1_memblk *)memblk; in snd_emu10k1_synth_free()
441 __snd_util_mem_free(hdr, memblk); in snd_emu10k1_synth_free()
/Linux-v5.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-v5.10/drivers/crypto/caam/
Dregs.h857 struct rtic_block memblk[4]; /* Memory Blocks A-D */ member
/Linux-v5.10/include/sound/
Demu10k1.h1516 struct snd_util_memblk *memblk; member