Home
last modified time | relevance | path

Searched refs:sih (Results 1 – 25 of 193) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dsiutils.h242 #define ISSIM_ENAB(sih) TRUE argument
244 #define ISSIM_ENAB(sih) FALSE argument
248 #define ATE_BLD_ENAB(sih) TRUE argument
250 #define ATE_BLD_ENAB(sih) FALSE argument
257 #define PMUCTL_ENAB(sih) (BCMPMUCTL) argument
259 #define PMUCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PMU) argument
263 #define AOB_ENAB(sih) (BCMAOBENAB) argument
265 #define AOB_ENAB(sih) ((sih)->ccrev >= 35 ? \ argument
266 ((sih)->cccaps_ext & CC_CAP_EXT_AOB_PRESENT) : 0)
271 #define CCCTL_ENAB(sih) (0) argument
[all …]
H A Dhndpmu.h59 #define PMUREGADDR(sih, pmur, ccr, member) \ argument
60 (AOB_ENAB(sih) ? (&(pmur)->member) : (&(ccr)->member))
63 #define HND_PMU_SYNC_WR(sih, pmur, ccr, osh, r, v) do { \ argument
64 if ((sih) && (sih)->pmurev >= 22) { \
65 while (R_REG(osh, PMUREGADDR(sih, pmur, ccr, pmustatus)) & \
186 extern void si_pmu_init(si_t *sih, osl_t *osh);
187 extern void si_pmu_chip_init(si_t *sih, osl_t *osh);
188 extern void si_pmu_pll_init(si_t *sih, osl_t *osh, uint32 xtalfreq);
189 extern void si_pmu_res_init(si_t *sih, osl_t *osh);
190 extern void si_pmu_swreg_init(si_t *sih, osl_t *osh);
[all …]
H A Dnci.h25 uint32 nci_scan(si_t *sih);
27 void* nci_init(si_t *sih, chipcregs_t *cc, uint bustype);
28 volatile void *nci_setcore(si_t *sih, uint coreid, uint coreunit);
29 volatile void *nci_setcoreidx(si_t *sih, uint coreidx);
30 uint nci_findcoreidx(const si_t *sih, uint coreid, uint coreunit);
31 volatile uint32 *nci_corereg_addr(si_t *sih, uint coreidx, uint regoff);
32 uint nci_corereg_writeonly(si_t *sih, uint coreidx, uint regoff, uint mask, uint val);
33 uint nci_corereg(si_t *sih, uint coreidx, uint regoff, uint mask, uint val);
34 uint nci_corerev_minor(const si_t *sih);
35 uint nci_corerev(const si_t *sih);
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dsiutils.h242 #define ISSIM_ENAB(sih) TRUE argument
244 #define ISSIM_ENAB(sih) FALSE argument
248 #define ATE_BLD_ENAB(sih) TRUE argument
250 #define ATE_BLD_ENAB(sih) FALSE argument
257 #define PMUCTL_ENAB(sih) (BCMPMUCTL) argument
259 #define PMUCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PMU) argument
263 #define AOB_ENAB(sih) (BCMAOBENAB) argument
265 #define AOB_ENAB(sih) ((sih)->ccrev >= 35 ? \ argument
266 ((sih)->cccaps_ext & CC_CAP_EXT_AOB_PRESENT) : 0)
271 #define CCCTL_ENAB(sih) (0) argument
[all …]
H A Dhndpmu.h59 #define PMUREGADDR(sih, pmur, ccr, member) \ argument
60 (AOB_ENAB(sih) ? (&(pmur)->member) : (&(ccr)->member))
63 #define HND_PMU_SYNC_WR(sih, pmur, ccr, osh, r, v) do { \ argument
64 if ((sih) && (sih)->pmurev >= 22) { \
65 while (R_REG(osh, PMUREGADDR(sih, pmur, ccr, pmustatus)) & \
186 extern void si_pmu_init(si_t *sih, osl_t *osh);
187 extern void si_pmu_chip_init(si_t *sih, osl_t *osh);
188 extern void si_pmu_pll_init(si_t *sih, osl_t *osh, uint32 xtalfreq);
189 extern void si_pmu_res_init(si_t *sih, osl_t *osh);
190 extern void si_pmu_swreg_init(si_t *sih, osl_t *osh);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dsiutils.h167 #define ISSIM_ENAB(sih) TRUE argument
169 #define ISSIM_ENAB(sih) FALSE argument
176 #define PMUCTL_ENAB(sih) (BCMPMUCTL) argument
178 #define PMUCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PMU) argument
182 #define AOB_ENAB(sih) (BCMAOBENAB) argument
184 #define AOB_ENAB(sih) ((sih)->ccrev >= 35 ? \ argument
185 ((sih)->cccaps_ext & CC_CAP_EXT_AOB_PRESENT) : 0)
190 #define CCCTL_ENAB(sih) (0) argument
191 #define CCPLL_ENAB(sih) (0) argument
193 #define CCCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PWR_CTL) argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dsiutils.h167 #define ISSIM_ENAB(sih) TRUE argument
169 #define ISSIM_ENAB(sih) FALSE argument
176 #define PMUCTL_ENAB(sih) (BCMPMUCTL) argument
178 #define PMUCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PMU) argument
182 #define AOB_ENAB(sih) (BCMAOBENAB) argument
184 #define AOB_ENAB(sih) ((sih)->ccrev >= 35 ? \ argument
185 ((sih)->cccaps_ext & CC_CAP_EXT_AOB_PRESENT) : 0)
190 #define CCCTL_ENAB(sih) (0) argument
191 #define CCPLL_ENAB(sih) (0) argument
193 #define CCCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PWR_CTL) argument
[all …]
H A Dhndpmu.h40 extern uint32 si_pmu_rsrc_macphy_clk_deps(si_t *sih, osl_t *osh, int maccore_index);
41 extern uint32 si_pmu_rsrc_ht_avail_clk_deps(si_t *sih, osl_t *osh);
43 extern void si_pmu_otp_power(si_t *sih, osl_t *osh, bool on, uint32* min_res_mask);
44 extern void si_sdiod_drive_strength_init(si_t *sih, osl_t *osh, uint32 drivestrength);
46 extern void si_pmu_slow_clk_reinit(si_t *sih, osl_t *osh);
47 extern void si_pmu_avbtimer_enable(si_t *sih, osl_t *osh, bool set_flag);
48 extern uint32 si_pmu_dump_pmucap_binary(si_t *sih, uchar *p);
49 extern uint32 si_pmu_dump_buf_size_pmucap(si_t *sih);
50 extern int si_pmu_wait_for_steady_state(si_t *sih, osl_t *osh, pmuregs_t *pmu);
51 extern uint32 si_pmu_wake_bit_offset(si_t *sih);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dsiutils.h167 #define ISSIM_ENAB(sih) TRUE argument
169 #define ISSIM_ENAB(sih) FALSE argument
176 #define PMUCTL_ENAB(sih) (BCMPMUCTL) argument
178 #define PMUCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PMU) argument
182 #define AOB_ENAB(sih) (BCMAOBENAB) argument
184 #define AOB_ENAB(sih) ((sih)->ccrev >= 35 ? \ argument
185 ((sih)->cccaps_ext & CC_CAP_EXT_AOB_PRESENT) : 0)
190 #define CCCTL_ENAB(sih) (0) argument
191 #define CCPLL_ENAB(sih) (0) argument
193 #define CCCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PWR_CTL) argument
[all …]
H A Dhndpmu.h40 extern uint32 si_pmu_rsrc_macphy_clk_deps(si_t *sih, osl_t *osh, int maccore_index);
41 extern uint32 si_pmu_rsrc_ht_avail_clk_deps(si_t *sih, osl_t *osh);
43 extern void si_pmu_otp_power(si_t *sih, osl_t *osh, bool on, uint32* min_res_mask);
44 extern void si_sdiod_drive_strength_init(si_t *sih, osl_t *osh, uint32 drivestrength);
46 extern void si_pmu_slow_clk_reinit(si_t *sih, osl_t *osh);
47 extern void si_pmu_avbtimer_enable(si_t *sih, osl_t *osh, bool set_flag);
48 extern uint32 si_pmu_dump_pmucap_binary(si_t *sih, uchar *p);
49 extern uint32 si_pmu_dump_buf_size_pmucap(si_t *sih);
50 extern int si_pmu_wait_for_steady_state(si_t *sih, osl_t *osh, pmuregs_t *pmu);
51 extern uint32 si_pmu_wake_bit_offset(si_t *sih);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dsiutils.h158 #define ISSIM_ENAB(sih) FALSE argument
164 #define PMUCTL_ENAB(sih) (BCMPMUCTL) argument
166 #define PMUCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PMU) argument
170 #define AOB_ENAB(sih) (BCMAOBENAB) argument
172 #define AOB_ENAB(sih) ((sih)->ccrev >= 35 ? \ argument
173 ((sih)->cccaps_ext & CC_CAP_EXT_AOB_PRESENT) : 0)
178 #define CCCTL_ENAB(sih) (0) argument
179 #define CCPLL_ENAB(sih) (0) argument
181 #define CCCTL_ENAB(sih) ((sih)->cccaps & CC_CAP_PWR_CTL) argument
182 #define CCPLL_ENAB(sih) ((sih)->cccaps & CC_CAP_PLL_MASK) argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dsiutils.c147 static void si_43012_lp_enable(si_t *sih);
160 static char *si_devpathvar(const si_t *sih, char *var, int len, const char *name);
161 static char *si_pcie_devpathvar(const si_t *sih, char *var, int len, const char *name);
169 static void si_gci_enable_gpioint(si_t *sih, bool enable);
171 static chipcregs_t * seci_set_core(si_t *sih, uint32 *origidx, bool *fast);
177 static void si_oob_war_BT_F1(si_t *sih);
187 static void si_wci2_rxfifo_intr_handler_process(si_t *sih, uint32 intstatus);
444 si_get_pmu_reg_addr(si_t *sih, uint32 offset) in si_get_pmu_reg_addr() argument
446 si_info_t *sii = SI_INFO(sih); in si_get_pmu_reg_addr()
465 si_setcoreidx(sih, origidx); in si_get_pmu_reg_addr()
[all …]
H A Dhndpmu.c142 static void si_pmu_chipcontrol_xtal_settings_4369(si_t *sih);
143 static void si_pmu_chipcontrol_xtal_settings_4362(si_t *sih);
144 static void si_pmu_chipcontrol_xtal_settings_4378(si_t *sih);
147 static void si_pmu1_pllinit1(si_t *sih, osl_t *osh, pmuregs_t *pmu, uint32 xtal);
148 static void si_pmu_pll_off(si_t *sih, osl_t *osh, pmuregs_t *pmu, uint32 *min_mask,
150 static void si_pmu_pll_on(si_t *sih, osl_t *osh, pmuregs_t *pmu, uint32 min_mask,
152 static void si_pmu_otp_pllcontrol(si_t *sih, osl_t *osh);
153 static void si_pmu_otp_vreg_control(si_t *sih, osl_t *osh);
154 static void si_pmu_otp_chipcontrol(si_t *sih, osl_t *osh);
155 static uint32 si_pmu_def_alp_clock(si_t *sih, osl_t *osh);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dsiutils.c147 static void si_43012_lp_enable(si_t *sih);
160 static char *si_devpathvar(const si_t *sih, char *var, int len, const char *name);
161 static char *si_pcie_devpathvar(const si_t *sih, char *var, int len, const char *name);
169 static void si_gci_enable_gpioint(si_t *sih, bool enable);
171 static chipcregs_t * seci_set_core(si_t *sih, uint32 *origidx, bool *fast);
177 static void si_oob_war_BT_F1(si_t *sih);
187 static void si_wci2_rxfifo_intr_handler_process(si_t *sih, uint32 intstatus);
444 si_get_pmu_reg_addr(si_t *sih, uint32 offset) in si_get_pmu_reg_addr() argument
446 si_info_t *sii = SI_INFO(sih); in si_get_pmu_reg_addr()
465 si_setcoreidx(sih, origidx); in si_get_pmu_reg_addr()
[all …]
H A Dhndpmu.c142 static void si_pmu_chipcontrol_xtal_settings_4369(si_t *sih);
143 static void si_pmu_chipcontrol_xtal_settings_4362(si_t *sih);
144 static void si_pmu_chipcontrol_xtal_settings_4378(si_t *sih);
147 static void si_pmu1_pllinit1(si_t *sih, osl_t *osh, pmuregs_t *pmu, uint32 xtal);
148 static void si_pmu_pll_off(si_t *sih, osl_t *osh, pmuregs_t *pmu, uint32 *min_mask,
150 static void si_pmu_pll_on(si_t *sih, osl_t *osh, pmuregs_t *pmu, uint32 min_mask,
152 static void si_pmu_otp_pllcontrol(si_t *sih, osl_t *osh);
153 static void si_pmu_otp_vreg_control(si_t *sih, osl_t *osh);
154 static void si_pmu_otp_chipcontrol(si_t *sih, osl_t *osh);
155 static uint32 si_pmu_def_alp_clock(si_t *sih, osl_t *osh);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dsiutils.c343 si_get_pmu_reg_addr(si_t *sih, uint32 offset) in si_get_pmu_reg_addr() argument
345 si_info_t *sii = SI_INFO(sih); in si_get_pmu_reg_addr()
361 si_setcoreidx(sih, origidx); in si_get_pmu_reg_addr()
363 pmuaddr = SI_ENUM_BASE(sih) + offset; in si_get_pmu_reg_addr()
378 struct si_pub *sih = &sii->pub; in si_buscore_setup() local
401 if (!sih->chipidpresent) { in si_buscore_setup()
413 struct si_pub *sih = &sii->pub; in si_buscore_setup() local
425 sii->pub.gcirev = si_corereg(sih, GCI_CORE_IDX(sih), in si_buscore_setup()
426 GCI_OFFSETOF(sih, gci_corecaps0), 0, 0) & in si_buscore_setup()
555 si_chipid(si_t *sih) in si_chipid() argument
[all …]
H A Dhndpmu.c103 si_sdiod_drive_strength_init(si_t *sih, osl_t *osh, uint32 drivestrength) in si_sdiod_drive_strength_init() argument
114 UNUSED_PARAMETER(sih); in si_sdiod_drive_strength_init()
120 si_switch_pmu_dependency(si_t *sih, uint mode) in si_switch_pmu_dependency() argument
123 osl_t *osh = si_osh(sih); in si_switch_pmu_dependency()
133 origidx = si_coreidx(sih); in si_switch_pmu_dependency()
134 if (AOB_ENAB(sih)) { in si_switch_pmu_dependency()
135 pmu = si_setcore(sih, PMU_CORE_ID, 0); in si_switch_pmu_dependency()
136 cc = si_setcore(sih, CC_CORE_ID, 0); in si_switch_pmu_dependency()
138 pmu = si_setcoreidx(sih, SI_CC_IDX); in si_switch_pmu_dependency()
139 cc = si_setcoreidx(sih, SI_CC_IDX); in si_switch_pmu_dependency()
[all …]
H A Dhndlhl.c56 si_lhl_setup(si_t *sih, osl_t *osh) in si_lhl_setup() argument
58 if (CHIPID(sih->chip) == BCM43012_CHIP_ID) { in si_lhl_setup()
61 LHL_REG(sih, lhl_top_pwrseq_ctl_adr, LHL_PWRSEQ_CTL, PMU_SLEEP_MODE_0); in si_lhl_setup()
63 LHL_REG(sih, lhl_top_pwrseq_ctl_adr, LHL_PWRSEQ_CTL, PMU_SLEEP_MODE_2); in si_lhl_setup()
68 LHL_REG(sih, lhl_top_pwrup_ctl_adr, LHL_PWRUP_CTL_MASK, LHL_PWRUP_CTL); in si_lhl_setup()
69 LHL_REG(sih, lhl_top_pwrup2_ctl_adr, LHL_PWRUP2_CTL_MASK, LHL_PWRUP2_CTL); in si_lhl_setup()
70 LHL_REG(sih, lhl_top_pwrdn_ctl_adr, LHL_PWRDN_CTL_MASK, LHL_PWRDN_SLEEP_CNT); in si_lhl_setup()
71 LHL_REG(sih, lhl_top_pwrdn2_ctl_adr, LHL_PWRDN2_CTL_MASK, LHL_PWRDN2_CTL); in si_lhl_setup()
72 } else if (BCM4347_CHIP(sih->chip)) { in si_lhl_setup()
73 if (LHL_IS_PSMODE_1(sih)) { in si_lhl_setup()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dsiutils.c342 si_get_pmu_reg_addr(si_t *sih, uint32 offset) in si_get_pmu_reg_addr() argument
344 si_info_t *sii = SI_INFO(sih); in si_get_pmu_reg_addr()
360 si_setcoreidx(sih, origidx); in si_get_pmu_reg_addr()
362 pmuaddr = SI_ENUM_BASE(sih) + offset; in si_get_pmu_reg_addr()
377 struct si_pub *sih = &sii->pub; in si_buscore_setup() local
400 if (!sih->chipidpresent) { in si_buscore_setup()
412 struct si_pub *sih = &sii->pub; in si_buscore_setup() local
424 sii->pub.gcirev = si_corereg(sih, GCI_CORE_IDX(sih), in si_buscore_setup()
425 GCI_OFFSETOF(sih, gci_corecaps0), 0, 0) & in si_buscore_setup()
554 si_chipid(si_t *sih) in si_chipid() argument
[all …]
H A Dhndpmu.c103 si_sdiod_drive_strength_init(si_t *sih, osl_t *osh, uint32 drivestrength) in si_sdiod_drive_strength_init() argument
114 UNUSED_PARAMETER(sih); in si_sdiod_drive_strength_init()
120 si_switch_pmu_dependency(si_t *sih, uint mode) in si_switch_pmu_dependency() argument
123 osl_t *osh = si_osh(sih); in si_switch_pmu_dependency()
133 origidx = si_coreidx(sih); in si_switch_pmu_dependency()
134 if (AOB_ENAB(sih)) { in si_switch_pmu_dependency()
135 pmu = si_setcore(sih, PMU_CORE_ID, 0); in si_switch_pmu_dependency()
136 cc = si_setcore(sih, CC_CORE_ID, 0); in si_switch_pmu_dependency()
138 pmu = si_setcoreidx(sih, SI_CC_IDX); in si_switch_pmu_dependency()
139 cc = si_setcoreidx(sih, SI_CC_IDX); in si_switch_pmu_dependency()
[all …]
H A Dhndlhl.c56 si_lhl_setup(si_t *sih, osl_t *osh) in si_lhl_setup() argument
58 if (CHIPID(sih->chip) == BCM43012_CHIP_ID) { in si_lhl_setup()
61 LHL_REG(sih, lhl_top_pwrseq_ctl_adr, LHL_PWRSEQ_CTL, PMU_SLEEP_MODE_0); in si_lhl_setup()
63 LHL_REG(sih, lhl_top_pwrseq_ctl_adr, LHL_PWRSEQ_CTL, PMU_SLEEP_MODE_2); in si_lhl_setup()
68 LHL_REG(sih, lhl_top_pwrup_ctl_adr, LHL_PWRUP_CTL_MASK, LHL_PWRUP_CTL); in si_lhl_setup()
69 LHL_REG(sih, lhl_top_pwrup2_ctl_adr, LHL_PWRUP2_CTL_MASK, LHL_PWRUP2_CTL); in si_lhl_setup()
70 LHL_REG(sih, lhl_top_pwrdn_ctl_adr, LHL_PWRDN_CTL_MASK, LHL_PWRDN_SLEEP_CNT); in si_lhl_setup()
71 LHL_REG(sih, lhl_top_pwrdn2_ctl_adr, LHL_PWRDN2_CTL_MASK, LHL_PWRDN2_CTL); in si_lhl_setup()
72 } else if (BCM4347_CHIP(sih->chip)) { in si_lhl_setup()
73 if (LHL_IS_PSMODE_1(sih)) { in si_lhl_setup()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dsiutils.c343 si_get_pmu_reg_addr(si_t *sih, uint32 offset) in si_get_pmu_reg_addr() argument
345 si_info_t *sii = SI_INFO(sih); in si_get_pmu_reg_addr()
361 si_setcoreidx(sih, origidx); in si_get_pmu_reg_addr()
363 pmuaddr = SI_ENUM_BASE(sih) + offset; in si_get_pmu_reg_addr()
378 struct si_pub *sih = &sii->pub; in si_buscore_setup() local
401 if (!sih->chipidpresent) { in si_buscore_setup()
413 struct si_pub *sih = &sii->pub; in si_buscore_setup() local
425 sii->pub.gcirev = si_corereg(sih, GCI_CORE_IDX(sih), in si_buscore_setup()
426 GCI_OFFSETOF(sih, gci_corecaps0), 0, 0) & in si_buscore_setup()
555 si_chipid(si_t *sih) in si_chipid() argument
[all …]
H A Dhndpmu.c103 si_sdiod_drive_strength_init(si_t *sih, osl_t *osh, uint32 drivestrength) in si_sdiod_drive_strength_init() argument
114 UNUSED_PARAMETER(sih); in si_sdiod_drive_strength_init()
120 si_switch_pmu_dependency(si_t *sih, uint mode) in si_switch_pmu_dependency() argument
123 osl_t *osh = si_osh(sih); in si_switch_pmu_dependency()
133 origidx = si_coreidx(sih); in si_switch_pmu_dependency()
134 if (AOB_ENAB(sih)) { in si_switch_pmu_dependency()
135 pmu = si_setcore(sih, PMU_CORE_ID, 0); in si_switch_pmu_dependency()
136 cc = si_setcore(sih, CC_CORE_ID, 0); in si_switch_pmu_dependency()
138 pmu = si_setcoreidx(sih, SI_CC_IDX); in si_switch_pmu_dependency()
139 cc = si_setcoreidx(sih, SI_CC_IDX); in si_switch_pmu_dependency()
[all …]
H A Dhndlhl.c56 si_lhl_setup(si_t *sih, osl_t *osh) in si_lhl_setup() argument
58 if (CHIPID(sih->chip) == BCM43012_CHIP_ID) { in si_lhl_setup()
61 LHL_REG(sih, lhl_top_pwrseq_ctl_adr, LHL_PWRSEQ_CTL, PMU_SLEEP_MODE_0); in si_lhl_setup()
63 LHL_REG(sih, lhl_top_pwrseq_ctl_adr, LHL_PWRSEQ_CTL, PMU_SLEEP_MODE_2); in si_lhl_setup()
68 LHL_REG(sih, lhl_top_pwrup_ctl_adr, LHL_PWRUP_CTL_MASK, LHL_PWRUP_CTL); in si_lhl_setup()
69 LHL_REG(sih, lhl_top_pwrup2_ctl_adr, LHL_PWRUP2_CTL_MASK, LHL_PWRUP2_CTL); in si_lhl_setup()
70 LHL_REG(sih, lhl_top_pwrdn_ctl_adr, LHL_PWRDN_CTL_MASK, LHL_PWRDN_SLEEP_CNT); in si_lhl_setup()
71 LHL_REG(sih, lhl_top_pwrdn2_ctl_adr, LHL_PWRDN2_CTL_MASK, LHL_PWRDN2_CTL); in si_lhl_setup()
72 } else if (BCM4347_CHIP(sih->chip)) { in si_lhl_setup()
73 if (LHL_IS_PSMODE_1(sih)) { in si_lhl_setup()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dsiutils.c280 si_get_pmu_reg_addr(si_t *sih, uint32 offset) in si_get_pmu_reg_addr() argument
282 si_info_t *sii = SI_INFO(sih); in si_get_pmu_reg_addr()
298 si_setcoreidx(sih, origidx); in si_get_pmu_reg_addr()
344 struct si_pub *sih = &sii->pub; in si_buscore_setup() local
356 sii->pub.gcirev = si_corereg(sih, in si_buscore_setup()
357 GCI_CORE_IDX(sih), in si_buscore_setup()
358 GCI_OFFSETOF(sih, gci_corecaps0), 0, 0) & GCI_CAP0_REV_MASK; in si_buscore_setup()
502 si_chipid(si_t *sih) in si_chipid() argument
504 si_info_t *sii = SI_INFO(sih); in si_chipid()
506 return (sii->chipnew) ? sii->chipnew : sih->chip; in si_chipid()
[all …]

12345678