Lines Matching refs:ese
99 int teq1_transmit(struct EseInterface *ese, in teq1_transmit() argument
122 ese->ops->hw_transmit(ese, frame->val, in teq1_transmit()
132 int teq1_receive(struct EseInterface *ese, in teq1_receive() argument
137 int bytes_consumed = ese->ops->poll(ese, opts->host_address, timeout, 0); in teq1_receive()
148 ese->ops->hw_receive(ese, (uint8_t *)(&frame->header.NAD + bytes_consumed), in teq1_receive()
155 ese->ops->hw_receive(ese, NULL, 0, 1); in teq1_receive()
162 ese->ops->hw_receive(ese, (uint8_t *)(&(frame->INF[0])), in teq1_receive()
560 ESE_API uint32_t teq1_transceive(struct EseInterface *ese, in teq1_transceive() argument
575 struct Teq1CardState *card_state = (struct Teq1CardState *)(&ese->pad[0]); in teq1_transceive()
595 teq1_transmit(ese, opts, tx); in teq1_transceive()
605 if (teq1_receive(ese, opts, opts->bwt * (float)state.wait_mult, &rx_frame) < in teq1_transceive()
632 ese_set_error(ese, kTeq1ErrorHardFail); in teq1_transceive()
646 ese_set_error(ese, kTeq1ErrorHardFail); in teq1_transceive()
649 ese_set_error(ese, kTeq1ErrorAbort); in teq1_transceive()
672 if (was_reset || !ese->ops->hw_reset || ese->ops->hw_reset(ese) == -1) { in teq1_transceive()
673 ese_set_error(ese, kTeq1ErrorDeviceReset); in teq1_transceive()