Home
last modified time | relevance | path

Searched refs:coreidx (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/drivers/staging/brcm80211/util/
Daiutils.c315 void *ai_setcoreidx(si_t *sih, uint coreidx) in ai_setcoreidx() argument
318 u32 addr = sii->coresba[coreidx]; in ai_setcoreidx()
319 u32 wrap = sii->wrapba[coreidx]; in ai_setcoreidx()
322 if (coreidx >= sii->numcores) in ai_setcoreidx()
335 if (!sii->regs[coreidx]) { in ai_setcoreidx()
336 sii->regs[coreidx] = REG_MAP(addr, SI_CORE_SIZE); in ai_setcoreidx()
337 ASSERT(GOODREGS(sii->regs[coreidx])); in ai_setcoreidx()
339 sii->curmap = regs = sii->regs[coreidx]; in ai_setcoreidx()
340 if (!sii->wrappers[coreidx]) { in ai_setcoreidx()
341 sii->wrappers[coreidx] = REG_MAP(wrap, SI_CORE_SIZE); in ai_setcoreidx()
[all …]
Dsbutils.c37 static void *_sb_setcoreidx(si_info_t *sii, uint coreidx);
144 uint sb_corereg(si_t *sih, uint coreidx, uint regoff, uint mask, uint val) in sb_corereg() argument
155 ASSERT(GOODIDX(coreidx)); in sb_corereg()
159 if (coreidx >= SI_MAXCORES) in sb_corereg()
169 r = (u32 *) ((unsigned char *) sb_setcoreidx(&sii->pub, coreidx) + in sb_corereg()
193 if (origidx != coreidx) in sb_corereg()
319 void *sb_setcoreidx(si_t *sih, uint coreidx) in sb_setcoreidx() argument
325 if (coreidx >= sii->numcores) in sb_setcoreidx()
335 sii->curmap = _sb_setcoreidx(sii, coreidx); in sb_setcoreidx()
336 sii->curidx = coreidx; in sb_setcoreidx()
[all …]
Dsiutils_priv.h24 extern uint sb_corereg(si_t *sih, uint coreidx, uint regoff, uint mask,
27 void *sb_setcoreidx(si_t *sih, uint coreidx);
Dsiutils.c852 void *si_setcoreidx(si_t *sih, uint coreidx) in si_setcoreidx() argument
855 return ai_setcoreidx(sih, coreidx); in si_setcoreidx()
946 uint si_corereg(si_t *sih, uint coreidx, uint regoff, uint mask, uint val) in si_corereg() argument
950 return ai_corereg(sih, coreidx, regoff, mask, val); in si_corereg()
953 return sb_corereg(sih, coreidx, regoff, mask, val); in si_corereg()
/linux-2.6.39/drivers/ssb/
Dssb_private.h38 u8 coreidx);
55 u8 coreidx) in ssb_pci_switch_coreidx() argument
79 u8 coreidx);
95 u8 coreidx) in ssb_pcmcia_switch_coreidx() argument
124 extern int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx);
140 static inline int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) in ssb_sdio_scan_switch_coreidx() argument
Dsdio.c184 int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) in ssb_sdio_scan_switch_coreidx() argument
189 sbaddr = (coreidx * SSB_CORE_SIZE) + SSB_ENUM_BASE; in ssb_sdio_scan_switch_coreidx()
195 " error %d\n", coreidx, error); in ssb_sdio_scan_switch_coreidx()
205 u8 coreidx = dev->core_index; in ssb_sdio_switch_core() local
209 sbaddr = (coreidx * SSB_CORE_SIZE) + SSB_ENUM_BASE; in ssb_sdio_switch_core()
214 ssb_core_name(dev->id.coreid), coreidx); in ssb_sdio_switch_core()
219 " core %u, error %d\n", coreidx, error); in ssb_sdio_switch_core()
Dscan.c187 static int scan_switchcore(struct ssb_bus *bus, u8 coreidx) in scan_switchcore() argument
193 return ssb_pci_switch_coreidx(bus, coreidx); in scan_switchcore()
195 return ssb_pcmcia_switch_coreidx(bus, coreidx); in scan_switchcore()
197 return ssb_sdio_scan_switch_coreidx(bus, coreidx); in scan_switchcore()
Dpcmcia.c95 u8 coreidx) in ssb_pcmcia_switch_coreidx() argument
104 addr = (coreidx * SSB_CORE_SIZE) + SSB_ENUM_BASE; in ssb_pcmcia_switch_coreidx()
135 if (cur_core == coreidx) in ssb_pcmcia_switch_coreidx()
146 ssb_printk(KERN_ERR PFX "Failed to switch to core %u\n", coreidx); in ssb_pcmcia_switch_coreidx()
Dpci.c32 int ssb_pci_switch_coreidx(struct ssb_bus *bus, u8 coreidx) in ssb_pci_switch_coreidx() argument
40 (coreidx * SSB_CORE_SIZE) in ssb_pci_switch_coreidx()
50 if (cur_core == coreidx) in ssb_pci_switch_coreidx()
59 ssb_printk(KERN_ERR PFX "Failed to switch to core %u\n", coreidx); in ssb_pci_switch_coreidx()
/linux-2.6.39/drivers/staging/brcm80211/include/
Dsiutils.h131 extern uint si_corereg(si_t *sih, uint coreidx, uint regoff, uint mask,
139 extern void *si_setcoreidx(si_t *sih, uint coreidx);
342 extern void *ai_setcoreidx(si_t *sih, uint coreidx);
346 extern uint ai_corereg(si_t *sih, uint coreidx, uint regoff, uint mask,
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/
Dwlc_main.h287 uint coreidx; /* # sb enumerated core */ member
Dwlc_bmac.c847 wlc->core->coreidx = si_coreidx(wlc_hw->sih); in wlc_bmac_attach()
1138 coremask = (1 << wlc_hw->wlc->core->coreidx); in wlc_bmac_up_prep()