Searched refs:sih (Results 1 – 10 of 10) sorted by relevance
/drivers/mfd/ |
D | twl4030-irq.c | 55 struct sih { struct 77 static const struct sih *sih_modules; argument 108 static const struct sih sih_modules_twl4030[6] = { 168 static const struct sih sih_modules_twl5031[8] = { 316 const struct sih *sih; in twl4030_init_sih_modules() local 329 sih = sih_modules; in twl4030_init_sih_modules() 330 for (i = 0; i < nr_sih_modules; i++, sih++) { in twl4030_init_sih_modules() 332 if (!sih->bytes_ixr) in twl4030_init_sih_modules() 336 if (sih->irq_lines <= line) in twl4030_init_sih_modules() 339 status = twl_i2c_write(sih->module, buf, in twl4030_init_sih_modules() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | aiutils.h | 179 void ai_detach(struct si_pub *sih); 180 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val); 181 void ai_clkctl_init(struct si_pub *sih); 182 u16 ai_clkctl_fast_pwrup_delay(struct si_pub *sih); 183 bool ai_clkctl_cc(struct si_pub *sih, enum bcma_clkmode mode); 184 bool ai_deviceremoved(struct si_pub *sih); 187 void ai_epa_4313war(struct si_pub *sih); 189 static inline u32 ai_get_cccaps(struct si_pub *sih) in ai_get_cccaps() argument 191 return sih->cccaps; in ai_get_cccaps() 194 static inline int ai_get_pmurev(struct si_pub *sih) in ai_get_pmurev() argument [all …]
|
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 …]
|
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()
|
D | pmu.h | 23 u16 si_pmu_fast_pwrup_delay(struct si_pub *sih); 24 u32 si_pmu_measure_alpclk(struct si_pub *sih);
|
D | main.c | 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() [all …]
|
D | pub.h | 151 struct si_pub *sih; /* SI handle (cookie for siutils calls) */ member
|
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()
|
D | main.h | 332 struct si_pub *sih; /* SI handle (cookie for siutils calls) */ member
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_hal.h | 154 struct si_pub *sih; member
|