Home
last modified time | relevance | path

Searched refs:hcc_handler (Results 1 - 7 of 7) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
H A Dhcc_host.c104 hi_void hcc_transfer_queues_init(hcc_handler_stru *hcc_handler) in hcc_transfer_queues_init() argument
109 oal_netbuf_head_init(&hcc_handler->hcc_transer_info.hcc_queues[i].queues[j].data_queue); in hcc_transfer_queues_init()
125 hcc_handler_stru *hcc_handler = g_hcc_host_handler; local
126 if (hcc_handler == HI_NULL) {
132 hcc_handler->hcc_transer_info.tx_flow_ctrl.timeout);
136 if (oal_work_is_busy(&hcc_handler->hcc_transer_info.tx_flow_ctrl.worker.work) == 0) {
138 oal_queue_delayed_system_work(&hcc_handler->hcc_transer_info.tx_flow_ctrl.worker, 0);
285 static hi_s32 hcc_host_rx(const hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf) argument
290 (void)hcc_handler;
334 hcc_handler_stru *hcc_handler local
393 hcc_host_proc_rx_queue(hcc_handler_stru *hcc_handler, hcc_queue_type_enum type) global() argument
399 hcc_tx_assem_descr_get(hcc_handler_stru *hcc_handler) global() argument
404 hcc_tx_assem_descr_put(hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf) global() argument
409 hcc_send_single_descr(hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf) global() argument
420 hcc_send_descr_control_data(hcc_handler_stru *hcc_handler, hcc_descr_type descr_type, const hi_void *data, hi_u32 ul_size) global() argument
458 hcc_restore_assemble_netbuf_list(hcc_handler_stru *hcc_handler, oal_netbuf_head_stru *head) global() argument
475 hcc_send_assemble_reset(hcc_handler_stru *hcc_handler, oal_netbuf_head_stru *head) global() argument
490 hcc_tx_netbuf_queue_switch(hcc_handler_stru *hcc_handler, hcc_netbuf_queue_type queue_type) global() argument
495 hcc_tx_netbuf_test_and_switch_high_pri_queue(hcc_handler_stru *hcc_handler, hcc_netbuf_queue_type pool_type, hi_u8 is_config_frame) global() argument
510 hcc_tx_netbuf_restore_normal_pri_queue(hcc_handler_stru *hcc_handler, hcc_netbuf_queue_type pool_type) global() argument
554 hcc_build_next_assem_descr(hcc_handler_stru *hcc_handler, hcc_queue_type_enum type, oal_netbuf_head_stru *head, oal_netbuf_head_stru *next_assembled_head, const oal_netbuf_stru *descr_netbuf, hi_u32 remain_len) global() argument
671 hcc_send_data_packet(hcc_handler_stru *hcc_handler, oal_netbuf_head_stru *head, hcc_queue_type_enum type, oal_netbuf_head_stru *next_assembled_head, hcc_send_mode mode, hi_u32 *remain_len) global() argument
790 hcc_queues_flow_ctrl_len(hcc_handler_stru *hcc_handler, hcc_chan_type dir) global() argument
806 hcc_tx_network_startall_queues(const hcc_handler_stru *hcc_handler) global() argument
878 hcc_handler_stru *hcc_handler = (hcc_handler_stru *)handler; global() local
1035 hcc_host_proc_tx_queue(hcc_handler_stru *hcc_handler, hcc_queue_type_enum type) global() argument
1042 hcc_transfer_rx_handler(hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf) global() argument
1051 hcc_transfer_rx_handler_replace(hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf_new) global() argument
1069 hcc_sched_transfer(hcc_handler_stru *hcc_handler) global() argument
1079 hcc_rx_sched_transfer(hcc_handler_stru *hcc_handler) global() argument
1088 hcc_rx_netbuf_list_handler(hcc_handler_stru *hcc_handler, oal_netbuf_head_stru *netbuf_head) global() argument
1154 hcc_handler_stru *hcc_handler = (hcc_handler_stru *)data; global() local
1179 hcc_tx_assem_descr_exit(hcc_handler_stru *hcc_handler) global() argument
1184 hcc_host_tx_assem_info_reset(hcc_handler_stru *hcc_handler) global() argument
1190 hcc_host_rx_assem_info_reset(hcc_handler_stru *hcc_handler) global() argument
1196 hcc_assem_info_init(hcc_handler_stru *hcc_handler) global() argument
1204 hcc_trans_limit_parm_init(hcc_handler_stru *hcc_handler) global() argument
1229 hcc_trans_send_mode_init(hcc_handler_stru *hcc_handler) global() argument
1239 hcc_tx_assem_descr_init(hcc_handler_stru *hcc_handler) global() argument
1270 hcc_dev_flowctr_timer_del(hcc_handler_stru *hcc_handler) global() argument
1279 hcc_dev_flowctrl_on(hcc_handler_stru *hcc_handler, hi_u8 need_notify_dev) global() argument
1298 hi_wifi_device_deinit(const hcc_handler_stru *hcc_handler) global() argument
1303 hcc_dev_flowctrl_off(hcc_handler_stru *hcc_handler) global() argument
1329 hcc_message_register(const hcc_handler_stru *hcc_handler, hi_u8 msg, hcc_msg_rx cb, hi_void *data) global() argument
1334 hcc_message_unregister(const hcc_handler_stru *hcc_handler, hi_u8 msg) global() argument
1342 hcc_handler_stru *hcc_handler = (hcc_handler_stru *)data; global() local
1523 hcc_host_rx_register(hcc_handler_stru *hcc_handler, hcc_action_type_enum type, hcc_rx_post_do post_do, hcc_rx_pre_do pre_do) global() argument
1581 hcc_send_control_msg(hcc_handler_stru *hcc_handler, hi_u8 sub_type, hi_u8 *buf, int len) global() argument
1658 hcc_handler_stru *hcc_handler = g_hcc_host_handler; global() local
1741 hcc_handler_stru *hcc_handler = HI_NULL; global() local
1873 hcc_clear_all_queues(hcc_handler_stru *hcc_handler, hi_s32 is_need_lock) global() argument
1998 queues_flow_ctrl_check(hcc_handler_stru *hcc_handler, hcc_chan_type dir) global() argument
2041 queues_len_check(hcc_handler_stru *hcc_handler, hcc_chan_type dir) global() argument
[all...]
H A Dhcc_task.c43 static hi_s32 hcc_thread_tx_wait_event_cond_check(hcc_handler_stru *hcc_handler) in hcc_thread_tx_wait_event_cond_check() argument
50 ret = ((queues_len_check(hcc_handler, HCC_TX)) || ((hcc_handler->p_hmac_tcp_ack_need_schedule_func != HI_NULL) && in hcc_thread_tx_wait_event_cond_check()
51 hcc_handler->p_hmac_tcp_ack_need_schedule_func() == HI_TRUE)); in hcc_thread_tx_wait_event_cond_check()
54 hcc_handler->hcc_transer_info.thread_stat.wait_event_run_count++; in hcc_thread_tx_wait_event_cond_check()
56 hcc_handler->hcc_transer_info.thread_stat.wait_event_block_count++; in hcc_thread_tx_wait_event_cond_check()
61 static hi_s32 hcc_thread_rx_wait_event_cond_check(hcc_handler_stru *hcc_handler) in hcc_thread_rx_wait_event_cond_check() argument
69 ret = ((queues_len_check(hcc_handler, HCC_RX)) || ((hcc_handler->p_hmac_tcp_ack_need_schedule_func != HI_NULL) && in hcc_thread_rx_wait_event_cond_check()
70 hcc_handler in hcc_thread_rx_wait_event_cond_check()
80 hcc_thread_process(hcc_handler_stru *hcc_handler, hi_u8 wr) hcc_thread_process() argument
214 hcc_handler_stru *hcc_handler = (hcc_handler_stru *)data; hcc_task_rx_thread() local
255 hcc_handler_stru *hcc_handler = (hcc_handler_stru *)data; hcc_task_tx_thread() local
289 hcc_task_init(hcc_handler_stru *hcc_handler) hcc_task_init() argument
[all...]
H A Dhcc_host.h401 hi_s32 queues_flow_ctrl_check(hcc_handler_stru *hcc_handler, hcc_chan_type dir);
402 hi_s32 queues_len_check(hcc_handler_stru *hcc_handler, hcc_chan_type dir);
403 hi_void hcc_sched_transfer(hcc_handler_stru *hcc_handler);
405 hi_void hi_wifi_device_deinit(const hcc_handler_stru *hcc_handler);
408 hi_s32 hcc_host_proc_tx_queue(hcc_handler_stru *hcc_handler, hcc_queue_type_enum type);
409 hi_s32 hcc_host_proc_rx_queue(hcc_handler_stru *hcc_handler, hcc_queue_type_enum type);
410 hi_void hcc_clear_all_queues(hcc_handler_stru *hcc_handler, hi_s32 is_need_lock);
412 hi_u32 hcc_host_tx(hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf, const hcc_transfer_param *param);
413 hi_u32 hcc_send_control_msg(hcc_handler_stru *hcc_handler, hi_u8 sub_type, hi_u8 *buf, int len);
H A Dhcc_slave.h100 struct hcc_handler { struct
115 struct hcc_handler *hcc_get_default_handler(hi_void);
118 hi_u32 hcc_rx_register(struct hcc_handler *hcc, hi_u8 mtype, hcc_rx_post_do post_do, hcc_rx_pre_do pre_do);
H A Dhcc_hmac.c146 static hi_void hcc_tx_netbuf_destroy(hcc_handler_stru *hcc_handler) in hcc_tx_netbuf_destroy() argument
148 if (hcc_handler != HI_NULL) { in hcc_tx_netbuf_destroy()
149 oal_wake_unlock(&hcc_handler->tx_wake_lock); in hcc_tx_netbuf_destroy()
183 hi_u32 hcc_host_tx(hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf, const hcc_transfer_param *param) in hcc_host_tx() argument
190 hcc_queue = &hcc_handler->hcc_transer_info.hcc_queues[HCC_TX].queues[param->queue_id]; in hcc_host_tx()
194 (void)hcc_handler; in hcc_host_tx()
238 hcc_sched_transfer(hcc_handler); in hcc_host_tx()
H A Dhcc_task.h43 hi_u32 hcc_task_init(hcc_handler_stru *hcc_handler);
H A Dhcc_slave.c48 struct hcc_handler g_hcc_slave_handler;
78 struct hcc_handler *hcc_get_default_handler(hi_void) in hcc_get_default_handler()
1049 memset_s((hi_void *)&g_hcc_slave_handler, sizeof(struct hcc_handler), 0, sizeof(struct hcc_handler)); in hcc_slave_init()
1126 hi_u32 hcc_rx_register(struct hcc_handler *hcc, hi_u8 mtype, hcc_rx_post_do post_do, hcc_rx_pre_do pre_do) in hcc_rx_register()

Completed in 7 milliseconds