/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | dhd_flowring.c | 54 static INLINE uint16 dhd_flowid_find(dhd_pub_t *dhdp, uint8 ifindex, 57 static INLINE uint16 dhd_flowid_alloc(dhd_pub_t *dhdp, uint8 ifindex, 60 static INLINE int dhd_flowid_lookup(dhd_pub_t *dhdp, uint8 ifindex, 107 dhd_flow_ring_node(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_ring_node() argument 111 ASSERT(dhdp != (dhd_pub_t*)NULL); in dhd_flow_ring_node() 112 ASSERT(flowid <= dhdp->max_tx_flowid); in dhd_flow_ring_node() 113 if (flowid > dhdp->max_tx_flowid) { in dhd_flow_ring_node() 117 flow_ring_node = &(((flow_ring_node_t*)(dhdp->flow_ring_table))[flowid]); in dhd_flow_ring_node() 125 dhd_flow_queue(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_queue() argument 129 flow_ring_node = dhd_flow_ring_node(dhdp, flowid); in dhd_flow_queue() [all …]
|
D | dhd_fwtrace.c | 37 static int fwtrace_write_to_file(uint8 *buf, uint16 buf_len, dhd_pub_t *dhdp); 38 static int fwtrace_close_file(dhd_pub_t *dhdp); 39 static int fwtrace_open_file(uint32 fw_trace_enabled, dhd_pub_t *dhdp); 40 static fwtrace_buf_t *fwtrace_get_trace_data_ptr(dhd_pub_t *dhdp); 41 static void fwtrace_free_trace_buf(dhd_pub_t *dhdp); 67 dhd_fwtrace_attach(dhd_pub_t *dhdp) in dhd_fwtrace_attach() argument 72 if (!(fwtrace_info = (fwtrace_info_t *)VMALLOCZ(dhdp->osh, sizeof(*fwtrace_info)))) { in dhd_fwtrace_attach() 78 dhdp->fwtrace_info = fwtrace_info; in dhd_fwtrace_attach() 80 mutex_init(&dhdp->fwtrace_info->fwtrace_lock); in dhd_fwtrace_attach() 88 dhd_fwtrace_detach(dhd_pub_t *dhdp) in dhd_fwtrace_detach() argument [all …]
|
D | dhd_debug.h | 92 #define DBG_RING_ACTIVE(dhdp, ring_id) \ argument 93 ((dhdp)->dbg->dbg_rings[(ring_id)].state == RING_ACTIVE) 95 #define DBG_RING_ACTIVE(dhdp, ring_id) 0 argument 360 #define DBG_EVENT_LOG(dhdp, connect_state) \ argument 364 if (CAN_SLEEP() && DBG_RING_ACTIVE(dhdp, DHD_EVENT_RING_ID)) \ 365 dhd_os_push_push_ring_data(dhdp, DHD_EVENT_RING_ID, \ 641 typedef void (*dbg_urgent_noti_t) (dhd_pub_t *dhdp, const void *data, const uint32 len); 642 typedef int (*dbg_mon_tx_pkts_t) (dhd_pub_t *dhdp, void *pkt, uint32 pktid); 643 typedef int (*dbg_mon_tx_status_t) (dhd_pub_t *dhdp, void *pkt, 645 typedef int (*dbg_mon_rx_pkts_t) (dhd_pub_t *dhdp, void *pkt); [all …]
|
D | dhd_debug_linux.c | 47 dhd_pub_t *dhdp; member 70 debug_data_send(dhd_pub_t *dhdp, int ring_id, const void *data, const uint32 len, in debug_data_send() argument 75 ndev = dhd_linux_get_primary_netdev(dhdp); in debug_data_send() 87 dhd_os_dbg_urgent_notifier(dhd_pub_t *dhdp, const void *data, const uint32 len) in dhd_os_dbg_urgent_notifier() argument 90 ndev = dhd_linux_get_primary_netdev(dhdp); in dhd_os_dbg_urgent_notifier() 94 urgent_noti_sub_cb(ndev, data, len, dhdp->soc_ram_length); in dhd_os_dbg_urgent_notifier() 105 dhd_pub_t *dhdp; in dbg_ring_poll_worker() local 117 dhdp = ring_info->dhdp; in dbg_ring_poll_worker() 120 ring = &dhdp->dbg->dbg_rings[ringid]; in dbg_ring_poll_worker() 122 dhd_dbg_get_ring_status(dhdp, ringid, &ring_status); in dbg_ring_poll_worker() [all …]
|
D | dhd_debug.c | 192 dhd_dbg_push_to_ring(dhd_pub_t *dhdp, int ring_id, dhd_dbg_ring_entry_t *hdr, void *data) in dhd_dbg_push_to_ring() argument 198 if (!dhdp || !dhdp->dbg) { in dhd_dbg_push_to_ring() 207 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_push_to_ring() 214 dhd_dbg_ring_sched_pull(ring, pending_len, dhdp->dbg->pullreq, in dhd_dbg_push_to_ring() 215 dhdp->dbg->private, ring->id); in dhd_dbg_push_to_ring() 221 dhd_dbg_get_ring_from_ring_id(dhd_pub_t *dhdp, int ring_id) in dhd_dbg_get_ring_from_ring_id() argument 223 if (!dhdp || !dhdp->dbg) { in dhd_dbg_get_ring_from_ring_id() 232 return &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_get_ring_from_ring_id() 236 dhd_dbg_pull_single_from_ring(dhd_pub_t *dhdp, int ring_id, void *data, uint32 buf_len, in dhd_dbg_pull_single_from_ring() argument 241 if (!dhdp || !dhdp->dbg) { in dhd_dbg_pull_single_from_ring() [all …]
|
D | dhd.h | 196 #define DHD_BUS_BUSY_SET_IN_TX(dhdp) \ argument 197 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_TX 198 #define DHD_BUS_BUSY_SET_IN_SEND_PKT(dhdp) \ argument 199 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_SEND_PKT 200 #define DHD_BUS_BUSY_SET_IN_DPC(dhdp) \ argument 201 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_DPC 202 #define DHD_BUS_BUSY_SET_IN_WD(dhdp) \ argument 203 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_WD 204 #define DHD_BUS_BUSY_SET_IN_IOVAR(dhdp) \ argument 205 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_IOVAR [all …]
|
D | dhd_ip.c | 126 dhd_pub_t *dhdp; member 214 static int _tdata_psh_info_pool_init(dhd_pub_t *dhdp, in _tdata_psh_info_pool_init() argument 229 MALLOC(dhdp->osh, sizeof(tdata_psh_info_t) * TCPDATA_PSH_INFO_MAXNUM); in _tdata_psh_info_pool_init() 248 static void _tdata_psh_info_pool_deinit(dhd_pub_t *dhdp, in _tdata_psh_info_pool_deinit() argument 285 MFREE(dhdp->osh, tcpack_sup_mod->tdata_psh_info_pool, in _tdata_psh_info_pool_deinit() 301 dhd_pub_t *dhdp; in dhd_tcpack_send() local 316 dhdp = cur_tbl->dhdp; in dhd_tcpack_send() 317 if (!dhdp) { in dhd_tcpack_send() 321 flags = dhd_os_tcpacklock(dhdp); in dhd_tcpack_send() 323 if (unlikely(dhdp->tcpack_sup_mode != TCPACK_SUP_HOLD)) { in dhd_tcpack_send() [all …]
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | dhd_flowring.c | 57 static INLINE uint16 dhd_flowid_find(dhd_pub_t *dhdp, uint8 ifindex, 60 static INLINE uint16 dhd_flowid_alloc(dhd_pub_t *dhdp, uint8 ifindex, 63 static INLINE int dhd_flowid_lookup(dhd_pub_t *dhdp, uint8 ifindex, 88 dhd_flow_ring_node(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_ring_node() argument 92 ASSERT(dhdp != (dhd_pub_t*)NULL); in dhd_flow_ring_node() 93 ASSERT(flowid < dhdp->num_flow_rings); in dhd_flow_ring_node() 94 if (flowid >= dhdp->num_flow_rings) { in dhd_flow_ring_node() 98 flow_ring_node = &(((flow_ring_node_t*)(dhdp->flow_ring_table))[flowid]); in dhd_flow_ring_node() 106 dhd_flow_queue(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_queue() argument 110 flow_ring_node = dhd_flow_ring_node(dhdp, flowid); in dhd_flow_queue() [all …]
|
D | dhd_debug_linux.c | 51 dhd_pub_t *dhdp; member 74 debug_data_send(dhd_pub_t *dhdp, int ring_id, const void *data, const uint32 len, in debug_data_send() argument 79 ndev = dhd_linux_get_primary_netdev(dhdp); in debug_data_send() 91 dhd_os_dbg_urgent_notifier(dhd_pub_t *dhdp, const void *data, const uint32 len) in dhd_os_dbg_urgent_notifier() argument 94 ndev = dhd_linux_get_primary_netdev(dhdp); in dhd_os_dbg_urgent_notifier() 98 urgent_noti_sub_cb(ndev, data, len, dhdp->soc_ram_length); in dhd_os_dbg_urgent_notifier() 117 dhd_pub_t *dhdp = ring_info->dhdp; in dbg_ring_poll_worker() local 125 ring = &dhdp->dbg->dbg_rings[ringid]; in dbg_ring_poll_worker() 127 dhd_dbg_get_ring_status(dhdp, ringid, &ring_status); in dbg_ring_poll_worker() 141 buf = MALLOCZ(dhdp->osh, buflen); in dbg_ring_poll_worker() [all …]
|
D | dhd_debug.h | 87 #define DBG_RING_ACTIVE(dhdp, ring_id) \ argument 88 ((dhdp)->dbg->dbg_rings[(ring_id)].state == RING_ACTIVE) 90 #define DBG_RING_ACTIVE(dhdp, ring_id) 0 argument 348 #define DBG_EVENT_LOG(dhdp, connect_state) \ argument 352 if (CAN_SLEEP() && DBG_RING_ACTIVE(dhdp, DHD_EVENT_RING_ID)) \ 353 dhd_os_push_push_ring_data(dhdp, DHD_EVENT_RING_ID, \ 618 typedef void (*dbg_urgent_noti_t) (dhd_pub_t *dhdp, const void *data, const uint32 len); 619 typedef int (*dbg_mon_tx_pkts_t) (dhd_pub_t *dhdp, void *pkt, uint32 pktid); 620 typedef int (*dbg_mon_tx_status_t) (dhd_pub_t *dhdp, void *pkt, 622 typedef int (*dbg_mon_rx_pkts_t) (dhd_pub_t *dhdp, void *pkt); [all …]
|
D | dhd_debug.c | 147 dhd_dbg_push_to_ring(dhd_pub_t *dhdp, int ring_id, dhd_dbg_ring_entry_t *hdr, void *data) in dhd_dbg_push_to_ring() argument 153 if (!dhdp || !dhdp->dbg) { in dhd_dbg_push_to_ring() 162 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_push_to_ring() 169 dhd_dbg_ring_sched_pull(ring, pending_len, dhdp->dbg->pullreq, in dhd_dbg_push_to_ring() 170 dhdp->dbg->private, ring->id); in dhd_dbg_push_to_ring() 176 dhd_dbg_get_ring_from_ring_id(dhd_pub_t *dhdp, int ring_id) in dhd_dbg_get_ring_from_ring_id() argument 178 if (!dhdp || !dhdp->dbg) { in dhd_dbg_get_ring_from_ring_id() 187 return &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_get_ring_from_ring_id() 191 dhd_dbg_pull_single_from_ring(dhd_pub_t *dhdp, int ring_id, void *data, uint32 buf_len, in dhd_dbg_pull_single_from_ring() argument 196 if (!dhdp || !dhdp->dbg) { in dhd_dbg_pull_single_from_ring() [all …]
|
D | dhd.h | 173 #define DHD_BUS_BUSY_SET_IN_TX(dhdp) \ argument 174 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_TX 175 #define DHD_BUS_BUSY_SET_IN_SEND_PKT(dhdp) \ argument 176 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_SEND_PKT 177 #define DHD_BUS_BUSY_SET_IN_DPC(dhdp) \ argument 178 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_DPC 179 #define DHD_BUS_BUSY_SET_IN_WD(dhdp) \ argument 180 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_WD 181 #define DHD_BUS_BUSY_SET_IN_IOVAR(dhdp) \ argument 182 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_IOVAR [all …]
|
D | dhd_linux_pktdump.h | 60 extern void dhd_dump_mod_pkt_timer(dhd_pub_t *dhdp, uint16 rsn); 61 extern void dhd_dump_pkt_init(dhd_pub_t *dhdp); 62 extern void dhd_dump_pkt_deinit(dhd_pub_t *dhdp); 63 extern void dhd_dump_pkt_clear(dhd_pub_t *dhdp); 65 static INLINE void dhd_dump_mod_pkt_timer(dhd_pub_t *dhdp, uint16 rsn) { } in dhd_dump_mod_pkt_timer() argument 66 static INLINE void dhd_dump_pkt_init(dhd_pub_t *dhdp) { } in dhd_dump_pkt_init() argument 67 static INLINE void dhd_dump_pkt_deinit(dhd_pub_t *dhdp) { } in dhd_dump_pkt_deinit() argument 68 static INLINE void dhd_dump_pkt_clear(dhd_pub_t *dhdp) { } in dhd_dump_pkt_clear() argument 73 extern void dhd_trx_pkt_dump(dhd_pub_t *dhdp, int ifidx, 76 static INLINE void dhd_trx_pkt_dump(dhd_pub_t *dhdp, int ifidx, in dhd_trx_pkt_dump() argument [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | dhd_flowring.c | 57 static INLINE uint16 dhd_flowid_find(dhd_pub_t *dhdp, uint8 ifindex, uint8 prio, 60 static INLINE uint16 dhd_flowid_alloc(dhd_pub_t *dhdp, uint8 ifindex, 63 static INLINE int dhd_flowid_lookup(dhd_pub_t *dhdp, uint8 ifindex, uint8 prio, 86 flow_ring_node_t *dhd_flow_ring_node(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_ring_node() argument 90 ASSERT(dhdp != (dhd_pub_t *)NULL); in dhd_flow_ring_node() 91 ASSERT(flowid < dhdp->num_flow_rings); in dhd_flow_ring_node() 92 if (flowid >= dhdp->num_flow_rings) { in dhd_flow_ring_node() 96 flow_ring_node = &(((flow_ring_node_t *)(dhdp->flow_ring_table))[flowid]); in dhd_flow_ring_node() 103 flow_queue_t *dhd_flow_queue(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_queue() argument 107 flow_ring_node = dhd_flow_ring_node(dhdp, flowid); in dhd_flow_queue() [all …]
|
D | dhd_debug.h | 87 #define DBG_RING_ACTIVE(dhdp, ring_id) \ argument 88 ((dhdp)->dbg->dbg_rings[(ring_id)].state == RING_ACTIVE) 90 #define DBG_RING_ACTIVE(dhdp, ring_id) 0 argument 354 #define DBG_EVENT_LOG(dhdp, connect_state) \ argument 358 if (CAN_SLEEP() && DBG_RING_ACTIVE(dhdp, DHD_EVENT_RING_ID)) \ 359 dhd_os_push_push_ring_data(dhdp, DHD_EVENT_RING_ID, &state, \ 618 typedef void (*dbg_urgent_noti_t)(dhd_pub_t *dhdp, const void *data, 620 typedef int (*dbg_mon_tx_pkts_t)(dhd_pub_t *dhdp, void *pkt, uint32 pktid); 621 typedef int (*dbg_mon_tx_status_t)(dhd_pub_t *dhdp, void *pkt, uint32 pktid, 623 typedef int (*dbg_mon_rx_pkts_t)(dhd_pub_t *dhdp, void *pkt); [all …]
|
D | dhd_debug_linux.c | 51 dhd_pub_t *dhdp; member 73 static void debug_data_send(dhd_pub_t *dhdp, int ring_id, const void *data, in debug_data_send() argument 79 ndev = dhd_linux_get_primary_netdev(dhdp); in debug_data_send() 92 static void dhd_os_dbg_urgent_notifier(dhd_pub_t *dhdp, const void *data, in dhd_os_dbg_urgent_notifier() argument 96 ndev = dhd_linux_get_primary_netdev(dhdp); in dhd_os_dbg_urgent_notifier() 101 urgent_noti_sub_cb(ndev, data, len, dhdp->soc_ram_length); in dhd_os_dbg_urgent_notifier() 119 dhd_pub_t *dhdp = ring_info->dhdp; in dbg_ring_poll_worker() local 127 ring = &dhdp->dbg->dbg_rings[ringid]; in dbg_ring_poll_worker() 129 dhd_dbg_get_ring_status(dhdp, ringid, &ring_status); in dbg_ring_poll_worker() 143 buf = MALLOCZ(dhdp->osh, buflen); in dbg_ring_poll_worker() [all …]
|
D | dhd_debug.c | 156 int dhd_dbg_push_to_ring(dhd_pub_t *dhdp, int ring_id, in dhd_dbg_push_to_ring() argument 163 if (!dhdp || !dhdp->dbg) { in dhd_dbg_push_to_ring() 172 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_push_to_ring() 180 dhd_dbg_ring_sched_pull(ring, pending_len, dhdp->dbg->pullreq, in dhd_dbg_push_to_ring() 181 dhdp->dbg->private, ring->id); in dhd_dbg_push_to_ring() 186 dhd_dbg_ring_t *dhd_dbg_get_ring_from_ring_id(dhd_pub_t *dhdp, int ring_id) in dhd_dbg_get_ring_from_ring_id() argument 188 if (!dhdp || !dhdp->dbg) { in dhd_dbg_get_ring_from_ring_id() 197 return &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_get_ring_from_ring_id() 200 int dhd_dbg_pull_single_from_ring(dhd_pub_t *dhdp, int ring_id, void *data, in dhd_dbg_pull_single_from_ring() argument 205 if (!dhdp || !dhdp->dbg) { in dhd_dbg_pull_single_from_ring() [all …]
|
D | dhd.h | 175 #define DHD_BUS_BUSY_SET_IN_TX(dhdp) \ argument 176 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_TX 177 #define DHD_BUS_BUSY_SET_IN_SEND_PKT(dhdp) \ argument 178 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_SEND_PKT 179 #define DHD_BUS_BUSY_SET_IN_DPC(dhdp) \ argument 180 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_DPC 181 #define DHD_BUS_BUSY_SET_IN_WD(dhdp) \ argument 182 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_WD 183 #define DHD_BUS_BUSY_SET_IN_IOVAR(dhdp) \ argument 184 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_IOVAR [all …]
|
D | dhd_linux_pktdump.h | 60 extern void dhd_dump_mod_pkt_timer(dhd_pub_t *dhdp, uint16 rsn); 61 extern void dhd_dump_pkt_init(dhd_pub_t *dhdp); 62 extern void dhd_dump_pkt_deinit(dhd_pub_t *dhdp); 63 extern void dhd_dump_pkt_clear(dhd_pub_t *dhdp); 65 static INLINE void dhd_dump_mod_pkt_timer(dhd_pub_t *dhdp, uint16 rsn) in dhd_dump_mod_pkt_timer() argument 68 static INLINE void dhd_dump_pkt_init(dhd_pub_t *dhdp) in dhd_dump_pkt_init() argument 71 static INLINE void dhd_dump_pkt_deinit(dhd_pub_t *dhdp) in dhd_dump_pkt_deinit() argument 74 static INLINE void dhd_dump_pkt_clear(dhd_pub_t *dhdp) in dhd_dump_pkt_clear() argument 81 extern void dhd_trx_pkt_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, 84 static INLINE void dhd_trx_pkt_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, in dhd_trx_pkt_dump() argument [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | dhd_flowring.c | 56 static INLINE uint16 dhd_flowid_find(dhd_pub_t *dhdp, uint8 ifindex, 59 static INLINE uint16 dhd_flowid_alloc(dhd_pub_t *dhdp, uint8 ifindex, 62 static INLINE int dhd_flowid_lookup(dhd_pub_t *dhdp, uint8 ifindex, 91 dhd_flow_ring_node(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_ring_node() argument 95 ASSERT(dhdp != (dhd_pub_t*)NULL); in dhd_flow_ring_node() 96 ASSERT(flowid < dhdp->num_flow_rings); in dhd_flow_ring_node() 98 flow_ring_node = &(((flow_ring_node_t*)(dhdp->flow_ring_table))[flowid]); in dhd_flow_ring_node() 106 dhd_flow_queue(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_queue() argument 110 flow_ring_node = dhd_flow_ring_node(dhdp, flowid); in dhd_flow_queue() 118 dhd_flow_queue_reinit(dhd_pub_t *dhdp, flow_queue_t *queue, int max) in dhd_flow_queue_reinit() argument [all …]
|
D | dhd_debug_linux.c | 49 dhd_pub_t *dhdp; member 72 debug_data_send(dhd_pub_t *dhdp, int ring_id, const void *data, const uint32 len, in debug_data_send() argument 77 ndev = dhd_linux_get_primary_netdev(dhdp); in debug_data_send() 87 dhd_os_dbg_urgent_notifier(dhd_pub_t *dhdp, const void *data, const uint32 len) in dhd_os_dbg_urgent_notifier() argument 90 ndev = dhd_linux_get_primary_netdev(dhdp); in dhd_os_dbg_urgent_notifier() 94 urgent_noti_sub_cb(ndev, data, len, dhdp->soc_ram_length); in dhd_os_dbg_urgent_notifier() 113 dhd_pub_t *dhdp = ring_info->dhdp; in dbg_ring_poll_worker() local 121 ring = &dhdp->dbg->dbg_rings[ringid]; in dbg_ring_poll_worker() 123 dhd_dbg_get_ring_status(dhdp, ringid, &ring_status); in dbg_ring_poll_worker() 137 buf = MALLOCZ(dhdp->osh, buflen); in dbg_ring_poll_worker() [all …]
|
D | dhd_debug.h | 91 #define DBG_RING_ACTIVE(dhdp, ring_id) \ argument 92 ((dhdp)->dbg->dbg_rings[(ring_id)].state == RING_ACTIVE) 94 #define DBG_RING_ACTIVE(dhdp, ring_id) 0 argument 382 #define DBG_EVENT_LOG(dhdp, connect_state) \ argument 386 if (DBG_RING_ACTIVE(dhdp, DHD_EVENT_RING_ID)) \ 387 dhd_os_push_push_ring_data(dhdp, DHD_EVENT_RING_ID, \ 392 #define DBG_EVENT_LOG(dhdp, connect_state) argument 654 typedef void (*dbg_urgent_noti_t) (dhd_pub_t *dhdp, const void *data, const uint32 len); 655 typedef int (*dbg_mon_tx_pkts_t) (dhd_pub_t *dhdp, void *pkt, uint32 pktid); 656 typedef int (*dbg_mon_tx_status_t) (dhd_pub_t *dhdp, void *pkt, [all …]
|
D | dhd_debug.c | 196 dhd_dbg_ring_pull_single(dhd_pub_t *dhdp, int ring_id, void *data, uint32 buf_len, in dhd_dbg_ring_pull_single() argument 204 if (!dhdp || !dhdp->dbg) { in dhd_dbg_ring_pull_single() 208 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_ring_pull_single() 271 dhd_dbg_ring_pull(dhd_pub_t *dhdp, int ring_id, void *data, uint32 buf_len) in dhd_dbg_ring_pull() argument 276 if (!dhdp || !dhdp->dbg) in dhd_dbg_ring_pull() 278 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_ring_pull() 283 r_len = dhd_dbg_ring_pull_single(dhdp, ring_id, data, buf_len, FALSE); in dhd_dbg_ring_pull() 295 dhd_dbg_ring_push(dhd_pub_t *dhdp, int ring_id, dhd_dbg_ring_entry_t *hdr, void *data) in dhd_dbg_ring_push() argument 304 if (!dhdp || !dhdp->dbg) { in dhd_dbg_ring_push() 308 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_ring_push() [all …]
|
D | dhd.h | 136 #define DHD_BUS_BUSY_SET_IN_TX(dhdp) \ argument 137 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_TX 138 #define DHD_BUS_BUSY_SET_IN_SEND_PKT(dhdp) \ argument 139 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_SEND_PKT 140 #define DHD_BUS_BUSY_SET_IN_DPC(dhdp) \ argument 141 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_DPC 142 #define DHD_BUS_BUSY_SET_IN_WD(dhdp) \ argument 143 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_WD 144 #define DHD_BUS_BUSY_SET_IN_IOVAR(dhdp) \ argument 145 (dhdp)->dhd_bus_busy_state |= DHD_BUS_BUSY_IN_IOVAR [all …]
|
D | dhd_ip.c | 129 dhd_pub_t *dhdp; member 212 static int _tdata_psh_info_pool_init(dhd_pub_t *dhdp, in _tdata_psh_info_pool_init() argument 227 MALLOC(dhdp->osh, sizeof(tdata_psh_info_t) * TCPDATA_PSH_INFO_MAXNUM); in _tdata_psh_info_pool_init() 246 static void _tdata_psh_info_pool_deinit(dhd_pub_t *dhdp, in _tdata_psh_info_pool_deinit() argument 283 MFREE(dhdp->osh, tcpack_sup_mod->tdata_psh_info_pool, in _tdata_psh_info_pool_deinit() 304 dhd_pub_t *dhdp; in dhd_tcpack_send() local 313 dhdp = cur_tbl->dhdp; in dhd_tcpack_send() 314 if (!dhdp) { in dhd_tcpack_send() 318 flags = dhd_os_tcpacklock(dhdp); in dhd_tcpack_send() 320 tcpack_sup_mod = dhdp->tcpack_sup_module; in dhd_tcpack_send() [all …]
|