Lines Matching defs:command

215 extern int	adbWaitingCmd;	/* ADB command we are waiting for */
226 u_int cmd; /* the original command for this data */
438 switch (pmdata->command) {
480 pm_cmd = (u_char)(pmdata->command & 0xff);
482 break; /* send command succeeded */
488 /* failed to send a command */
522 /* receive PM command */
526 pmdata->command = pm_data;
572 pmdata.command = 0x78;
589 /* ADB data that were requested by TALK command */
713 switch (pmdata->command) {
716 pm_cmd = (u_char)(pmdata->command & 0xff);
736 /* send PM command */
746 pmdata->command = 0;
769 /* receive PM command */
770 pm_data = pmdata->command;
778 pmdata->command = pm_data;
784 pmdata->command = pm_data;
836 pmdata.command = 0x78;
862 pmdata.command = 0x33;
873 case 0x10: /* ADB data that were requested by TALK command */
977 pm_adb_op(u_char *buffer, void *compRout, void *data, int command)
996 pmdata.command = 0x20;
1000 if ((command & 0xc) == 0x8) { /* if the command is LISTEN, add number of ADB data to number of PM data */
1007 pmdata.data[0] = (u_char)(command & 0xff);
1009 if ((command & 0xc) == 0x8) { /* if the command is LISTEN, copy ADB data to PM buffer */
1019 if ((command & 0xc) != 0xc) { /* if the command is not TALK */
1022 packet.data[1] = command;
1028 packet.cmd = command;
1043 adbWaitingCmd = command;
1076 /* this command enables the interrupt by operating ADB devices */
1078 pmdata.command = 0x20;
1087 pmdata.command = 0x20;
1091 pmdata.data[0] = (u_char)(command & 0xf0) | 0xc;
1138 packet.data[1] = pmdata->data[3]; /* ADB command */
1164 tmp_pmdata.command = 0x20;
1181 pmdata.command = 0x7e;
1205 pmdata.command = 0x41;
1215 pmdata.command = 0x40;