aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmsmac/aiutils.h
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2011-12-08 18:06:56 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-12-13 15:33:07 -0500
commit7d8e18e456466c2247abe0658e4add598f85c98e (patch)
treefd422f171a22f467d0184ee6835e866408965c95 /drivers/net/wireless/brcm80211/brcmsmac/aiutils.h
parentad5db1317c04ece569d18c692f8e49453c552d1e (diff)
brcm80211: smac: replace ai_corereg() function with ai_cc_reg()
The ai_corereg() function is only used in the driver to safely access the chipcommon core. The function has been renamed to ai_cc_reg() removing the need to provide a core index parameter. Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Alwin Beukers <alwin@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Franky Lin <frankyl@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac/aiutils.h')
-rw-r--r--drivers/net/wireless/brcm80211/brcmsmac/aiutils.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/aiutils.h b/drivers/net/wireless/brcm80211/brcmsmac/aiutils.h
index 1e93599b6047..792310868f1c 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/aiutils.h
+++ b/drivers/net/wireless/brcm80211/brcmsmac/aiutils.h
@@ -228,8 +228,6 @@ extern bool ai_iscoreup(struct si_pub *sih);
228extern u32 ai_core_cflags(struct si_pub *sih, u32 mask, u32 val); 228extern u32 ai_core_cflags(struct si_pub *sih, u32 mask, u32 val);
229extern void ai_core_cflags_wo(struct si_pub *sih, u32 mask, u32 val); 229extern void ai_core_cflags_wo(struct si_pub *sih, u32 mask, u32 val);
230extern u32 ai_core_sflags(struct si_pub *sih, u32 mask, u32 val); 230extern u32 ai_core_sflags(struct si_pub *sih, u32 mask, u32 val);
231extern uint ai_corereg(struct si_pub *sih, uint coreidx, uint regoff, uint mask,
232 uint val);
233extern void ai_core_reset(struct si_pub *sih, u32 bits, u32 resetbits); 231extern void ai_core_reset(struct si_pub *sih, u32 bits, u32 resetbits);
234extern void ai_core_disable(struct si_pub *sih, u32 bits); 232extern void ai_core_disable(struct si_pub *sih, u32 bits);
235extern int ai_numaddrspaces(struct si_pub *sih); 233extern int ai_numaddrspaces(struct si_pub *sih);
@@ -242,8 +240,7 @@ extern struct si_pub *ai_attach(struct bcma_bus *pbus);
242extern void ai_detach(struct si_pub *sih); 240extern void ai_detach(struct si_pub *sih);
243extern uint ai_coreid(struct si_pub *sih); 241extern uint ai_coreid(struct si_pub *sih);
244extern uint ai_corerev(struct si_pub *sih); 242extern uint ai_corerev(struct si_pub *sih);
245extern uint ai_corereg(struct si_pub *sih, uint coreidx, uint regoff, uint mask, 243extern uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val);
246 uint val);
247extern void ai_write_wrapperreg(struct si_pub *sih, u32 offset, u32 val); 244extern void ai_write_wrapperreg(struct si_pub *sih, u32 offset, u32 val);
248extern u32 ai_core_cflags(struct si_pub *sih, u32 mask, u32 val); 245extern u32 ai_core_cflags(struct si_pub *sih, u32 mask, u32 val);
249extern u32 ai_core_sflags(struct si_pub *sih, u32 mask, u32 val); 246extern u32 ai_core_sflags(struct si_pub *sih, u32 mask, u32 val);