Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/pci/mgb4/
Dmgb4_dma.c37 chan = &mgbdev->h2c_chan[channel]; in mgb4_dma_transfer()
98 mgbdev->h2c_chan[i].chan = dma_request_chan(&pdev->dev, name); in mgb4_dma_channel_init()
99 if (IS_ERR(mgbdev->h2c_chan[i].chan)) { in mgb4_dma_channel_init()
101 ret = PTR_ERR(mgbdev->h2c_chan[i].chan); in mgb4_dma_channel_init()
102 mgbdev->h2c_chan[i].chan = NULL; in mgb4_dma_channel_init()
105 init_completion(&mgbdev->h2c_chan[i].req_compl); in mgb4_dma_channel_init()
120 if (mgbdev->h2c_chan[i].chan) in mgb4_dma_channel_free()
121 dma_release_channel(mgbdev->h2c_chan[i].chan); in mgb4_dma_channel_free()
Dmgb4_core.h41 struct mgb4_dma_channel h2c_chan[MGB4_VOUT_DEVICES]; member