Home
last modified time | relevance | path

Searched refs:DMA_SLOT_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/hid/intel-ish-hid/ishtp/
Ddma-if.c51 DMA_SLOT_SIZE; in ishtp_cl_alloc_dma_buf()
113 int required_slots = (size / DMA_SLOT_SIZE) in ishtp_cl_get_dma_send_buf()
114 + 1 * (size % DMA_SLOT_SIZE != 0); in ishtp_cl_get_dma_send_buf()
135 return (i * DMA_SLOT_SIZE) + in ishtp_cl_get_dma_send_buf()
158 int acked_slots = (size / DMA_SLOT_SIZE) in ishtp_cl_release_dma_acked_mem()
159 + 1 * (size % DMA_SLOT_SIZE != 0); in ishtp_cl_release_dma_acked_mem()
162 if ((msg_addr - dev->ishtp_host_dma_tx_buf) % DMA_SLOT_SIZE) { in ishtp_cl_release_dma_acked_mem()
172 i = (msg_addr - dev->ishtp_host_dma_tx_buf) / DMA_SLOT_SIZE; in ishtp_cl_release_dma_acked_mem()
Dclient.h37 #define DMA_SLOT_SIZE 4096 macro