Lines Matching refs:ifidx
484 u32 ifidx = brcmf_skb_if_flags_get_field(skb, INDEX); in brcmf_fws_ifidx_match() local
485 return ifidx == *(int *)arg; in brcmf_fws_ifidx_match()
489 int ifidx) in brcmf_fws_psq_flush() argument
495 if (ifidx != -1) in brcmf_fws_psq_flush()
498 skb = brcmu_pktq_pdeq_match(q, prec, matchfn, &ifidx); in brcmf_fws_psq_flush()
501 skb = brcmu_pktq_pdeq_match(q, prec, matchfn, &ifidx); in brcmf_fws_psq_flush()
623 int ifidx) in brcmf_fws_hanger_cleanup() argument
630 brcmf_dbg(TRACE, "enter: ifidx=%d\n", ifidx); in brcmf_fws_hanger_cleanup()
636 if (fn == NULL || fn(skb, &ifidx)) { in brcmf_fws_hanger_cleanup()
648 u8 *addr, u8 ifidx) in brcmf_fws_init_mac_descriptor() argument
651 "enter: desc %p ea=%pM, ifidx=%u\n", desc, addr, ifidx); in brcmf_fws_init_mac_descriptor()
656 desc->interface_id = ifidx; in brcmf_fws_init_mac_descriptor()
753 int ifidx) in brcmf_fws_mac_desc_cleanup() argument
756 entry->ea, entry->interface_id, ifidx); in brcmf_fws_mac_desc_cleanup()
757 if (entry->occupied && (ifidx == -1 || ifidx == entry->interface_id)) { in brcmf_fws_mac_desc_cleanup()
759 ifidx, entry->psq.len); in brcmf_fws_mac_desc_cleanup()
760 brcmf_fws_psq_flush(fws, &entry->psq, ifidx); in brcmf_fws_mac_desc_cleanup()
767 int ifidx) in brcmf_fws_bus_txq_cleanup() argument
775 brcmf_dbg(TRACE, "enter: ifidx=%d\n", ifidx); in brcmf_fws_bus_txq_cleanup()
783 skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); in brcmf_fws_bus_txq_cleanup()
790 skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); in brcmf_fws_bus_txq_cleanup()
795 static void brcmf_fws_cleanup(struct brcmf_fws_info *fws, int ifidx) in brcmf_fws_cleanup() argument
801 brcmf_dbg(TRACE, "enter: ifidx=%d\n", ifidx); in brcmf_fws_cleanup()
805 if (ifidx != -1) in brcmf_fws_cleanup()
811 brcmf_fws_mac_desc_cleanup(fws, &table[i], ifidx); in brcmf_fws_cleanup()
813 brcmf_fws_mac_desc_cleanup(fws, &fws->desc.other, ifidx); in brcmf_fws_cleanup()
814 brcmf_fws_bus_txq_cleanup(fws, matchfn, ifidx); in brcmf_fws_cleanup()
815 brcmf_fws_hanger_cleanup(fws, matchfn, ifidx); in brcmf_fws_cleanup()
847 "enter: bssidx=%d, ifidx=%d\n", ifp->bssidx, ifp->ifidx); in brcmf_fws_flow_control_check()
870 u8 ifidx; in brcmf_fws_macdesc_indicate() local
874 ifidx = *data++; in brcmf_fws_macdesc_indicate()
879 brcmf_dbg(TRACE, "deleting mac %pM idx %d\n", addr, ifidx); in brcmf_fws_macdesc_indicate()
889 "add mac %pM handle %u idx %d\n", addr, mac_handle, ifidx); in brcmf_fws_macdesc_indicate()
894 brcmf_fws_init_mac_descriptor(entry, addr, ifidx); in brcmf_fws_macdesc_indicate()
947 u8 ifidx; in brcmf_fws_interface_state_indicate() local
950 ifidx = data[0]; in brcmf_fws_interface_state_indicate()
952 brcmf_dbg(TRACE, "enter: ifidx=%d\n", ifidx); in brcmf_fws_interface_state_indicate()
953 if (ifidx >= BRCMF_MAX_IFS) { in brcmf_fws_interface_state_indicate()
958 entry = &fws->desc.iface[ifidx]; in brcmf_fws_interface_state_indicate()
1382 int brcmf_fws_hdrpull(struct brcmf_pub *drvr, int ifidx, s16 signal_len, in brcmf_fws_hdrpull() argument
1396 ifidx, skb->len, signal_len); in brcmf_fws_hdrpull()
1557 u8 ifidx; in brcmf_fws_precommit_skb() local
1595 rc = brcmf_proto_hdrpull(fws->drvr, false, &ifidx, p); in brcmf_fws_precommit_skb()
1627 u8 ifidx; in brcmf_fws_rollback_toq() local
1646 rc = brcmf_proto_hdrpull(fws->drvr, false, &ifidx, skb); in brcmf_fws_rollback_toq()
1821 brcmf_proto_hdrpush(drvr, ifp->ifidx, 0, skb); in brcmf_fws_process_skb()
1831 brcmf_skb_if_flags_set_field(skb, INDEX, ifp->ifidx); in brcmf_fws_process_skb()
1865 brcmf_fws_init_mac_descriptor(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_reset_interface()
1878 entry = &fws->desc.iface[ifp->ifidx]; in brcmf_fws_add_interface()
1880 brcmf_fws_init_mac_descriptor(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_add_interface()
1897 brcmf_fws_cleanup(ifp->drvr->fws, ifp->ifidx); in brcmf_fws_del_interface()