Lines Matching defs:new_line
1605 sync_serial_settings new_line;
1634 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_TXCPIN): new_line.clock_type = CLOCK_EXT; break;
1635 case (HDLC_FLAG_RXC_BRG | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_INT; break;
1636 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_TXINT; break;
1637 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_RXCPIN): new_line.clock_type = CLOCK_TXFROMRX; break;
1638 default: new_line.clock_type = CLOCK_DEFAULT;
1641 new_line.clock_rate = info->params.clock_speed;
1642 new_line.loopback = info->params.loopback ? 1:0;
1644 if (copy_to_user(line, &new_line, size))
1652 if (copy_from_user(&new_line, line, size))
1655 switch (new_line.clock_type)
1669 if (new_line.loopback != 0 && new_line.loopback != 1)
1678 info->params.loopback = new_line.loopback;
1681 info->params.clock_speed = new_line.clock_rate;