@ -11,7 +11,6 @@ struct kxsd9_transport;
* @ trdev : transport device such as SPI or I2C
* @ trdev : transport device such as SPI or I2C
* @ readreg ( ) : function to read a byte from an address in the device
* @ readreg ( ) : function to read a byte from an address in the device
* @ writereg ( ) : function to write a byte to an address in the device
* @ writereg ( ) : function to write a byte to an address in the device
* @ write2 ( ) : function to write two consecutive bytes to the device
* @ readval ( ) : function to read a 16 bit value from the device
* @ readval ( ) : function to read a 16 bit value from the device
* @ rx : cache aligned read buffer
* @ rx : cache aligned read buffer
* @ tx : cache aligned write buffer
* @ tx : cache aligned write buffer
@ -20,7 +19,6 @@ struct kxsd9_transport {
void * trdev ;
void * trdev ;
int ( * readreg ) ( struct kxsd9_transport * tr , u8 address ) ;
int ( * readreg ) ( struct kxsd9_transport * tr , u8 address ) ;
int ( * writereg ) ( struct kxsd9_transport * tr , u8 address , u8 val ) ;
int ( * writereg ) ( struct kxsd9_transport * tr , u8 address , u8 val ) ;
int ( * write2 ) ( struct kxsd9_transport * tr , u8 b1 , u8 b2 ) ;
int ( * readval ) ( struct kxsd9_transport * tr , u8 address ) ;
int ( * readval ) ( struct kxsd9_transport * tr , u8 address ) ;
u8 rx [ KXSD9_STATE_RX_SIZE ] ____cacheline_aligned ;
u8 rx [ KXSD9_STATE_RX_SIZE ] ____cacheline_aligned ;
u8 tx [ KXSD9_STATE_TX_SIZE ] ;
u8 tx [ KXSD9_STATE_TX_SIZE ] ;