Lines Matching refs:PCB

120   teq1_trace_transmit(frame->header.PCB, frame->header.LEN);  in teq1_transmit()
165 teq1_trace_receive(frame->header.PCB, frame->header.LEN); in teq1_receive()
185 switch (bs_get(PCB.type, frame->header.PCB)) { in teq1_fill_info_block()
200 bs_assign(&frame->header.PCB, PCB.I.more_data, 0); in teq1_fill_info_block()
202 frame->header.PCB |= bs_mask(PCB.I.more_data, 1); in teq1_fill_info_block()
215 switch (bs_get(PCB.type, frame->header.PCB)) { in teq1_get_app_data()
245 if (rx_frame->header.PCB == 255) { in teq1_frame_error_check()
257 switch (bs_get(PCB.type, tx_frame->header.PCB)) { in teq1_frame_error_check()
260 chained = bs_get(PCB.I.more_data, tx_frame->header.PCB); in teq1_frame_error_check()
262 bs_get(PCB.I.send_seq, tx_frame->header.PCB); in teq1_frame_error_check()
269 switch (bs_get(PCB.type, rx_frame->header.PCB)) { in teq1_frame_error_check()
271 if (rx_frame->header.PCB != S(RESYNC, RESPONSE) && in teq1_frame_error_check()
284 if ((bs_get(PCB.I.send_seq, rx_frame->header.PCB)) == in teq1_frame_error_check()
287 bs_get(PCB.I.send_seq, rx_frame->header.PCB), in teq1_frame_error_check()
292 state->card_state->seq.card = bs_get(PCB.I.send_seq, rx_frame->header.PCB); in teq1_frame_error_check()
306 uint16_t txrx = TEQ1_RULE(tx_frame->header.PCB, rx_frame->header.PCB); in teq1_rules()
315 txrx = TEQ1_RULE(tx_frame->header.PCB, 255); in teq1_rules()
324 next_tx->header.PCB = S(RESYNC, REQUEST); in teq1_rules()
347 next_tx->header.PCB = in teq1_rules()
348 TEQ1_R(!bs_get(PCB.I.send_seq, rx_frame->header.PCB), 0, 0); in teq1_rules()
356 next_tx->header.PCB = in teq1_rules()
357 TEQ1_I(bs_get(PCB.R.next_seq, rx_frame->header.PCB), 0); in teq1_rules()
370 next_tx->header.PCB = S(WTX, RESPONSE); in teq1_rules()
389 next_tx->header.PCB = S(IFS, RESPONSE); in teq1_rules()
406 next_tx->header.PCB = in teq1_rules()
407 TEQ1_R(!bs_get(PCB.I.send_seq, rx_frame->header.PCB), 0, 0); in teq1_rules()
428 next_tx->header.PCB = R_err; in teq1_rules()
429 bs_assign(&next_tx->header.PCB, PCB.R.next_seq, in teq1_rules()
430 bs_get(PCB.I.send_seq, tx_frame->header.PCB)); in teq1_rules()
432 next_tx->header.PCB, teq1_pcb_to_name(next_tx->header.PCB)); in teq1_rules()
445 next_tx->header.PCB = in teq1_rules()
446 TEQ1_R(bs_get(PCB.I.send_seq, tx_frame->header.PCB), 0, 0); in teq1_rules()
448 next_tx->header.PCB, teq1_pcb_to_name(next_tx->header.PCB)); in teq1_rules()
514 next_tx->header.PCB = S(ABORT, REQUEST); in teq1_rules()
530 if (rx_frame->header.PCB != 255) { in teq1_rules()
532 rx_frame->header.PCB = 255; in teq1_rules()
569 tx->header.PCB = TEQ1_I(!card_state->seq.interface, 0); in teq1_transceive()
590 rx_frame.header.PCB = 255; in teq1_transceive()
609 if (tx->header.PCB == S(RESYNC, REQUEST)) { in teq1_transceive()
614 tx_frame[!active].header.PCB = S(RESYNC, REQUEST); in teq1_transceive()
649 tx->header.PCB = I(0, 0); in teq1_transceive()