/drivers/net/wireless/bcmdhd/ |
D | dhd_linux.c | 496 extern void dhd_dbg_init(dhd_pub_t *dhdp); 529 static void dhd_suspend_lock(dhd_pub_t *dhdp); 530 static void dhd_suspend_unlock(dhd_pub_t *dhdp); 539 static void dhd_htsf_addtxts(dhd_pub_t *dhdp, void *pktbuf); 540 static void dhd_htsf_addrxts(dhd_pub_t *dhdp, void *pktbuf); 602 static void dhd_sched_rxf(dhd_pub_t *dhdp, void *skb); 606 static inline int dhd_rxf_enqueue(dhd_pub_t *dhdp, void* skb) in dhd_rxf_enqueue() argument 616 dhd_os_rxflock(dhdp); in dhd_rxf_enqueue() 617 store_idx = dhdp->store_idx; in dhd_rxf_enqueue() 618 sent_idx = dhdp->sent_idx; in dhd_rxf_enqueue() [all …]
|
D | dhd_proto.h | 45 extern int dhd_prot_attach(dhd_pub_t *dhdp); 48 extern void dhd_prot_detach(dhd_pub_t *dhdp); 53 extern int dhd_prot_init(dhd_pub_t *dhdp); 56 extern void dhd_prot_stop(dhd_pub_t *dhdp); 73 extern int dhd_prot_iovar_op(dhd_pub_t *dhdp, const char *name, 77 extern void dhd_prot_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf); 80 extern void dhd_prot_dstats(dhd_pub_t *dhdp);
|
D | dhd.h | 422 inline static void MUTEX_LOCK_SOFTAP_SET_INIT(dhd_pub_t * dhdp) in MUTEX_LOCK_SOFTAP_SET_INIT() argument 425 mutex_init(&dhdp->wl_softap_lock); in MUTEX_LOCK_SOFTAP_SET_INIT() 429 inline static void MUTEX_LOCK_SOFTAP_SET(dhd_pub_t * dhdp) in MUTEX_LOCK_SOFTAP_SET() argument 432 mutex_lock(&dhdp->wl_softap_lock); in MUTEX_LOCK_SOFTAP_SET() 436 inline static void MUTEX_UNLOCK_SOFTAP_SET(dhd_pub_t * dhdp) in MUTEX_UNLOCK_SOFTAP_SET() argument 439 mutex_unlock(&dhdp->wl_softap_lock); in MUTEX_UNLOCK_SOFTAP_SET() 510 extern int dhd_net_attach(dhd_pub_t *dhdp, int idx); 513 extern void dhd_detach(dhd_pub_t *dhdp); 514 extern void dhd_free(dhd_pub_t *dhdp); 517 extern void dhd_txflowcontrol(dhd_pub_t *dhdp, int ifidx, bool on); [all …]
|
D | dhd_bus.h | 49 extern int dhd_bus_init(dhd_pub_t *dhdp, bool enforce_mutex); 52 extern void dhd_bus_getidletime(dhd_pub_t *dhdp, int *idletime); 55 extern void dhd_bus_setidletime(dhd_pub_t *dhdp, int idle_time); 81 extern int dhd_bus_iovar_op(dhd_pub_t *dhdp, const char *name, 85 extern void dhd_bus_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf); 88 extern void dhd_bus_clearcounts(dhd_pub_t *dhdp); 109 extern void dhd_txglom_enable(dhd_pub_t *dhdp, bool enable);
|
D | dhd_common.c | 90 extern int dhd_iscan_request(void * dhdp, uint16 action); 223 dhd_dump(dhd_pub_t *dhdp, char *buf, int buflen) in dhd_dump() argument 236 dhdp->up, dhdp->txoff, dhdp->busstate); in dhd_dump() 238 dhdp->hdrlen, dhdp->maxctl, dhdp->rxsz); in dhd_dump() 240 dhdp->iswl, dhdp->drv_version, bcm_ether_ntoa(&dhdp->mac, eabuf)); in dhd_dump() 241 bcm_bprintf(strbuf, "pub.bcmerror %d tickcnt %u\n", dhdp->bcmerror, dhdp->tickcnt); in dhd_dump() 245 dhdp->dstats.tx_packets, dhdp->dstats.tx_bytes, in dhd_dump() 246 dhdp->dstats.tx_errors, dhdp->dstats.tx_dropped); in dhd_dump() 248 dhdp->dstats.rx_packets, dhdp->dstats.rx_bytes, in dhd_dump() 249 dhdp->dstats.rx_errors, dhdp->dstats.rx_dropped); in dhd_dump() [all …]
|
D | dhd_bta.c | 269 dhd_bta_tx_hcidata_complete(dhd_pub_t *dhdp, void *txp, bool success) in dhd_bta_tx_hcidata_complete() argument 271 uint8 *pktdata = (uint8 *)PKTDATA(dhdp->osh, txp); in dhd_bta_tx_hcidata_complete() 299 htol16_ua_store(dhdp->maxdatablks, (uint8 *)&parms->num_blocks); in dhd_bta_tx_hcidata_complete() 305 dhd_sendup_event_common(dhdp, &event, data); in dhd_bta_tx_hcidata_complete() 310 dhd_bta_doevt(dhd_pub_t *dhdp, void *data_buf, uint data_len) in dhd_bta_doevt() argument 314 ASSERT(dhdp); in dhd_bta_doevt() 324 dhdp->maxdatablks = ltoh16_ua((uint8 *)&parms2->data_block_num); in dhd_bta_doevt() 333 dhd_bta_flush_hcidata(dhdp, ltoh16_ua((uint8 *)&evt_parms->handle)); in dhd_bta_doevt()
|
D | dhd_sdio.c | 69 bool dhd_mp_halting(dhd_pub_t *dhdp); 1506 dhd_pub_t *dhdp = (dhd_pub_t *)pub; in dhd_onoff_tcpack_sup() local 1512 dhdp->tcp_ack_info_cnt = 0; in dhd_onoff_tcpack_sup() 1513 bzero(dhdp->tcp_ack_info_tbl, sizeof(struct tcp_ack_info)*MAXTCPSTREAMS); in dhd_onoff_tcpack_sup() 1521 inline void dhd_tcpack_check_xmit(dhd_pub_t *dhdp, void *pkt) in dhd_tcpack_check_xmit() argument 1527 dhd_os_tcpacklock(dhdp); in dhd_tcpack_check_xmit() 1528 tbl_cnt = dhdp->tcp_ack_info_cnt; in dhd_tcpack_check_xmit() 1530 tcp_ack_info = &dhdp->tcp_ack_info_tbl[i]; in dhd_tcpack_check_xmit() 1537 memmove(&dhdp->tcp_ack_info_tbl[i], in dhd_tcpack_check_xmit() 1538 &dhdp->tcp_ack_info_tbl[i+1], in dhd_tcpack_check_xmit() [all …]
|
D | bcmsdh_linux.c | 623 dhd_pub_t *dhdp; in wlan_oob_irq() local 625 dhdp = (dhd_pub_t *)dev_get_drvdata(sdhcinfo->dev); in wlan_oob_irq() 629 if (dhdp == NULL) { in wlan_oob_irq() 634 dhdsdio_isr((void *)dhdp->bus); in wlan_oob_irq() 639 int bcmsdh_register_oob_intr(void * dhdp) in bcmsdh_register_oob_intr() argument 647 dev_set_drvdata(sdhcinfo->dev, dhdp); in bcmsdh_register_oob_intr()
|
D | dhd_wlfc.c | 66 dhd_wlfc_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf) in dhd_wlfc_dump() argument 71 dhdp->wlfc_state; in dhd_wlfc_dump() 677 dhd_pub_t *dhdp; in _dhd_wlfc_flow_control_check() local 681 dhdp = (dhd_pub_t *)ctx->dhdp; in _dhd_wlfc_flow_control_check() 683 if (dhdp && dhdp->skip_fc && dhdp->skip_fc()) in _dhd_wlfc_flow_control_check() 695 dhd_txflowcontrol(ctx->dhdp, if_id, OFF); in _dhd_wlfc_flow_control_check() 708 dhd_txflowcontrol(ctx->dhdp, if_id, ON); in _dhd_wlfc_flow_control_check() 723 int dummylen = ((dhd_pub_t *)ctx->dhdp)->hdrlen+ 12; in _dhd_wlfc_send_signalonly_packet() 735 rc = dhd_bus_txdata(((dhd_pub_t *)ctx->dhdp)->bus, p); in _dhd_wlfc_send_signalonly_packet() 1052 _dhd_wlfc_prec_enq_with_drop(dhd_pub_t *dhdp, struct pktq *pq, void *pkt, int prec) in _dhd_wlfc_prec_enq_with_drop() argument [all …]
|
D | dhd_cdc.c | 335 dhd_prot_iovar_op(dhd_pub_t *dhdp, const char *name, in dhd_prot_iovar_op() argument 342 dhd_prot_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf) in dhd_prot_dump() argument 344 bcm_bprintf(strbuf, "Protocol CDC: reqid %d\n", dhdp->prot->reqid); in dhd_prot_dump() 346 if (dhdp->wlfc_state) in dhd_prot_dump() 347 dhd_wlfc_dump(dhdp, strbuf); in dhd_prot_dump()
|
D | dhd_bta.h | 36 extern void dhd_bta_tx_hcidata_complete(struct dhd_pub *dhdp, void *txp, bool success);
|
D | dhd_wlfc.h | 233 void* dhdp; member 288 void dhd_wlfc_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf);
|
D | bcmsdh_sdmmc_linux.c | 82 extern int dhd_os_check_wakelock(void *dhdp); 83 extern int dhd_os_check_if_up(void *dhdp);
|
D | wl_iw.h | 128 int wl_iw_attach(struct net_device *dev, void * dhdp);
|
D | wl_android.c | 163 extern int dhd_os_check_if_up(void *dhdp);
|
D | wl_iw.c | 3630 wl_iw_attach(struct net_device *dev, void * dhdp) argument
|
D | wl_cfg80211.c | 1110 int (*net_attach)(void *dhdp, int ifidx); in wl_cfg80211_add_virtual_iface()
|
/drivers/net/wireless/bcmdhd/include/ |
D | bcmsdh.h | 215 extern int bcmsdh_register_oob_intr(void * dhdp);
|