/external/libese/libese/include/ese/ |
D | ese.h | 62 struct EseInterface; 65 struct EseInterface name = __ESE_INTIALIZER(HW_TYPE) 69 const char *ese_name(const struct EseInterface *ese); 70 int ese_open(struct EseInterface *ese, void *hw_opts); 71 void ese_close(struct EseInterface *ese); 72 int ese_transceive(struct EseInterface *ese, const uint8_t *tx_buf, uint32_t tx_len, uint8_t *rx_bu… 74 bool ese_error(const struct EseInterface *ese); 75 const char *ese_error_message(const struct EseInterface *ese); 76 int ese_error_code(const struct EseInterface *ese);
|
D | ese_hw_api.h | 33 struct EseInterface; 47 typedef uint32_t (ese_hw_receive_op_t)(struct EseInterface *, uint8_t *, uint32_t, int); 58 typedef uint32_t (ese_hw_transmit_op_t)(struct EseInterface *, const uint8_t *, uint32_t, int); 66 typedef int (ese_hw_reset_op_t)(struct EseInterface *); 84 typedef uint32_t (ese_transceive_op_t)(struct EseInterface *, const uint8_t *, uint32_t, uint8_t *,… 97 typedef int (ese_poll_op_t)(struct EseInterface *, uint8_t, float, int); 111 typedef int (ese_open_op_t)(struct EseInterface *, void *); 123 typedef void (ese_close_op_t)(struct EseInterface *); 169 struct EseInterface { struct 184 void ese_set_error(struct EseInterface *ese, int code); argument
|
/external/libese/libese/ |
D | ese.c | 30 API const char *ese_name(const struct EseInterface *ese) { in ese_name() 40 API int ese_open(struct EseInterface *ese, void *hw_opts) { in ese_open() 51 API const char *ese_error_message(const struct EseInterface *ese) { in ese_error_message() 55 API int ese_error_code(const struct EseInterface *ese) { in ese_error_code() 59 API bool ese_error(const struct EseInterface *ese) { return ese->error.is_err; } in ese_error() 61 API void ese_set_error(struct EseInterface *ese, int code) { in ese_set_error() 84 API int ese_transceive(struct EseInterface *ese, const uint8_t *tx_buf, in ese_transceive() 108 API void ese_close(struct EseInterface *ese) { in ese_close()
|
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/ |
D | common.h | 34 void nxp_pn80t_close(struct EseInterface *ese); 35 uint32_t nxp_pn80t_transceive(struct EseInterface *ese, 38 int nxp_pn80t_poll(struct EseInterface *ese, uint8_t poll_for, float timeout, 40 int nxp_pn80t_reset(struct EseInterface *ese); 41 int nxp_pn80t_open(struct EseInterface *ese, void *board);
|
/external/libese/libese-hw/ |
D | ese_hw_fake.c | 42 static int fake_open(struct EseInterface *ese, in fake_open() 49 static void fake_close(struct EseInterface *ese) { in fake_close() 57 static uint32_t fake_receive(struct EseInterface *ese, uint8_t *buf, in fake_receive() 74 static uint32_t fake_transmit(struct EseInterface *ese, const uint8_t *buf, in fake_transmit() 91 static int fake_poll(struct EseInterface *ese, uint8_t poll_for, float timeout, in fake_poll() 110 uint32_t fake_transceive(struct EseInterface *ese, const uint8_t *tx_buf, in fake_transceive()
|
D | ese_hw_echo.c | 36 static int echo_open(struct EseInterface *ese, void *hw_opts) { in echo_open() 57 static void echo_close(struct EseInterface *ese) { in echo_close() 67 static uint32_t echo_receive(struct EseInterface *ese, uint8_t *buf, in echo_receive() 90 static uint32_t echo_transmit(struct EseInterface *ese, const uint8_t *buf, in echo_transmit() 112 static int echo_poll(struct EseInterface *ese, uint8_t poll_for, float timeout, in echo_poll() 155 uint32_t echo_transceive(struct EseInterface *ese, const uint8_t *const tx_buf, in echo_transceive()
|
/external/libese/esed/pn81a/ |
D | pn81a.cpp | 26 void EseInterface::init() { in init() 27 mEse = new ::EseInterface; in init() 31 int EseInterface::open() { in open() 37 void EseInterface::close() { in close()
|
D | pn81a.h | 26 struct EseInterface : public ::android::esed::EseInterface { struct 27 ~EseInterface() { close(); } in ~EseInterface() argument
|
D | utils.h | 78 T transceive(::android::esed::EseInterface& ese, const CommandApdu& command,
|
/external/libese/esed/ |
D | libese.h | 34 class EseInterface { 36 EseInterface() : mEse(nullptr) {} in EseInterface() function 37 virtual ~EseInterface() = default; 60 ::EseInterface* mEse;
|
D | esed.cpp | 29 using EseInterfaceImpl = android::esed::pn81a::EseInterface;
|
/external/libese/libese/tests/ |
D | ese_unittests.cpp | 31 struct EseInterface ese_; 46 struct EseInterface dummy = { in TEST_F() 60 struct EseInterface dummy = { in TEST_F() 78 struct EseInterface dummy = { in TEST_F() 118 struct EseInterface dummy = { in TEST_F()
|
/external/libese/libese-hw/nxp/pn80t/ |
D | common.c | 54 int nxp_pn80t_open(struct EseInterface *ese, void *board) { in nxp_pn80t_open() 99 int nxp_pn80t_reset(struct EseInterface *ese) { in nxp_pn80t_reset() 114 int nxp_pn80t_poll(struct EseInterface *ese, uint8_t poll_for, float timeout, in nxp_pn80t_poll() 150 uint32_t nxp_pn80t_transceive(struct EseInterface *ese, in nxp_pn80t_transceive() 157 uint32_t nxp_pn80t_send_cooldown(struct EseInterface *ese) { in nxp_pn80t_send_cooldown() 174 void nxp_pn80t_close(struct EseInterface *ese) { in nxp_pn80t_close()
|
D | nq_nci.c | 102 uint32_t nq_transmit(struct EseInterface *ese, const uint8_t *buf, uint32_t len, in nq_transmit() 132 uint32_t nq_receive(struct EseInterface *ese, uint8_t *buf, uint32_t len, in nq_receive()
|
D | linux_spidev.c | 177 uint32_t spidev_transmit(struct EseInterface *ese, const uint8_t *buf, in spidev_transmit() 206 uint32_t spidev_receive(struct EseInterface *ese, uint8_t *buf, uint32_t len, in spidev_receive()
|
/external/libese/ |
D | README.md | 34 struct EseInterface my_ese = ESE_INITIALIZER(SOME_HAL_IMPL); 38 struct EseInterface *my_ese = malloc(sizeof(struct EseInterface)); 64 The EseInterface is not safe for concurrent access.
|
/external/libese/libese-teq1/ |
D | teq1_private.h | 110 int teq1_transmit(struct EseInterface *ese, 113 int teq1_receive(struct EseInterface *ese,
|
D | teq1.c | 99 int teq1_transmit(struct EseInterface *ese, in teq1_transmit() 132 int teq1_receive(struct EseInterface *ese, in teq1_receive() 546 API uint32_t teq1_transceive(struct EseInterface *ese, in teq1_transceive()
|
/external/libese/tools/ese_relay/ |
D | ese_relay.c | 35 void ese_relay_init(struct EseInterface *ese); 74 struct EseInterface ese; in main()
|
D | ese_relay_fake.c | 27 void ese_relay_init(struct EseInterface *ese) { ese_init(ese, ESE_HW_FAKE); } in ese_relay_init()
|
D | ese_relay_pn80t_nq_nci.c | 32 void ese_relay_init(struct EseInterface *ese) { in ese_relay_init()
|
D | ese_relay_pn80t_spidev.c | 33 void ese_relay_init(struct EseInterface *ese) { in ese_relay_init()
|
/external/libese/libese-hw/tests/ |
D | ese_hw_echo_tests.cpp | 39 struct EseInterface ese_;
|
/external/libese/esed/tests/ |
D | libese.h | 29 struct MockEseInterface : public EseInterface {
|
/external/libese/examples/ |
D | ese_nxp_sample.c | 84 struct EseInterface ese = ESE_INITIALIZER(ESE_HW_NXP_PN80T_NQ_NCI); in main()
|