Home | History | Annotate | Download | only in libese-teq1

Lines Matching refs:ese

17 #include "include/ese/teq1.h"
18 #include "../libese/include/ese/ese.h"
19 #include "../libese/include/ese/log.h"
99 int teq1_transmit(struct EseInterface *ese,
122 ese->ops->hw_transmit(ese, frame->val,
132 int teq1_receive(struct EseInterface *ese,
137 int bytes_consumed = ese->ops->poll(ese, opts->host_address, timeout, 0);
148 ese->ops->hw_receive(ese, (uint8_t *)(&frame->header.NAD + bytes_consumed),
155 ese->ops->hw_receive(ese, NULL, 0, 1);
162 ese->ops->hw_receive(ese, (uint8_t *)(&(frame->INF[0])),
560 ESE_API uint32_t teq1_transceive(struct EseInterface *ese,
575 struct Teq1CardState *card_state = (struct Teq1CardState *)(&ese->pad[0]);
595 teq1_transmit(ese, opts, tx);
605 if (teq1_receive(ese, opts, opts->bwt * (float)state.wait_mult, &rx_frame) <
607 /* TODO(wad): If the ese_error(ese) == 1, should this go ahead and fail?
632 ese_set_error(ese, kTeq1ErrorHardFail);
646 ese_set_error(ese, kTeq1ErrorHardFail);
649 ese_set_error(ese, kTeq1ErrorAbort);
672 if (was_reset || !ese->ops->hw_reset || ese->ops->hw_reset(ese) == -1) {
673 ese_set_error(ese, kTeq1ErrorDeviceReset);