Lines Matching full:response
38 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
41 register unsigned long reg3 asm ("3") = (addr_t) response; in diag8_response()
60 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) in __cpcmd() argument
72 if (response) { in __cpcmd()
73 memset(response, 0, rlen); in __cpcmd()
75 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
76 EBCASC(response, response_len); in __cpcmd()
86 int cpcmd(const char *cmd, char *response, int rlen, int *response_code) in cpcmd() argument
92 if (is_vmalloc_or_module_addr(response)) { in cpcmd()
95 pr_warn("The cpcmd kernel function failed to allocate a response buffer\n"); in cpcmd()
101 memcpy(response, lowbuf, rlen); in cpcmd()
105 len = __cpcmd(cmd, response, rlen, response_code); in cpcmd()