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()
44 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
48 register unsigned long reg4 asm ("4") = cmdlen | 0x40000000L; in diag8_response()
77 int cmdlen; in __cpcmd() local
81 cmdlen = strlen(cmd); in __cpcmd()
82 BUG_ON(cmdlen > 240); in __cpcmd()
83 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
84 ASCEBC(cpcmd_buf, cmdlen); in __cpcmd()
89 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
92 rc = diag8_noresponse(cmdlen); in __cpcmd()