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()
41 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
45 register unsigned long reg4 asm ("4") = cmdlen | 0x40000000L; in diag8_response()
74 int cmdlen; in __cpcmd() local
78 cmdlen = strlen(cmd); in __cpcmd()
79 BUG_ON(cmdlen > 240); in __cpcmd()
80 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
81 ASCEBC(cpcmd_buf, cmdlen); in __cpcmd()
86 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
89 rc = diag8_noresponse(cmdlen); in __cpcmd()