Searched refs:rx_ctl (Results 1 – 8 of 8) sorted by relevance
/device/soc/st/common/platform/uart/ |
D | stm32mp1_uart.c | 58 struct Mp1xxUartRxCtl *rx_ctl = &(uart->rx_ctl); in stm32mp1_uart_recv_data_handle() local 61 ret = KRecvBufWrite(&(rx_ctl->rx_krb), buf, size); in stm32mp1_uart_recv_data_handle() 64 OsalSemPost(&(rx_ctl->rx_sem)); in stm32mp1_uart_recv_data_handle() 69 static int32_t stm32mp1_uart_rx_ctl_init(struct Mp1xxUartRxCtl *rx_ctl, uint32_t buf_size) in stm32mp1_uart_rx_ctl_init() argument 79 rx_ctl->fifo = buf; in stm32mp1_uart_rx_ctl_init() 81 OsalSemInit(&(rx_ctl->rx_sem), 0); in stm32mp1_uart_rx_ctl_init() 84 KRecvBufInit(&(rx_ctl->rx_krb), rx_ctl->fifo, buf_size); in stm32mp1_uart_rx_ctl_init() 87 rx_ctl->stm32mp1_uart_recv_hook = stm32mp1_uart_recv_data_handle; in stm32mp1_uart_rx_ctl_init() 92 static int32_t stm32mp1_uart_rx_ctl_deinit(struct Mp1xxUartRxCtl *rx_ctl) in stm32mp1_uart_rx_ctl_deinit() argument 94 char *buf = rx_ctl->fifo; in stm32mp1_uart_rx_ctl_deinit() [all …]
|
D | stm32mp1_uart_hw.c | 265 struct Mp1xxUartRxCtl *rx_ctl = &(uart->rx_ctl); in Mp1xxUartIrqHandler() local 280 if (rx_ctl->stm32mp1_uart_recv_hook) { in Mp1xxUartIrqHandler() 281 rx_ctl->stm32mp1_uart_recv_hook(uart, buf, count); in Mp1xxUartIrqHandler()
|
D | stm32mp1_uart_hw.h | 96 struct Mp1xxUartRxCtl rx_ctl; member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
D | hmac_frag.c | 230 hmac_rx_ctl_stru *rx_ctl = (hmac_rx_ctl_stru *)oal_netbuf_cb(new_buf); in hmac_defrag_process_frame() local 234 oal_netbuf_reserve(new_buf, WLAN_MAX_MAC_HDR_LEN - rx_ctl->mac_header_len); in hmac_defrag_process_frame() 246 rx_ctl->pul_mac_hdr_start_addr = (hi_u32 *)oal_netbuf_header(new_buf); in hmac_defrag_process_frame()
|
D | hmac_wapi.c | 550 hmac_rx_ctl_stru *rx_ctl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuff_des); in hmac_wapi_decrypt() local 551 …if (memcpy_s(rx_ctl, sizeof(hmac_rx_ctl_stru), oal_netbuf_cb(netbuf), sizeof(hmac_rx_ctl_stru)) !=… in hmac_wapi_decrypt() 626 rx_ctl->pul_mac_hdr_start_addr = (hi_u32 *)oal_netbuf_header(netbuff_des); in hmac_wapi_decrypt() 627 rx_ctl->mac_header_len = mac_hdr_len; in hmac_wapi_decrypt() 628 rx_ctl->us_frame_len = (hi_u16)oal_netbuf_len(netbuff_des); in hmac_wapi_decrypt()
|
D | hmac_blockack.h | 99 hi_void hmac_up_rx_bar(hmac_vap_stru *hmac_vap, const hmac_rx_ctl_stru *rx_ctl);
|
D | hmac_blockack.c | 939 hi_void hmac_up_rx_bar(hmac_vap_stru *hmac_vap, const hmac_rx_ctl_stru *rx_ctl) in hmac_up_rx_bar() argument 948 frame_hdr = (mac_ieee80211_frame_stru *)(rx_ctl->pul_mac_hdr_start_addr); in hmac_up_rx_bar() 959 puc_payload = (hi_u8 *)(rx_ctl->pul_mac_hdr_start_addr) + rx_ctl->mac_header_len; in hmac_up_rx_bar()
|
D | hmac_mgmt_ap.c | 173 hmac_rx_ctl_stru *rx_ctl = (hmac_rx_ctl_stru *)oal_netbuf_cb(auth_req); in hmac_mesh_sae_auth_proc() local 179 …ser->base_user->rx_conn_rssi = wlan_rssi_lpf(hmac_user->base_user->rx_conn_rssi, rx_ctl->rssi_dbm); in hmac_mesh_sae_auth_proc()
|