Searched refs:R_REG (Results 1 – 7 of 7) sorted by relevance
/drivers/net/wireless/bcmdhd/ |
D | aiutils.c | 54 ent = R_REG(si_osh(sih), *eromptr); in get_erom_ent() 130 erombase = R_REG(sii->osh, &cc->eromptr); in ai_scan() 415 erombase = R_REG(sii->osh, &cc->eromptr); in ai_coreaddrspaceX() 552 return (R_REG(sii->osh, &ai->oobselouta30) & 0x1f); in ai_flag() 577 return ((R_REG(sii->osh, &ai->oobselouta30) >> AI_OOBSEL_1_SHIFT) & AI_OOBSEL_MASK); in ai_flag_alt() 592 uint32 w = R_REG(sii->osh, map+(offset/4)); in ai_wrap_reg() 598 return (R_REG(sii->osh, map+(offset/4))); in ai_wrap_reg() 632 return (((R_REG(sii->osh, &ai->ioctrl) & (SICF_FGC | SICF_CLOCK_EN)) == SICF_CLOCK_EN) && in ai_iscoreup() 633 ((R_REG(sii->osh, &ai->resetctrl) & AIRC_RESET) == 0)); in ai_iscoreup() 711 w = (R_REG(sii->osh, r) & ~mask) | val; in ai_corereg() [all …]
|
D | siutils.c | 201 sii->pub.chipst = R_REG(sii->osh, &cc->chipstatus); in si_buscore_setup() 204 sii->pub.cccaps = R_REG(sii->osh, &cc->capabilities); in si_buscore_setup() 208 sii->pub.cccaps_ext = R_REG(sii->osh, &cc->capabilities_ext); in si_buscore_setup() 212 sii->pub.pmucaps = R_REG(sii->osh, &cc->pmucapabilities); in si_buscore_setup() 374 w = R_REG(osh, &cc->chipid); in si_doattach() 437 clkdiv = R_REG(osh, &cc->clkdiv); in si_doattach() 569 return R_REG(sii->osh, ((uint32 *)(uintptr) in si_intflag() 1201 return (R_REG(sii->osh, &cc->slow_clk_ctl) & SCC_SS_MASK); in si_slowclk_src() 1216 ASSERT(R_REG(sii->osh, &cc->capabilities) & CC_CAP_PWR_CTL); in si_slowclk_freq() 1226 (((R_REG(sii->osh, &cc->slow_clk_ctl) & SCC_CD_MASK) >> SCC_CD_SHIFT) + 1); in si_slowclk_freq() [all …]
|
D | sbutils.c | 83 val = R_REG(sii->osh, sbr); in sb_read_sbreg() 116 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg() 119 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg() 439 w = (R_REG(sii->osh, r) & ~mask) | val; in sb_corereg() 453 w = R_REG(sii->osh, r); in sb_corereg() 515 numcores = (R_REG(sii->osh, &cc->chipid) & CID_CC_MASK) >> in _sb_scan()
|
D | hndpmu.c | 256 cc_data_temp = R_REG(osh, &cc->chipcontrol_data); in si_sdiod_drive_strength_init()
|
D | dhd_sdio.c | 481 regvar = R_REG(bus->dhd->osh, regaddr); \ 5985 val = R_REG(bus->dhd->osh, &bus->regs->corecontrol); in dhdsdio_hostmail() 5990 val = R_REG(bus->dhd->osh, &bus->regs->corecontrol); in dhdsdio_hostmail() 7305 val = R_REG(osh, &bus->regs->corecontrol); in dhdsdio_probe_attach()
|
/drivers/net/wireless/bcmdhd/include/ |
D | osl.h | 56 #define SET_REG(osh, r, mask, val) W_REG((osh), (r), ((R_REG((osh), r) & ~(mask)) | (val))) 59 #define AND_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) & (v)) 63 #define OR_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) | (v))
|
D | linux_osl.h | 189 #define R_REG(osh, r) (\ macro 218 #define AND_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) & (v)) 219 #define OR_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) | (v)) 244 #define BUSPROBE(val, addr) ({ (val) = R_REG(NULL, (addr)); 0; })
|