Searched refs:sih (Results 1 – 10 of 10) sorted by relevance
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/ |
| H A D | aiutils.h | 171 void ai_detach(struct si_pub *sih); 172 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val); 173 void ai_clkctl_init(struct si_pub *sih); 174 u16 ai_clkctl_fast_pwrup_delay(struct si_pub *sih); 175 bool ai_clkctl_cc(struct si_pub *sih, enum bcma_clkmode mode); 176 bool ai_deviceremoved(struct si_pub *sih); 179 void ai_epa_4313war(struct si_pub *sih); 181 static inline u32 ai_get_cccaps(struct si_pub *sih) in ai_get_cccaps() argument 183 return sih->cccaps; in ai_get_cccaps() 186 static inline int ai_get_pmurev(struct si_pub *sih) in ai_get_pmurev() argument [all …]
|
| H A D | aiutils.c | 472 struct si_pub *sih = &sii->pub; in ai_doattach() local 481 sih->chip = pbus->chipinfo.id; in ai_doattach() 482 sih->chiprev = pbus->chipinfo.rev; in ai_doattach() 483 sih->chippkg = pbus->chipinfo.pkg; in ai_doattach() 484 sih->boardvendor = pbus->boardinfo.vendor; in ai_doattach() 485 sih->boardtype = pbus->boardinfo.type; in ai_doattach() 495 if (ai_get_cccaps(sih) & CC_CAP_PMU) { in ai_doattach() 496 (void)si_pmu_measure_alpclk(sih); in ai_doattach() 528 void ai_detach(struct si_pub *sih) in ai_detach() argument 532 sii = container_of(sih, struct si_info, pub); in ai_detach() [all …]
|
| H A D | pmu.c | 101 u16 si_pmu_fast_pwrup_delay(struct si_pub *sih) in si_pmu_fast_pwrup_delay() argument 105 switch (ai_get_chip_id(sih)) { in si_pmu_fast_pwrup_delay() 118 u32 si_pmu_measure_alpclk(struct si_pub *sih) in si_pmu_measure_alpclk() argument 120 struct si_info *sii = container_of(sih, struct si_info, pub); in si_pmu_measure_alpclk() 124 if (ai_get_pmurev(sih) < 10) in si_pmu_measure_alpclk()
|
| H A D | pmu.h | 23 u16 si_pmu_fast_pwrup_delay(struct si_pub *sih); 24 u32 si_pmu_measure_alpclk(struct si_pub *sih);
|
| H A D | main.c | 388 return ai_deviceremoved(wlc->hw->sih); in brcms_deviceremoved() 1228 if (ai_get_cccaps(wlc_hw->sih) & CC_CAP_PMU) { in brcms_b_clkctl_clk() 1252 if ((ai_get_pmurev(wlc_hw->sih) == 0) && in brcms_b_clkctl_clk() 1274 wlc_hw->forcefastclk = ai_clkctl_cc(wlc_hw->sih, mode); in brcms_b_clkctl_clk() 1727 ai_cc_reg(wlc_hw->sih, offsetof(struct chipcregs, chipcontrol_addr), in brcms_b_core_phypll_reset() 1730 ai_cc_reg(wlc_hw->sih, offsetof(struct chipcregs, chipcontrol_data), in brcms_b_core_phypll_reset() 1733 ai_cc_reg(wlc_hw->sih, offsetof(struct chipcregs, chipcontrol_data), in brcms_b_core_phypll_reset() 1736 ai_cc_reg(wlc_hw->sih, offsetof(struct chipcregs, chipcontrol_data), in brcms_b_core_phypll_reset() 1866 if (ai_get_boardvendor(wlc_hw->sih) != PCI_VENDOR_ID_BROADCOM) in brcms_c_validboardtype() 2045 if (ai_get_cccaps(wlc_hw->sih) & CC_CAP_PMU) in brcms_b_corereset() [all …]
|
| H A D | pub.h | 151 struct si_pub *sih; /* SI handle (cookie for siutils calls) */ member
|
| H A D | dma.c | 553 struct si_pub *sih = wlc->hw->sih; in dma_attach() local 558 struct si_info *sii = container_of(sih, struct si_info, pub); in dma_attach()
|
| H A D | main.h | 332 struct si_pub *sih; /* SI handle (cookie for siutils calls) */ member
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_hal.h | 149 struct si_pub *sih; member
|
| /freebsd/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu_subr.c | 1646 freq = bhnd_pmu0_alpclk0(sih, osh, cc) / 1000; in bhnd_pmu0_cpuclk0() 2207 bcm_chipname(sih->chip, chn, 8), sih->chiprev, in bhnd_pmu_alp_clock() 2208 sih->pmurev, clock); in bhnd_pmu_alp_clock()
|