Searched refs:R_REG (Results 1 – 8 of 8) sorted by relevance
/hardware/broadcom/wlan/bcm4329/src/shared/ |
D | aiutils.c | 53 ent = R_REG(si_osh(sih), (uint32 *)(uintptr)(*eromptr)); in get_erom_ent() 122 erombase = R_REG(sii->osh, &cc->eromptr); in ai_scan() 422 return (R_REG(sii->osh, &ai->oobselouta30) & 0x1f); in ai_flag() 470 return (((R_REG(sii->osh, &ai->ioctrl) & (SICF_FGC | SICF_CLOCK_EN)) == SICF_CLOCK_EN) && in ai_iscoreup() 471 ((R_REG(sii->osh, &ai->resetctrl) & AIRC_RESET) == 0)); in ai_iscoreup() 549 w = (R_REG(sii->osh, r) & ~mask) | val; in ai_corereg() 554 w = R_REG(sii->osh, r); in ai_corereg() 580 if (R_REG(sii->osh, &ai->resetctrl) & AIRC_RESET) in ai_core_disable() 584 dummy = R_REG(sii->osh, &ai->ioctrl); in ai_core_disable() 616 dummy = R_REG(sii->osh, &ai->ioctrl); in ai_core_reset() [all …]
|
D | sbutils.c | 81 val = R_REG(sii->osh, sbr); in sb_read_sbreg() 115 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg() 117 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg() 120 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg() 122 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg() 420 w = (R_REG(sii->osh, r) & ~mask) | val; in sb_corereg() 434 w = R_REG(sii->osh, r); in sb_corereg() 496 numcores = (R_REG(sii->osh, &cc->chipid) & CID_CC_MASK) >> in _sb_scan()
|
D | siutils.c | 199 sii->pub.chipst = R_REG(sii->osh, &cc->chipstatus); in si_buscore_setup() 202 sii->pub.cccaps = R_REG(sii->osh, &cc->capabilities); in si_buscore_setup() 206 sii->pub.pmucaps = R_REG(sii->osh, &cc->pmucapabilities); in si_buscore_setup() 357 w = R_REG(osh, &cc->chipid); in si_doattach() 498 return R_REG(sii->osh, &ccsbr->sbflagst); in si_intflag() 500 return R_REG(sii->osh, ((uint32 *)(uintptr) in si_intflag() 1443 coreinfo = R_REG(sii->osh, ®s->coreinfo); in si_socram_size() 1498 W_REG(sii->osh, &cc->uart0mcr, R_REG(sii->osh, &cc->uart0mcr) | 0x04); in si_btcgpiowar()
|
D | hndpmu.c | 119 cc_data_temp = R_REG(osh, &cc->chipcontrol_data); in si_sdiod_drive_strength_init()
|
/hardware/broadcom/wlan/bcm4329/src/include/ |
D | osl.h | 44 #define SET_REG(osh, r, mask, val) W_REG((osh), (r), ((R_REG((osh), r) & ~(mask)) | (val))) 47 #define AND_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) & (v)) 51 #define OR_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) | (v))
|
D | linux_osl.h | 154 #define R_REG(osh, r) (\ macro 169 #define R_REG(osh, r) (\ macro 199 #define AND_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) & (v)) 200 #define OR_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) | (v)) 218 #define BUSPROBE(val, addr) ({ (val) = R_REG(NULL, (addr)); 0; })
|
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/ |
D | bcmpcispi.c | 46 #define SPIPCI_RREG R_REG
|
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/ |
D | dhd_sdio.c | 368 regvar = R_REG(bus->dhd->osh, regaddr); \
|