Lines Matching refs:ese
34 #define ECHO_STATE(ese) (*(struct EchoState **)(&ese->pad[1])) argument
36 static int echo_open(struct EseInterface *ese, void *hw_opts) { in echo_open() argument
39 if (sizeof(ese->pad) < sizeof(struct EchoState *)) { in echo_open()
41 ALOGE("Pad size too small to use Echo HW (%zu < %zu)", sizeof(ese->pad), in echo_open()
45 es_ptr = &ECHO_STATE(ese); in echo_open()
50 es = ECHO_STATE(ese); in echo_open()
57 static void echo_close(struct EseInterface *ese) { in echo_close() argument
59 es = ECHO_STATE(ese); in echo_close()
67 static uint32_t echo_receive(struct EseInterface *ese, uint8_t *buf, in echo_receive() argument
69 struct EchoState *es = ECHO_STATE(ese); in echo_receive()
90 static uint32_t echo_transmit(struct EseInterface *ese, const uint8_t *buf, in echo_transmit() argument
92 struct EchoState *es = ECHO_STATE(ese); in echo_transmit()
112 static int echo_poll(struct EseInterface *ese, uint8_t poll_for, float timeout, in echo_poll() argument
114 struct EchoState *es = ECHO_STATE(ese); in echo_poll()
115 const struct Teq1ProtocolOptions *opts = ese->ops->opts; in echo_poll()
155 uint32_t echo_transceive(struct EseInterface *ese, in echo_transceive() argument
158 return teq1_transceive(ese, &kTeq1Options, tx_buf, tx_len, rx_buf, rx_len); in echo_transceive()