2 * Copyright (c) 2010 Broadcom Corporation
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24 extern void brcms_init(struct brcms_info *wl);
25 extern uint brcms_reset(struct brcms_info *wl);
26 extern void brcms_intrson(struct brcms_info *wl);
27 extern u32 brcms_intrsoff(struct brcms_info *wl);
28 extern void brcms_intrsrestore(struct brcms_info *wl, u32 macintmask);
29 extern int brcms_up(struct brcms_info *wl);
30 extern void brcms_down(struct brcms_info *wl);
31 extern void brcms_txflowcontrol(struct brcms_info *wl, struct brcms_if *wlif,
32 bool state, int prio);
33 extern bool wl_alloc_dma_resources(struct brcms_info *wl, uint dmaddrwidth);
34 extern bool brcms_rfkill_set_hw_state(struct brcms_info *wl);
38 extern struct brcms_timer *brcms_init_timer(struct brcms_info *wl,
39 void (*fn) (void *arg), void *arg,
41 extern void brcms_free_timer(struct brcms_info *wl, struct brcms_timer *timer);
42 extern void brcms_add_timer(struct brcms_info *wl, struct brcms_timer *timer,
43 uint ms, int periodic);
44 extern bool brcms_del_timer(struct brcms_info *wl, struct brcms_timer *timer);
45 extern void brcms_msleep(struct brcms_info *wl, uint ms);
47 #endif /* _wl_export_h_ */