Lines Matching defs:new_line
1740 sync_serial_settings new_line;
1769 memset(&new_line, 0, sizeof(new_line));
1771 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_TXCPIN): new_line.clock_type = CLOCK_EXT; break;
1772 case (HDLC_FLAG_RXC_BRG | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_INT; break;
1773 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_TXINT; break;
1774 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_RXCPIN): new_line.clock_type = CLOCK_TXFROMRX; break;
1775 default: new_line.clock_type = CLOCK_DEFAULT;
1778 new_line.clock_rate = info->params.clock_speed;
1779 new_line.loopback = info->params.loopback ? 1:0;
1781 if (copy_to_user(line, &new_line, size))
1789 if (copy_from_user(&new_line, line, size))
1792 switch (new_line.clock_type)
1806 if (new_line.loopback != 0 && new_line.loopback != 1)
1815 info->params.loopback = new_line.loopback;
1818 info->params.clock_speed = new_line.clock_rate;