Lines Matching refs:d11core
389 macctrl = bcma_read32(wlc->hw->d11core, in brcms_deviceremoved()
591 struct bcma_device *core = wlc_hw->d11core; in brcms_b_update_slot_timing()
615 brcms_err(wlc->hw->d11core, "wl%d: WAR: using rate of 1 mbps\n", in brcms_c_calc_frame_time()
676 struct bcma_device *core = wlc_hw->d11core; in brcms_c_write_inits()
682 brcms_dbg_info(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_c_write_inits()
721 brcms_err(wlc_hw->d11core, in brcms_c_ucode_bsinit()
731 brcms_err(wlc_hw->d11core, in brcms_c_ucode_bsinit()
736 brcms_err(wlc_hw->d11core, in brcms_c_ucode_bsinit()
745 struct bcma_device *core = wlc_hw->d11core; in brcms_b_core_ioctl()
753 brcms_dbg_info(wlc_hw->d11core, "wl%d: clk %d\n", wlc_hw->unit, clk); in brcms_b_core_phy_clk()
778 brcms_dbg_mac80211(wlc_hw->d11core, "wl%d: bandunit %d\n", wlc_hw->unit, in brcms_c_setxband()
807 brcms_dbg_mac80211(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_c_setband_inact()
808 macctrl = bcma_read32(wlc_hw->d11core, in brcms_c_setband_inact()
843 trace_brcms_txstatus(&wlc->hw->d11core->dev, txs->framelen, in brcms_c_dotxstatus()
854 brcms_dbg_tx(wlc->hw->d11core, "INTERMEDIATE but not AMPDU\n"); in brcms_c_dotxstatus()
861 brcms_err(wlc->hw->d11core, "queue %u >= NFIFO\n", queue); in brcms_c_dotxstatus()
869 brcms_err(wlc->hw->d11core, "dma_getnexttxp returned null!\n"); in brcms_c_dotxstatus()
876 brcms_dbg_tx(wlc->hw->d11core, "phyerr 0x%x, rate 0x%x\n", in brcms_c_dotxstatus()
880 brcms_err(wlc->hw->d11core, "frameid != txh->TxFrameID\n"); in brcms_c_dotxstatus()
899 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, sizeof(*txh)); in brcms_c_dotxstatus()
904 brcms_dbg_tx(wlc->hw->d11core, in brcms_c_dotxstatus()
916 brcms_err(wlc->hw->d11core, "Not last frame!\n"); in brcms_c_dotxstatus()
985 brcms_err(wlc->hw->d11core, in brcms_c_dotxstatus()
995 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, in brcms_c_dotxstatus()
1028 core = wlc_hw->d11core; in brcms_b_txstatus()
1160 brcms_err(wlc_hw->d11core, in brcms_b_attach_dmapio()
1238 bcma_set32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1245 ((bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1249 WARN_ON(!(bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1254 (bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1258 ((bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1263 bcma_mask32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1279 WARN_ON(!(bcma_aread32(wlc_hw->d11core, BCMA_IOST) & in brcms_b_clkctl_clk()
1396 bcma_write32(wlc_hw->d11core, D11REGOFFS(maccontrol), in brcms_c_mctrl_write()
1491 struct bcma_device *core = wlc_hw->d11core; in brcms_b_set_addrmatch()
1514 struct bcma_device *core = wlc_hw->d11core; in brcms_b_write_template_ram()
1551 bcma_write32(wlc_hw->d11core, D11REGOFFS(objaddr), in brcms_b_set_cwmin()
1553 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(objaddr)); in brcms_b_set_cwmin()
1554 bcma_write32(wlc_hw->d11core, D11REGOFFS(objdata), newmin); in brcms_b_set_cwmin()
1561 bcma_write32(wlc_hw->d11core, D11REGOFFS(objaddr), in brcms_b_set_cwmax()
1563 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(objaddr)); in brcms_b_set_cwmax()
1564 bcma_write32(wlc_hw->d11core, D11REGOFFS(objdata), newmax); in brcms_b_set_cwmax()
1692 brcms_dbg_mac80211(wlc_hw->d11core, "wl%d: bandunit %d\n", wlc_hw->unit, in brcms_b_bsinit()
1771 brcms_dbg_info(wlc_hw->d11core, "wl%d: reset phy\n", wlc_hw->unit); in brcms_b_phy_reset()
1811 if (!bcma_core_is_enabled(wlc_hw->d11core)) { in brcms_b_setband()
1812 bcma_core_enable(wlc_hw->d11core, 0); in brcms_b_setband()
1838 WARN_ON((bcma_read32(wlc_hw->d11core, D11REGOFFS(maccontrol)) & in brcms_b_setband()
1886 struct ssb_sprom *sprom = &wlc_hw->d11core->bus->sprom; in brcms_c_get_macaddr()
1903 brcms_dbg_info(wlc_hw->d11core, "wl%d: want %d\n", wlc_hw->unit, want); in brcms_b_xtal()
1953 bcma_core_enable(wlc_hw->d11core, flags); in brcms_b_radio_read_hwdisabled()
1957 v = ((bcma_read32(wlc_hw->d11core, in brcms_b_radio_read_hwdisabled()
1962 bcma_core_disable(wlc_hw->d11core, 0); in brcms_b_radio_read_hwdisabled()
1992 brcms_dbg_info(wlc_hw->d11core, "wl%d: core reset\n", wlc_hw->unit); in brcms_b_corereset()
2000 if (bcma_core_is_enabled(wlc_hw->d11core)) { in brcms_b_corereset()
2003 brcms_err(wlc_hw->d11core, "wl%d: %s: " in brcms_b_corereset()
2009 brcms_err(wlc_hw->d11core, "wl%d: %s: dma_rxreset" in brcms_b_corereset()
2039 bcma_core_enable(wlc_hw->d11core, flags); in brcms_b_corereset()
2067 struct bcma_device *core = wlc_hw->d11core; in brcms_b_corerev_fifofixup()
2127 struct bcma_device *core = wlc_hw->d11core; in brcms_b_switch_macfreq()
2214 bcma_set16(wlc_hw->d11core, D11REGOFFS(psm_gpio_oe), in brcms_c_gpio_init()
2216 bcma_set16(wlc_hw->d11core, D11REGOFFS(psm_gpio_out), in brcms_c_gpio_init()
2238 bcma_chipco_gpio_control(&wlc_hw->d11core->bus->drv_cc, gm, gc); in brcms_c_gpio_init()
2244 struct bcma_device *core = wlc_hw->d11core; in brcms_ucode_write()
2248 brcms_dbg_info(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_ucode_write()
2273 brcms_err(wlc_hw->d11core, in brcms_ucode_download()
2282 brcms_err(wlc_hw->d11core, in brcms_ucode_download()
2319 struct bcma_device *core = wlc_hw->d11core; in brcms_b_fifoerrors()
2383 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), wlc->macintmask); in brcms_c_intrson()
2396 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), 0); in brcms_c_intrsoff()
2397 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(macintmask)); in brcms_c_intrsoff()
2412 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), wlc->macintmask); in brcms_c_intrsrestore()
2523 struct bcma_device *core = wlc_hw->d11core; in wlc_intstatus()
2607 brcms_err(wlc_hw->d11core, in brcms_c_isr()
2626 struct bcma_device *core = wlc_hw->d11core; in brcms_c_suspend_mac_and_wait()
2694 struct bcma_device *core = wlc_hw->d11core; in brcms_c_enable_mac()
2737 struct bcma_device *core = wlc_hw->d11core; in brcms_b_validate_chip_access()
2798 struct bcma_device *core = wlc_hw->d11core; in brcms_b_core_phypll_ctl()
2853 brcms_dbg_info(wlc_hw->d11core, "wl%d: disable core\n", wlc_hw->unit); in brcms_c_coredisable()
2873 bcma_core_disable(wlc_hw->d11core, 0); in brcms_c_coredisable()
2899 struct bcma_device *core = wlc_hw->d11core; in brcms_b_read_objmem()
2914 struct bcma_device *core = wlc_hw->d11core; in brcms_b_write_objmem()
3008 bcma_write32(wlc_hw->d11core, D11REGOFFS(objaddr), in brcms_b_retrylimit_upd()
3010 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(objaddr)); in brcms_b_retrylimit_upd()
3011 bcma_write32(wlc_hw->d11core, D11REGOFFS(objdata), wlc_hw->SRL); in brcms_b_retrylimit_upd()
3012 bcma_write32(wlc_hw->d11core, D11REGOFFS(objaddr), in brcms_b_retrylimit_upd()
3014 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(objaddr)); in brcms_b_retrylimit_upd()
3015 bcma_write32(wlc_hw->d11core, D11REGOFFS(objdata), wlc_hw->LRL); in brcms_b_retrylimit_upd()
3092 brcms_err(wlc->hw->d11core, "wl%d: %u rx fifo 0 overflows!\n", in brcms_c_statsupd()
3099 brcms_err(wlc->hw->d11core, in brcms_c_statsupd()
3124 brcms_dbg_info(wlc->hw->d11core, "wl%d\n", wlc->pub->unit); in brcms_c_reset()
3159 struct bcma_device *core = wlc_hw->d11core; in brcms_b_coreinit()
3426 brcms_err(wlc->hw->d11core, "brcms_c_rate_lookup_init: " in brcms_c_rate_lookup_init()
3682 brcms_dbg_info(wlc->hw->d11core, "wl%d: bandunit %d\n", in brcms_c_bsinit()
3706 brcms_err(wlc->hw->d11core, in brcms_c_duty_cycle_set()
3734 brcms_dbg_mac80211(wlc->hw->d11core, "wl%d: hps %d\n", wlc->pub->unit, in brcms_c_set_ps_ctrl()
3737 v1 = bcma_read32(wlc->hw->d11core, D11REGOFFS(maccontrol)); in brcms_c_set_ps_ctrl()
3827 brcms_dbg_mac80211(wlc_hw->d11core, "wl%d: 0x%x\n", wlc_hw->unit, in brcms_b_set_chanspec()
3888 brcms_err(wlc->hw->d11core, "wl%d: %s: Bad channel %d\n", in brcms_c_set_chanspec()
3898 brcms_err(wlc->hw->d11core, in brcms_c_set_chanspec()
4039 brcms_err(wlc->hw->d11core, "wl%d: %s : no-clock\n", in brcms_c_wme_setparams()
4058 brcms_err(wlc->hw->d11core, "wl%d: edcf_setparams: bad " in brcms_c_wme_setparams()
4065 bcma_read16(wlc->hw->d11core, D11REGOFFS(tsf_random)) & in brcms_c_wme_setparams()
4177 brcms_err(wlc->hw->d11core, "wl%d: %s: dead chip\n", in brcms_c_radio_timer()
4209 brcms_dbg_info(wlc->hw->d11core, "wl%d\n", wlc->pub->unit); in brcms_c_watchdog()
4215 brcms_err(wlc->hw->d11core, "wl%d: %s: dead chip\n", in brcms_c_watchdog()
4434 wlc_hw->d11core = core; in brcms_b_attach()
4642 bcma_host_pci_down(wlc_hw->d11core->bus); in brcms_b_attach()
4668 brcms_dbg_info(wlc_hw->d11core, "deviceid 0x%x nbands %d board 0x%x\n", in brcms_b_attach()
4685 struct ssb_sprom *sprom = &wlc->hw->d11core->bus->sprom; in brcms_c_attach_stf_ant_init()
4882 brcms_dbg_info(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_b_hw_up()
4919 brcms_dbg_info(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_b_up_prep()
4933 bcma_host_pci_irq_ctl(wlc_hw->d11core->bus, wlc_hw->d11core, in brcms_b_up_prep()
4943 bcma_host_pci_down(wlc_hw->d11core->bus); in brcms_b_up_prep()
4948 bcma_host_pci_up(wlc_hw->d11core->bus); in brcms_b_up_prep()
4989 brcms_dbg_info(wlc->hw->d11core, "wl%d\n", wlc->pub->unit); in brcms_c_up()
5030 brcms_err(wlc->hw->d11core, in brcms_c_up()
5128 if (bcma_core_is_enabled(wlc_hw->d11core)) { in brcms_b_down_finish()
5129 if (bcma_read32(wlc_hw->d11core, in brcms_b_down_finish()
5138 bcma_host_pci_down(wlc_hw->d11core->bus); in brcms_b_down_finish()
5157 brcms_dbg_info(wlc->hw->d11core, "wl%d\n", wlc->pub->unit); in brcms_c_down()
5161 brcms_err(wlc->hw->d11core, in brcms_c_down()
5261 brcms_err(wlc->hw->d11core, "wl%d: %s: invalid gmode %d\n", in brcms_c_set_gmode()
5470 bcma_set32(wlc->hw->d11core, D11REGOFFS(maccontrol), MCTL_TBTTHOLD); in brcms_c_time_lock()
5472 bcma_read32(wlc->hw->d11core, D11REGOFFS(maccontrol)); in brcms_c_time_lock()
5477 bcma_mask32(wlc->hw->d11core, D11REGOFFS(maccontrol), ~MCTL_TBTTHOLD); in brcms_c_time_unlock()
5479 bcma_read32(wlc->hw->d11core, D11REGOFFS(maccontrol)); in brcms_c_time_unlock()
5493 bcma_write32(wlc->hw->d11core, D11REGOFFS(tsf_cfprep), in brcms_c_set_beacon_period()
5495 bcma_write32(wlc->hw->d11core, D11REGOFFS(tsf_cfpstart), bcnint_us); in brcms_c_set_beacon_period()
5821 brcms_err(wlc->hw->d11core, "wl%d: valid_rate: rate spec 0x%x " in brcms_c_valid_rate()
5831 struct bcma_device *core = wlc->hw->d11core; in mac80211_wlc_set_nrate()
5971 brcms_err(wlc->hw->d11core, in brcms_c_cck_plcp_set()
6104 brcms_err(wlc->hw->d11core, "phytxctl1_calc: bw %d is " in brcms_c_phytxctl1_calc()
6131 brcms_err(wlc->hw->d11core, "phytxctl1_calc: wrong " in brcms_c_phytxctl1_calc()
6210 brcms_err(wlc->hw->d11core, in brcms_c_d11hdrs_mac80211()
6378 brcms_warn(wlc->hw->d11core, in brcms_c_d11hdrs_mac80211()
6771 brcms_warn(wlc->hw->d11core, in brcms_c_d11hdrs_mac80211()
6778 brcms_warn(wlc->hw->d11core, in brcms_c_d11hdrs_mac80211()
6811 brcms_warn(wlc->hw->d11core, in brcms_c_tx()
6946 struct bcma_device *core = wlc_hw->d11core; in brcms_b_read_tsf()
7065 brcms_err(wlc->hw->d11core, in prep_mac80211_status()
7084 brcms_err(wlc->hw->d11core, "%s: Unknown modulation\n", in prep_mac80211_status()
7094 brcms_err(wlc->hw->d11core, "%s: RX_FLAG_FAILED_PLCP_CRC\n", in prep_mac80211_status()
7099 brcms_err(wlc->hw->d11core, "%s: RX_FLAG_FAILED_FCS_CRC\n", in prep_mac80211_status()
7286 struct bcma_device *core = wlc_hw->d11core; in brcms_c_update_beacon_hw()
7560 bcma_write32(wlc->hw->d11core, D11REGOFFS(tsf_timerlow), tsf_l); in brcms_c_tsf_set()
7561 bcma_write32(wlc->hw->d11core, D11REGOFFS(tsf_timerhigh), tsf_h); in brcms_c_tsf_set()
7607 brcms_err(wlc->hw->d11core, in brcms_c_recv()
7706 struct bcma_device *core = wlc_hw->d11core; in brcms_c_dpc()
7791 struct bcma_device *core = wlc->hw->d11core; in brcms_c_init()