Lines Matching refs:EA

285 #define EA			0x01
405 * gsm_read_ea - read a byte into an EA
407 * @c: byte going into the EA
409 * Processes one byte of an EA. Updates the passed variable
410 * and returns 1 if the EA is now completely read
418 /* Was this the last byte of the EA 1 = yes*/
419 return c & EA;
423 * gsm_read_ea_val - read a value until EA
428 * Processes an EA value. Updates the passed variable and
533 * @addr: address EA from the frame
653 cbuf[1] = (addr << 2) | (cr << 1) | EA;
655 cbuf[3] = EA; /* Length of data = 0 */
663 ibuf[0] = (addr << 2) | (cr << 1) | EA;
848 *--dp = (msg->len << 1) | EA;
857 *--dp = (msg->addr << 2) | 2 | EA;
859 *--dp = (msg->addr << 2) | EA;
942 *dp++ = (gsm_encode_modem(dlci) << 1) | EA;
1021 *dp++ = last << 7 | first << 6 | 1; /* EA */
1128 msg->data[0] = (cmd & 0xFE) << 1 | EA; /* Clear C/R */
1129 msg->data[1] = (dlen << 1) | EA;
1138 * @modem: modem bits (full EA)
1221 /* Must be at least one byte following the EA */
1312 * @command: the command EA
1383 * @command: the command (response) EA
1384 * @data: data beyond the command/length EA
1430 msg->data[0] = (ctrl->cmd << 1) | CR | EA; /* command */
1431 msg->data[1] = (ctrl->len << 1) | EA;
1761 * control channel. This should contain a command EA followed by
1762 * control data bytes. The command EA contains a command/response bit
1774 /* FIXME: this is properly an EA */
2041 case GSM_ADDRESS: /* Address EA */
2051 case GSM_LEN0: /* Length EA */
3059 modembits[0] = (dlci->addr << 2) | 2 | EA; /* DLCI, Valid, EA */
3060 modembits[1] = (gsm_encode_modem(dlci) << 1) | EA;
3062 modembits[2] = (brk << 4) | 2 | EA; /* Length, Break, EA */