Lines Matching refs:ifp
103 static s32 brcmf_btcoex_params_write(struct brcmf_if *ifp, u32 addr, u32 data) in brcmf_btcoex_params_write() argument
112 return brcmf_fil_iovar_data_set(ifp, "btc_params", in brcmf_btcoex_params_write()
122 static s32 brcmf_btcoex_params_read(struct brcmf_if *ifp, u32 addr, u32 *data) in brcmf_btcoex_params_read() argument
126 return brcmf_fil_iovar_int_get(ifp, "btc_params", data); in brcmf_btcoex_params_read()
142 struct brcmf_if *ifp = brcmf_get_ifp(btci->cfg->pub, 0); in brcmf_btcoex_boost_wifi() local
151 brcmf_btcoex_params_read(ifp, 50, &btci->reg50); in brcmf_btcoex_boost_wifi()
152 brcmf_btcoex_params_read(ifp, 51, &btci->reg51); in brcmf_btcoex_boost_wifi()
153 brcmf_btcoex_params_read(ifp, 64, &btci->reg64); in brcmf_btcoex_boost_wifi()
154 brcmf_btcoex_params_read(ifp, 65, &btci->reg65); in brcmf_btcoex_boost_wifi()
155 brcmf_btcoex_params_read(ifp, 71, &btci->reg71); in brcmf_btcoex_boost_wifi()
164 brcmf_btcoex_params_write(ifp, 50, BRCMF_BT_DHCP_REG50); in brcmf_btcoex_boost_wifi()
165 brcmf_btcoex_params_write(ifp, 51, BRCMF_BT_DHCP_REG51); in brcmf_btcoex_boost_wifi()
166 brcmf_btcoex_params_write(ifp, 64, BRCMF_BT_DHCP_REG64); in brcmf_btcoex_boost_wifi()
167 brcmf_btcoex_params_write(ifp, 65, BRCMF_BT_DHCP_REG65); in brcmf_btcoex_boost_wifi()
168 brcmf_btcoex_params_write(ifp, 71, BRCMF_BT_DHCP_REG71); in brcmf_btcoex_boost_wifi()
173 brcmf_btcoex_params_write(ifp, 50, btci->reg50); in brcmf_btcoex_boost_wifi()
174 brcmf_btcoex_params_write(ifp, 51, btci->reg51); in brcmf_btcoex_boost_wifi()
175 brcmf_btcoex_params_write(ifp, 64, btci->reg64); in brcmf_btcoex_boost_wifi()
176 brcmf_btcoex_params_write(ifp, 65, btci->reg65); in brcmf_btcoex_boost_wifi()
177 brcmf_btcoex_params_write(ifp, 71, btci->reg71); in brcmf_btcoex_boost_wifi()
196 static bool brcmf_btcoex_is_sco_active(struct brcmf_if *ifp) in brcmf_btcoex_is_sco_active() argument
205 ioc_res = brcmf_btcoex_params_read(ifp, 27, ¶m27); in brcmf_btcoex_is_sco_active()
235 struct brcmf_if *ifp = btci->vif->ifp; in btcmf_btcoex_save_part1() local
239 brcmf_btcoex_params_read(ifp, 66, &btci->reg66); in btcmf_btcoex_save_part1()
240 brcmf_btcoex_params_read(ifp, 41, &btci->reg41); in btcmf_btcoex_save_part1()
241 brcmf_btcoex_params_read(ifp, 68, &btci->reg68); in btcmf_btcoex_save_part1()
255 struct brcmf_if *ifp; in brcmf_btcoex_restore_part1() local
259 ifp = btci->vif->ifp; in brcmf_btcoex_restore_part1()
260 brcmf_btcoex_params_write(ifp, 66, btci->reg66); in brcmf_btcoex_restore_part1()
261 brcmf_btcoex_params_write(ifp, 41, btci->reg41); in brcmf_btcoex_restore_part1()
262 brcmf_btcoex_params_write(ifp, 68, btci->reg68); in brcmf_btcoex_restore_part1()
411 struct brcmf_if *ifp = btci->vif->ifp; in brcmf_btcoex_dhcp_start() local
415 brcmf_btcoex_params_write(ifp, 66, BRCMF_BT_DHCP_REG66); in brcmf_btcoex_dhcp_start()
416 brcmf_btcoex_params_write(ifp, 41, BRCMF_BT_DHCP_REG41); in brcmf_btcoex_dhcp_start()
417 brcmf_btcoex_params_write(ifp, 68, BRCMF_BT_DHCP_REG68); in brcmf_btcoex_dhcp_start()
456 struct brcmf_if *ifp = brcmf_get_ifp(cfg->pub, 0); in brcmf_btcoex_set_mode() local
464 if (brcmf_btcoex_is_sco_active(ifp)) { in brcmf_btcoex_set_mode()