Searched refs:ifidx (Results 1 - 19 of 19) sorted by relevance

/drivers/net/wireless/brcm80211/brcmfmac/
H A Ddhd_proto.h41 extern void brcmf_proto_hdrpush(struct brcmf_pub *, int ifidx,
45 extern int brcmf_proto_dcmd(struct brcmf_pub *drvr, int ifidx,
50 extern int brcmf_proto_cdc_set_dcmd(struct brcmf_pub *drvr, int ifidx,
H A Ddhd_bus.h73 extern int brcmf_proto_hdrpull(struct device *dev, int *ifidx,
80 extern void brcmf_rx_frame(struct device *dev, int ifidx,
82 static inline void brcmf_rx_packet(struct device *dev, int ifidx, argument
89 brcmf_rx_frame(dev, ifidx, &q);
98 extern void brcmf_txflowcontrol(struct device *dev, int ifidx, bool on);
106 extern int brcmf_add_if(struct device *dev, int ifidx,
H A Ddhd_linux.c88 char *brcmf_ifname(struct brcmf_pub *drvr, int ifidx) argument
90 if (ifidx < 0 || ifidx >= BRCMF_MAX_IFS) {
91 brcmf_dbg(ERROR, "ifidx %d out of range\n", ifidx);
95 if (drvr->iflist[ifidx] == NULL) {
96 brcmf_dbg(ERROR, "null i/f %d\n", ifidx);
100 if (drvr->iflist[ifidx]->ndev)
101 return drvr->iflist[ifidx]->ndev->name;
275 int brcmf_sendpkt(struct brcmf_pub *drvr, int ifidx, struc argument
353 brcmf_txflowcontrol(struct device *dev, int ifidx, bool state) argument
368 brcmf_host_event(struct brcmf_pub *drvr, int *ifidx, void *pktdata, struct brcmf_event_msg *event, void **data) argument
385 brcmf_rx_frame(struct device *dev, int ifidx, struct sk_buff_head *skb_list) argument
468 uint ifidx; local
507 brcmf_toe_get(struct brcmf_pub *drvr, int ifidx, u32 *toe_ol) argument
543 brcmf_toe_set(struct brcmf_pub *drvr, int ifidx, u32 toe_ol) argument
847 brcmf_add_if(struct device *dev, int ifidx, char *name, u8 *mac_addr) argument
898 brcmf_del_if(struct brcmf_pub *drvr, int ifidx) argument
1024 brcmf_net_attach(struct brcmf_pub *drvr, int ifidx) argument
[all...]
H A Ddhd_cdc.c146 brcmf_proto_cdc_query_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, argument
176 (ifidx << CDC_DCMD_IF_SHIFT);
202 brcmf_ifname(drvr, ifidx), id, prot->reqid);
228 int brcmf_proto_cdc_set_dcmd(struct brcmf_pub *drvr, int ifidx, uint cmd, argument
245 (ifidx << CDC_DCMD_IF_SHIFT);
264 brcmf_ifname(drvr, ifidx), id, prot->reqid);
281 brcmf_proto_dcmd(struct brcmf_pub *drvr, int ifidx, struct brcmf_dcmd *dcmd, argument
312 ret = brcmf_proto_cdc_set_dcmd(drvr, ifidx, dcmd->cmd,
315 ret = brcmf_proto_cdc_query_dcmd(drvr, ifidx, dcmd->cmd,
360 void brcmf_proto_hdrpush(struct brcmf_pub *drvr, int ifidx, argument
383 brcmf_proto_hdrpull(struct device *dev, int *ifidx, struct sk_buff *pktbuf) argument
[all...]
H A Ddhd_common.c439 brcmf_c_host_event(struct brcmf_pub *drvr, int *ifidx, void *pktdata, argument
479 if (ifevent->ifidx > 0 && ifevent->ifidx < BRCMF_MAX_IFS) {
481 brcmf_add_if(drvr->dev, ifevent->ifidx,
485 brcmf_del_if(drvr, ifevent->ifidx);
487 brcmf_dbg(ERROR, "Invalid ifidx %d for %s\n",
488 ifevent->ifidx, event->ifname);
492 *ifidx = brcmf_ifname2idx(drvr, event->ifname);
504 *ifidx = brcmf_ifname2idx(drvr, event->ifname);
H A Ddhd.h619 u8 ifidx; member in struct:brcmf_if_event
644 extern int brcmf_proto_cdc_query_dcmd(struct brcmf_pub *drvr, int ifidx,
656 extern void brcmf_del_if(struct brcmf_pub *drvr, int ifidx);
659 extern int brcmf_sendpkt(struct brcmf_pub *drvr, int ifidx,\
H A Dusb.c532 int ifidx = 0; local
549 if (brcmf_proto_hdrpull(devinfo->dev, &ifidx, skb) != 0) {
554 brcmf_rx_packet(devinfo->dev, ifidx, skb);
H A Ddhd_sdio.c1146 int ifidx = 0; local
1443 &ifidx, pfirst) != 0) {
1462 brcmf_rx_frame(bus->sdiodev->dev, ifidx, &bus->glom);
1702 int ifidx = 0; local
2032 } else if (brcmf_proto_hdrpull(bus->sdiodev->dev, &ifidx,
2042 brcmf_rx_packet(bus->sdiodev->dev, ifidx, pkt);
/drivers/net/wireless/bcmdhd/
H A Ddhd_proto.h65 extern void dhd_prot_hdrpush(dhd_pub_t *, int ifidx, void *txp);
68 extern int dhd_prot_hdrpull(dhd_pub_t *, int *ifidx, void *rxp, uchar *buf, uint *len);
71 extern int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len);
H A Ddhd_linux.c507 uint32 dhd_get_htsf(dhd_info_t *dhd, int ifidx);
508 static int dhd_ioctl_htsf_get(dhd_info_t *dhd, int ifidx);
536 static int dhd_wl_host_event(dhd_info_t *dhd, int *ifidx, void *pktdata,
830 struct net_device * dhd_idx2net(void *pub, int ifidx) argument
835 if (!dhd_pub || ifidx < 0 || ifidx >= DHD_MAX_IFS)
838 if (dhd_info && dhd_info->iflist[ifidx])
839 return dhd_info->iflist[ifidx]->net;
863 dhd_ifname(dhd_pub_t *dhdp, int ifidx) argument
869 if (ifidx <
901 _dhd_set_multicast_list(dhd_info_t *dhd, int ifidx) argument
1047 _dhd_set_mac_address(dhd_info_t *dhd, int ifidx, struct ether_addr *addr) argument
1291 int ifidx; local
1309 int ifidx; local
1346 dhd_sendpkt(dhd_pub_t *dhdp, int ifidx, void *pktbuf) argument
1380 DHD_PKTTAG_SETIF(PKTTAG(pktbuf), ifidx); local
1429 int ifidx; local
1530 dhd_txflowcontrol(dhd_pub_t *dhdp, int ifidx, bool state) argument
1595 dhd_rx_frame(dhd_pub_t *dhdp, int ifidx, void *pktbuf, int numpkt, uint8 chan) argument
1813 dhd_event(struct dhd_info *dhd, char *evpkt, int evlen, int ifidx) argument
1822 uint ifidx; local
1862 int ifidx; local
2081 dhd_toe_get(dhd_info_t *dhd, int ifidx, uint32 *toe_ol) argument
2114 dhd_toe_set(dhd_info_t *dhd, int ifidx, uint32 toe_ol) argument
2315 int ifidx; local
2570 int ifidx = 0; local
2629 int ifidx; local
2793 dhd_add_if(dhd_info_t *dhd, int ifidx, void *handle, char *name, uint8 *mac_addr, uint32 flags, uint8 bssidx) argument
2841 dhd_del_if(dhd_info_t *dhd, int ifidx) argument
3747 dhd_iovar(dhd_pub_t *pub, int ifidx, char *name, char *cmd_buf, uint cmd_len, int set) argument
3770 dhd_change_mtu(dhd_pub_t *dhdp, int new_mtu, int ifidx) argument
3930 dhd_net_attach(dhd_pub_t *dhdp, int ifidx) argument
4632 dhd_wl_host_event(dhd_info_t *dhd, int *ifidx, void *pktdata, wl_event_msg_t *event, void **data) argument
4701 int ifidx; local
5379 int ifidx; local
5403 dhd_os_check_hang(dhd_pub_t *dhdp, int ifidx, int ret) argument
5715 dhd_get_htsf(dhd_info_t *dhd, int ifidx) argument
5780 dhd_ioctl_htsf_get(dhd_info_t *dhd, int ifidx) argument
[all...]
H A Ddhd.h374 uint8 ifidx; member in struct:dhd_if_event
427 extern void dhd_txflowcontrol(dhd_pub_t *dhdp, int ifidx, bool on);
432 extern void dhd_rx_frame(dhd_pub_t *dhdp, int ifidx, void *rxp, int numpkt, uint8 chan);
466 extern bool dhd_os_check_hang(dhd_pub_t *dhdp, int ifidx, int ret);
520 extern struct net_device * dhd_idx2net(void *pub, int ifidx);
532 extern int dhd_add_if(struct dhd_info *dhd, int ifidx, void *handle,
534 extern void dhd_del_if(struct dhd_info *dhd, int ifidx);
536 extern void dhd_vif_add(struct dhd_info *dhd, int ifidx, char * name);
537 extern void dhd_vif_del(struct dhd_info *dhd, int ifidx);
539 extern void dhd_event(struct dhd_info *dhd, char *evpkt, int evlen, int ifidx);
[all...]
H A Ddhd_common.c95 extern int dhd_change_mtu(dhd_pub_t *dhd, int new_mtu, int ifidx);
971 wl_host_event(dhd_pub_t *dhd_pub, int *ifidx, void *pktdata, argument
1024 ifevent->ifidx,
1032 ifevent->ifidx, ifevent->is_AP, ea);
1037 ifevent->ifidx, ifevent->is_AP, ea);
1041 if (ifevent->ifidx == 0)
1048 DHD_ERROR(("%s: ifidx %d for %s action %d\n",
1049 __FUNCTION__, ifevent->ifidx,
1057 if (ifevent->ifidx > 0 && ifevent->ifidx < DHD_MAX_IF
[all...]
H A Ddhd_bta.c102 int ifidx; local
105 dhd_prot_hdrpull(pub, &ifidx, pkt, NULL, NULL);
131 dhd_prot_hdrpush(pub, ifidx, pkt);
H A Ddhd_cdc.c127 dhdcdc_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len, uint8 action) argument
159 CDC_SET_IF_IDX(msg, ifidx);
186 dhd_ifname(dhd, ifidx), __FUNCTION__, id, prot->reqid));
215 dhdcdc_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len, uint8 action) argument
242 CDC_SET_IF_IDX(msg, ifidx);
264 dhd_ifname(dhd, ifidx), __FUNCTION__, id, prot->reqid));
283 dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len) argument
330 ret = dhdcdc_set_ioctl(dhd, ifidx, ioc->cmd, buf, len, action);
332 ret = dhdcdc_query_ioctl(dhd, ifidx, ioc->cmd, buf, len, action);
2499 dhd_prot_hdrpush(dhd_pub_t *dhd, int ifidx, voi argument
2527 dhd_prot_hdrpull(dhd_pub_t *dhd, int *ifidx, void *pktbuf, uchar *reorder_buf_info, uint *reorder_info_len) argument
[all...]
H A Ddhd_sdio.c570 extern uint32 dhd_get_htsf(void *dhd, int ifidx);
4349 int ifidx = 0; local
4671 } else if (dhd_prot_hdrpull(bus->dhd, &ifidx, pfirst, reorder_info_buf,
4699 if (list_tail[ifidx] == NULL) {
4700 list_head[ifidx] = ppfirst;
4701 list_tail[ifidx] = pfirst;
4704 PKTSETNEXT(osh, list_tail[ifidx], ppfirst);
4705 list_tail[ifidx] = pfirst;
4714 if (list_tail[ifidx] == NULL) {
4715 list_head[ifidx]
4780 int ifidx = 0; local
[all...]
H A Dwl_cfg80211.c973 int (*net_attach)(void *dhdp, int ifidx);
1188 /* Since there is no ifidx corresponding to p2p0, cmds to
4292 /* If TX req is for any valid ifidx. Use as is */
8292 if (e->emsg.ifidx != 0) {
8293 WL_TRACE(("P2P Event on Virtual I/F (ifidx:%d) \n",
8294 e->emsg.ifidx));
8298 * to the ifidx.
8302 WL_TRACE(("P2P Event on Primary I/F (ifidx:%d)."
8303 " Sent it to p2p0 \n", e->emsg.ifidx));
8309 WL_TRACE(("NON-P2P Event %d on ifidx (ifid
[all...]
/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c310 int ifidx; local
319 ifidx = neigh->dev->ifindex;
330 hash = arp_hash(addr, ifidx, d);
334 if (e->addr == addr && e->ifindex == ifidx &&
350 e->ifindex = ifidx;
402 int ifidx = neigh->dev->ifindex; local
403 int hash = arp_hash(addr, ifidx, d);
407 if (e->addr == addr && e->ifindex == ifidx) {
/drivers/net/wireless/bcmdhd/include/proto/
H A Dbcmevent.h80 uint8 ifidx; member in struct:__anon3324
288 uint8 ifidx; member in struct:wl_event_data_if
/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c368 int ifidx = neigh->dev->ifindex; local
369 int hash = addr_hash(addr, addr_len, ifidx);
383 if (!addreq(e, addr) && e->ifindex == ifidx &&
397 e->ifindex = ifidx;
445 int ifidx = neigh->dev->ifindex; local
446 int hash = addr_hash(addr, addr_len, ifidx);
450 if (!addreq(e, addr) && e->ifindex == ifidx) {

Completed in 264 milliseconds