Lines Matching refs:cmdlen
24 static int diag8_noresponse(int cmdlen) in diag8_noresponse() argument
27 register unsigned long reg3 asm ("3") = cmdlen; in diag8_noresponse()
37 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
41 register unsigned long reg4 asm ("4") = cmdlen | 0x40000000L; in diag8_response()
64 int cmdlen; in __cpcmd() local
68 cmdlen = strlen(cmd); in __cpcmd()
69 BUG_ON(cmdlen > 240); in __cpcmd()
70 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
71 ASCEBC(cpcmd_buf, cmdlen); in __cpcmd()
76 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
79 rc = diag8_noresponse(cmdlen); in __cpcmd()