Lines Matching refs:d11core

395 	macctrl = bcma_read32(wlc->hw->d11core,  in brcms_deviceremoved()
598 struct bcma_device *core = wlc_hw->d11core; in brcms_b_update_slot_timing()
622 brcms_err(wlc->hw->d11core, "wl%d: WAR: using rate of 1 mbps\n", in brcms_c_calc_frame_time()
683 struct bcma_device *core = wlc_hw->d11core; in brcms_c_write_inits()
689 brcms_dbg_info(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_c_write_inits()
728 brcms_err(wlc_hw->d11core, in brcms_c_ucode_bsinit()
738 brcms_err(wlc_hw->d11core, in brcms_c_ucode_bsinit()
743 brcms_err(wlc_hw->d11core, in brcms_c_ucode_bsinit()
752 struct bcma_device *core = wlc_hw->d11core; in brcms_b_core_ioctl()
760 brcms_dbg_info(wlc_hw->d11core, "wl%d: clk %d\n", wlc_hw->unit, clk); in brcms_b_core_phy_clk()
785 brcms_dbg_mac80211(wlc_hw->d11core, "wl%d: bandunit %d\n", wlc_hw->unit, in brcms_c_setxband()
814 brcms_dbg_mac80211(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_c_setband_inact()
815 macctrl = bcma_read32(wlc_hw->d11core, in brcms_c_setband_inact()
850 trace_brcms_txstatus(&wlc->hw->d11core->dev, txs->framelen, in brcms_c_dotxstatus()
861 brcms_dbg_tx(wlc->hw->d11core, "INTERMEDIATE but not AMPDU\n"); in brcms_c_dotxstatus()
868 brcms_err(wlc->hw->d11core, "queue %u >= NFIFO\n", queue); in brcms_c_dotxstatus()
876 brcms_err(wlc->hw->d11core, "dma_getnexttxp returned null!\n"); in brcms_c_dotxstatus()
883 brcms_dbg_tx(wlc->hw->d11core, "phyerr 0x%x, rate 0x%x\n", in brcms_c_dotxstatus()
887 brcms_err(wlc->hw->d11core, "frameid != txh->TxFrameID\n"); in brcms_c_dotxstatus()
906 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, sizeof(*txh)); in brcms_c_dotxstatus()
911 brcms_dbg_tx(wlc->hw->d11core, in brcms_c_dotxstatus()
923 brcms_err(wlc->hw->d11core, "Not last frame!\n"); in brcms_c_dotxstatus()
992 brcms_err(wlc->hw->d11core, in brcms_c_dotxstatus()
1002 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, in brcms_c_dotxstatus()
1035 core = wlc_hw->d11core; in brcms_b_txstatus()
1167 brcms_err(wlc_hw->d11core, in brcms_b_attach_dmapio()
1245 bcma_set32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1252 ((bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1256 WARN_ON(!(bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1261 (bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1265 ((bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1270 bcma_mask32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1286 WARN_ON(!(bcma_aread32(wlc_hw->d11core, BCMA_IOST) & in brcms_b_clkctl_clk()
1403 bcma_write32(wlc_hw->d11core, D11REGOFFS(maccontrol), in brcms_c_mctrl_write()
1498 struct bcma_device *core = wlc_hw->d11core; in brcms_b_set_addrmatch()
1521 struct bcma_device *core = wlc_hw->d11core; in brcms_b_write_template_ram()
1558 bcma_write32(wlc_hw->d11core, D11REGOFFS(objaddr), in brcms_b_set_cwmin()
1560 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(objaddr)); in brcms_b_set_cwmin()
1561 bcma_write32(wlc_hw->d11core, D11REGOFFS(objdata), newmin); in brcms_b_set_cwmin()
1568 bcma_write32(wlc_hw->d11core, D11REGOFFS(objaddr), in brcms_b_set_cwmax()
1570 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(objaddr)); in brcms_b_set_cwmax()
1571 bcma_write32(wlc_hw->d11core, D11REGOFFS(objdata), newmax); in brcms_b_set_cwmax()
1699 brcms_dbg_mac80211(wlc_hw->d11core, "wl%d: bandunit %d\n", wlc_hw->unit, in brcms_b_bsinit()
1778 brcms_dbg_info(wlc_hw->d11core, "wl%d: reset phy\n", wlc_hw->unit); in brcms_b_phy_reset()
1818 if (!bcma_core_is_enabled(wlc_hw->d11core)) { in brcms_b_setband()
1819 bcma_core_enable(wlc_hw->d11core, 0); in brcms_b_setband()
1845 WARN_ON((bcma_read32(wlc_hw->d11core, D11REGOFFS(maccontrol)) & in brcms_b_setband()
1893 struct ssb_sprom *sprom = &wlc_hw->d11core->bus->sprom; in brcms_c_get_macaddr()
1910 brcms_dbg_info(wlc_hw->d11core, "wl%d: want %d\n", wlc_hw->unit, want); in brcms_b_xtal()
1960 bcma_core_enable(wlc_hw->d11core, flags); in brcms_b_radio_read_hwdisabled()
1964 v = ((bcma_read32(wlc_hw->d11core, in brcms_b_radio_read_hwdisabled()
1969 bcma_core_disable(wlc_hw->d11core, 0); in brcms_b_radio_read_hwdisabled()
1999 brcms_dbg_info(wlc_hw->d11core, "wl%d: core reset\n", wlc_hw->unit); in brcms_b_corereset()
2007 if (bcma_core_is_enabled(wlc_hw->d11core)) { in brcms_b_corereset()
2010 brcms_err(wlc_hw->d11core, "wl%d: %s: " in brcms_b_corereset()
2016 brcms_err(wlc_hw->d11core, "wl%d: %s: dma_rxreset" in brcms_b_corereset()
2046 bcma_core_enable(wlc_hw->d11core, flags); in brcms_b_corereset()
2074 struct bcma_device *core = wlc_hw->d11core; in brcms_b_corerev_fifofixup()
2134 struct bcma_device *core = wlc_hw->d11core; in brcms_b_switch_macfreq()
2221 bcma_set16(wlc_hw->d11core, D11REGOFFS(psm_gpio_oe), in brcms_c_gpio_init()
2223 bcma_set16(wlc_hw->d11core, D11REGOFFS(psm_gpio_out), in brcms_c_gpio_init()
2245 bcma_chipco_gpio_control(&wlc_hw->d11core->bus->drv_cc, gm, gc); in brcms_c_gpio_init()
2251 struct bcma_device *core = wlc_hw->d11core; in brcms_ucode_write()
2255 brcms_dbg_info(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_ucode_write()
2280 brcms_err(wlc_hw->d11core, in brcms_ucode_download()
2289 brcms_err(wlc_hw->d11core, in brcms_ucode_download()
2326 struct bcma_device *core = wlc_hw->d11core; in brcms_b_fifoerrors()
2390 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), wlc->macintmask); in brcms_c_intrson()
2403 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), 0); in brcms_c_intrsoff()
2404 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(macintmask)); in brcms_c_intrsoff()
2419 bcma_write32(wlc_hw->d11core, D11REGOFFS(macintmask), wlc->macintmask); in brcms_c_intrsrestore()
2530 struct bcma_device *core = wlc_hw->d11core; in wlc_intstatus()
2614 brcms_err(wlc_hw->d11core, in brcms_c_isr()
2633 struct bcma_device *core = wlc_hw->d11core; in brcms_c_suspend_mac_and_wait()
2701 struct bcma_device *core = wlc_hw->d11core; in brcms_c_enable_mac()
2744 struct bcma_device *core = wlc_hw->d11core; in brcms_b_validate_chip_access()
2805 struct bcma_device *core = wlc_hw->d11core; in brcms_b_core_phypll_ctl()
2860 brcms_dbg_info(wlc_hw->d11core, "wl%d: disable core\n", wlc_hw->unit); in brcms_c_coredisable()
2880 bcma_core_disable(wlc_hw->d11core, 0); in brcms_c_coredisable()
2906 struct bcma_device *core = wlc_hw->d11core; in brcms_b_read_objmem()
2921 struct bcma_device *core = wlc_hw->d11core; in brcms_b_write_objmem()
3015 bcma_write32(wlc_hw->d11core, D11REGOFFS(objaddr), in brcms_b_retrylimit_upd()
3017 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(objaddr)); in brcms_b_retrylimit_upd()
3018 bcma_write32(wlc_hw->d11core, D11REGOFFS(objdata), wlc_hw->SRL); in brcms_b_retrylimit_upd()
3019 bcma_write32(wlc_hw->d11core, D11REGOFFS(objaddr), in brcms_b_retrylimit_upd()
3021 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(objaddr)); in brcms_b_retrylimit_upd()
3022 bcma_write32(wlc_hw->d11core, D11REGOFFS(objdata), wlc_hw->LRL); in brcms_b_retrylimit_upd()
3099 brcms_err(wlc->hw->d11core, "wl%d: %u rx fifo 0 overflows!\n", in brcms_c_statsupd()
3106 brcms_err(wlc->hw->d11core, in brcms_c_statsupd()
3131 brcms_dbg_info(wlc->hw->d11core, "wl%d\n", wlc->pub->unit); in brcms_c_reset()
3168 struct bcma_device *core = wlc_hw->d11core; in brcms_b_coreinit()
3435 brcms_err(wlc->hw->d11core, "brcms_c_rate_lookup_init: " in brcms_c_rate_lookup_init()
3691 brcms_dbg_info(wlc->hw->d11core, "wl%d: bandunit %d\n", in brcms_c_bsinit()
3715 brcms_err(wlc->hw->d11core, in brcms_c_duty_cycle_set()
3743 brcms_dbg_mac80211(wlc->hw->d11core, "wl%d: hps %d\n", wlc->pub->unit, in brcms_c_set_ps_ctrl()
3746 v1 = bcma_read32(wlc->hw->d11core, D11REGOFFS(maccontrol)); in brcms_c_set_ps_ctrl()
3836 brcms_dbg_mac80211(wlc_hw->d11core, "wl%d: 0x%x\n", wlc_hw->unit, in brcms_b_set_chanspec()
3897 brcms_err(wlc->hw->d11core, "wl%d: %s: Bad channel %d\n", in brcms_c_set_chanspec()
3907 brcms_err(wlc->hw->d11core, in brcms_c_set_chanspec()
4048 brcms_err(wlc->hw->d11core, "wl%d: %s : no-clock\n", in brcms_c_wme_setparams()
4067 brcms_err(wlc->hw->d11core, "wl%d: edcf_setparams: bad " in brcms_c_wme_setparams()
4074 bcma_read16(wlc->hw->d11core, D11REGOFFS(tsf_random)) & in brcms_c_wme_setparams()
4186 brcms_err(wlc->hw->d11core, "wl%d: %s: dead chip\n", in brcms_c_radio_timer()
4218 brcms_dbg_info(wlc->hw->d11core, "wl%d\n", wlc->pub->unit); in brcms_c_watchdog()
4224 brcms_err(wlc->hw->d11core, "wl%d: %s: dead chip\n", in brcms_c_watchdog()
4443 wlc_hw->d11core = core; in brcms_b_attach()
4651 bcma_host_pci_down(wlc_hw->d11core->bus); in brcms_b_attach()
4677 brcms_dbg_info(wlc_hw->d11core, "deviceid 0x%x nbands %d board 0x%x\n", in brcms_b_attach()
4694 struct ssb_sprom *sprom = &wlc->hw->d11core->bus->sprom; in brcms_c_attach_stf_ant_init()
4891 brcms_dbg_info(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_b_hw_up()
4928 brcms_dbg_info(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_b_up_prep()
4942 bcma_host_pci_irq_ctl(wlc_hw->d11core->bus, wlc_hw->d11core, in brcms_b_up_prep()
4952 bcma_host_pci_down(wlc_hw->d11core->bus); in brcms_b_up_prep()
4957 bcma_host_pci_up(wlc_hw->d11core->bus); in brcms_b_up_prep()
4998 brcms_dbg_info(wlc->hw->d11core, "wl%d\n", wlc->pub->unit); in brcms_c_up()
5039 brcms_err(wlc->hw->d11core, in brcms_c_up()
5137 if (bcma_core_is_enabled(wlc_hw->d11core)) { in brcms_b_down_finish()
5138 if (bcma_read32(wlc_hw->d11core, in brcms_b_down_finish()
5147 bcma_host_pci_down(wlc_hw->d11core->bus); in brcms_b_down_finish()
5166 brcms_dbg_info(wlc->hw->d11core, "wl%d\n", wlc->pub->unit); in brcms_c_down()
5170 brcms_err(wlc->hw->d11core, in brcms_c_down()
5270 brcms_err(wlc->hw->d11core, "wl%d: %s: invalid gmode %d\n", in brcms_c_set_gmode()
5479 bcma_set32(wlc->hw->d11core, D11REGOFFS(maccontrol), MCTL_TBTTHOLD); in brcms_c_time_lock()
5481 bcma_read32(wlc->hw->d11core, D11REGOFFS(maccontrol)); in brcms_c_time_lock()
5486 bcma_mask32(wlc->hw->d11core, D11REGOFFS(maccontrol), ~MCTL_TBTTHOLD); in brcms_c_time_unlock()
5488 bcma_read32(wlc->hw->d11core, D11REGOFFS(maccontrol)); in brcms_c_time_unlock()
5502 bcma_write32(wlc->hw->d11core, D11REGOFFS(tsf_cfprep), in brcms_c_set_beacon_period()
5504 bcma_write32(wlc->hw->d11core, D11REGOFFS(tsf_cfpstart), bcnint_us); in brcms_c_set_beacon_period()
5830 brcms_err(wlc->hw->d11core, "wl%d: valid_rate: rate spec 0x%x " in brcms_c_valid_rate()
5840 struct bcma_device *core = wlc->hw->d11core; in mac80211_wlc_set_nrate()
5980 brcms_err(wlc->hw->d11core, in brcms_c_cck_plcp_set()
6113 brcms_err(wlc->hw->d11core, "phytxctl1_calc: bw %d is " in brcms_c_phytxctl1_calc()
6140 brcms_err(wlc->hw->d11core, "phytxctl1_calc: wrong " in brcms_c_phytxctl1_calc()
6219 brcms_err(wlc->hw->d11core, in brcms_c_d11hdrs_mac80211()
6387 brcms_warn(wlc->hw->d11core, in brcms_c_d11hdrs_mac80211()
6780 brcms_warn(wlc->hw->d11core, in brcms_c_d11hdrs_mac80211()
6787 brcms_warn(wlc->hw->d11core, in brcms_c_d11hdrs_mac80211()
6820 brcms_warn(wlc->hw->d11core, in brcms_c_tx()
6955 struct bcma_device *core = wlc_hw->d11core; in brcms_b_read_tsf()
7074 brcms_err(wlc->hw->d11core, in prep_mac80211_status()
7093 brcms_err(wlc->hw->d11core, "%s: Unknown modulation\n", in prep_mac80211_status()
7103 brcms_err(wlc->hw->d11core, "%s: RX_FLAG_FAILED_PLCP_CRC\n", in prep_mac80211_status()
7108 brcms_err(wlc->hw->d11core, "%s: RX_FLAG_FAILED_FCS_CRC\n", in prep_mac80211_status()
7295 struct bcma_device *core = wlc_hw->d11core; in brcms_c_update_beacon_hw()
7569 bcma_write32(wlc->hw->d11core, D11REGOFFS(tsf_timerlow), tsf_l); in brcms_c_tsf_set()
7570 bcma_write32(wlc->hw->d11core, D11REGOFFS(tsf_timerhigh), tsf_h); in brcms_c_tsf_set()
7616 brcms_err(wlc->hw->d11core, in brcms_c_recv()
7715 struct bcma_device *core = wlc_hw->d11core; in brcms_c_dpc()
7800 struct bcma_device *core = wlc->hw->d11core; in brcms_c_init()