Lines Matching refs:t30
1031 eicon_t30_s *t30 = (eicon_t30_s *) buffer; in idi_fill_in_T30() local
1037 memset(t30, 0, sizeof(eicon_t30_s)); in idi_fill_in_T30()
1038 t30->station_id_len = EICON_FAXID_LEN; in idi_fill_in_T30()
1039 memcpy(&t30->station_id[0], &chan->fax->id[0], EICON_FAXID_LEN); in idi_fill_in_T30()
1040 t30->resolution = chan->fax->resolution; in idi_fill_in_T30()
1041 t30->rate = chan->fax->rate + 1; /* eicon rate starts with 1 */ in idi_fill_in_T30()
1042 t30->format = T30_FORMAT_SFF; in idi_fill_in_T30()
1043 t30->pages_low = 0; in idi_fill_in_T30()
1044 t30->pages_high = 0; in idi_fill_in_T30()
1045 t30->atf = 1; /* optimised for AT+F command set */ in idi_fill_in_T30()
1046 t30->code = 0; in idi_fill_in_T30()
1047 t30->feature_bits_low = 0; in idi_fill_in_T30()
1048 t30->feature_bits_high = 0; in idi_fill_in_T30()
1049 t30->control_bits_low = 0; in idi_fill_in_T30()
1050 t30->control_bits_high = 0; in idi_fill_in_T30()
1058 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_2D_CODING; in idi_fill_in_T30()
1059 t30->feature_bits_low |= T30_FEATURE_BIT_2D_CODING; in idi_fill_in_T30()
1062 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_UNCOMPR; in idi_fill_in_T30()
1063 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_2D_CODING; in idi_fill_in_T30()
1064 t30->feature_bits_low |= T30_FEATURE_BIT_UNCOMPR_ENABLED; in idi_fill_in_T30()
1065 t30->feature_bits_low |= T30_FEATURE_BIT_2D_CODING; in idi_fill_in_T30()
1068 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_T6_CODING; in idi_fill_in_T30()
1069 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_2D_CODING; in idi_fill_in_T30()
1070 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_UNCOMPR; in idi_fill_in_T30()
1071 t30->feature_bits_low |= T30_FEATURE_BIT_UNCOMPR_ENABLED; in idi_fill_in_T30()
1072 t30->feature_bits_low |= T30_FEATURE_BIT_T6_CODING; in idi_fill_in_T30()
1073 t30->feature_bits_low |= T30_FEATURE_BIT_2D_CODING; in idi_fill_in_T30()
1074 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_ECM; in idi_fill_in_T30()
1075 t30->feature_bits_low |= T30_FEATURE_BIT_ECM; in idi_fill_in_T30()
1080 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_T6_CODING; in idi_fill_in_T30()
1081 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_2D_CODING; in idi_fill_in_T30()
1082 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_UNCOMPR; in idi_fill_in_T30()
1083 t30->feature_bits_low |= T30_FEATURE_BIT_UNCOMPR_ENABLED; in idi_fill_in_T30()
1084 t30->feature_bits_low |= T30_FEATURE_BIT_T6_CODING; in idi_fill_in_T30()
1085 t30->feature_bits_low |= T30_FEATURE_BIT_2D_CODING; in idi_fill_in_T30()
1086 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_ECM; in idi_fill_in_T30()
1087 t30->feature_bits_low |= T30_FEATURE_BIT_ECM; in idi_fill_in_T30()
1093 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_ECM; in idi_fill_in_T30()
1094 t30->control_bits_low |= T30_CONTROL_BIT_ECM_64_BYTES; in idi_fill_in_T30()
1095 t30->feature_bits_low |= T30_FEATURE_BIT_ECM; in idi_fill_in_T30()
1096 t30->feature_bits_low |= T30_FEATURE_BIT_ECM_64_BYTES; in idi_fill_in_T30()
1099 t30->control_bits_low |= T30_CONTROL_BIT_ENABLE_ECM; in idi_fill_in_T30()
1100 t30->feature_bits_low |= T30_FEATURE_BIT_ECM; in idi_fill_in_T30()
1106 eicon_log(NULL, 128, "sT30:code = %x\n", t30->code); in idi_fill_in_T30()
1107 eicon_log(NULL, 128, "sT30:rate = %x\n", t30->rate); in idi_fill_in_T30()
1108 eicon_log(NULL, 128, "sT30:res = %x\n", t30->resolution); in idi_fill_in_T30()
1109 eicon_log(NULL, 128, "sT30:format = %x\n", t30->format); in idi_fill_in_T30()
1110 eicon_log(NULL, 128, "sT30:pages_low = %x\n", t30->pages_low); in idi_fill_in_T30()
1111 eicon_log(NULL, 128, "sT30:pages_high = %x\n", t30->pages_high); in idi_fill_in_T30()
1112 eicon_log(NULL, 128, "sT30:atf = %x\n", t30->atf); in idi_fill_in_T30()
1113 eicon_log(NULL, 128, "sT30:control_bits_low = %x\n", t30->control_bits_low); in idi_fill_in_T30()
1114 eicon_log(NULL, 128, "sT30:control_bits_high = %x\n", t30->control_bits_high); in idi_fill_in_T30()
1115 eicon_log(NULL, 128, "sT30:feature_bits_low = %x\n", t30->feature_bits_low); in idi_fill_in_T30()
1116 eicon_log(NULL, 128, "sT30:feature_bits_high = %x\n", t30->feature_bits_high); in idi_fill_in_T30()
1120 eicon_log(NULL, 128, "sT30:station_id_len = %x\n", t30->station_id_len); in idi_fill_in_T30()
1121 eicon_log(NULL, 128, "sT30:head_line_len = %x\n", t30->head_line_len); in idi_fill_in_T30()
1122 strncpy(st, t30->station_id, t30->station_id_len); in idi_fill_in_T30()
1123 st[t30->station_id_len] = 0; in idi_fill_in_T30()