Lines Matching refs:tx_packet
58 USB_NOCACHE_RAM_SECTION struct adb_packet tx_packet; variable
99 adb_send_msg(&tx_packet); in adb_send_okay()
109 adb_send_msg(&tx_packet); in adb_send_close()
154 tx_packet.msg.command = A_CNXN; in usbd_adb_bulk_out()
155 tx_packet.msg.arg0 = A_VERSION; in usbd_adb_bulk_out()
156 tx_packet.msg.arg1 = MAX_PAYLOAD; in usbd_adb_bulk_out()
157 tx_packet.msg.data_length = strlen(support_feature); in usbd_adb_bulk_out()
158 memcpy(tx_packet.payload, support_feature, strlen(support_feature)); in usbd_adb_bulk_out()
160 adb_send_msg(&tx_packet); in usbd_adb_bulk_out()
170 adb_send_okay(&tx_packet, ADB_SHELL_LOALID); in usbd_adb_bulk_out()
176 adb_send_okay(&tx_packet, ADB_FILE_LOALID); in usbd_adb_bulk_out()
188 adb_send_okay(&tx_packet, rx_packet.msg.arg1); in usbd_adb_bulk_out()
190 adb_send_okay(&tx_packet, rx_packet.msg.arg1); in usbd_adb_bulk_out()
192 adb_send_close(&tx_packet, 0, rx_packet.msg.arg0); in usbd_adb_bulk_out()
211 if (tx_packet.msg.data_length) { in usbd_adb_bulk_in()
213 …sbd_ep_start_write(busid, adb_ep_data[ADB_IN_EP_IDX].ep_addr, tx_packet.payload, tx_packet.msg.dat… in usbd_adb_bulk_in()
231 if (tx_packet.msg.data_length) { in usbd_adb_bulk_in()
233 …sbd_ep_start_write(busid, adb_ep_data[ADB_IN_EP_IDX].ep_addr, tx_packet.payload, tx_packet.msg.dat… in usbd_adb_bulk_in()
292 packet = &tx_packet; in usbd_abd_write()
309 adb_send_close(&tx_packet, 0, usbd_adb_get_remoteid(localid)); in usbd_adb_close()