Lines Matching refs:sih
394 return ai_deviceremoved(wlc->hw->sih); in brcms_deviceremoved()
1236 if (ai_get_cccaps(wlc_hw->sih) & CC_CAP_PMU) { in brcms_b_clkctl_clk()
1260 if ((ai_get_pmurev(wlc_hw->sih) == 0) && in brcms_b_clkctl_clk()
1282 wlc_hw->forcefastclk = ai_clkctl_cc(wlc_hw->sih, mode); in brcms_b_clkctl_clk()
1735 ai_cc_reg(wlc_hw->sih, offsetof(struct chipcregs, chipcontrol_addr), in brcms_b_core_phypll_reset()
1738 ai_cc_reg(wlc_hw->sih, offsetof(struct chipcregs, chipcontrol_data), in brcms_b_core_phypll_reset()
1741 ai_cc_reg(wlc_hw->sih, offsetof(struct chipcregs, chipcontrol_data), in brcms_b_core_phypll_reset()
1744 ai_cc_reg(wlc_hw->sih, offsetof(struct chipcregs, chipcontrol_data), in brcms_b_core_phypll_reset()
1874 if (ai_get_boardvendor(wlc_hw->sih) != PCI_VENDOR_ID_BROADCOM) in brcms_c_validboardtype()
2053 if (ai_get_cccaps(wlc_hw->sih) & CC_CAP_PMU) in brcms_b_corereset()
2136 if ((ai_get_chip_id(wlc_hw->sih) == BCMA_CHIP_ID_BCM43224) || in brcms_b_switch_macfreq()
2137 (ai_get_chip_id(wlc_hw->sih) == BCMA_CHIP_ID_BCM43225)) { in brcms_b_switch_macfreq()
2813 if ((ai_get_chip_id(wlc_hw->sih) == BCMA_CHIP_ID_BCM4313)) { in brcms_b_core_phypll_ctl()
3296 wlc->fastpwrup_dly = ai_clkctl_fast_pwrup_delay(wlc_hw->sih); in brcms_b_coreinit()
4419 wlc_hw->sih = ai_attach(core->bus); in brcms_b_attach()
4420 if (wlc_hw->sih == NULL) { in brcms_b_attach()
4453 ai_clkctl_init(wlc_hw->sih); in brcms_b_attach()
4480 unit, ai_get_boardtype(wlc_hw->sih), in brcms_b_attach()
4501 if ((ai_get_chip_id(wlc_hw->sih) == BCMA_CHIP_ID_BCM43225)) in brcms_b_attach()
4509 wlc->pub->sih = wlc_hw->sih; in brcms_b_attach()
4527 sha_params.sih = wlc_hw->sih; in brcms_b_attach()
4533 sha_params.chip = ai_get_chip_id(wlc_hw->sih); in brcms_b_attach()
4534 sha_params.chiprev = ai_get_chiprev(wlc_hw->sih); in brcms_b_attach()
4535 sha_params.chippkg = ai_get_chippkg(wlc_hw->sih); in brcms_b_attach()
4537 sha_params.boardtype = ai_get_boardtype(wlc_hw->sih); in brcms_b_attach()
4679 ai_get_boardtype(wlc_hw->sih)); in brcms_b_attach()
4838 if (wlc_hw->sih) { in brcms_b_detach()
4839 ai_detach(wlc_hw->sih); in brcms_b_detach()
4840 wlc_hw->sih = NULL; in brcms_b_detach()
4898 ai_clkctl_init(wlc_hw->sih); in brcms_b_hw_up()
4918 && (ai_get_chip_id(wlc_hw->sih) == BCMA_CHIP_ID_BCM4313)) { in brcms_b_hw_up()
4922 ai_epa_4313war(wlc_hw->sih); in brcms_b_hw_up()
4935 ai_clkctl_init(wlc_hw->sih); in brcms_b_up_prep()
5010 && (ai_get_chip_id(wlc->hw->sih) == BCMA_CHIP_ID_BCM4313)) { in brcms_c_up()
7771 __func__, ai_get_chip_id(wlc_hw->sih), in brcms_c_dpc()
7772 ai_get_chiprev(wlc_hw->sih)); in brcms_c_dpc()