Lines Matching refs:pri_ifp
465 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac() local
473 if (pri_ifp->mac_addr[0] & 0x02) { in brcmf_p2p_generate_bss_mac()
476 dev_addr = pri_ifp->mac_addr; in brcmf_p2p_generate_bss_mac()
2157 struct brcmf_if *pri_ifp; in brcmf_p2p_create_p2pdev() local
2170 pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_create_p2pdev()
2173 if (addr && ether_addr_equal(addr, pri_ifp->mac_addr)) { in brcmf_p2p_create_p2pdev()
2180 brcmf_p2p_set_firmware(pri_ifp, p2p->dev_addr); in brcmf_p2p_create_p2pdev()
2183 brcmf_fweh_p2pdev_setup(pri_ifp, true); in brcmf_p2p_create_p2pdev()
2186 err = brcmf_fil_iovar_int_set(pri_ifp, "p2p_disc", 1); in brcmf_p2p_create_p2pdev()
2189 brcmf_fweh_p2pdev_setup(pri_ifp, false); in brcmf_p2p_create_p2pdev()
2198 brcmf_fweh_p2pdev_setup(pri_ifp, false); in brcmf_p2p_create_p2pdev()
2212 err = brcmf_fil_iovar_int_get(pri_ifp, "p2p_dev", &bsscfgidx); in brcmf_p2p_create_p2pdev()
2506 struct brcmf_if *pri_ifp; in brcmf_p2p_attach() local
2513 pri_ifp = brcmf_get_ifp(cfg->pub, 0); in brcmf_p2p_attach()
2514 p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif = pri_ifp->vif; in brcmf_p2p_attach()