Home
last modified time | relevance | path

Searched refs:dma_ctx (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/hid/intel-thc-hid/intel-thc/
H A Dintel-thc-dma.c80 if (dev->dma_ctx->use_write_interrupts) in dma_set_start_bit()
323 struct thc_dma_context *dma_ctx; in thc_dma_init() local
325 dma_ctx = devm_kzalloc(dev->dev, sizeof(*dma_ctx), GFP_KERNEL); in thc_dma_init()
326 if (!dma_ctx) in thc_dma_init()
329 dev->dma_ctx = dma_ctx; in thc_dma_init()
331 dma_ctx->dma_config[THC_RXDMA1].dma_channel = THC_RXDMA1; in thc_dma_init()
332 dma_ctx->dma_config[THC_RXDMA2].dma_channel = THC_RXDMA2; in thc_dma_init()
333 dma_ctx->dma_config[THC_TXDMA].dma_channel = THC_TXDMA; in thc_dma_init()
334 dma_ctx->dma_config[THC_SWDMA].dma_channel = THC_SWDMA; in thc_dma_init()
336 dma_ctx->dma_config[THC_RXDMA1].dir = DMA_FROM_DEVICE; in thc_dma_init()
[all …]
H A Dintel-thc-dev.h80 struct thc_dma_context *dma_ctx; member
H A Dintel-thc-dev.c219 thc_dev->dma_ctx = thc_dma_init(thc_dev); in thc_dev_init()
220 if (!thc_dev->dma_ctx) { in thc_dev_init()