Lines Matching +full:device +full:- +full:addr
1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * for card device.
18 #define CT_PTP_NUM 4 /* num of device page table pages */
30 #define CT_PAGE_MASK (~(PAGE_SIZE - 1))
31 #define CT_PAGE_ALIGN(addr) ALIGN(addr, CT_PAGE_SIZE) argument
34 unsigned int addr; /* starting logical addr of this block */ member
35 unsigned int size; /* size of this device virtual mem block */
41 /* Virtual memory management object for card device */
43 struct snd_dma_buffer ptp[CT_PTP_NUM]; /* Device page table pages */
44 unsigned int size; /* Available addr space in bytes */
49 /* Map host addr (kmalloced/vmalloced) to device logical addr. */
52 /* Unmap device logical addr area. */