Lines Matching refs:rspns_val

413 	uint8_t rspns_val;  in do_swdp_transfer()  local
420 &rspns_val); in do_swdp_transfer()
421 } while ((rspns_val == SWDP_ACK_WAIT) && retry--); in do_swdp_transfer()
423 return rspns_val; in do_swdp_transfer()
432 uint8_t rspns_val; in swdp_transfer_match() local
436 rspns_val = do_swdp_transfer(ctx, req_val, NULL); in swdp_transfer_match()
437 if (rspns_val != SWDP_ACK_OK) { in swdp_transfer_match()
438 return rspns_val; in swdp_transfer_match()
447 rspns_val = do_swdp_transfer(ctx, req_val, &data); in swdp_transfer_match()
448 if (rspns_val != SWDP_ACK_OK) { in swdp_transfer_match()
449 return rspns_val; in swdp_transfer_match()
456 rspns_val |= DAP_TRANSFER_MISMATCH; in swdp_transfer_match()
459 return rspns_val; in swdp_transfer_match()
478 uint8_t rspns_val = 0; in dap_swdp_transfer() local
489 rspns_buf = response + (sizeof(rspns_cnt) + sizeof(rspns_val)); in dap_swdp_transfer()
507 rspns_val = do_swdp_transfer(ctx, req_val, &data); in dap_swdp_transfer()
508 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transfer()
522 rspns_val = swdp_transfer_match(ctx, req_val, match_val); in dap_swdp_transfer()
523 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transfer()
531 rspns_val = do_swdp_transfer(ctx, req_val, NULL); in dap_swdp_transfer()
532 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transfer()
539 rspns_val = do_swdp_transfer(ctx, req_val, &data); in dap_swdp_transfer()
540 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transfer()
552 rspns_val = do_swdp_transfer(ctx, in dap_swdp_transfer()
555 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transfer()
570 rspns_val = SWDP_ACK_OK; in dap_swdp_transfer()
573 rspns_val = do_swdp_transfer(ctx, req_val, &data); in dap_swdp_transfer()
574 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transfer()
584 if (rspns_val == SWDP_ACK_OK) { in dap_swdp_transfer()
587 rspns_val = do_swdp_transfer(ctx, in dap_swdp_transfer()
590 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transfer()
599 rspns_val = do_swdp_transfer(ctx, in dap_swdp_transfer()
607 response[1] = rspns_val; in dap_swdp_transfer()
702 uint8_t rspns_val = 0; in dap_swdp_transferblock() local
708 rspns_buf = response + (sizeof(rspns_cnt) + sizeof(rspns_val)); in dap_swdp_transferblock()
718 rspns_val = do_swdp_transfer(ctx, req_val, NULL); in dap_swdp_transferblock()
719 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transferblock()
732 rspns_val = do_swdp_transfer(ctx, req_val, &data); in dap_swdp_transferblock()
733 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transferblock()
749 rspns_val = do_swdp_transfer(ctx, req_val, &data); in dap_swdp_transferblock()
750 if (rspns_val != SWDP_ACK_OK) { in dap_swdp_transferblock()
757 rspns_val = do_swdp_transfer(ctx, DP_RDBUFF | SWDP_REQUEST_RnW, NULL); in dap_swdp_transferblock()
762 response[2] = rspns_val; in dap_swdp_transferblock()