Lines Matching refs:ifidx

567 	u32 ifidx = brcmf_skb_if_flags_get_field(skb, INDEX);  in brcmf_fws_ifidx_match()  local
568 return ifidx == *(int *)arg; in brcmf_fws_ifidx_match()
572 int ifidx) in brcmf_fws_psq_flush() argument
578 if (ifidx != -1) in brcmf_fws_psq_flush()
581 skb = brcmu_pktq_pdeq_match(q, prec, matchfn, &ifidx); in brcmf_fws_psq_flush()
584 skb = brcmu_pktq_pdeq_match(q, prec, matchfn, &ifidx); in brcmf_fws_psq_flush()
677 int ifidx) in brcmf_fws_hanger_cleanup() argument
689 if (fn == NULL || fn(skb, &ifidx)) { in brcmf_fws_hanger_cleanup()
714 u8 *addr, u8 ifidx) in brcmf_fws_macdesc_init() argument
717 "enter: desc %p ea=%pM, ifidx=%u\n", desc, addr, ifidx); in brcmf_fws_macdesc_init()
723 desc->interface_id = ifidx; in brcmf_fws_macdesc_init()
811 int ifidx) in brcmf_fws_macdesc_cleanup() argument
813 if (entry->occupied && (ifidx == -1 || ifidx == entry->interface_id)) { in brcmf_fws_macdesc_cleanup()
814 brcmf_fws_psq_flush(fws, &entry->psq, ifidx); in brcmf_fws_macdesc_cleanup()
821 int ifidx) in brcmf_fws_bus_txq_cleanup() argument
836 skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); in brcmf_fws_bus_txq_cleanup()
843 skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); in brcmf_fws_bus_txq_cleanup()
848 static void brcmf_fws_cleanup(struct brcmf_fws_info *fws, int ifidx) in brcmf_fws_cleanup() argument
857 if (ifidx != -1) in brcmf_fws_cleanup()
863 brcmf_fws_macdesc_cleanup(fws, &table[i], ifidx); in brcmf_fws_cleanup()
865 brcmf_fws_macdesc_cleanup(fws, &fws->desc.other, ifidx); in brcmf_fws_cleanup()
866 brcmf_fws_bus_txq_cleanup(fws, matchfn, ifidx); in brcmf_fws_cleanup()
867 brcmf_fws_hanger_cleanup(fws, matchfn, ifidx); in brcmf_fws_cleanup()
931 int ifidx; in brcmf_fws_tim_update() local
960 ifidx = brcmf_skb_if_flags_get_field(skb, INDEX); in brcmf_fws_tim_update()
962 err = brcmf_proto_txdata(fws->drvr, ifidx, data_offset, skb); in brcmf_fws_tim_update()
1003 u8 ifidx; in brcmf_fws_macdesc_indicate() local
1007 ifidx = *data++; in brcmf_fws_macdesc_indicate()
1029 brcmf_fws_macdesc_init(entry, addr, ifidx); in brcmf_fws_macdesc_indicate()
1095 u8 ifidx; in brcmf_fws_interface_state_indicate() local
1098 ifidx = data[0]; in brcmf_fws_interface_state_indicate()
1100 if (ifidx >= BRCMF_MAX_IFS) { in brcmf_fws_interface_state_indicate()
1105 entry = &fws->desc.iface[ifidx]; in brcmf_fws_interface_state_indicate()
1632 ifp->ifidx, skb->len, siglen); in brcmf_fws_hdrpull()
1828 u8 ifidx; in brcmf_fws_commit_skb() local
1839 ifidx = brcmf_skb_if_flags_get_field(skb, INDEX); in brcmf_fws_commit_skb()
1841 rc = brcmf_proto_txdata(fws->drvr, ifidx, data_offset, skb); in brcmf_fws_commit_skb()
1903 rc = brcmf_proto_txdata(drvr, ifp->ifidx, 0, skb); in brcmf_fws_process_skb()
1912 brcmf_skb_if_flags_set_field(skb, INDEX, ifp->ifidx); in brcmf_fws_process_skb()
1945 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_reset_interface()
1956 entry = &fws->desc.iface[ifp->ifidx]; in brcmf_fws_add_interface()
1958 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_add_interface()
1976 brcmf_fws_cleanup(ifp->drvr->fws, ifp->ifidx); in brcmf_fws_del_interface()
1987 u32 ifidx; in brcmf_fws_dequeue_worker() local
2002 ifidx = brcmf_skb_if_flags_get_field(skb, in brcmf_fws_dequeue_worker()
2006 ret = brcmf_proto_txdata(drvr, ifidx, 0, skb); in brcmf_fws_dequeue_worker()
2010 ifidx), in brcmf_fws_dequeue_worker()