Lines Matching refs:encode
533 * gsm_encode_modem - encode modem data bits
534 * @dlci: DLCI to encode from
582 * gsm_encode_params - encode DLCI parameters
583 * @dlci: DLCI to encode from
4481 int encode = 0; /* Off */
4485 if (state == -1) /* "On indefinitely" - we can't encode this
4487 encode = 0x0F;
4489 encode = state / 200; /* mS to encoding */
4490 if (encode > 0x0F)
4491 encode = 0x0F; /* Best effort */
4493 return gsm_modem_update(dlci, encode);