Lines Matching refs:ifidx
546 u32 ifidx = brcmf_skb_if_flags_get_field(skb, INDEX); in brcmf_fws_ifidx_match() local
547 return ifidx == *(int *)arg; in brcmf_fws_ifidx_match()
622 int ifidx) in brcmf_fws_psq_flush() argument
630 if (ifidx != -1) in brcmf_fws_psq_flush()
633 skb = brcmu_pktq_pdeq_match(q, prec, matchfn, &ifidx); in brcmf_fws_psq_flush()
642 skb = brcmu_pktq_pdeq_match(q, prec, matchfn, &ifidx); in brcmf_fws_psq_flush()
664 int ifidx) in brcmf_fws_hanger_cleanup() argument
676 if (fn == NULL || fn(skb, &ifidx)) { in brcmf_fws_hanger_cleanup()
701 u8 *addr, u8 ifidx) in brcmf_fws_macdesc_init() argument
704 "enter: desc %p ea=%pM, ifidx=%u\n", desc, addr, ifidx); in brcmf_fws_macdesc_init()
710 desc->interface_id = ifidx; in brcmf_fws_macdesc_init()
798 int ifidx) in brcmf_fws_macdesc_cleanup() argument
800 if (entry->occupied && (ifidx == -1 || ifidx == entry->interface_id)) { in brcmf_fws_macdesc_cleanup()
801 brcmf_fws_psq_flush(fws, &entry->psq, ifidx); in brcmf_fws_macdesc_cleanup()
808 int ifidx) in brcmf_fws_bus_txq_cleanup() argument
823 skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); in brcmf_fws_bus_txq_cleanup()
830 skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); in brcmf_fws_bus_txq_cleanup()
835 static void brcmf_fws_cleanup(struct brcmf_fws_info *fws, int ifidx) in brcmf_fws_cleanup() argument
844 if (ifidx != -1) in brcmf_fws_cleanup()
850 brcmf_fws_macdesc_cleanup(fws, &table[i], ifidx); in brcmf_fws_cleanup()
852 brcmf_fws_macdesc_cleanup(fws, &fws->desc.other, ifidx); in brcmf_fws_cleanup()
853 brcmf_fws_bus_txq_cleanup(fws, matchfn, ifidx); in brcmf_fws_cleanup()
854 brcmf_fws_hanger_cleanup(fws, matchfn, ifidx); in brcmf_fws_cleanup()
918 int ifidx; in brcmf_fws_tim_update() local
947 ifidx = brcmf_skb_if_flags_get_field(skb, INDEX); in brcmf_fws_tim_update()
949 err = brcmf_proto_txdata(fws->drvr, ifidx, data_offset, skb); in brcmf_fws_tim_update()
990 u8 ifidx; in brcmf_fws_macdesc_indicate() local
994 ifidx = *data++; in brcmf_fws_macdesc_indicate()
1016 brcmf_fws_macdesc_init(entry, addr, ifidx); in brcmf_fws_macdesc_indicate()
1082 u8 ifidx; in brcmf_fws_interface_state_indicate() local
1085 ifidx = data[0]; in brcmf_fws_interface_state_indicate()
1087 if (ifidx >= BRCMF_MAX_IFS) { in brcmf_fws_interface_state_indicate()
1092 entry = &fws->desc.iface[ifidx]; in brcmf_fws_interface_state_indicate()
1853 ifp->ifidx, skb->len, siglen); in brcmf_fws_hdrpull()
2056 u8 ifidx; in brcmf_fws_commit_skb() local
2067 ifidx = brcmf_skb_if_flags_get_field(skb, INDEX); in brcmf_fws_commit_skb()
2069 rc = brcmf_proto_txdata(fws->drvr, ifidx, data_offset, skb); in brcmf_fws_commit_skb()
2128 brcmf_skb_if_flags_set_field(skb, INDEX, ifp->ifidx); in brcmf_fws_process_skb()
2162 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_reset_interface()
2173 entry = &fws->desc.iface[ifp->ifidx]; in brcmf_fws_add_interface()
2175 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_add_interface()
2193 brcmf_fws_macdesc_cleanup(fws, &fws->desc.iface[ifp->ifidx], in brcmf_fws_del_interface()
2194 ifp->ifidx); in brcmf_fws_del_interface()
2196 brcmf_fws_cleanup(fws, ifp->ifidx); in brcmf_fws_del_interface()
2207 u32 ifidx; in brcmf_fws_dequeue_worker() local
2222 ifidx = brcmf_skb_if_flags_get_field(skb, in brcmf_fws_dequeue_worker()
2226 ret = brcmf_proto_txdata(drvr, ifidx, 0, skb); in brcmf_fws_dequeue_worker()
2230 ifidx), in brcmf_fws_dequeue_worker()