• Home
  • Raw
  • Download

Lines Matching refs:ese

61   session->ese = NULL;  in ese_boot_session_init()
66 ESE_API EseAppResult ese_boot_session_open(struct EseInterface *ese, in ese_boot_session_open() argument
72 if (!ese || !session) { in ese_boot_session_open()
81 rx_len = ese_transceive(ese, kManageChannelOpen, sizeof(kManageChannelOpen), in ese_boot_session_open()
83 if (ese_error(ese)) { in ese_boot_session_open()
84 ALOGE("transceive error: code:%d message:'%s'", ese_error_code(ese), in ese_boot_session_open()
85 ese_error_message(ese)); in ese_boot_session_open()
107 session->ese = ese; in ese_boot_session_open()
118 rx_len = ese_transceive_sg(ese, tx, 2, &rx, 1); in ese_boot_session_open()
119 if (rx_len < 0 || ese_error(ese)) { in ese_boot_session_open()
140 if (!session || !session->ese) { in ese_boot_session_close()
151 rx_len = ese_transceive(session->ese, close_channel, sizeof(close_channel), in ese_boot_session_close()
153 if (rx_len < 0 || ese_error(session->ese)) { in ese_boot_session_close()
175 if (!session || !session->ese || !session->active) { in ese_boot_lock_xget()
210 rx_len = ese_transceive_sg(session->ese, tx, 4, rx, 3); in ese_boot_lock_xget()
211 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_lock_xget()
235 if (!session || !session->ese || !session->active) { in ese_boot_lock_get()
255 rx_len = ese_transceive_sg(session->ese, tx, 3, rx, 1); in ese_boot_lock_get()
256 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_lock_get()
289 if (!session || !session->ese || !session->active) { in ese_boot_meta_clear()
303 rx_len = ese_transceive_sg(session->ese, tx, 2, rx, 1); in ese_boot_meta_clear()
304 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_meta_clear()
327 if (!session || !session->ese || !session->active) { in ese_boot_meta_append()
351 rx_len = ese_transceive_sg(session->ese, tx, 4, rx, 1); in ese_boot_meta_append()
352 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_meta_append()
377 if (!session || !session->ese || !session->active) { in ese_boot_lock_xset()
425 rx_len = ese_transceive_sg(session->ese, tx, 3, rx, 1); in ese_boot_lock_xset()
426 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_lock_xset()
454 if (!session || !session->ese || !session->active) { in ese_boot_lock_set()
475 rx_len = ese_transceive_sg(session->ese, tx, 3, rx, 1); in ese_boot_lock_set()
476 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_lock_set()
498 if (!session || !session->ese || !session->active) { in ese_boot_rollback_index_write()
530 int rx_len = ese_transceive_sg(session->ese, tx, 5, rx, 1); in ese_boot_rollback_index_write()
531 if (rx_len < 0 || ese_error(session->ese)) { in ese_boot_rollback_index_write()
557 if (!session || !session->ese || !session->active) { in ese_boot_rollback_index_read()
590 int rx_len = ese_transceive_sg(session->ese, tx, 4, rx, 1); in ese_boot_rollback_index_read()
591 if (rx_len < 0 || ese_error(session->ese)) { in ese_boot_rollback_index_read()
624 if (!session || !session->ese || !session->active) { in ese_boot_carrier_lock_test()
652 rx_len = ese_transceive_sg(session->ese, tx, 5, rx, 1); in ese_boot_carrier_lock_test()
653 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_carrier_lock_test()
675 if (!session || !session->ese || !session->active) { in ese_boot_set_production()
693 rx_len = ese_transceive_sg(session->ese, tx, 3, rx, 1); in ese_boot_set_production()
694 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_set_production()
720 if (!session || !session->ese || !session->active) { in ese_boot_reset_locks()
734 rx_len = ese_transceive_sg(session->ese, tx, 2, rx, 1); in ese_boot_reset_locks()
735 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_reset_locks()
761 if (!session || !session->ese || !session->active) { in ese_boot_get_state()
791 rx_len = ese_transceive_sg(session->ese, tx, 4, rx, 3); in ese_boot_get_state()
792 if (rx_len < 2 || ese_error(session->ese)) { in ese_boot_get_state()