Lines Matching refs:ifidx
151 brcmf_proto_cdc_query_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, in brcmf_proto_cdc_query_dcmd() argument
168 (ifidx << CDC_DCMD_IF_SHIFT); in brcmf_proto_cdc_query_dcmd()
194 brcmf_ifname(drvr, ifidx), id, prot->reqid); in brcmf_proto_cdc_query_dcmd()
217 int brcmf_proto_cdc_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, in brcmf_proto_cdc_set_dcmd() argument
233 (ifidx << CDC_DCMD_IF_SHIFT); in brcmf_proto_cdc_set_dcmd()
252 brcmf_ifname(drvr, ifidx), id, prot->reqid); in brcmf_proto_cdc_set_dcmd()
275 void brcmf_proto_hdrpush(struct brcmf_pub *drvr, int ifidx, u8 offset, in brcmf_proto_hdrpush() argument
294 BDC_SET_IF_IDX(h, ifidx); in brcmf_proto_hdrpush()
297 int brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws, u8 *ifidx, in brcmf_proto_hdrpull() argument
314 *ifidx = BDC_GET_IF_IDX(h); in brcmf_proto_hdrpull()
315 if (*ifidx >= BRCMF_MAX_IFS) { in brcmf_proto_hdrpull()
316 brcmf_err("rx data ifnum out of range (%d)\n", *ifidx); in brcmf_proto_hdrpull()
325 if (*ifidx) in brcmf_proto_hdrpull()
326 (*ifidx)++; in brcmf_proto_hdrpull()
331 brcmf_ifname(drvr, *ifidx), h->flags); in brcmf_proto_hdrpull()
337 brcmf_ifname(drvr, *ifidx), h->flags); in brcmf_proto_hdrpull()
345 brcmf_fws_hdrpull(drvr, *ifidx, h->data_offset << 2, pktbuf); in brcmf_proto_hdrpull()