aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/winbond/wb35tx_f.h
blob: 6aca4e99b91d030399c19ba6776d10ce5738156a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __WINBOND_WB35TX_F_H
#define __WINBOND_WB35TX_F_H

#include "wbhal_f.h"

//====================================
// Interface function declare
//====================================
unsigned char Wb35Tx_initial(	 phw_data_t pHwData );
void Wb35Tx_destroy(  phw_data_t pHwData );
unsigned char Wb35Tx_get_tx_buffer(  phw_data_t pHwData,  u8 **pBuffer );

void Wb35Tx_EP2VM(  phw_data_t pHwData );
void Wb35Tx_EP2VM_start(  phw_data_t pHwData );
void Wb35Tx_EP2VM_complete(struct urb *urb);

void Wb35Tx_start(  phw_data_t pHwData );
void Wb35Tx_stop(  phw_data_t pHwData );
void Wb35Tx(  phw_data_t pHwData );
void Wb35Tx_complete(struct urb *urb);
void Wb35Tx_reset_descriptor(  phw_data_t pHwData );

void Wb35Tx_CurrentTime(  phw_data_t pHwData,  u32 TimeCount );

#endif