Lines Matching refs:cmdlen
27 static int diag8_noresponse(int cmdlen) in diag8_noresponse() argument
30 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()
62 int cmdlen; in __cpcmd() local
66 cmdlen = strlen(cmd); in __cpcmd()
67 BUG_ON(cmdlen > 240); in __cpcmd()
68 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
69 ASCEBC(cpcmd_buf, cmdlen); in __cpcmd()
75 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
78 rc = diag8_noresponse(cmdlen); in __cpcmd()