Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/hid/intel-ish-hid/ishtp/
Ddma-if.c53 dev->ishtp_dma_tx_map = kcalloc(dev->ishtp_dma_num_slots, in ishtp_cl_alloc_dma_buf()
91 kfree(dev->ishtp_dma_tx_map); in ishtp_cl_free_dma_buf()
94 dev->ishtp_dma_tx_map = NULL; in ishtp_cl_free_dma_buf()
116 if (!dev->ishtp_dma_tx_map) { in ishtp_cl_get_dma_send_buf()
125 if (dev->ishtp_dma_tx_map[i+j]) { in ishtp_cl_get_dma_send_buf()
133 dev->ishtp_dma_tx_map[i+j] = 1; in ishtp_cl_get_dma_send_buf()
167 if (!dev->ishtp_dma_tx_map) { in ishtp_cl_release_dma_acked_mem()
176 !dev->ishtp_dma_tx_map[i+j]) { in ishtp_cl_release_dma_acked_mem()
182 dev->ishtp_dma_tx_map[i+j] = 0; in ishtp_cl_release_dma_acked_mem()
Dishtp-dev.h232 uint8_t *ishtp_dma_tx_map; member