Lines Matching defs:new_line
4113 sync_serial_settings new_line;
4128 memset(&new_line, 0, size);
4145 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_TXCPIN): new_line.clock_type = CLOCK_EXT; break;
4146 case (HDLC_FLAG_RXC_BRG | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_INT; break;
4147 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_TXINT; break;
4148 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_RXCPIN): new_line.clock_type = CLOCK_TXFROMRX; break;
4149 default: new_line.clock_type = CLOCK_DEFAULT;
4152 new_line.clock_rate = info->params.clock_speed;
4153 new_line.loopback = info->params.loopback ? 1:0;
4155 if (copy_to_user(line, &new_line, size))
4163 if (copy_from_user(&new_line, line, size))
4166 switch (new_line.clock_type)
4180 if (new_line.loopback != 0 && new_line.loopback != 1)
4189 info->params.loopback = new_line.loopback;
4192 info->params.clock_speed = new_line.clock_rate;