Lines Matching refs:settings
132 fr_proto settings; member
333 if (state(hdlc)->settings.lmi == LMI_NONE) in pvc_open()
349 if (state(hdlc)->settings.lmi == LMI_NONE) in pvc_close()
352 if (state(hdlc)->settings.dce) { in pvc_close()
461 int lmi = state(hdlc)->settings.lmi; in fr_lmi_send()
462 int dce = state(hdlc)->settings.dce; in fr_lmi_send()
561 if (state(hdlc)->settings.lmi == LMI_NONE) { in fr_set_link_state()
575 if (!state(hdlc)->settings.dce) in fr_set_link_state()
590 if (state(hdlc)->settings.dce) { in fr_timer()
593 state(hdlc)->settings.t392 * HZ); in fr_timer()
604 for (i = 0; i < state(hdlc)->settings.n393; i++, list >>= 1) in fr_timer()
607 reliable = (cnt < state(hdlc)->settings.n392); in fr_timer()
615 if (state(hdlc)->settings.dce) { in fr_timer()
617 state(hdlc)->settings.t392 * HZ; in fr_timer()
627 state(hdlc)->settings.t391 * HZ; in fr_timer()
638 int lmi = state(hdlc)->settings.lmi; in fr_lmi_recv()
639 int dce = state(hdlc)->settings.dce; in fr_lmi_recv()
844 state(hdlc)->n391cnt = state(hdlc)->settings.n391; in fr_lmi_recv()
905 (state(hdlc)->settings.lmi == LMI_ANSI || in fr_rx()
906 state(hdlc)->settings.lmi == LMI_CCITT)) || in fr_rx()
908 state(hdlc)->settings.lmi == LMI_CISCO)) { in fr_rx()
1002 if (state(hdlc)->settings.lmi != LMI_NONE) { in fr_start()
1027 if (state(hdlc)->settings.lmi != LMI_NONE) in fr_stop()
1202 if (copy_to_user(fr_s, &state(hdlc)->settings, size)) in fr_ioctl()
1246 memcpy(&state(hdlc)->settings, &new_settings, size); in fr_ioctl()