Home
last modified time | relevance | path

Searched refs:curmap (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/staging/brcm80211/util/
Dsbutils.c70 sb = REGS2SB(sii->curmap); in sb_coreid()
95 sbaddr = (u32)(unsigned long)sii->curmap; in _sb_coresba()
112 sb = REGS2SB(sii->curmap); in sb_corerev()
124 sb = REGS2SB(sii->curmap); in sb_iscoreup()
233 sii->curmap = _sb_setcoreidx(sii, next); in _sb_scan()
241 chipcregs_t *cc = (chipcregs_t *) sii->curmap; in _sb_scan()
263 sbconfig_t *sb = REGS2SB(sii->curmap); in _sb_scan()
299 sb = REGS2SB(sii->curmap); in sb_scan()
335 sii->curmap = _sb_setcoreidx(sii, coreidx); in sb_setcoreidx()
338 return sii->curmap; in sb_setcoreidx()
[all …]
Daiutils.c339 sii->curmap = regs = sii->regs[coreidx]; in ai_setcoreidx()
350 regs = sii->curmap; in ai_setcoreidx()
357 sii->curmap = regs = (void *)(unsigned long)addr; in ai_setcoreidx()
367 sii->curmap = regs; in ai_setcoreidx()
521 r = (u32 *) ((char *)sii->curmap + in ai_corereg()
529 r = (u32 *) ((char *)sii->curmap + in ai_corereg()
533 r = (u32 *) ((char *)sii->curmap + in ai_corereg()
Dbcmsrom.c51 ((u8 *)curmap + PCI_16KB0_CCREGS_OFFSET + CC_SROM_OTP)) : \
52 ((u8 *)curmap + PCI_BAR0_SPROM_OFFSET))
69 static int initvars_srom_si(si_t *sih, void *curmap, char **vars, uint *count);
71 static int initvars_srom_pci(si_t *sih, void *curmap, char **vars, uint *count);
156 int srom_var_init(si_t *sih, uint bustype, void *curmap, in srom_var_init() argument
173 return initvars_srom_si(sih, curmap, vars, count); in srom_var_init()
176 ASSERT(curmap != NULL); in srom_var_init()
177 if (curmap == NULL) in srom_var_init()
180 return initvars_srom_pci(sih, curmap, vars, count); in srom_var_init()
195 srom_read(si_t *sih, uint bustype, void *curmap, in srom_read() argument
[all …]
Dsiutils.c386 sii->curmap = regs; in si_doattach()
390 cc = (chipcregs_t *) sii->curmap; in si_doattach()
515 sii->curmap = regs; in si_doattach()
/linux-2.6.39/drivers/staging/brcm80211/include/
Dbcmsrom.h23 extern int srom_var_init(si_t *sih, uint bus, void *curmap,
26 extern int srom_read(si_t *sih, uint bus, void *curmap,
Dsiutils.h231 void *curmap; /* current regs va */ member
267 #define PCIEREGS(si) (((char *)((si)->curmap) + PCI_16KB0_PCIREGS_OFFSET))
268 #define CCREGS_FAST(si) (((char *)((si)->curmap) + PCI_16KB0_CCREGS_OFFSET))