Lines Matching refs:ifidx
53 char *brcmf_ifname(struct brcmf_pub *drvr, int ifidx) in brcmf_ifname() argument
55 if (ifidx < 0 || ifidx >= BRCMF_MAX_IFS) { in brcmf_ifname()
56 brcmf_err("ifidx %d out of range\n", ifidx); in brcmf_ifname()
60 if (drvr->iflist[ifidx] == NULL) { in brcmf_ifname()
61 brcmf_err("null i/f %d\n", ifidx); in brcmf_ifname()
65 if (drvr->iflist[ifidx]->ndev) in brcmf_ifname()
66 return drvr->iflist[ifidx]->ndev->name; in brcmf_ifname()
280 u8 ifidx; in brcmf_rx_frames() local
289 ret = brcmf_proto_hdrpull(drvr, drvr->fw_signals, &ifidx, skb); in brcmf_rx_frames()
290 ifp = drvr->iflist[ifidx]; in brcmf_rx_frames()
355 u8 ifidx; in brcmf_txfinalize() local
359 res = brcmf_proto_hdrpull(drvr, false, &ifidx, txp); in brcmf_txfinalize()
361 ifp = drvr->iflist[ifidx]; in brcmf_txfinalize()
732 struct brcmf_if *brcmf_add_if(struct brcmf_pub *drvr, s32 bssidx, s32 ifidx, in brcmf_add_if() argument
738 brcmf_dbg(TRACE, "Enter, idx=%d, ifidx=%d\n", bssidx, ifidx); in brcmf_add_if()
748 if (ifidx) { in brcmf_add_if()
778 ifp->ifidx = ifidx; in brcmf_add_if()
802 brcmf_dbg(TRACE, "Enter, idx=%d, ifidx=%d\n", bssidx, ifp->ifidx); in brcmf_del_if()