Home | History | Annotate | Download | only in boot

Lines Matching defs:tx

68   struct EseSgBuffer tx[2];
112 tx[0].base = &chan;
113 tx[0].len = 1;
114 tx[1].base = (uint8_t *)&kSelectApplet[1];
115 tx[1].len = sizeof(kSelectApplet) - 1;
118 rx_len = ese_transceive_sg(ese, tx, 2, &rx, 1);
172 struct EseSgBuffer tx[4];
185 tx[0].base = &chan;
186 tx[0].len = 1;
187 tx[1].base = (uint8_t *)&kGetLockState[1];
188 tx[1].len = 1;
191 tx[2].base = &p1p2[0];
192 tx[2].len = sizeof(p1p2);
196 tx[3].base = &max_reply[0];
197 tx[3].len = sizeof(max_reply);
210 rx_len = ese_transceive_sg(session->ese, tx, 4, rx, 3);
232 struct EseSgBuffer tx[3];
242 tx[0].base = &chan;
243 tx[0].len = 1;
244 tx[1].base = (uint8_t *)&kGetLockState[1];
245 tx[1].len = 1;
248 tx[2].base = &p1p2[0];
249 tx[2].len = sizeof(p1p2);
255 rx_len = ese_transceive_sg(session->ese, tx, 3, rx, 1);
286 struct EseSgBuffer tx[2];
294 tx[0].base = &chan;
295 tx[0].len = 1;
296 tx[1].base = (uint8_t *)&kLoadMetaClear[1];
297 tx[1].len = sizeof(kLoadMetaClear) - 1;
303 rx_len = ese_transceive_sg(session->ese, tx, 2, rx, 1);
324 struct EseSgBuffer tx[4];
336 tx[0].base = &chan;
337 tx[0].len = 1;
338 tx[1].base = (uint8_t *)&kLoadMetaAppend[1];
339 tx[1].len = sizeof(kLoadMetaAppend) - 1;
342 tx[2].base = &apdu_len[0];
343 tx[2].len = sizeof(apdu_len);
344 tx[3].c_base = data;
345 tx[3].len = dataLen;
351 rx_len = ese_transceive_sg(session->ese, tx, 4, rx, 1);
374 struct EseSgBuffer tx[3];
412 tx[0].base = &chan;
413 tx[0].len = 1;
414 tx[1].base = (uint8_t *)&kSetLockState[1];
415 tx[1].len = 1;
418 tx[2].base = &lockIdLockValueUseMeta[0];
419 tx[2].len = sizeof(lockIdLockValueUseMeta);
425 rx_len = ese_transceive_sg(session->ese, tx, 3, rx, 1);
451 struct EseSgBuffer tx[3];
462 tx[0].base = &chan;
463 tx[0].len = 1;
464 tx[1].base = (uint8_t *)&kSetLockState[1];
465 tx[1].len = 1;
468 tx[2].base = &lockIdLockValueNoMeta[0];
469 tx[2].len = sizeof(lockIdLockValueNoMeta);
475 rx_len = ese_transceive_sg(session->ese, tx, 3, rx, 1);
495 struct EseSgBuffer tx[5];
509 tx[0].base = &chan;
510 tx[0].len = 1;
512 tx[1].base = (uint8_t *)&kStoreCmd[1];
513 tx[1].len = 1;
516 tx[2].c_base = &p1p2[0];
517 tx[2].len = sizeof(p1p2);
520 tx[3].base = &len;
521 tx[3].len = sizeof(len);
523 tx[4].base = (uint8_t *)&value;
524 tx[4].len = sizeof(value);
530 int rx_len = ese_transceive_sg(session->ese, tx, 5, rx, 1);
554 struct EseSgBuffer tx[4];
572 tx[0].base = &chan;
573 tx[0].len = 1;
575 tx[1].base = (uint8_t *)&kLoadCmd[1];
576 tx[1].len = 1;
579 tx[2].c_base = &p1p2[0];
580 tx[2].len = sizeof(p1p2);
583 tx[3].base = &len;
584 tx[3].len = sizeof(len);
590 int rx_len = ese_transceive_sg(session->ese, tx, 4, rx, 1);
621 struct EseSgBuffer tx[5];
632 tx[0].base = &chan;
633 tx[0].len = 1;
634 tx[1].base = (uint8_t *)&kCarrierLockTest[1];
635 tx[1].len = 1;
638 tx[2].base = &p1p2[0];
639 tx[2].len = sizeof(p1p2);
642 tx[3].base = &apdu_len[0];
643 tx[3].len = sizeof(apdu_len);
645 tx[4].c_base = testdata;
646 tx[4].len = len;
652 rx_len = ese_transceive_sg(session->ese, tx, 5, rx, 1);
671 struct EseSgBuffer tx[3];
680 tx[0].base = &chan;
681 tx[0].len = 1;
682 tx[1].base = (uint8_t *)&kSetProduction[1];
683 tx[1].len = 1;
686 tx[2].base = &p1p2[0];
687 tx[2].len = sizeof(p1p2);
693 rx_len = ese_transceive_sg(session->ese, tx, 3, rx, 1);
717 struct EseSgBuffer tx[2];
725 tx[0].base = &chan;
726 tx[0].len = 1;
727 tx[1].base = (uint8_t *)&kLockReset[1];
728 tx[1].len = sizeof(kLockReset) - 1;
734 rx_len = ese_transceive_sg(session->ese, tx, 2, rx, 1);
758 struct EseSgBuffer tx[4];
765 tx[0].base = &chan;
766 tx[0].len = 1;
767 tx[1].base = (uint8_t *)&kGetState[1];
768 tx[1].len = 1;
771 tx[2].base = &p1p2[0];
772 tx[2].len = sizeof(p1p2);
776 tx[3].base = &max_reply[0];
777 tx[3].len = sizeof(max_reply);
791 rx_len = ese_transceive_sg(session->ese, tx, 4, rx, 3);