Lines Matching refs:EA

366 #define EA			0x01
494 * gsm_read_ea - read a byte into an EA
496 * @c: byte going into the EA
498 * Processes one byte of an EA. Updates the passed variable
499 * and returns 1 if the EA is now completely read
507 /* Was this the last byte of the EA 1 = yes*/
508 return c & EA;
512 * gsm_read_ea_val - read a value until EA
517 * Processes an EA value. Updates the passed variable and
697 * @addr: address EA from the frame
824 *dp++ = (addr << 2) | (ocr << 1) | EA;
828 *dp++ = EA; /* Length of data = 0 */
1100 *--dp = (msg->len << 1) | EA;
1109 *--dp = (msg->addr << 2) | CR | EA;
1111 *--dp = (msg->addr << 2) | EA;
1204 *dp++ = (gsm_encode_modem(dlci) << 1) | EA;
1280 *dp++ = last << 7 | first << 6 | 1; /* EA */
1338 *dp++ = (gsm_encode_modem(dlci) << 1) | EA;
1341 *dp++ = (brk << 4) | 2 | EA; /* Length, Break, EA */
1460 msg->data[0] = (cmd << 1) | CR | EA; /* Set C/R */
1461 msg->data[1] = (dlen << 1) | EA;
1487 msg->data[0] = (cmd & 0xFE) << 1 | EA; /* Clear C/R */
1488 msg->data[1] = (dlen << 1) | EA;
1497 * @modem: modem bits (full EA)
1698 /* Must be at least one byte following the EA */
1842 * @command: the command EA
1916 * @command: the command (response) EA
1917 * @data: data beyond the command/length EA
2440 * control channel. This should contain a command EA followed by
2441 * control data bytes. The command EA contains a command/response bit
2871 case GSM_ADDRESS: /* Address EA */
2881 case GSM_LEN0: /* Length EA */
4089 modembits[0] = (dlci->addr << 2) | 2 | EA; /* DLCI, Valid, EA */
4091 modembits[1] = (gsm_encode_modem(dlci) << 1) | EA;
4094 modembits[2] = (brk << 4) | 2 | EA; /* Length, Break, EA */