Home
last modified time | relevance | path

Searched refs:physhim (Results 1 – 9 of 9) sorted by relevance

/drivers/net/wireless/brcm80211/brcmsmac/
Dphy_shim.c41 struct phy_shim_info *physhim = NULL; in wlc_phy_shim_attach() local
43 physhim = kzalloc(sizeof(struct phy_shim_info), GFP_ATOMIC); in wlc_phy_shim_attach()
44 if (!physhim) in wlc_phy_shim_attach()
47 physhim->wlc_hw = wlc_hw; in wlc_phy_shim_attach()
48 physhim->wlc = wlc; in wlc_phy_shim_attach()
49 physhim->wl = wl; in wlc_phy_shim_attach()
51 return physhim; in wlc_phy_shim_attach()
54 void wlc_phy_shim_detach(struct phy_shim_info *physhim) in wlc_phy_shim_detach() argument
56 kfree(physhim); in wlc_phy_shim_detach()
59 struct wlapi_timer *wlapi_init_timer(struct phy_shim_info *physhim, in wlapi_init_timer() argument
[all …]
Dphy_shim.h130 extern void wlc_phy_shim_detach(struct phy_shim_info *physhim);
133 extern struct wlapi_timer *wlapi_init_timer(struct phy_shim_info *physhim,
139 extern void wlapi_intrson(struct phy_shim_info *physhim);
140 extern u32 wlapi_intrsoff(struct phy_shim_info *physhim);
141 extern void wlapi_intrsrestore(struct phy_shim_info *physhim,
144 extern void wlapi_bmac_write_shm(struct phy_shim_info *physhim, uint offset,
146 extern u16 wlapi_bmac_read_shm(struct phy_shim_info *physhim, uint offset);
147 extern void wlapi_bmac_mhf(struct phy_shim_info *physhim, u8 idx,
149 extern void wlapi_bmac_corereset(struct phy_shim_info *physhim, u32 flags);
150 extern void wlapi_suspend_mac_and_wait(struct phy_shim_info *physhim);
[all …]
Dmain.h338 struct phy_shim_info *physhim; /* phy shim layer handler */ member
Dmain.c4561 wlc_hw->physhim = wlc_phy_shim_attach(wlc_hw, wlc->wl, wlc); in brcms_b_attach()
4563 if (wlc_hw->physhim == NULL) { in brcms_b_attach()
4572 sha_params.physhim = wlc_hw->physhim; in brcms_b_attach()
4979 wlc_phy_shim_detach(wlc_hw->physhim); in brcms_b_detach()
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_cmn.c132 wlapi_bmac_ucode_wake_override_phyreg_set(pi->sh->physhim); in wlc_phyreg_enter()
138 wlapi_bmac_ucode_wake_override_phyreg_clear(pi->sh->physhim); in wlc_phyreg_exit()
144 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, MCTL_LOCK_RADIO); in wlc_radioreg_enter()
155 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, 0); in wlc_radioreg_exit()
372 sh->physhim = shp->physhim; in wlc_phy_shared_attach()
449 wlapi_bmac_corereset(pi->sh->physhim, pi->pubpi.coreflags); in wlc_phy_attach()
472 wlapi_bmac_corereset(pi->sh->physhim, pi->pubpi.coreflags); in wlc_phy_attach()
558 pi->phycal_timer = wlapi_init_timer(pi->sh->physhim, in wlc_phy_attach()
776 wlapi_bmac_bw_set(pi->sh->physhim, in wlc_phy_init()
1008 wlapi_bmac_write_template_ram(pi->sh->physhim, 0, DUMMY_PKT_LEN, in wlc_phy_do_dummy_tx()
[all …]
Dphy_lcn.c149 wlapi_bmac_read_shm((pi)->sh->physhim, M_UCODE_MACSTAT + \
1578 wlapi_switch_macfreq(pi->sh->physhim, enable); in wlc_lcnphy_txrx_spur_avoidance_mode()
2819 wlapi_suspend_mac_and_wait(pi->sh->physhim); in wlc_lcnphy_idle_tssi_est()
2863 wlapi_enable_mac(pi->sh->physhim); in wlc_lcnphy_idle_tssi_est()
2894 wlapi_suspend_mac_and_wait(pi->sh->physhim); in wlc_lcnphy_vbat_temp_sense_setup()
3004 wlapi_enable_mac(pi->sh->physhim); in wlc_lcnphy_vbat_temp_sense_setup()
3021 wlapi_suspend_mac_and_wait(pi->sh->physhim); in wlc_lcnphy_tx_pwr_ctrl_init()
3076 wlapi_enable_mac(pi->sh->physhim); in wlc_lcnphy_tx_pwr_ctrl_init()
3976 wlapi_suspend_mac_and_wait(pi->sh->physhim); in wlc_lcnphy_tempsense_new()
4002 wlapi_enable_mac(pi->sh->physhim); in wlc_lcnphy_tempsense_new()
[all …]
Dphy_n.c14389 struct phy_shim_info *shim = pi->sh->physhim; in wlc_phy_txpwr_srom_read_ppr_nphy()
14667 struct phy_shim_info *shim = pi->sh->physhim; in wlc_phy_txpwr_srom_read_nphy()
17159 wlapi_bmac_mhf(pi->sh->physhim, MHF4, in wlc_phy_workarounds_nphy()
17225 wlapi_bmac_mhf(pi->sh->physhim, MHF3, in wlc_phy_workarounds_nphy()
17806 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK); in wlc_phy_txpwrctrl_pwr_setup_nphy()
17822 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0); in wlc_phy_txpwrctrl_pwr_setup_nphy()
17938 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK); in wlc_phy_txpwrctrl_pwr_setup_nphy()
17958 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0); in wlc_phy_txpwrctrl_pwr_setup_nphy()
18814 wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0); in wlc_phy_tx_iq_war_nphy()
18815 wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0); in wlc_phy_tx_iq_war_nphy()
[all …]
Dphy_hal.h166 struct phy_shim_info *physhim; member
Dphy_int.h492 struct phy_shim_info *physhim; member