Lines Matching full:ifp
97 struct brcmf_if *ifp, in brcmf_fweh_call_event_handler() argument
105 if (ifp) { in brcmf_fweh_call_event_handler()
106 fweh = ifp->drvr->fweh; in brcmf_fweh_call_event_handler()
110 err = fweh->evt_handler[fwcode](ifp, emsg, data); in brcmf_fweh_call_event_handler()
131 struct brcmf_if *ifp; in brcmf_fweh_handle_if_event() local
156 ifp = drvr->iflist[ifevent->bsscfgidx]; in brcmf_fweh_handle_if_event()
161 ifp = brcmf_add_if(drvr, ifevent->bsscfgidx, ifevent->ifidx, in brcmf_fweh_handle_if_event()
163 if (IS_ERR(ifp)) in brcmf_fweh_handle_if_event()
166 brcmf_proto_add_if(drvr, ifp); in brcmf_fweh_handle_if_event()
168 if (brcmf_net_attach(ifp, false) < 0) in brcmf_fweh_handle_if_event()
172 if (ifp && ifevent->action == BRCMF_E_IF_CHANGE) in brcmf_fweh_handle_if_event()
173 brcmf_proto_reset_if(drvr, ifp); in brcmf_fweh_handle_if_event()
175 brcmf_fweh_call_event_handler(drvr, ifp, emsg->event_code, emsg, in brcmf_fweh_handle_if_event()
178 if (ifp && ifevent->action == BRCMF_E_IF_DEL) { in brcmf_fweh_handle_if_event()
183 brcmf_remove_interface(ifp, false); in brcmf_fweh_handle_if_event()
256 struct brcmf_if *ifp; in brcmf_fweh_event_worker() local
307 ifp = drvr->iflist[0]; in brcmf_fweh_event_worker()
309 ifp = drvr->iflist[emsg.bsscfgidx]; in brcmf_fweh_event_worker()
310 err = brcmf_fweh_call_event_handler(drvr, ifp, event->code, in brcmf_fweh_event_worker()
325 * @ifp: ifp on which setup is taking place or finished.
328 void brcmf_fweh_p2pdev_setup(struct brcmf_if *ifp, bool ongoing) in brcmf_fweh_p2pdev_setup() argument
330 ifp->drvr->fweh->p2pdev_setup_ongoing = ongoing; in brcmf_fweh_p2pdev_setup()
429 * @ifp: primary interface object.
431 int brcmf_fweh_activate_events(struct brcmf_if *ifp) in brcmf_fweh_activate_events() argument
433 struct brcmf_fweh_info *fweh = ifp->drvr->fweh; in brcmf_fweh_activate_events()
451 err = brcmf_fil_iovar_data_set(ifp, "event_msgs", fweh->event_mask, in brcmf_fweh_activate_events()