Home
last modified time | relevance | path

Searched refs:ifidx (Results 1 – 12 of 12) sorted by relevance

/drivers/net/wireless/brcm80211/brcmfmac/
Ddhd_cdc.c151 brcmf_proto_cdc_query_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, in brcmf_proto_cdc_query_dcmd() argument
168 (ifidx << CDC_DCMD_IF_SHIFT); in brcmf_proto_cdc_query_dcmd()
194 brcmf_ifname(drvr, ifidx), id, prot->reqid); in brcmf_proto_cdc_query_dcmd()
217 int brcmf_proto_cdc_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, in brcmf_proto_cdc_set_dcmd() argument
233 (ifidx << CDC_DCMD_IF_SHIFT); in brcmf_proto_cdc_set_dcmd()
252 brcmf_ifname(drvr, ifidx), id, prot->reqid); in brcmf_proto_cdc_set_dcmd()
275 void brcmf_proto_hdrpush(struct brcmf_pub *drvr, int ifidx, u8 offset, in brcmf_proto_hdrpush() argument
294 BDC_SET_IF_IDX(h, ifidx); in brcmf_proto_hdrpush()
297 int brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws, u8 *ifidx, in brcmf_proto_hdrpull() argument
314 *ifidx = BDC_GET_IF_IDX(h); in brcmf_proto_hdrpull()
[all …]
Dfwsignal.c484 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
[all …]
Dfweh.c55 u8 ifidx; member
85 u8 ifidx; member
185 ifevent->action, ifevent->ifidx, ifevent->bssidx, in brcmf_fweh_handle_if_event()
188 if (ifevent->ifidx >= BRCMF_MAX_IFS) { in brcmf_fweh_handle_if_event()
190 ifevent->ifidx); in brcmf_fweh_handle_if_event()
199 ifp = brcmf_add_if(drvr, ifevent->bssidx, ifevent->ifidx, in brcmf_fweh_handle_if_event()
263 event->emsg.ifidx, event->emsg.bsscfgidx, in brcmf_fweh_event_worker()
277 emsg.ifidx = emsg_be->ifidx; in brcmf_fweh_event_worker()
444 event->ifidx = event_packet->msg.ifidx; in brcmf_fweh_process_event()
Ddhd_linux.c53 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()
[all …]
Ddhd.h548 u8 ifidx; member
597 int ifidx; member
612 extern int brcmf_proto_cdc_query_dcmd(struct brcmf_pub *drvr, int ifidx,
614 extern int brcmf_proto_cdc_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd,
618 extern int brcmf_proto_hdrpull(struct brcmf_pub *drvr, bool do_fws, u8 *ifidx,
623 s32 ifidx, char *name, u8 *mac_addr);
Ddhd_proto.h36 extern void brcmf_proto_hdrpush(struct brcmf_pub *, int ifidx, u8 offset,
Dfwsignal.h24 int brcmf_fws_hdrpull(struct brcmf_pub *drvr, int ifidx, s16 signal_len,
Dfwil.c49 err = brcmf_proto_cdc_set_dcmd(drvr, ifp->ifidx, cmd, data, in brcmf_fil_cmd_data()
52 err = brcmf_proto_cdc_query_dcmd(drvr, ifp->ifidx, cmd, data, in brcmf_fil_cmd_data()
Dfweh.h155 u8 ifidx; member
Dwl_cfg80211.c4688 ifevent->action, ifevent->flags, ifevent->ifidx, in brcmf_notify_vif_event()
/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c310 int ifidx; in t3_l2t_get() local
319 ifidx = neigh->dev->ifindex; in t3_l2t_get()
330 hash = arp_hash(addr, ifidx, d); in t3_l2t_get()
334 if (e->addr == addr && e->ifindex == ifidx && in t3_l2t_get()
350 e->ifindex = ifidx; in t3_l2t_get()
404 int ifidx = neigh->dev->ifindex; in t3_l2t_update() local
405 int hash = arp_hash(addr, ifidx, d); in t3_l2t_update()
409 if (e->addr == addr && e->ifindex == ifidx) { in t3_l2t_update()
/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c368 int ifidx = neigh->dev->ifindex; in cxgb4_l2t_get() local
369 int hash = addr_hash(addr, addr_len, ifidx); in cxgb4_l2t_get()
383 if (!addreq(e, addr) && e->ifindex == ifidx && in cxgb4_l2t_get()
397 e->ifindex = ifidx; in cxgb4_l2t_get()
445 int ifidx = neigh->dev->ifindex; in t4_l2t_update() local
446 int hash = addr_hash(addr, addr_len, ifidx); in t4_l2t_update()
450 if (!addreq(e, addr) && e->ifindex == ifidx) { in t4_l2t_update()