Lines Matching full:ifp
97 brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set) in brcmf_fil_cmd_data() argument
99 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_cmd_data()
110 err = brcmf_proto_set_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
113 err = brcmf_proto_query_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
123 if (ifp->fwil_fwerr) in brcmf_fil_cmd_data()
130 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_set() argument
134 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
136 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d\n", ifp->ifidx, cmd, len); in brcmf_fil_cmd_data_set()
140 err = brcmf_fil_cmd_data(ifp, cmd, data, len, true); in brcmf_fil_cmd_data_set()
141 mutex_unlock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
148 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_get() argument
152 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_get()
153 err = brcmf_fil_cmd_data(ifp, cmd, data, len, false); in brcmf_fil_cmd_data_get()
155 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d, err=%d\n", ifp->ifidx, cmd, in brcmf_fil_cmd_data_get()
160 mutex_unlock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_get()
188 brcmf_fil_iovar_data_set(struct brcmf_if *ifp, const char *name, const void *data, in brcmf_fil_iovar_data_set() argument
191 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_set()
197 brcmf_dbg(FIL, "ifidx=%d, name=%s, len=%d\n", ifp->ifidx, name, len); in brcmf_fil_iovar_data_set()
204 err = brcmf_fil_cmd_data(ifp, BRCMF_C_SET_VAR, drvr->proto_buf, in brcmf_fil_iovar_data_set()
217 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, const char *name, void *data, in brcmf_fil_iovar_data_get() argument
220 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_iovar_data_get()
229 err = brcmf_fil_cmd_data(ifp, BRCMF_C_GET_VAR, drvr->proto_buf, in brcmf_fil_iovar_data_get()
238 brcmf_dbg(FIL, "ifidx=%d, name=%s, len=%d, err=%d\n", ifp->ifidx, name, in brcmf_fil_iovar_data_get()
294 brcmf_fil_bsscfg_data_set(struct brcmf_if *ifp, const char *name, in brcmf_fil_bsscfg_data_set() argument
297 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_bsscfg_data_set()
303 brcmf_dbg(FIL, "ifidx=%d, bsscfgidx=%d, name=%s, len=%d\n", ifp->ifidx, in brcmf_fil_bsscfg_data_set()
304 ifp->bsscfgidx, name, len); in brcmf_fil_bsscfg_data_set()
308 buflen = brcmf_create_bsscfg(ifp->bsscfgidx, name, data, len, in brcmf_fil_bsscfg_data_set()
311 err = brcmf_fil_cmd_data(ifp, BRCMF_C_SET_VAR, drvr->proto_buf, in brcmf_fil_bsscfg_data_set()
324 brcmf_fil_bsscfg_data_get(struct brcmf_if *ifp, const char *name, in brcmf_fil_bsscfg_data_get() argument
327 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_bsscfg_data_get()
333 buflen = brcmf_create_bsscfg(ifp->bsscfgidx, name, data, len, in brcmf_fil_bsscfg_data_get()
336 err = brcmf_fil_cmd_data(ifp, BRCMF_C_GET_VAR, drvr->proto_buf, in brcmf_fil_bsscfg_data_get()
345 ifp->ifidx, ifp->bsscfgidx, name, len, err); in brcmf_fil_bsscfg_data_get()
375 s32 brcmf_fil_xtlv_data_set(struct brcmf_if *ifp, const char *name, u16 id, in brcmf_fil_xtlv_data_set() argument
378 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_xtlv_data_set()
384 brcmf_dbg(FIL, "ifidx=%d, name=%s, id=%u, len=%u\n", ifp->ifidx, name, in brcmf_fil_xtlv_data_set()
392 err = brcmf_fil_cmd_data(ifp, BRCMF_C_SET_VAR, drvr->proto_buf, in brcmf_fil_xtlv_data_set()
404 s32 brcmf_fil_xtlv_data_get(struct brcmf_if *ifp, const char *name, u16 id, in brcmf_fil_xtlv_data_get() argument
407 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_xtlv_data_get()
416 err = brcmf_fil_cmd_data(ifp, BRCMF_C_GET_VAR, drvr->proto_buf, in brcmf_fil_xtlv_data_get()
425 ifp->ifidx, name, id, len, err); in brcmf_fil_xtlv_data_get()