Lines Matching defs:dhd
773 #define PKT_CTF_CHAINABLE(dhd, ifidx, evh, prio, h_sa, h_da, h_prio) \ argument
797 dhd_prot_is_cmpl_ring_empty(dhd_pub_t *dhd, void *prot_info) in dhd_prot_is_cmpl_ring_empty()
826 dhd_prot_get_h2d_max_txpost(dhd_pub_t *dhd) in dhd_prot_get_h2d_max_txpost()
831 dhd_prot_set_h2d_max_txpost(dhd_pub_t *dhd, uint16 max_txpost) in dhd_prot_set_h2d_max_txpost()
867 dhd_prot_d2h_sync_livelock(dhd_pub_t *dhd, uint32 msg_seqnum, msgbuf_ring_t *ring, uint32 tries, in dhd_prot_d2h_sync_livelock()
928 dhd_prot_d2h_sync_seqnum(dhd_pub_t *dhd, msgbuf_ring_t *ring, in dhd_prot_d2h_sync_seqnum()
1007 dhd_prot_d2h_sync_xorcsum(dhd_pub_t *dhd, msgbuf_ring_t *ring, in dhd_prot_d2h_sync_xorcsum()
1095 dhd_prot_d2h_sync_none(dhd_pub_t *dhd, msgbuf_ring_t *ring, in dhd_prot_d2h_sync_none()
1261 dhd_prot_d2h_sync_edl_none(dhd_pub_t *dhd, msgbuf_ring_t *ring, in dhd_prot_d2h_sync_edl_none()
1281 dhd_wakeup_ioctl_event(dhd_pub_t *dhd, dhd_ioctl_recieved_status_t reason) in dhd_wakeup_ioctl_event()
1296 dhd_prot_d2h_sync_init(dhd_pub_t *dhd) in dhd_prot_d2h_sync_init()
1346 dhd_prot_h2d_sync_init(dhd_pub_t *dhd) in dhd_prot_h2d_sync_init()
1385 dhd_dma_buf_audit(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf) in dhd_dma_buf_audit()
1412 dhd_dma_buf_alloc(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf, uint32 buf_len) in dhd_dma_buf_alloc()
1452 dhd_dma_buf_reset(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf) in dhd_dma_buf_reset()
1469 dhd_dma_buf_free(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf) in dhd_dma_buf_free()
1493 dhd_dma_buf_init(dhd_pub_t *dhd, void *dhd_dma_buf, in dhd_dma_buf_init()
1542 #define DHD_PKTID_LOG_INIT(dhd, hdl) dhd_pktid_logging_init((dhd), (hdl)) argument
1543 #define DHD_PKTID_LOG_FINI(dhd, hdl) dhd_pktid_logging_fini((dhd), (hdl)) argument
1544 #define DHD_PKTID_LOG(dhd, hdl, pa, pktid, len, pkttype) \ argument
1546 #define DHD_PKTID_LOG_DUMP(dhd) dhd_pktid_logging_dump((dhd)) argument
1549 dhd_pktid_logging_init(dhd_pub_t *dhd, uint32 num_items) in dhd_pktid_logging_init()
1569 dhd_pktid_logging_fini(dhd_pub_t *dhd, dhd_pktid_log_handle_t *handle) in dhd_pktid_logging_fini()
1585 dhd_pktid_logging(dhd_pub_t *dhd, dhd_pktid_log_handle_t *handle, dmaaddr_t pa, in dhd_pktid_logging()
1607 dhd_pktid_logging_dump(dhd_pub_t *dhd) in dhd_pktid_logging_dump()
1698 #define DHD_NATIVE_TO_PKTID_INIT(dhd, items) dhd_pktid_map_init((dhd), (items)) argument
1699 #define DHD_NATIVE_TO_PKTID_RESET(dhd, map) dhd_pktid_map_reset((dhd), (map)) argument
1700 #define DHD_NATIVE_TO_PKTID_FINI(dhd, map) dhd_pktid_map_fini((dhd), (map)) argument
1855 #define DHD_NATIVE_TO_PKTID_RESET_IOCTL(dhd, map) dhd_pktid_map_reset_ioctl((dhd), (map)) argument
1858 #define DHD_NATIVE_TO_PKTID_RSV(dhd, map, pkt, pkttype) \ argument
1861 #define DHD_NATIVE_TO_PKTID_SAVE(dhd, map, pkt, nkey, pa, len, dir, dmah, secdma, pkttype) \ argument
1866 #define DHD_NATIVE_TO_PKTID(dhd, map, pkt, pa, len, dir, dmah, secdma, pkttype) \ argument
1872 #define DHD_PKTID_TO_NATIVE(dhd, map, pktid, pa, len, dmah, secdma, pkttype) \ argument
1878 #define DHD_PKTID_TO_NATIVE_RSV(dhd, map, pktid, pa, len, dmah, secdma, pkttype) \ argument
1888 dhd_get_pktid_map_type(dhd_pub_t *dhd, dhd_pktid_map_t *pktid_map) in dhd_get_pktid_map_type()
1910 __dhd_pktid_audit(dhd_pub_t *dhd, dhd_pktid_map_t *pktid_map, uint32 pktid, in __dhd_pktid_audit()
1999 dhd_pktid_audit(dhd_pub_t *dhd, dhd_pktid_map_t *pktid_map, uint32 pktid, in dhd_pktid_audit()
2064 dhd_pktid_map_init(dhd_pub_t *dhd, uint32 num_items) in dhd_pktid_map_init()
2166 dhd_pktid_map_reset(dhd_pub_t *dhd, dhd_pktid_map_handle_t *handle) in dhd_pktid_map_reset()
2229 dhd_pktid_map_reset_ioctl(dhd_pub_t *dhd, dhd_pktid_map_handle_t *handle) in dhd_pktid_map_reset_ioctl()
2277 dhd_pktid_map_fini(dhd_pub_t *dhd, dhd_pktid_map_handle_t *handle) in dhd_pktid_map_fini()
2309 dhd_pktid_map_fini_ioctl(dhd_pub_t *dhd, dhd_pktid_map_handle_t *handle) in dhd_pktid_map_fini_ioctl()
2368 dhd_pktid_map_reserve(dhd_pub_t *dhd, dhd_pktid_map_handle_t *handle, in dhd_pktid_map_reserve()
2419 dhd_pktid_map_save(dhd_pub_t *dhd, dhd_pktid_map_handle_t *handle, void *pkt, in dhd_pktid_map_save()
2473 dhd_pktid_map_alloc(dhd_pub_t *dhd, dhd_pktid_map_handle_t *handle, void *pkt, in dhd_pktid_map_alloc()
2495 dhd_pktid_map_free(dhd_pub_t *dhd, dhd_pktid_map_handle_t *handle, uint32 nkey, in dhd_pktid_map_free()
2639 dhd_pktid_map_init(dhd_pub_t *dhd, uint32 num_items) in dhd_pktid_map_init()
2696 dhd_pktid_map_reset(dhd_pub_t *dhd, pktlists_t *handle) in dhd_pktid_map_reset()
2717 dhd_pktid_map_fini(dhd_pub_t *dhd, dhd_pktid_map_handle_t *map) in dhd_pktid_map_fini()
2785 #define DHD_NATIVE_TO_PKTID_RSV(dhd, map, pkt, pkttype) DHD_PKTID32(pkt) argument
2787 #define DHD_NATIVE_TO_PKTID_SAVE(dhd, map, pkt, nkey, pa, len, dma_dir, dmah, secdma, pkttype) \ argument
2793 #define DHD_NATIVE_TO_PKTID(dhd, map, pkt, pa, len, dma_dir, dmah, secdma, pkttype) \ argument
2799 #define DHD_PKTID_TO_NATIVE(dhd, map, pktid, pa, len, dmah, secdma, pkttype) \ argument
2834 dhd_prot_attach(dhd_pub_t *dhd)
3043 dhd_alloc_host_scbs(dhd_pub_t *dhd)
3075 dhd_set_host_cap(dhd_pub_t *dhd)
3202 dhd_prot_init(dhd_pub_t *dhd)
3466 void dhd_prot_detach(dhd_pub_t *dhd)
3558 dhd_prot_reset(dhd_pub_t *dhd)
3721 dhd_pub_t *dhd = (dhd_pub_t *)data; local
3789 dhd_pub_t *dhd = (dhd_pub_t *)data; local
3801 dhd_prot_rx_dataoffset(dhd_pub_t *dhd, uint32 rx_offset)
3808 dhd_check_create_info_rings(dhd_pub_t *dhd)
3891 dhd_prot_init_info_rings(dhd_pub_t *dhd)
3932 dhd_prot_detach_info_rings(dhd_pub_t *dhd)
3948 dhd_check_create_hp2p_rings(dhd_pub_t *dhd)
4019 dhd_prot_init_hp2p_rings(dhd_pub_t *dhd)
4069 dhd_prot_detach_hp2p_rings(dhd_pub_t *dhd)
4086 dhd_check_create_edl_rings(dhd_pub_t *dhd)
4136 dhd_prot_init_edl_rings(dhd_pub_t *dhd)
4165 dhd_prot_detach_edl_rings(dhd_pub_t *dhd)
4179 int dhd_sync_with_dongle(dhd_pub_t *dhd)
4283 dhd_prot_print_metadata(dhd_pub_t *dhd, void *ptr, int len)
4373 dhd_prot_packet_free(dhd_pub_t *dhd, void *pkt, uint8 pkttype, bool send)
4397 dhd_prot_packet_get(dhd_pub_t *dhd, uint32 pktid, uint8 pkttype, bool free_pktid)
4454 dhd_prot_ioctl_ret_buffer_get(dhd_pub_t *dhd, uint32 pktid, dhd_dma_buf_t *retbuf)
4465 dhd_msgbuf_rxbuf_post(dhd_pub_t *dhd, bool use_rsv_pktid)
4505 dhd_prot_rxbuf_post(dhd_pub_t *dhd, uint16 count, bool use_rsv_pktid)
4705 dhd_prot_infobufpost(dhd_pub_t *dhd, msgbuf_ring_t *ring)
4882 alloc_ioctl_return_buffer(dhd_pub_t *dhd, dhd_dma_buf_t *retbuf)
4897 free_ioctl_return_buffer(dhd_pub_t *dhd, dhd_dma_buf_t *retbuf)
4913 dhd_prot_rxbufpost_ctrl(dhd_pub_t *dhd, uint8 msg_type)
5156 dhd_msgbuf_rxbuf_post_ctrlpath(dhd_pub_t *dhd, uint8 msg_type, uint32 max_to_post)
5179 dhd_msgbuf_rxbuf_post_ioctlresp_bufs(dhd_pub_t *dhd)
5196 dhd_msgbuf_rxbuf_post_event_bufs(dhd_pub_t *dhd)
5212 dhd_msgbuf_rxbuf_post_ts_bufs(dhd_pub_t *dhd)
5218 dhd_prot_process_msgbuf_infocpl(dhd_pub_t *dhd, uint bound)
5283 dhd_prot_process_msgbuf_edl(dhd_pub_t *dhd)
5375 dhd_prot_process_edl_complete(dhd_pub_t *dhd, void *evt_decode_data)
5535 dhd_prot_edl_ring_tcm_rd_update(dhd_pub_t *dhd)
5557 dhd_prot_process_msgbuf_rxcpl(dhd_pub_t *dhd, uint bound, int ringtype)
5815 dhd_prot_update_txflowring(dhd_pub_t *dhd, uint16 flowid, void *msgring)
5837 dhd_prot_process_msgbuf_txcpl(dhd_pub_t *dhd, uint bound, int ringtype)
5905 dhd_prot_process_trapbuf(dhd_pub_t *dhd)
5941 dhd_prot_process_ctrlbuf(dhd_pub_t *dhd)
5993 dhd_prot_process_msgtype(dhd_pub_t *dhd, msgbuf_ring_t *ring, uint8 *buf, uint32 len)
6090 dhd_prot_noop(dhd_pub_t *dhd, void *msg)
6097 dhd_prot_ringstatus_process(dhd_pub_t *dhd, void *msg)
6175 dhd_prot_genstatus_process(dhd_pub_t *dhd, void *msg)
6191 dhd_prot_ioctack_process(dhd_pub_t *dhd, void *msg)
6236 dhd_prot_ioctcmplt_process(dhd_pub_t *dhd, void *msg)
6351 dhd_prot_check_tx_resource(dhd_pub_t *dhd)
6357 dhd_prot_update_pktid_txq_stop_cnt(dhd_pub_t *dhd)
6363 dhd_prot_update_pktid_txq_start_cnt(dhd_pub_t *dhd)
6370 dhd_prot_txstatus_process(dhd_pub_t *dhd, void *msg)
6566 dhd_prot_event_process(dhd_pub_t *dhd, void *msg)
6613 dhd_prot_process_infobuf_complete(dhd_pub_t *dhd, void* buf)
6662 dhd_prot_process_snapshot_complete(dhd_pub_t *dhd, void *buf)
6667 void dhd_prot_stop(dhd_pub_t *dhd)
6678 dhd_prot_hdrpush(dhd_pub_t *dhd, int ifidx, void *PKTBUF)
6684 dhd_prot_hdrlen(dhd_pub_t *dhd, void *PKTBUF)
6698 dhd_prot_txdata(dhd_pub_t *dhd, void *PKTBUF, uint8 ifidx)
7011 dhd_prot_txdata_write_flush(dhd_pub_t *dhd, uint16 flowid)
7039 dhd_prot_hdrpull(dhd_pub_t *dhd, int *ifidx, void *pkt, uchar *buf, uint *len)
7046 dhd_prot_return_rxbuf(dhd_pub_t *dhd, uint32 pktid, uint32 rxcnt)
7096 dhd_prot_wlioctl_intercept(dhd_pub_t *dhd, wl_ioctl_t * ioc, void * buf)
7115 dhd_prot_wl_ioctl_ret_intercept(dhd_pub_t *dhd, wl_ioctl_t * ioc, void * buf,
7139 int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len)
7214 dhdmsgbuf_lpbk_req(dhd_pub_t *dhd, uint len)
7268 void dmaxfer_free_dmaaddr(dhd_pub_t *dhd, dhd_dmaxfer_t *dmaxfer)
7322 int dmaxfer_prepare_dmaaddr(dhd_pub_t *dhd, uint len,
7370 dhd_msgbuf_dmaxfer_process(dhd_pub_t *dhd, void *msg)
7456 dhdmsgbuf_dmaxfer_req(dhd_pub_t *dhd, uint len, uint srcdelay, uint destdelay,
7530 dhdmsgbuf_dmaxfer_status(dhd_pub_t *dhd, dma_xfer_info_t *result)
7557 dhd_msgbuf_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len, uint8 action)
7623 dhd_msgbuf_iovar_timeout_dump(dhd_pub_t *dhd)
7683 dhd_msgbuf_wait_ioctl_cmplt(dhd_pub_t *dhd, uint32 len, void *buf)
7776 dhd_msgbuf_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len, uint8 action)
7818 int dhd_prot_ctl_complete(dhd_pub_t *dhd)
7824 int dhd_prot_iovar_op(dhd_pub_t *dhd, const char *name,
7831 int dhd_d2h_h2d_ring_dump(dhd_pub_t *dhd, void *file, const void *user_buf,
7899 int dhd_ring_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file,
7927 int dhd_edl_ring_hdr_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file, const void *user_buf,
7977 void dhd_prot_dump(dhd_pub_t *dhd, struct bcmstrbuf *b)
8001 void dhd_prot_dstats(dhd_pub_t *dhd)
8007 int dhd_process_pkt_reorder_info(dhd_pub_t *dhd, uchar *reorder_info_buf,
8015 dhd_post_dummy_msg(dhd_pub_t *dhd)
8059 dhd_prot_alloc_ring_space(dhd_pub_t *dhd, msgbuf_ring_t *ring,
8111 dhd_fillup_ioct_reqst(dhd_pub_t *dhd, uint16 len, uint cmd, void* buf, int ifidx)
8211 dhd_prot_ring_attach(dhd_pub_t *dhd, msgbuf_ring_t *ring, const char *name,
8324 dhd_prot_ring_init(dhd_pub_t *dhd, msgbuf_ring_t *ring)
8358 dhd_prot_ring_reset(dhd_pub_t *dhd, msgbuf_ring_t *ring)
8375 dhd_prot_ring_detach(dhd_pub_t *dhd, msgbuf_ring_t *ring)
8410 dhd_get_max_flow_rings(dhd_pub_t *dhd)
8436 dhd_prot_flowrings_pool_attach(dhd_pub_t *dhd)
8515 dhd_prot_flowrings_pool_reset(dhd_pub_t *dhd)
8542 dhd_prot_flowrings_pool_detach(dhd_pub_t *dhd)
8579 dhd_prot_flowrings_pool_fetch(dhd_pub_t *dhd, uint16 flowid)
8609 dhd_prot_flowrings_pool_release(dhd_pub_t *dhd, uint16 flowid, void *flow_ring)
8683 __dhd_prot_ring_write_complete(dhd_pub_t *dhd, msgbuf_ring_t * ring, void* p,
8733 dhd_prot_ring_write_complete(dhd_pub_t *dhd, msgbuf_ring_t * ring, void* p,
8748 dhd_prot_ring_write_complete_mbdata(dhd_pub_t *dhd, msgbuf_ring_t * ring, void *p,
8771 dhd_prot_upd_read_idx(dhd_pub_t *dhd, msgbuf_ring_t * ring)
8813 dhd_send_d2h_ringcreate(dhd_pub_t *dhd, msgbuf_ring_t *ring_to_create,
8892 dhd_send_h2d_ringcreate(dhd_pub_t *dhd, msgbuf_ring_t *ring_to_create, uint8 ring_type, uint32 id)
8966 dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type, uint16 ringid)
9014 dhd_prot_dma_indx_get(dhd_pub_t *dhd, uint8 type, uint16 ringid)
9073 dhd_prot_dma_indx_alloc(dhd_pub_t *dhd, uint8 type,
9087 dhd_prot_dma_indx_init(dhd_pub_t *dhd, uint32 rw_index_sz, uint8 type, uint32 length)
9164 dhd_prot_get_read_addr(dhd_pub_t *dhd, msgbuf_ring_t *ring, uint32 *available_len)
9262 int dhd_prot_h2d_mbdata_send_ctrlmsg(dhd_pub_t *dhd, uint32 mb_data)
9321 dhd_prot_flow_ring_create(dhd_pub_t *dhd, flow_ring_node_t *flow_ring_node)
9428 dhd_prot_flow_ring_create_response_process(dhd_pub_t *dhd, void *msg)
9442 dhd_prot_process_h2d_ring_create_complete(dhd_pub_t *dhd, void *buf)
9473 dhd_prot_process_d2h_ring_create_complete(dhd_pub_t *dhd, void *buf)
9561 dhd_prot_process_d2h_mb_data(dhd_pub_t *dhd, void* buf)
9572 dhd_prot_process_d2h_host_ts_complete(dhd_pub_t *dhd, void* buf)
9579 void dhd_prot_clean_flow_ring(dhd_pub_t *dhd, void *msgbuf_flow_info)
9586 void dhd_prot_print_flow_ring(dhd_pub_t *dhd, void *msgbuf_flow_info,
9614 void dhd_prot_print_info(dhd_pub_t *dhd, struct bcmstrbuf *strbuf)
9675 dhd_prot_flow_ring_delete(dhd_pub_t *dhd, flow_ring_node_t *flow_ring_node)
9722 dhd_prot_flow_ring_fastdelete(dhd_pub_t *dhd, uint16 flowid, uint16 rd_idx)
9751 dhd_prot_flow_ring_delete_response_process(dhd_pub_t *dhd, void *msg)
9767 dhd_prot_process_flow_ring_resume_response(dhd_pub_t *dhd, void* msg)
9782 dhd_prot_process_flow_ring_suspend_response(dhd_pub_t *dhd, void* msg)
9804 dhd_prot_flow_ring_flush(dhd_pub_t *dhd, flow_ring_node_t *flow_ring_node)
9845 dhd_prot_flow_ring_flush_response_process(dhd_pub_t *dhd, void *msg)
9862 dhd_msgbuf_ring_config_d2h_soft_doorbell(dhd_pub_t *dhd)
9936 dhd_prot_process_d2h_ring_config_complete(dhd_pub_t *dhd, void *msg)
9945 copy_ext_trap_sig(dhd_pub_t *dhd, trap_t *tr)
10137 copy_hang_info_stack(dhd_pub_t *dhd, char *dest, int *bytes_written, int *cnt)
10202 copy_hang_info_specific(dhd_pub_t *dhd, char *dest, int *bytes_written, int *cnt)
10272 get_hang_info_trap_subtype(dhd_pub_t *dhd, uint32 *subtype)
10298 copy_hang_info_etd_base64(dhd_pub_t *dhd, char *dest, int *bytes_written, int *cnt)
10355 copy_hang_info_trap(dhd_pub_t *dhd)
10426 dhd_prot_debug_info_print(dhd_pub_t *dhd)
10643 dhd_prot_ringupd_dump(dhd_pub_t *dhd, struct bcmstrbuf *b)
10696 dhd_prot_metadata_dbg_set(dhd_pub_t *dhd, bool val)
10706 dhd_prot_metadata_dbg_get(dhd_pub_t *dhd)
10713 dhd_prot_metadatalen_set(dhd_pub_t *dhd, uint32 val, bool rx)
10724 dhd_prot_metadatalen_get(dhd_pub_t *dhd, bool rx)
10735 dhd_prot_txp_threshold(dhd_pub_t *dhd, bool set, uint32 val)
10753 dhd_rxchain_frame(dhd_pub_t *dhd, void *pkt, uint ifidx)
10810 dhd_rxchain_commit(dhd_pub_t *dhd)
10829 dhd_prot_flow_ring_resume(dhd_pub_t *dhd, flow_ring_node_t *flow_ring_node)
10896 dhd_prot_flow_ring_batch_suspend_request(dhd_pub_t *dhd, uint16 *ringid, uint16 count)
11388 dhd_prot_data_path_tx_timestamp_logging(dhd_pub_t *dhd, bool enable, bool set)
11397 dhd_prot_data_path_rx_timestamp_logging(dhd_pub_t *dhd, bool enable, bool set)
11406 dhd_prot_pkt_noretry(dhd_pub_t *dhd, bool enable, bool set)
11415 dhd_prot_pkt_noaggr(dhd_pub_t *dhd, bool enable, bool set)
11424 dhd_prot_pkt_fixed_rate(dhd_pub_t *dhd, bool enable, bool set)
11434 dhd_prot_dma_indx_free(dhd_pub_t *dhd)
11443 dhd_msgbuf_delay_post_ts_bufs(dhd_pub_t *dhd)
11450 dhd_prot_process_fw_timestamp(dhd_pub_t *dhd, void* buf)
11462 int dhd_get_hscb_info(dhd_pub_t *dhd, void ** va, uint32 *len)
11484 int dhd_get_hscb_buff(dhd_pub_t *dhd, uint32 offset, uint32 length, void * buff)
11503 dhd_prot_pkt_threshold(dhd_pub_t *dhd, bool set, uint32 val)
11514 dhd_prot_time_threshold(dhd_pub_t *dhd, bool set, uint32 val)
11525 dhd_prot_pkt_expiry(dhd_pub_t *dhd, bool set, uint32 val)
11536 dhd_prot_hp2p_enable(dhd_pub_t *dhd, bool set, int enable)
11557 dhd_update_hp2p_rxstats(dhd_pub_t *dhd, host_rxbuf_cmpl_t *rxstatus)
11577 dhd_update_hp2p_txstats(dhd_pub_t *dhd, host_txbuf_cmpl_t *txstatus)
11645 dhd_calc_hp2p_burst(dhd_pub_t *dhd, msgbuf_ring_t *ring, uint16 flowid)
11691 dhd_update_hp2p_txdesc(dhd_pub_t *dhd, host_txbuf_post_t *txdesc)