Home
last modified time | relevance | path

Searched refs:W_REG (Results 1 – 8 of 8) sorted by relevance

/hardware/broadcom/wlan/bcm4329/src/include/
Dosl.h44 #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))
Dlinux_osl.h159 #define W_REG(osh, r, v) do { \ macro
185 #define W_REG(osh, r, v) do { \ 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))
/hardware/broadcom/wlan/bcm4329/src/shared/
Daiutils.c435 W_REG(sii->osh, (uint32 *)((uint8 *)ai+offset), val); in ai_write_wrap_reg()
550 W_REG(sii->osh, r, w); in ai_corereg()
583 W_REG(sii->osh, &ai->ioctrl, bits); in ai_core_disable()
587 W_REG(sii->osh, &ai->resetctrl, AIRC_RESET); in ai_core_disable()
615 W_REG(sii->osh, &ai->ioctrl, (bits | SICF_FGC | SICF_CLOCK_EN)); in ai_core_reset()
617 W_REG(sii->osh, &ai->resetctrl, 0); in ai_core_reset()
620 W_REG(sii->osh, &ai->ioctrl, (bits | SICF_CLOCK_EN)); in ai_core_reset()
641 W_REG(sii->osh, &ai->ioctrl, w); in ai_core_cflags_wo()
660 W_REG(sii->osh, &ai->ioctrl, w); in ai_core_cflags()
682 W_REG(sii->osh, &ai->iostatus, w); in ai_core_sflags()
Dhndpmu.c118 W_REG(osh, &cc->chipcontrol_addr, 1); in si_sdiod_drive_strength_init()
123 W_REG(osh, &cc->chipcontrol_data, cc_data_temp); in si_sdiod_drive_strength_init()
Dsbutils.c116 W_REG(sii->osh, ((volatile uint16 *)sbr + 1), (uint16)((v >> 16) & 0xffff)); in sb_write_sbreg()
118 W_REG(sii->osh, (volatile uint16 *)sbr, (uint16)(v & 0xffff)); in sb_write_sbreg()
121 W_REG(sii->osh, (volatile uint16 *)sbr, (uint16)(v & 0xffff)); in sb_write_sbreg()
123 W_REG(sii->osh, ((volatile uint16 *)sbr + 1), (uint16)((v >> 16) & 0xffff)); in sb_write_sbreg()
126 W_REG(sii->osh, sbr, v); in sb_write_sbreg()
421 W_REG(sii->osh, r, w); in sb_corereg()
737 W_REG(sii->osh, &ccregs->broadcastaddress, SB_COMMIT); in sb_commit()
738 W_REG(sii->osh, &ccregs->broadcastdata, 0x0); in sb_commit()
Dsiutils.c397 W_REG(osh, &cc->gpiopullup, 0); in si_doattach()
398 W_REG(osh, &cc->gpiopulldown, 0); in si_doattach()
1044 W_REG(sii->osh, &sdpregs->hostintmask, I_SBINT); in si_sdio_init()
1045 W_REG(sii->osh, &sdpregs->sbintmask, (I_SB_SERR | I_SB_RESPERR | (1 << idx))); in si_sdio_init()
1498 W_REG(sii->osh, &cc->uart0mcr, R_REG(sii->osh, &cc->uart0mcr) | 0x04); in si_btcgpiowar()
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmpcispi.c47 #define SPIPCI_WREG W_REG
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_sdio.c384 W_REG(bus->dhd->osh, regaddr, regval); \