Home
last modified time | relevance | path

Searched refs:tx_msg (Results 1 – 9 of 9) sorted by relevance

/device/soc/winnermicro/wm800/board/src/app/wm_atcmd/
Dwm_uart_task.c60 struct tls_hostif_tx_msg *tx_msg; member
89 static void uart_send_tx_msg(u8 hostif_mode, struct tls_hostif_tx_msg *tx_msg, in uart_send_tx_msg() argument
93 if (tx_msg == NULL) in uart_send_tx_msg()
98 free_tx_msg_buffer(tx_msg); in uart_send_tx_msg()
99 tls_mem_free(tx_msg); in uart_send_tx_msg()
104 free_tx_msg_buffer(tx_msg); in uart_send_tx_msg()
105 tls_mem_free(tx_msg); in uart_send_tx_msg()
108 tx_data->tx_msg = tx_msg; in uart_send_tx_msg()
112 free_tx_msg_buffer(tx_msg); in uart_send_tx_msg()
113 tls_mem_free(tx_msg); in uart_send_tx_msg()
[all …]
Dwm_cmdp_hostif.c148 struct tls_hostif_tx_msg *tx_msg = tls_mem_alloc(sizeof(struct tls_hostif_tx_msg)); in tls_hostif_get_tx_msg() local
149 return tx_msg; in tls_hostif_get_tx_msg()
157 void free_tx_msg_buffer(struct tls_hostif_tx_msg *tx_msg) in free_tx_msg_buffer() argument
159 switch (tx_msg->type) { in free_tx_msg_buffer()
162 tls_mem_free(tx_msg->u.msg_event.buf); in free_tx_msg_buffer()
168 pbuf_free(tx_msg->u.msg_tcp.p); in free_tx_msg_buffer()
179 struct tls_hostif_tx_msg *tx_msg; in tls_hostif_atcmd_loopback() local
187 tx_msg = tls_hostif_get_tx_event_msg(hif); in tls_hostif_atcmd_loopback()
188 if (tx_msg == NULL) { in tls_hostif_atcmd_loopback()
191 tx_msg->offset = 0; in tls_hostif_atcmd_loopback()
[all …]
Dwm_cmdp_hostif.h1182 typedef void (*hostif_send_tx_msg_callback)(u8 hostif_mode, struct tls_hostif_tx_msg *tx_msg, bool …
1254 int tls_hostif_recv_data(struct tls_hostif_tx_msg *tx_msg);
1281 void free_tx_msg_buffer(struct tls_hostif_tx_msg *tx_msg);
Dwm_cmdp_hostif_gcc.h1385 typedef void (*hostif_send_tx_msg_callback)(u8 hostif_mode, struct tls_hostif_tx_msg *tx_msg, bool…
1457 int tls_hostif_recv_data(struct tls_hostif_tx_msg *tx_msg);
1483 void free_tx_msg_buffer(struct tls_hostif_tx_msg *tx_msg);
/device/soc/winnermicro/wm800/board/platform/drivers/uart/
Dwm_uart.c66 tls_uart_tx_msg_t *tx_msg = NULL; in tls_uart_tx_chars() local
74 tx_msg = dl_list_first(pending_list, tls_uart_tx_msg_t, list); in tls_uart_tx_chars()
75 while (tx_count-- > 0 && tx_msg->offset < tx_msg->buflen) { in tls_uart_tx_chars()
80 port->regs->UR_TXW = tx_msg->buf[tx_msg->offset]; in tls_uart_tx_chars()
81 tx_msg->offset++; in tls_uart_tx_chars()
85 if (tx_msg->offset >= tx_msg->buflen) { in tls_uart_tx_chars()
86 dl_list_del(&tx_msg->list); in tls_uart_tx_chars()
87 dl_list_add_tail(&port->tx_msg_to_be_freed_list, &tx_msg->list); in tls_uart_tx_chars()
360 tls_uart_tx_msg_t *tx_msg = NULL; in tls_uart_tx_remain_len() local
364 dl_list_for_each(tx_msg, &port->tx_msg_pending_list, tls_uart_tx_msg_t, list) { in tls_uart_tx_remain_len()
[all …]
/device/board/unionman/unionpi_tiger/hardware/bt/src/
Drtk_parse.c288 static int coex_msg_send(char *tx_msg, int msg_size);
1307 int udpsocket_send(char *tx_msg, int msg_size) in udpsocket_send() argument
1311 RtkLogMsg("udpsocket_send tx_msg:%s", tx_msg); in udpsocket_send()
1312 n = sendto(rtk_prof.udpsocket, tx_msg, msg_size, 0, (struct sockaddr *)&rtk_prof.client_addr, in udpsocket_send()
1352 int btcoex_chr_send(char *tx_msg, int msg_size) in btcoex_chr_send() argument
1356 RtkLogMsg("btcoex_chr_send tx_msg:%s", tx_msg); in btcoex_chr_send()
1357 RTKPARSE_NO_INTR(n = write(rtk_prof.btcoex_chr, tx_msg, msg_size)); in btcoex_chr_send()
2453 static int coex_msg_send(char *tx_msg, int msg_size) in coex_msg_send() argument
2457 ret = udpsocket_send(tx_msg, msg_size); in coex_msg_send()
2459 ret = btcoex_chr_send(tx_msg, msg_size); in coex_msg_send()
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/
Drtk_parse.c300 static int coex_msg_send(char *tx_msg, int msg_size);
1469 int udpsocket_send(char *tx_msg, int msg_size) in udpsocket_send() argument
1473 RtkLogMsg("udpsocket_send tx_msg:%s", tx_msg); in udpsocket_send()
1474 …n = sendto(rtk_prof.udpsocket, tx_msg, msg_size, 0, (struct sockaddr *)&rtk_prof.client_addr, size… in udpsocket_send()
1521 int btcoex_chr_send(char *tx_msg, int msg_size) in btcoex_chr_send() argument
1525 RtkLogMsg("btcoex_chr_send tx_msg:%s", tx_msg); in btcoex_chr_send()
1526 RTK_NO_INTR(n = write(rtk_prof.btcoex_chr, tx_msg, msg_size)); in btcoex_chr_send()
2657 static int coex_msg_send(char *tx_msg, int msg_size) in coex_msg_send() argument
2662 ret = udpsocket_send(tx_msg, msg_size); in coex_msg_send()
2666 ret = btcoex_chr_send(tx_msg, msg_size); in coex_msg_send()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_btcoex.c1332 u8 tx_msg[255] = leave_ack; in rtw_btcoex_recvmsgbysocket() local
1536 u8 tx_msg[255] = attend_req; in rtw_btcoex_create_kernel_socket() local
1653 void rtw_btcoex_dump_tx_msg(u8 *tx_msg, u8 len, u8 *msg_name) in rtw_btcoex_dump_tx_msg() argument
1658 printk("%02x ", tx_msg[i]); in rtw_btcoex_dump_tx_msg()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_btcoex.h430 void rtw_btcoex_dump_tx_msg(u8 *tx_msg, u8 len, u8 *msg_name);