Lines Matching refs:pCM
172 cmdSyntaxPtr pCM = (cmdSyntaxPtr) ct38; in i2cmdSetSeq() local
175 pCM->cmd[1] = ((type > 0xf) ? 0xf : type); // Sequence number in i2cmdSetSeq()
177 pCM->cmd[2] = size; in i2cmdSetSeq()
178 pCM->length = 3 + size; // UPDATES THE LENGTH! in i2cmdSetSeq()
180 pc = &(pCM->cmd[3]); in i2cmdSetSeq()
185 return pCM; in i2cmdSetSeq()
202 cmdSyntaxPtr pCM = (cmdSyntaxPtr) ct47; in i2cmdUnixFlags() local
204 pCM->cmd[1] = (unsigned char) iflag; in i2cmdUnixFlags()
205 pCM->cmd[2] = (unsigned char) (iflag >> 8); in i2cmdUnixFlags()
206 pCM->cmd[3] = (unsigned char) cflag; in i2cmdUnixFlags()
207 pCM->cmd[4] = (unsigned char) (cflag >> 8); in i2cmdUnixFlags()
208 pCM->cmd[5] = (unsigned char) lflag; in i2cmdUnixFlags()
209 pCM->cmd[6] = (unsigned char) (lflag >> 8); in i2cmdUnixFlags()
210 return pCM; in i2cmdUnixFlags()
227 cmdSyntaxPtr pCM = (cmdSyntaxPtr) ct53; in i2cmdBaudRemap() local
229 pCM->cmd[1] = dest; in i2cmdBaudRemap()
230 pCM->cmd[2] = src; in i2cmdBaudRemap()
231 return pCM; in i2cmdBaudRemap()
248 cmdSyntaxPtr pCM; in i2cmdBaudDef() local
253 pCM = (cmdSyntaxPtr) ct54; in i2cmdBaudDef()
257 pCM = (cmdSyntaxPtr) ct55; in i2cmdBaudDef()
260 pCM->cmd[1] = (unsigned char) rate; in i2cmdBaudDef()
261 pCM->cmd[2] = (unsigned char) (rate >> 8); in i2cmdBaudDef()
262 return pCM; in i2cmdBaudDef()