Lines Matching defs:EA
254 #define EA 0x01
371 * gsm_read_ea - read a byte into an EA
373 * c: byte going into the EA
375 * Processes one byte of an EA. Updates the passed variable
376 * and returns 1 if the EA is now completely read
384 /* Was this the last byte of the EA 1 = yes*/
385 return c & EA;
416 * @addr: address EA from the frame
542 cbuf[1] = (addr << 2) | (cr << 1) | EA;
544 cbuf[3] = EA; /* Length of data = 0 */
552 ibuf[0] = (addr << 2) | (cr << 1) | EA;
692 *--dp = (msg->len << 1) | EA;
701 *--dp = (msg->addr << 2) | 2 | EA;
703 *--dp = (msg->addr << 2) | EA;
849 *dp++ = last << 7 | first << 6 | 1; /* EA */
932 msg->data[0] = (cmd & 0xFE) << 1 | EA; /* Clear C/R */
933 msg->data[1] = (dlen << 1) | EA;
942 * @modem: modem bits (full EA)
1009 /* Must be at least one byte following the EA */
1091 * @command: the command EA
1158 * @command: the command (response) EA
1159 * @data: data beyond the command/length EA
1206 msg->data[0] = (ctrl->cmd << 1) | 2 | EA; /* command */
1491 * control channel. This should contain a command EA followed by
1492 * control data bytes. The command EA contains a command/response bit
1704 break; /* Address EA */
1715 case GSM_LEN: /* Length EA */
2401 modembits[0] = len << 1 | EA; /* Data bytes */
2402 modembits[1] = dlci->addr << 2 | 3; /* DLCI, EA, 1 */
2403 modembits[2] = gsm_encode_modem(dlci) << 1 | EA;
2405 modembits[3] = brk << 4 | 2 | EA; /* Valid, EA */