Home
last modified time | relevance | path

Searched refs:new_line (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/net/wan/
Dc101.c189 sync_serial_settings new_line, *line = ifr->ifr_settings.ifs_ifsu.sync; in c101_ioctl() local
217 if (copy_from_user(&new_line, line, size)) in c101_ioctl()
220 if (new_line.clock_type != CLOCK_EXT && in c101_ioctl()
221 new_line.clock_type != CLOCK_TXFROMRX && in c101_ioctl()
222 new_line.clock_type != CLOCK_INT && in c101_ioctl()
223 new_line.clock_type != CLOCK_TXINT) in c101_ioctl()
226 if (new_line.loopback != 0 && new_line.loopback != 1) in c101_ioctl()
229 memcpy(&port->settings, &new_line, size); /* Update settings */ in c101_ioctl()
Dpci200syn.c209 sync_serial_settings new_line, *line = ifr->ifr_settings.ifs_ifsu.sync; in pci200_ioctl() local
238 if (copy_from_user(&new_line, line, size)) in pci200_ioctl()
241 if (new_line.clock_type != CLOCK_EXT && in pci200_ioctl()
242 new_line.clock_type != CLOCK_TXFROMRX && in pci200_ioctl()
243 new_line.clock_type != CLOCK_INT && in pci200_ioctl()
244 new_line.clock_type != CLOCK_TXINT) in pci200_ioctl()
247 if (new_line.loopback != 0 && new_line.loopback != 1) in pci200_ioctl()
250 memcpy(&port->settings, &new_line, size); /* Update settings */ in pci200_ioctl()
Dn2.c258 sync_serial_settings new_line, *line = ifr->ifr_settings.ifs_ifsu.sync; in n2_ioctl() local
286 if (copy_from_user(&new_line, line, size)) in n2_ioctl()
289 if (new_line.clock_type != CLOCK_EXT && in n2_ioctl()
290 new_line.clock_type != CLOCK_TXFROMRX && in n2_ioctl()
291 new_line.clock_type != CLOCK_INT && in n2_ioctl()
292 new_line.clock_type != CLOCK_TXINT) in n2_ioctl()
295 if (new_line.loopback != 0 && new_line.loopback != 1) in n2_ioctl()
298 memcpy(&port->settings, &new_line, size); /* Update settings */ in n2_ioctl()