/external/libese/libese/include/ese/ |
D | ese.h | 63 struct EseInterface; 67 struct EseInterface name = __ESE_INTIALIZER(HW_TYPE) 71 const char *ese_name(const struct EseInterface *ese); 72 int ese_open(struct EseInterface *ese, void *hw_opts); 73 void ese_close(struct EseInterface *ese); 74 int ese_transceive(struct EseInterface *ese, const uint8_t *tx_buf, uint32_t tx_len, uint8_t *rx_bu… 75 int ese_transceive_sg(struct EseInterface *ese, const struct EseSgBuffer *tx, uint32_t tx_segs, 78 bool ese_error(const struct EseInterface *ese); 79 const char *ese_error_message(const struct EseInterface *ese); 80 int ese_error_code(const struct EseInterface *ese);
|
D | ese_hw_api.h | 34 struct EseInterface; 48 typedef uint32_t (ese_hw_receive_op_t)(struct EseInterface *, uint8_t *, uint32_t, int); 59 typedef uint32_t (ese_hw_transmit_op_t)(struct EseInterface *, const uint8_t *, uint32_t, int); 67 typedef int (ese_hw_reset_op_t)(struct EseInterface *); 86 struct EseInterface *, const struct EseSgBuffer *, uint32_t, struct EseSgBuffer *, uint32_t); 99 typedef int (ese_poll_op_t)(struct EseInterface *, uint8_t, float, int); 113 typedef int (ese_open_op_t)(struct EseInterface *, void *); 125 typedef void (ese_close_op_t)(struct EseInterface *); 179 struct EseInterface { struct 194 void ese_set_error(struct EseInterface *ese, int code); argument
|
/external/libese/libese-teq1/tests/ |
D | ese_operations_interface.h | 28 virtual int EseOpen(struct EseInterface *ese, void *data) = 0; 29 …virtual uint32_t EseHwReceive(struct EseInterface *ese, uint8_t *data, uint32_t len, int complete)… 30 …virtual uint32_t EseHwTransmit(struct EseInterface *ese, const uint8_t *data, uint32_t len, int co… 31 virtual int EseReset(struct EseInterface *ese) = 0; 32 …virtual uint32_t EseTransceive(struct EseInterface *ese, const struct EseSgBuffer *tx_sg, uint32_t… 34 virtual int EsePoll(struct EseInterface *ese, uint8_t poll_for, float timeout, int complete) = 0; 35 virtual void EseClose(struct EseInterface *ese) = 0;
|
D | ese_operations_wrapper.cpp | 25 struct EseInterface *ese, EseOperationsInterface *ops_interface) { in InitializeEse() 31 static int EseOpen(struct EseInterface *ese, void *data) { in EseOpen() 35 static uint32_t EseHwReceive(struct EseInterface *ese, uint8_t *data, uint32_t len, int complete) { in EseHwReceive() 39 static uint32_t EseHwTransmit(struct EseInterface *ese, const uint8_t *data, uint32_t len, int comp… in EseHwTransmit() 43 static int EseReset(struct EseInterface *ese) { in EseReset() 47 static uint32_t EseTransceive(struct EseInterface *ese, const struct EseSgBuffer *tx_sg, uint32_t t… in EseTransceive() 52 static int EsePoll(struct EseInterface *ese, uint8_t poll_for, float timeout, int complete) { in EsePoll() 56 static void EseClose(struct EseInterface *ese) { in EseClose()
|
D | teq1_unittests.cpp | 398 virtual int EseOpen(struct EseInterface *UNUSED(ese), void *UNUSED(data)) { in EseOpen() 401 virtual int EseReset(struct EseInterface *UNUSED(ese)) { in EseReset() 408 virtual int EsePoll(struct EseInterface *UNUSED(ese), uint8_t UNUSED(poll_for), in EsePoll() 412 virtual void EseClose(struct EseInterface *UNUSED(ese)) { }; in EseClose() 414 …virtual uint32_t EseTransceive(struct EseInterface *ese, const struct EseSgBuffer *tx_sg, uint32_t… in EseTransceive() 420 virtual uint32_t EseHwTransmit(struct EseInterface *UNUSED(ese), const uint8_t *data, in EseHwTransmit() 445 virtual uint32_t EseHwReceive(struct EseInterface *UNUSED(ese), uint8_t *data, in EseHwReceive() 506 EseInterface ese_;
|
/external/libese/apps/boot/tests/ |
D | ese_operations_interface.h | 28 virtual int EseOpen(struct EseInterface *ese, void *data) = 0; 29 …virtual uint32_t EseHwReceive(struct EseInterface *ese, uint8_t *data, uint32_t len, int complete)… 30 …virtual uint32_t EseHwTransmit(struct EseInterface *ese, const uint8_t *data, uint32_t len, int co… 31 virtual int EseReset(struct EseInterface *ese) = 0; 32 …virtual uint32_t EseTransceive(struct EseInterface *ese, const struct EseSgBuffer *tx_sg, uint32_t… 34 virtual int EsePoll(struct EseInterface *ese, uint8_t poll_for, float timeout, int complete) = 0; 35 virtual void EseClose(struct EseInterface *ese) = 0;
|
D | ese_operations_wrapper.cpp | 24 struct EseInterface *ese, EseOperationsInterface *ops_interface) { in InitializeEse() 30 static int EseOpen(struct EseInterface *ese, void *data) { in EseOpen() 34 static uint32_t EseHwReceive(struct EseInterface *ese, uint8_t *data, uint32_t len, int complete) { in EseHwReceive() 38 static uint32_t EseHwTransmit(struct EseInterface *ese, const uint8_t *data, uint32_t len, int comp… in EseHwTransmit() 42 static int EseReset(struct EseInterface *ese) { in EseReset() 46 static uint32_t EseTransceive(struct EseInterface *ese, const struct EseSgBuffer *tx_sg, uint32_t t… in EseTransceive() 51 static int EsePoll(struct EseInterface *ese, uint8_t poll_for, float timeout, int complete) { in EsePoll() 55 static void EseClose(struct EseInterface *ese) { in EseClose()
|
D | ese_app_boot_tests.cpp | 35 virtual int EseOpen(struct EseInterface *ese, void *data) { in EseOpen() 38 virtual uint32_t EseHwReceive(struct EseInterface *ese, uint8_t *data, in EseHwReceive() 40 virtual uint32_t EseHwTransmit(struct EseInterface *ese, const uint8_t *data, in EseHwTransmit() 42 virtual int EseReset(struct EseInterface *ese) { return -1; } in EseReset() 43 virtual int EsePoll(struct EseInterface *ese, uint8_t poll_for, float timeout, int complete) { in EsePoll() 46 virtual void EseClose(struct EseInterface *ese) { } in EseClose() 48 …virtual uint32_t EseTransceive(struct EseInterface *ese, const struct EseSgBuffer *tx_sg, uint32_t… in EseTransceive() 93 EseInterface ese_;
|
/external/libese/libese/ |
D | ese.c | 28 ESE_API const char *ese_name(const struct EseInterface *ese) { in ese_name() 38 ESE_API int ese_open(struct EseInterface *ese, void *hw_opts) { in ese_open() 51 ESE_API const char *ese_error_message(const struct EseInterface *ese) { in ese_error_message() 55 ESE_API int ese_error_code(const struct EseInterface *ese) { in ese_error_code() 59 ESE_API bool ese_error(const struct EseInterface *ese) { in ese_error() 63 ESE_API void ese_set_error(struct EseInterface *ese, int code) { in ese_set_error() 86 ESE_API int ese_transceive(struct EseInterface *ese, const uint8_t *tx_buf, in ese_transceive() 97 ESE_API int ese_transceive_sg(struct EseInterface *ese, in ese_transceive_sg() 117 ESE_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-cpp/include/esecpp/ |
D | EseInterface.h | 31 class EseInterface { 33 EseInterface() : mEse(nullptr) {} in EseInterface() function 34 virtual ~EseInterface() = default; 62 ::EseInterface* ese_interface() { return mEse; } in ese_interface() 65 ::EseInterface* mEse;
|
/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, 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, in echo_transceive()
|
/external/libese/libese-hw/nxp/pn80t/ |
D | common.c | 53 int nxp_pn80t_open(struct EseInterface *ese, void *board) { in nxp_pn80t_open() 94 uint32_t nxp_pn80t_send_cooldown(struct EseInterface *ese, bool end); 96 int nxp_pn80t_reset(struct EseInterface *ese) { in nxp_pn80t_reset() 128 int nxp_pn80t_poll(struct EseInterface *ese, uint8_t poll_for, float timeout, in nxp_pn80t_poll() 176 uint32_t nxp_pn80t_send_cooldown(struct EseInterface *ese, bool end) { in nxp_pn80t_send_cooldown() 246 uint32_t nxp_pn80t_handle_interface_call(struct EseInterface *ese, in nxp_pn80t_handle_interface_call() 307 uint32_t nxp_pn80t_transceive(struct EseInterface *ese, in nxp_pn80t_transceive() 319 void nxp_pn80t_close(struct EseInterface *ese) { in nxp_pn80t_close()
|
D | nq_nci.c | 117 uint32_t nq_transmit(struct EseInterface *ese, const uint8_t *buf, uint32_t len, in nq_transmit() 147 uint32_t nq_receive(struct EseInterface *ese, uint8_t *buf, uint32_t len, in nq_receive()
|
/external/libese/esed/ |
D | ScopedEseConnection.h | 25 using ::android::EseInterface; 29 ScopedEseConnection(EseInterface& ese) : mEse_(ese) {} in ScopedEseConnection() 43 EseInterface& mEse_;
|
D | Weaver.h | 29 using ::android::EseInterface; 36 Weaver(EseInterface& ese) : mEse(ese) {}; in Weaver() 45 EseInterface& mEse;
|
D | OemLock.h | 29 using ::android::EseInterface; 37 OemLock(EseInterface& ese) : mEse(ese) {} in OemLock() 52 EseInterface& mEse;
|
/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() 126 struct EseInterface dummy = { in TEST_F()
|
/external/libese/apps/weaver/include/ese/app/ |
D | weaver.h | 48 struct EseInterface *ese; 74 EseAppResult ese_weaver_session_open(struct EseInterface *ese, struct EseWeaverSession *session);
|
/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/apps/boot/include/ese/app/ |
D | boot.h | 50 struct EseInterface *ese; 92 EseAppResult ese_boot_session_open(struct EseInterface *ese, struct EseBootSession *session);
|
/external/libese/libese-teq1/ |
D | teq1_private.h | 108 int teq1_transmit(struct EseInterface *ese, 111 int teq1_receive(struct EseInterface *ese,
|
/external/libese/tools/ese_relay/ |
D | ese_relay.c | 35 void ese_relay_init(struct EseInterface *ese); 73 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()
|