Lines Matching refs:cmdlen
25 static int diag8_noresponse(int cmdlen) in diag8_noresponse() argument
28 register unsigned long reg3 asm ("3") = cmdlen; in diag8_noresponse()
38 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
42 register unsigned long reg4 asm ("4") = cmdlen | 0x40000000L; in diag8_response()
65 int cmdlen; in __cpcmd() local
69 cmdlen = strlen(cmd); in __cpcmd()
70 BUG_ON(cmdlen > 240); in __cpcmd()
71 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
72 ASCEBC(cpcmd_buf, cmdlen); in __cpcmd()
78 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
81 rc = diag8_noresponse(cmdlen); in __cpcmd()