Lines Matching refs:resp_len
54 size_t resp_len) in p9_sbe_occ_save_ffdc() argument
60 if (resp_len > ctx->ffdc_size) { in p9_sbe_occ_save_ffdc()
62 ctx->ffdc = kvmalloc(resp_len, GFP_KERNEL); in p9_sbe_occ_save_ffdc()
69 ctx->ffdc_size = resp_len; in p9_sbe_occ_save_ffdc()
74 ctx->ffdc_len = resp_len; in p9_sbe_occ_save_ffdc()
75 memcpy(ctx->ffdc, resp, resp_len); in p9_sbe_occ_save_ffdc()
84 void *resp, size_t resp_len) in p9_sbe_occ_send_cmd() argument
86 size_t original_resp_len = resp_len; in p9_sbe_occ_send_cmd()
91 rc = fsi_occ_submit(ctx->sbe, cmd, len, resp, &resp_len); in p9_sbe_occ_send_cmd()
94 if (resp_len) { in p9_sbe_occ_send_cmd()
95 if (p9_sbe_occ_save_ffdc(ctx, resp, resp_len)) in p9_sbe_occ_send_cmd()
102 resp_len = original_resp_len; in p9_sbe_occ_send_cmd()