Home
last modified time | relevance | path

Searched refs:dhdp (Results 1 – 25 of 258) sorted by relevance

1234567891011

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_flowring.c54 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 …]
H A Ddhd_pktlog.h85 dhd_pub_t *dhdp; member
111 dhd_pub_t *dhdp; member
134 extern int dhd_os_attach_pktlog(dhd_pub_t *dhdp);
135 extern int dhd_os_detach_pktlog(dhd_pub_t *dhdp);
136 extern dhd_pktlog_ring_t* dhd_pktlog_ring_init(dhd_pub_t *dhdp, int size);
137 extern int dhd_pktlog_ring_deinit(dhd_pub_t *dhdp, dhd_pktlog_ring_t *ring);
143 extern int dhd_pktlog_ring_add_pkts(dhd_pub_t *dhdp, void *pkt, void *pktdata, uint32 pktid,
145 extern int dhd_pktlog_ring_tx_status(dhd_pub_t *dhdp, void *pkt, void *pktdata, uint32 pktid,
159 #define PKTLOG_SET_IN_TX(dhdp) \ argument
162 OSL_ATOMIC_OR((dhdp)->osh, &(dhdp)->pktlog->pktlog_status, PKTLOG_TRANS_TX); \
[all …]
H A Ddhd_debug.h92 #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 …]
H A Ddhd_debug_linux.c47 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_flowring.c54 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 …]
H A Ddhd_pktlog.h85 dhd_pub_t *dhdp; member
111 dhd_pub_t *dhdp; member
134 extern int dhd_os_attach_pktlog(dhd_pub_t *dhdp);
135 extern int dhd_os_detach_pktlog(dhd_pub_t *dhdp);
136 extern dhd_pktlog_ring_t* dhd_pktlog_ring_init(dhd_pub_t *dhdp, int size);
137 extern int dhd_pktlog_ring_deinit(dhd_pub_t *dhdp, dhd_pktlog_ring_t *ring);
143 extern int dhd_pktlog_ring_add_pkts(dhd_pub_t *dhdp, void *pkt, void *pktdata, uint32 pktid,
145 extern int dhd_pktlog_ring_tx_status(dhd_pub_t *dhdp, void *pkt, void *pktdata, uint32 pktid,
159 #define PKTLOG_SET_IN_TX(dhdp) \ argument
162 OSL_ATOMIC_OR((dhdp)->osh, &(dhdp)->pktlog->pktlog_status, PKTLOG_TRANS_TX); \
[all …]
H A Ddhd_fwtrace.c37 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 …]
H A Ddhd_debug.h92 #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 …]
H A Ddhd_debug_linux.c47 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 …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_flowring.c57 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 …]
H A Ddhd_debug.c156 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
162 if (!dhdp || !dhdp->dbg) { in dhd_dbg_push_to_ring()
171 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_push_to_ring()
178 dhd_dbg_ring_sched_pull(ring, pending_len, dhdp->dbg->pullreq, in dhd_dbg_push_to_ring()
179 dhdp->dbg->private, ring->id); in dhd_dbg_push_to_ring()
185 dhd_dbg_get_ring_from_ring_id(dhd_pub_t *dhdp, int ring_id) in dhd_dbg_get_ring_from_ring_id() argument
187 if (!dhdp || !dhdp->dbg) { in dhd_dbg_get_ring_from_ring_id()
196 return &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_get_ring_from_ring_id()
200 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
205 if (!dhdp || !dhdp->dbg) { in dhd_dbg_pull_single_from_ring()
[all …]
H A Ddhd_debug.h88 #define DBG_RING_ACTIVE(dhdp, ring_id) \ argument
89 ((dhdp)->dbg->dbg_rings[(ring_id)].state == RING_ACTIVE)
91 #define DBG_RING_ACTIVE(dhdp, ring_id) 0 argument
350 #define DBG_EVENT_LOG(dhdp, connect_state) \ argument
354 if (CAN_SLEEP() && DBG_RING_ACTIVE(dhdp, DHD_EVENT_RING_ID)) \
355 dhd_os_push_push_ring_data(dhdp, DHD_EVENT_RING_ID, \
623 typedef void (*dbg_urgent_noti_t) (dhd_pub_t *dhdp, const void *data, const uint32 len);
624 typedef int (*dbg_mon_tx_pkts_t) (dhd_pub_t *dhdp, void *pkt, uint32 pktid);
625 typedef int (*dbg_mon_tx_status_t) (dhd_pub_t *dhdp, void *pkt,
627 typedef int (*dbg_mon_rx_pkts_t) (dhd_pub_t *dhdp, void *pkt);
[all …]
H A Ddhd_debug_linux.c51 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 …]
H A Ddhd.h175 #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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_flowring.c57 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 …]
H A Ddhd_debug.c156 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
162 if (!dhdp || !dhdp->dbg) { in dhd_dbg_push_to_ring()
171 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_push_to_ring()
178 dhd_dbg_ring_sched_pull(ring, pending_len, dhdp->dbg->pullreq, in dhd_dbg_push_to_ring()
179 dhdp->dbg->private, ring->id); in dhd_dbg_push_to_ring()
185 dhd_dbg_get_ring_from_ring_id(dhd_pub_t *dhdp, int ring_id) in dhd_dbg_get_ring_from_ring_id() argument
187 if (!dhdp || !dhdp->dbg) { in dhd_dbg_get_ring_from_ring_id()
196 return &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_get_ring_from_ring_id()
200 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
205 if (!dhdp || !dhdp->dbg) { in dhd_dbg_pull_single_from_ring()
[all …]
H A Ddhd_debug.h88 #define DBG_RING_ACTIVE(dhdp, ring_id) \ argument
89 ((dhdp)->dbg->dbg_rings[(ring_id)].state == RING_ACTIVE)
91 #define DBG_RING_ACTIVE(dhdp, ring_id) 0 argument
350 #define DBG_EVENT_LOG(dhdp, connect_state) \ argument
354 if (CAN_SLEEP() && DBG_RING_ACTIVE(dhdp, DHD_EVENT_RING_ID)) \
355 dhd_os_push_push_ring_data(dhdp, DHD_EVENT_RING_ID, \
623 typedef void (*dbg_urgent_noti_t) (dhd_pub_t *dhdp, const void *data, const uint32 len);
624 typedef int (*dbg_mon_tx_pkts_t) (dhd_pub_t *dhdp, void *pkt, uint32 pktid);
625 typedef int (*dbg_mon_tx_status_t) (dhd_pub_t *dhdp, void *pkt,
627 typedef int (*dbg_mon_rx_pkts_t) (dhd_pub_t *dhdp, void *pkt);
[all …]
H A Ddhd_debug_linux.c51 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_flowring.c57 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 …]
H A Ddhd_debug.c156 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
162 if (!dhdp || !dhdp->dbg) { in dhd_dbg_push_to_ring()
171 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_push_to_ring()
178 dhd_dbg_ring_sched_pull(ring, pending_len, dhdp->dbg->pullreq, in dhd_dbg_push_to_ring()
179 dhdp->dbg->private, ring->id); in dhd_dbg_push_to_ring()
185 dhd_dbg_get_ring_from_ring_id(dhd_pub_t *dhdp, int ring_id) in dhd_dbg_get_ring_from_ring_id() argument
187 if (!dhdp || !dhdp->dbg) { in dhd_dbg_get_ring_from_ring_id()
196 return &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_get_ring_from_ring_id()
200 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
205 if (!dhdp || !dhdp->dbg) { in dhd_dbg_pull_single_from_ring()
[all …]
H A Ddhd_debug.h88 #define DBG_RING_ACTIVE(dhdp, ring_id) \ argument
89 ((dhdp)->dbg->dbg_rings[(ring_id)].state == RING_ACTIVE)
91 #define DBG_RING_ACTIVE(dhdp, ring_id) 0 argument
350 #define DBG_EVENT_LOG(dhdp, connect_state) \ argument
354 if (CAN_SLEEP() && DBG_RING_ACTIVE(dhdp, DHD_EVENT_RING_ID)) \
355 dhd_os_push_push_ring_data(dhdp, DHD_EVENT_RING_ID, \
623 typedef void (*dbg_urgent_noti_t) (dhd_pub_t *dhdp, const void *data, const uint32 len);
624 typedef int (*dbg_mon_tx_pkts_t) (dhd_pub_t *dhdp, void *pkt, uint32 pktid);
625 typedef int (*dbg_mon_tx_status_t) (dhd_pub_t *dhdp, void *pkt,
627 typedef int (*dbg_mon_rx_pkts_t) (dhd_pub_t *dhdp, void *pkt);
[all …]
H A Ddhd_debug_linux.c51 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_flowring.c57 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,
92 dhd_flow_ring_node(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_ring_node() argument
96 ASSERT(dhdp != (dhd_pub_t*)NULL); in dhd_flow_ring_node()
97 ASSERT(flowid < dhdp->num_flow_rings); in dhd_flow_ring_node()
99 flow_ring_node = &(((flow_ring_node_t*)(dhdp->flow_ring_table))[flowid]); in dhd_flow_ring_node()
107 dhd_flow_queue(dhd_pub_t *dhdp, uint16 flowid) in dhd_flow_queue() argument
111 flow_ring_node = dhd_flow_ring_node(dhdp, flowid); in dhd_flow_queue()
119 dhd_flow_queue_reinit(dhd_pub_t *dhdp, flow_queue_t *queue, int max) in dhd_flow_queue_reinit() argument
[all …]
H A Ddhd_debug_linux.c50 dhd_pub_t *dhdp; member
73 debug_data_send(dhd_pub_t *dhdp, int ring_id, const void *data, const uint32 len, in debug_data_send() argument
78 ndev = dhd_linux_get_primary_netdev(dhdp); in debug_data_send()
88 dhd_os_dbg_urgent_notifier(dhd_pub_t *dhdp, const void *data, const uint32 len) in dhd_os_dbg_urgent_notifier() argument
91 ndev = dhd_linux_get_primary_netdev(dhdp); in dhd_os_dbg_urgent_notifier()
95 urgent_noti_sub_cb(ndev, data, len, dhdp->soc_ram_length); in dhd_os_dbg_urgent_notifier()
114 dhd_pub_t *dhdp = ring_info->dhdp; in dbg_ring_poll_worker() local
122 ring = &dhdp->dbg->dbg_rings[ringid]; in dbg_ring_poll_worker()
124 dhd_dbg_get_ring_status(dhdp, ringid, &ring_status); in dbg_ring_poll_worker()
138 buf = MALLOCZ(dhdp->osh, buflen); in dbg_ring_poll_worker()
[all …]
H A Ddhd_debug.c197 dhd_dbg_ring_pull_single(dhd_pub_t *dhdp, int ring_id, void *data, uint32 buf_len, in dhd_dbg_ring_pull_single() argument
205 if (!dhdp || !dhdp->dbg) { in dhd_dbg_ring_pull_single()
209 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_ring_pull_single()
272 dhd_dbg_ring_pull(dhd_pub_t *dhdp, int ring_id, void *data, uint32 buf_len) in dhd_dbg_ring_pull() argument
277 if (!dhdp || !dhdp->dbg) in dhd_dbg_ring_pull()
279 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_ring_pull()
284 r_len = dhd_dbg_ring_pull_single(dhdp, ring_id, data, buf_len, FALSE); in dhd_dbg_ring_pull()
296 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
305 if (!dhdp || !dhdp->dbg) { in dhd_dbg_ring_push()
309 ring = &dhdp->dbg->dbg_rings[ring_id]; in dhd_dbg_ring_push()
[all …]

1234567891011