Searched refs:W_REG (Results 1 – 7 of 7) sorted by relevance
/drivers/net/wireless/bcmdhd/ |
D | siutils.c | 440 W_REG(osh, &cc->clkdiv, clkdiv); in si_doattach() 468 W_REG(osh, &cc->gpiopullup, gpiopullup); in si_doattach() 469 W_REG(osh, &cc->gpiopulldown, gpiopulldown); in si_doattach() 1267 W_REG(sii->osh, &cc->pll_on_delay, pll_on_delay); in si_clkctl_setdelay() 1268 W_REG(sii->osh, &cc->fref_sel_delay, fref_sel_delay); in si_clkctl_setdelay() 1649 W_REG(sii->osh, ®s->bankidx, bankidx); in socram_banksize() 1693 W_REG(sii->osh, ®s->bankidx, bankidx); in si_socdevram() 1707 W_REG(sii->osh, ®s->bankinfo, bankinfo); in si_socdevram() 1764 W_REG(sii->osh, ®s->bankidx, bankidx); in si_socdevram_remap_isenb() 1883 W_REG(sii->osh, ®s->bankidx, bankidx); in si_socdevram_remap_size() [all …]
|
D | hndpmu.c | 255 W_REG(osh, &cc->chipcontrol_addr, PMU_CHIPCTL1); in si_sdiod_drive_strength_init() 259 W_REG(osh, &cc->chipcontrol_data, cc_data_temp); in si_sdiod_drive_strength_init() 261 W_REG(osh, &cc->chipcontrol_addr, str_ovr_pmuctl); in si_sdiod_drive_strength_init()
|
D | aiutils.c | 595 W_REG(sii->osh, map+(offset/4), val); in ai_wrap_reg() 712 W_REG(sii->osh, r, w); in ai_corereg() 758 W_REG(sii->osh, &ai->resetctrl, AIRC_RESET); in ai_core_disable() 763 W_REG(sii->osh, &ai->ioctrl, bits); in ai_core_disable() 793 W_REG(sii->osh, &ai->ioctrl, (bits | SICF_FGC | SICF_CLOCK_EN)); in ai_core_reset() 797 W_REG(sii->osh, &ai->resetctrl, 0); in ai_core_reset() 802 W_REG(sii->osh, &ai->ioctrl, (bits | SICF_CLOCK_EN)); in ai_core_reset() 840 W_REG(sii->osh, &ai->ioctrl, w); in ai_core_cflags_wo() 875 W_REG(sii->osh, &ai->ioctrl, w); in ai_core_cflags() 913 W_REG(sii->osh, &ai->iostatus, w); in ai_core_sflags()
|
D | sbutils.c | 118 W_REG(sii->osh, (volatile uint16 *)sbr, (uint16)(v & 0xffff)); in sb_write_sbreg() 121 W_REG(sii->osh, ((volatile uint16 *)sbr + 1), (uint16)((v >> 16) & 0xffff)); in sb_write_sbreg() 123 W_REG(sii->osh, sbr, v); in sb_write_sbreg() 440 W_REG(sii->osh, r, w); in sb_corereg() 761 W_REG(sii->osh, &ccregs->broadcastaddress, SB_COMMIT); in sb_commit() 762 W_REG(sii->osh, &ccregs->broadcastdata, 0x0); in sb_commit()
|
D | dhd_sdio.c | 497 W_REG(bus->dhd->osh, regaddr, regval); \ 5988 W_REG(bus->dhd->osh, &bus->regs->corecontrol, val); in dhdsdio_hostmail() 7308 W_REG(osh, &bus->regs->corecontrol, val); 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 | 207 #define W_REG(osh, r, v) do { \ 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))
|