Home
last modified time | relevance | path

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

/drivers/hid/intel-ish-hid/ishtp/
Ddma-if.c42 DMA_SLOT_SIZE; in ishtp_cl_alloc_dma_buf()
104 int required_slots = (size / DMA_SLOT_SIZE) in ishtp_cl_get_dma_send_buf()
105 + 1 * (size % DMA_SLOT_SIZE != 0); in ishtp_cl_get_dma_send_buf()
126 return (i * DMA_SLOT_SIZE) + in ishtp_cl_get_dma_send_buf()
149 int acked_slots = (size / DMA_SLOT_SIZE) in ishtp_cl_release_dma_acked_mem()
150 + 1 * (size % DMA_SLOT_SIZE != 0); in ishtp_cl_release_dma_acked_mem()
153 if ((msg_addr - dev->ishtp_host_dma_tx_buf) % DMA_SLOT_SIZE) { in ishtp_cl_release_dma_acked_mem()
163 i = (msg_addr - dev->ishtp_host_dma_tx_buf) / DMA_SLOT_SIZE; in ishtp_cl_release_dma_acked_mem()
Dclient.h20 #define DMA_SLOT_SIZE 4096 macro