Lines Matching refs:tx
76 struct EseSgBuffer tx[2]; in ese_weaver_session_open() local
120 tx[0].base = &chan; in ese_weaver_session_open()
121 tx[0].len = 1; in ese_weaver_session_open()
122 tx[1].base = (uint8_t *)&kSelectApplet[1]; in ese_weaver_session_open()
123 tx[1].len = sizeof(kSelectApplet) - 1; in ese_weaver_session_open()
126 rx_len = ese_transceive_sg(ese, tx, 2, &rx, 1); in ese_weaver_session_open()
234 struct EseSgBuffer tx[5]; in ese_weaver_write() local
236 tx[0].base = &chan; in ese_weaver_write()
237 tx[0].len = 1; in ese_weaver_write()
238 tx[1].base = (uint8_t *)&kWrite[1]; in ese_weaver_write()
239 tx[1].len = sizeof(kWrite) - 1; in ese_weaver_write()
244 tx[2].base = slot_id; in ese_weaver_write()
245 tx[2].len = sizeof(slot_id); in ese_weaver_write()
248 tx[3].c_base = key; in ese_weaver_write()
249 tx[3].len = kEseWeaverKeySize; in ese_weaver_write()
250 tx[4].c_base = value; in ese_weaver_write()
251 tx[4].len = kEseWeaverValueSize; in ese_weaver_write()
260 const int rx_len = ese_transceive_sg(session->ese, tx, 5, &rx, 1); in ese_weaver_write()
288 struct EseSgBuffer tx[5]; in ese_weaver_read() local
290 tx[0].base = &chan; in ese_weaver_read()
291 tx[0].len = 1; in ese_weaver_read()
292 tx[1].base = (uint8_t *)&kRead[1]; in ese_weaver_read()
293 tx[1].len = sizeof(kRead) - 1; in ese_weaver_read()
298 tx[2].base = slot_id; in ese_weaver_read()
299 tx[2].len = sizeof(slot_id); in ese_weaver_read()
302 tx[3].c_base = key; in ese_weaver_read()
303 tx[3].len = kEseWeaverKeySize; in ese_weaver_read()
307 tx[4].c_base = &maxResponse; in ese_weaver_read()
308 tx[4].len = 1; in ese_weaver_read()
322 const int rx_len = ese_transceive_sg(session->ese, tx, 5, rx, 3); in ese_weaver_read()
373 struct EseSgBuffer tx[3]; in ese_weaver_erase_value() local
375 tx[0].base = &chan; in ese_weaver_erase_value()
376 tx[0].len = 1; in ese_weaver_erase_value()
377 tx[1].base = (uint8_t *)&kEraseValue[1]; in ese_weaver_erase_value()
378 tx[1].len = sizeof(kEraseValue) - 1; in ese_weaver_erase_value()
383 tx[2].base = slot_id; in ese_weaver_erase_value()
384 tx[2].len = sizeof(slot_id); in ese_weaver_erase_value()
393 const int rx_len = ese_transceive_sg(session->ese, tx, 3, &rx, 1); in ese_weaver_erase_value()