Lines Matching full:ifp

709 	/* depending on use may need ifp->bsscfgidx instead */  in brcmf_fws_macdesc_init()
747 brcmf_fws_macdesc_find(struct brcmf_fws_info *fws, struct brcmf_if *ifp, u8 *da) in brcmf_fws_macdesc_find() argument
758 if (multicast && ifp->fws_desc) { in brcmf_fws_macdesc_find()
759 entry = ifp->fws_desc; in brcmf_fws_macdesc_find()
765 entry = ifp->fws_desc; in brcmf_fws_macdesc_find()
962 struct brcmf_if *ifp = brcmf_get_ifp(fws->drvr, if_id); in brcmf_fws_flow_control_check() local
964 if (WARN_ON(!ifp)) in brcmf_fws_flow_control_check()
967 if ((ifp->netif_stop & BRCMF_NETIF_STOP_REASON_FWS_FC) && in brcmf_fws_flow_control_check()
969 brcmf_txflowblock_if(ifp, in brcmf_fws_flow_control_check()
971 if (!(ifp->netif_stop & BRCMF_NETIF_STOP_REASON_FWS_FC) && in brcmf_fws_flow_control_check()
974 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FWS_FC, true); in brcmf_fws_flow_control_check()
1447 struct brcmf_if *ifp; in brcmf_fws_txs_process() local
1502 ret = brcmf_proto_hdrpull(fws->drvr, false, skb, &ifp); in brcmf_fws_txs_process()
1511 brcmf_txfinalize(ifp, skb, true); in brcmf_fws_txs_process()
1595 static int brcmf_fws_notify_credit_map(struct brcmf_if *ifp, in brcmf_fws_notify_credit_map() argument
1599 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fws_notify_credit_map()
1629 static int brcmf_fws_notify_bcmc_credit_support(struct brcmf_if *ifp, in brcmf_fws_notify_bcmc_credit_support() argument
1633 struct brcmf_fws_info *fws = drvr_to_fws(ifp->drvr); in brcmf_fws_notify_bcmc_credit_support()
1667 void brcmf_fws_rxreorder(struct brcmf_if *ifp, struct sk_buff *pkt) in brcmf_fws_rxreorder() argument
1669 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fws_rxreorder()
1684 brcmf_netif_rx(ifp, pkt); in brcmf_fws_rxreorder()
1688 rfi = ifp->drvr->reorder_flows[flow_id]; in brcmf_fws_rxreorder()
1696 brcmf_netif_rx(ifp, pkt); in brcmf_fws_rxreorder()
1705 ifp->drvr->reorder_flows[flow_id] = NULL; in brcmf_fws_rxreorder()
1719 brcmf_netif_rx(ifp, pkt); in brcmf_fws_rxreorder()
1723 ifp->drvr->reorder_flows[flow_id] = rfi; in brcmf_fws_rxreorder()
1832 brcmf_netif_rx(ifp, pkt); in brcmf_fws_rxreorder()
1836 void brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb) in brcmf_fws_hdrpull() argument
1839 struct brcmf_fws_info *fws = drvr_to_fws(ifp->drvr); in brcmf_fws_hdrpull()
1849 ifp->ifidx, skb->len, siglen); in brcmf_fws_hdrpull()
2109 int brcmf_fws_process_skb(struct brcmf_if *ifp, struct sk_buff *skb) in brcmf_fws_process_skb() argument
2111 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fws_process_skb()
2124 brcmf_skb_if_flags_set_field(skb, INDEX, ifp->ifidx); in brcmf_fws_process_skb()
2135 skcb->mac = brcmf_fws_macdesc_find(fws, ifp, eh->h_dest); in brcmf_fws_process_skb()
2150 void brcmf_fws_reset_interface(struct brcmf_if *ifp) in brcmf_fws_reset_interface() argument
2152 struct brcmf_fws_mac_descriptor *entry = ifp->fws_desc; in brcmf_fws_reset_interface()
2154 brcmf_dbg(TRACE, "enter: bsscfgidx=%d\n", ifp->bsscfgidx); in brcmf_fws_reset_interface()
2158 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_reset_interface()
2161 void brcmf_fws_add_interface(struct brcmf_if *ifp) in brcmf_fws_add_interface() argument
2163 struct brcmf_fws_info *fws = drvr_to_fws(ifp->drvr); in brcmf_fws_add_interface()
2166 if (!ifp->ndev || !brcmf_fws_queue_skbs(fws)) in brcmf_fws_add_interface()
2169 entry = &fws->desc.iface[ifp->ifidx]; in brcmf_fws_add_interface()
2170 ifp->fws_desc = entry; in brcmf_fws_add_interface()
2171 brcmf_fws_macdesc_init(entry, ifp->mac_addr, ifp->ifidx); in brcmf_fws_add_interface()
2178 void brcmf_fws_del_interface(struct brcmf_if *ifp) in brcmf_fws_del_interface() argument
2180 struct brcmf_fws_mac_descriptor *entry = ifp->fws_desc; in brcmf_fws_del_interface()
2181 struct brcmf_fws_info *fws = drvr_to_fws(ifp->drvr); in brcmf_fws_del_interface()
2187 ifp->fws_desc = NULL; in brcmf_fws_del_interface()
2189 brcmf_fws_macdesc_cleanup(fws, &fws->desc.iface[ifp->ifidx], in brcmf_fws_del_interface()
2190 ifp->ifidx); in brcmf_fws_del_interface()
2192 brcmf_fws_cleanup(fws, ifp->ifidx); in brcmf_fws_del_interface()
2341 struct brcmf_if *ifp; in brcmf_fws_attach() local
2399 ifp = brcmf_get_ifp(drvr, 0); in brcmf_fws_attach()
2400 if (brcmf_fil_iovar_int_set(ifp, "tlv", tlv)) { in brcmf_fws_attach()
2406 if (brcmf_fil_iovar_int_set(ifp, "ampdu_hostreorder", 1)) in brcmf_fws_attach()
2410 if (brcmf_fil_iovar_int_get(ifp, "wlfc_mode", &mode) == 0) { in brcmf_fws_attach()
2414 if (brcmf_fil_iovar_int_set(ifp, in brcmf_fws_attach()
2496 struct brcmf_if *ifp; in brcmf_fws_bus_blocked() local
2501 ifp = drvr->iflist[i]; in brcmf_fws_bus_blocked()
2502 if (!ifp || !ifp->ndev) in brcmf_fws_bus_blocked()
2504 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FLOW, in brcmf_fws_bus_blocked()