/drivers/net/wireless/brcm80211/brcmfmac/ |
D | proto.h | 27 int (*hdrpull)(struct brcmf_pub *drvr, bool do_fws, u8 *ifidx, 29 int (*query_dcmd)(struct brcmf_pub *drvr, int ifidx, uint cmd, 31 int (*set_dcmd)(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, 33 int (*txdata)(struct brcmf_pub *drvr, int ifidx, u8 offset, 35 void (*configure_addr_mode)(struct brcmf_pub *drvr, int ifidx, 37 void (*delete_peer)(struct brcmf_pub *drvr, int ifidx, 39 void (*add_tdls_peer)(struct brcmf_pub *drvr, int ifidx, 49 u8 *ifidx, struct sk_buff *skb) in brcmf_proto_hdrpull() argument 51 return drvr->proto->hdrpull(drvr, do_fws, ifidx, skb); in brcmf_proto_hdrpull() 53 static inline int brcmf_proto_query_dcmd(struct brcmf_pub *drvr, int ifidx, in brcmf_proto_query_dcmd() argument [all …]
|
D | flowring.c | 34 #define BRCMF_FLOWRING_HASH_AP(da, fifo, ifidx) (da[5] + fifo + ifidx * 16) argument 35 #define BRCMF_FLOWRING_HASH_STA(fifo, ifidx) (fifo + ifidx * 16) argument 70 u8 prio, u8 ifidx) in brcmf_flowring_lookup() argument 81 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_lookup() 91 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_lookup() 92 BRCMF_FLOWRING_HASH_AP(mac, fifo, ifidx); in brcmf_flowring_lookup() 98 (hash[hash_idx].ifidx == ifidx)) { in brcmf_flowring_lookup() 112 u8 prio, u8 ifidx) in brcmf_flowring_create() argument 124 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_create() 134 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_create() [all …]
|
D | bcdc.c | 110 brcmf_proto_bcdc_msg(struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, in brcmf_proto_bcdc_msg() argument 127 (ifidx << BCDC_DCMD_IF_SHIFT); in brcmf_proto_bcdc_msg() 159 brcmf_proto_bcdc_query_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, in brcmf_proto_bcdc_query_dcmd() argument 170 ret = brcmf_proto_bcdc_msg(drvr, ifidx, cmd, buf, len, false); in brcmf_proto_bcdc_query_dcmd() 190 brcmf_ifname(drvr, ifidx), id, bcdc->reqid); in brcmf_proto_bcdc_query_dcmd() 214 brcmf_proto_bcdc_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, in brcmf_proto_bcdc_set_dcmd() argument 224 ret = brcmf_proto_bcdc_msg(drvr, ifidx, cmd, buf, len, true); in brcmf_proto_bcdc_set_dcmd() 237 brcmf_ifname(drvr, ifidx), id, bcdc->reqid); in brcmf_proto_bcdc_set_dcmd() 251 brcmf_proto_bcdc_hdrpush(struct brcmf_pub *drvr, int ifidx, u8 offset, in brcmf_proto_bcdc_hdrpush() argument 270 BCDC_SET_IF_IDX(h, ifidx); in brcmf_proto_bcdc_hdrpush() [all …]
|
D | msgbuf.c | 79 u8 ifidx; member 214 int ifidx; member 425 static int brcmf_msgbuf_tx_ioctl(struct brcmf_pub *drvr, int ifidx, in brcmf_msgbuf_tx_ioctl() argument 448 request->msg.ifidx = (u8)ifidx; in brcmf_msgbuf_tx_ioctl() 489 static int brcmf_msgbuf_query_dcmd(struct brcmf_pub *drvr, int ifidx, in brcmf_msgbuf_query_dcmd() argument 497 brcmf_dbg(MSGBUF, "ifidx=%d, cmd=%d, len=%d\n", ifidx, cmd, len); in brcmf_msgbuf_query_dcmd() 499 err = brcmf_msgbuf_tx_ioctl(drvr, ifidx, cmd, buf, len); in brcmf_msgbuf_query_dcmd() 528 static int brcmf_msgbuf_set_dcmd(struct brcmf_pub *drvr, int ifidx, in brcmf_msgbuf_set_dcmd() argument 531 return brcmf_msgbuf_query_dcmd(drvr, ifidx, cmd, buf, len); in brcmf_msgbuf_set_dcmd() 536 u8 *ifidx, struct sk_buff *skb) in brcmf_msgbuf_hdrpull() argument [all …]
|
D | fwsignal.c | 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() [all …]
|
D | flowring.h | 26 u8 ifidx; member 61 u8 prio, u8 ifidx); 63 u8 prio, u8 ifidx); 76 void brcmf_flowring_configure_addr_mode(struct brcmf_flowring *flow, int ifidx, 78 void brcmf_flowring_delete_peer(struct brcmf_flowring *flow, int ifidx, 80 void brcmf_flowring_add_tdls_peer(struct brcmf_flowring *flow, int ifidx,
|
D | fweh.c | 55 u8 ifidx; member 85 u8 ifidx; member 185 ifevent->action, ifevent->ifidx, ifevent->bssidx, in brcmf_fweh_handle_if_event() 193 if (!(ifevent->ifidx == 0 && ifevent->bssidx == 1) && in brcmf_fweh_handle_if_event() 198 if (ifevent->ifidx >= BRCMF_MAX_IFS) { in brcmf_fweh_handle_if_event() 200 ifevent->ifidx); in brcmf_fweh_handle_if_event() 209 ifp = brcmf_add_if(drvr, ifevent->bssidx, ifevent->ifidx, in brcmf_fweh_handle_if_event() 273 event->emsg.ifidx, event->emsg.bsscfgidx, in brcmf_fweh_event_worker() 287 emsg.ifidx = emsg_be->ifidx; in brcmf_fweh_event_worker() 458 event->ifidx = event_packet->msg.ifidx; in brcmf_fweh_process_event()
|
D | dhd_linux.c | 68 char *brcmf_ifname(struct brcmf_pub *drvr, int ifidx) in brcmf_ifname() argument 70 if (ifidx < 0 || ifidx >= BRCMF_MAX_IFS) { in brcmf_ifname() 71 brcmf_err("ifidx %d out of range\n", ifidx); in brcmf_ifname() 75 if (drvr->iflist[ifidx] == NULL) { in brcmf_ifname() 76 brcmf_err("null i/f %d\n", ifidx); in brcmf_ifname() 80 if (drvr->iflist[ifidx]->ndev) in brcmf_ifname() 81 return drvr->iflist[ifidx]->ndev->name; in brcmf_ifname() 516 u8 ifidx; in brcmf_rx_frame() local 522 ret = brcmf_proto_hdrpull(drvr, true, &ifidx, skb); in brcmf_rx_frame() 523 ifp = drvr->iflist[ifidx]; in brcmf_rx_frame() [all …]
|
D | dhd.h | 158 int ifidx; member 177 struct brcmf_if *brcmf_add_if(struct brcmf_pub *drvr, s32 bssidx, s32 ifidx, 182 void brcmf_txfinalize(struct brcmf_pub *drvr, struct sk_buff *txp, u8 ifidx,
|
D | fweh.h | 212 u8 ifidx; member 217 u8 ifidx; member
|
D | fwsignal.h | 24 int brcmf_fws_hdrpull(struct brcmf_pub *drvr, int ifidx, s16 signal_len,
|
D | fwil.c | 50 err = brcmf_proto_set_dcmd(drvr, ifp->ifidx, cmd, data, len); in brcmf_fil_cmd_data() 52 err = brcmf_proto_query_dcmd(drvr, ifp->ifidx, cmd, data, len); in brcmf_fil_cmd_data()
|
D | wl_cfg80211.c | 516 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode() 519 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode() 4228 brcmf_proto_add_tdls_peer(ifp->drvr, ifp->ifidx, (u8 *)e->addr); in brcmf_notify_tdls_peer_event() 4232 brcmf_proto_delete_peer(ifp->drvr, ifp->ifidx, (u8 *)e->addr); in brcmf_notify_tdls_peer_event() 4637 brcmf_proto_delete_peer(ifp->drvr, ifp->ifidx, (u8 *)e->addr); in brcmf_notify_connect_status() 4720 ifevent->action, ifevent->flags, ifevent->ifidx, in brcmf_notify_vif_event()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | l2t.c | 310 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/ |
D | l2t.c | 369 int ifidx = neigh->dev->ifindex; in cxgb4_l2t_get() local 370 int hash = addr_hash(addr, addr_len, ifidx); in cxgb4_l2t_get() 384 if (!addreq(e, addr) && e->ifindex == ifidx && in cxgb4_l2t_get() 400 e->ifindex = ifidx; in cxgb4_l2t_get() 482 int ifidx = neigh->dev->ifindex; in t4_l2t_update() local 483 int hash = addr_hash(addr, addr_len, ifidx); in t4_l2t_update() 487 if (!addreq(e, addr) && e->ifindex == ifidx) { in t4_l2t_update()
|