mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 01:28:04 +00:00

The only generic interface to execute asynchronously in the BH context is tasklet; however, it's marked deprecated and has some design flaws. To replace tasklets, BH workqueue support was recently added. A BH workqueue behaves similarly to regular workqueues except that the queued work items are executed in the BH context. This patch converts drivers/media/* from tasklet to BH workqueue. Based on the work done by Tejun Heo <tj@kernel.org> Signed-off-by: Allen Pais <allen.lkml@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
19 lines
487 B
C
19 lines
487 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
Mantis PCI bridge driver
|
|
|
|
Copyright (C) Manu Abraham (abraham.manu@gmail.com)
|
|
|
|
*/
|
|
|
|
#ifndef __MANTIS_DMA_H
|
|
#define __MANTIS_DMA_H
|
|
|
|
extern int mantis_dma_init(struct mantis_pci *mantis);
|
|
extern int mantis_dma_exit(struct mantis_pci *mantis);
|
|
extern void mantis_dma_start(struct mantis_pci *mantis);
|
|
extern void mantis_dma_stop(struct mantis_pci *mantis);
|
|
extern void mantis_dma_xfer(struct work_struct *t);
|
|
|
|
#endif /* __MANTIS_DMA_H */
|