Home
last modified time | relevance | path

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

/drivers/hid/intel-ish-hid/ishtp/
Ddma-if.c44 dev->ishtp_dma_tx_map = kcalloc(dev->ishtp_dma_num_slots, in ishtp_cl_alloc_dma_buf()
82 kfree(dev->ishtp_dma_tx_map); in ishtp_cl_free_dma_buf()
85 dev->ishtp_dma_tx_map = NULL; in ishtp_cl_free_dma_buf()
107 if (!dev->ishtp_dma_tx_map) { in ishtp_cl_get_dma_send_buf()
116 if (dev->ishtp_dma_tx_map[i+j]) { in ishtp_cl_get_dma_send_buf()
124 dev->ishtp_dma_tx_map[i+j] = 1; in ishtp_cl_get_dma_send_buf()
158 if (!dev->ishtp_dma_tx_map) { in ishtp_cl_release_dma_acked_mem()
167 !dev->ishtp_dma_tx_map[i+j]) { in ishtp_cl_release_dma_acked_mem()
173 dev->ishtp_dma_tx_map[i+j] = 0; in ishtp_cl_release_dma_acked_mem()
Dishtp-dev.h198 uint8_t *ishtp_dma_tx_map; member