1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Interrupt bottom half.
5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
11 #include <linux/atomic.h>
12 #include <linux/wait.h>
13 #include <linux/workqueue.h>
18 struct work_struct bh
;
19 struct completion ctrl_ready
;
20 wait_queue_head_t tx_buffers_empty
;
27 void wfx_bh_register(struct wfx_dev
*wdev
);
28 void wfx_bh_unregister(struct wfx_dev
*wdev
);
29 void wfx_bh_request_rx(struct wfx_dev
*wdev
);
30 void wfx_bh_request_tx(struct wfx_dev
*wdev
);
31 void wfx_bh_poll_irq(struct wfx_dev
*wdev
);