Lines Matching refs:T30_INFO

2565 					fax_control_bits = GET_WORD(&((T30_INFO *)plci->fax_connect_info_buffer)->control_bits_low);  in connect_b3_req()
2566 fax_feature_bits = GET_WORD(&((T30_INFO *)plci->fax_connect_info_buffer)->feature_bits_low); in connect_b3_req()
2570 len = offsetof(T30_INFO, universal_6); in connect_b3_req()
2575 … if ((w & 0x0001) != ((word)(((T30_INFO *)(plci->fax_connect_info_buffer))->resolution & 0x0001))) in connect_b3_req()
2577 ((T30_INFO *)(plci->fax_connect_info_buffer))->resolution = in connect_b3_req()
2578 …(byte)((((T30_INFO *)(plci->fax_connect_info_buffer))->resolution & ~T30_RESOLUTION_R8_0770_OR_200… in connect_b3_req()
2593 if (((byte) w) != ((T30_INFO *)(plci->fax_connect_info_buffer))->data_format) in connect_b3_req()
2595 ((T30_INFO *)(plci->fax_connect_info_buffer))->data_format = (byte) w; in connect_b3_req()
2628 ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id_len = (byte) w; in connect_b3_req()
2630 ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id[i] = fax_parms[4].info[1 + i]; in connect_b3_req()
2631 ((T30_INFO *)(plci->fax_connect_info_buffer))->head_line_len = 0; in connect_b3_req()
2632 len = offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH; in connect_b3_req()
2666 len = offsetof(T30_INFO, universal_6); in connect_b3_req()
2671 … if (fax_control_bits != GET_WORD(&((T30_INFO *)plci->fax_connect_info_buffer)->control_bits_low)) in connect_b3_req()
2673 PUT_WORD(&((T30_INFO *)plci->fax_connect_info_buffer)->control_bits_low, fax_control_bits); in connect_b3_req()
2770 len = offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH; in connect_b3_res()
2773 ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id_len = 0; in connect_b3_res()
2774 ((T30_INFO *)(plci->fax_connect_info_buffer))->head_line_len = 0; in connect_b3_res()
2795 ((T30_INFO *)(plci->fax_connect_info_buffer))->code = 0; in connect_b3_res()
3678 len = offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH; in manufacturer_res()
3681 ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id_len = 0; in manufacturer_res()
3682 ((T30_INFO *)(plci->fax_connect_info_buffer))->head_line_len = 0; in manufacturer_res()
6662 if (plci->NL.RLength >= sizeof(T30_INFO)) in nl_ind()
6664 dbug(1, dprintf("FaxStatus %04x", ((T30_INFO *)plci->NL.RBuffer->P)->code)); in nl_ind()
6666 PUT_WORD(&(plci->ncpi_buffer[1]), ((T30_INFO *)plci->NL.RBuffer->P)->rate_div_2400 * 2400); in nl_ind()
6667 fax_feature_bits = GET_WORD(&((T30_INFO *)plci->NL.RBuffer->P)->feature_bits_low); in nl_ind()
6668 …i = (((T30_INFO *)plci->NL.RBuffer->P)->resolution & T30_RESOLUTION_R8_0770_OR_200) ? 0x0001 : 0x0… in nl_ind()
6684 PUT_WORD(&(plci->ncpi_buffer[5]), ((T30_INFO *)plci->NL.RBuffer->P)->data_format); in nl_ind()
6685 plci->ncpi_buffer[7] = ((T30_INFO *)plci->NL.RBuffer->P)->pages_low; in nl_ind()
6686 plci->ncpi_buffer[8] = ((T30_INFO *)plci->NL.RBuffer->P)->pages_high; in nl_ind()
6688 if (((T30_INFO *)plci->NL.RBuffer->P)->station_id_len) in nl_ind()
6692 plci->ncpi_buffer[++len] = ((T30_INFO *)plci->NL.RBuffer->P)->station_id[i]; in nl_ind()
6696 if (((T30_INFO *)plci->NL.RBuffer->P)->code < ARRAY_SIZE(fax_info)) in nl_ind()
6697 info = fax_info[((T30_INFO *)plci->NL.RBuffer->P)->code]; in nl_ind()
6705 …i = offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + ((T30_INFO *)plci->NL.RBuffer->P)… in nl_ind()
6711 fax_feature_bits = GET_WORD(&((T30_INFO *)plci->NL.RBuffer->P)->feature_bits_low); in nl_ind()
6712 PUT_WORD(&((T30_INFO *)plci->fax_connect_info_buffer)->feature_bits_low, fax_feature_bits); in nl_ind()
6719 && ((((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_TRAIN_OK) in nl_ind()
6720 || (((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_DIS) in nl_ind()
6721 || (((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_DTC)))) in nl_ind()
6728 && (((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_EOP_CAPI))) in nl_ind()
6756 ((T30_INFO *)plci->NL.RBuffer->P)->code)); in nl_ind()
6757 …fax_send_edata_ack = (((T30_INFO *)(plci->fax_connect_info_buffer))->operating_mode == T30_OPERATI… in nl_ind()
6761 && (((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_DIS) in nl_ind()
6766 ((T30_INFO *)(plci->fax_connect_info_buffer))->code = ((T30_INFO *)plci->NL.RBuffer->P)->code; in nl_ind()
6776 switch (((T30_INFO *)plci->NL.RBuffer->P)->code) in nl_ind()
6780 …&& !(GET_WORD(&((T30_INFO *)plci->fax_connect_info_buffer)->control_bits_low) & T30_CONTROL_BIT_RE… in nl_ind()
6819 switch (((T30_INFO *)plci->NL.RBuffer->P)->code) in nl_ind()
6837 ((T30_INFO *)(plci->fax_connect_info_buffer))->code = ((T30_INFO *)plci->NL.RBuffer->P)->code; in nl_ind()
6940 i = ((T30_INFO *)plci->fax_connect_info_buffer)->rate_div_2400 * 2400; in nl_ind()
6943 i = ((T30_INFO *)plci->fax_connect_info_buffer)->data_format; in nl_ind()
8010 for (i = 0; i < sizeof(T30_INFO); i++) nlc[i] = 0; in add_b23()
8011 nlc[0] = sizeof(T30_INFO); in add_b23()
8013 ((T30_INFO *)&nlc[1])->operating_mode = T30_OPERATING_MODE_CAPI; in add_b23()
8014 ((T30_INFO *)&nlc[1])->rate_div_2400 = 0xff; in add_b23()
8017 ((T30_INFO *)&nlc[1])->rate_div_2400 = (byte)(GET_WORD(&b1_config->info[1]) / 2400); in add_b23()
8219 ((T30_INFO *)&nlc[1])->resolution = (byte)(((i & 0x0001) || in add_b23()
8221 ((T30_INFO *)&nlc[1])->data_format = (byte)(GET_WORD((byte *)b3_config_parms[1].info)); in add_b23()
8223 if ((((T30_INFO *)&nlc[1])->rate_div_2400 != 0) && (((T30_INFO *)&nlc[1])->rate_div_2400 <= 6)) in add_b23()
8231 ((T30_INFO *)&nlc[1])->resolution |= T30_RESOLUTION_R8_1540 | in add_b23()
8236 ((T30_INFO *)&nlc[1])->recording_properties = in add_b23()
8253 ((T30_INFO *)&nlc[1])->resolution = ((T30_INFO *)plci->fax_connect_info_buffer)->resolution; in add_b23()
8254 ((T30_INFO *)&nlc[1])->data_format = ((T30_INFO *)plci->fax_connect_info_buffer)->data_format; in add_b23()
8255 …((T30_INFO *)&nlc[1])->recording_properties = ((T30_INFO *)plci->fax_connect_info_buffer)->recordi… in add_b23()
8256 fax_control_bits |= GET_WORD(&((T30_INFO *)plci->fax_connect_info_buffer)->control_bits_low) & in add_b23()
8265 ((T30_INFO *)&nlc[1])->station_id[i] = ((byte *)b3_config_parms[2].info)[1 + i]; in add_b23()
8269 ((T30_INFO *)&nlc[1])->station_id[i] = ' '; in add_b23()
8272 ((T30_INFO *)&nlc[1])->station_id_len = T30_MAX_STATION_ID_LENGTH; in add_b23()
8277 … pos = (byte)(fax_head_line_time(&(((T30_INFO *)&nlc[1])->station_id[T30_MAX_STATION_ID_LENGTH]))); in add_b23()
8284 nlc[1 + offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + pos++] = ' '; in add_b23()
8285 nlc[1 + offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + pos++] = ' '; in add_b23()
8292 …nlc[1 + offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + pos++] = ((byte *)b3_config_p… in add_b23()
8293 nlc[1 + offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + pos++] = ' '; in add_b23()
8294 nlc[1 + offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + pos++] = ' '; in add_b23()
8302 ((T30_INFO *)&nlc[1])->head_line_len = (byte)(pos + len); in add_b23()
8305 …nlc[1 + offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + pos++] = ((byte *)b3_config_… in add_b23()
8307 ((T30_INFO *)&nlc[1])->head_line_len = 0; in add_b23()
8333 pos = offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH; in add_b23()
8379 ((T30_INFO *)&nlc[1])->operating_mode = T30_OPERATING_MODE_CAPI_NEG; in add_b23()
8384 PUT_WORD(&(((T30_INFO *)&nlc[1])->control_bits_low), fax_control_bits); in add_b23()
8385 len = offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH; in add_b23()
8388 ((T30_INFO *) plci->fax_connect_info_buffer)->head_line_len = 0; in add_b23()
8389 i += ((T30_INFO *)&nlc[1])->head_line_len; in add_b23()