Home
last modified time | relevance | path

Searched refs:serstruct (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/usb/serial/
Dark3116.c407 struct serial_struct serstruct; in ark3116_ioctl() local
413 memset(&serstruct, 0, sizeof(serstruct)); in ark3116_ioctl()
414 serstruct.type = PORT_16654; in ark3116_ioctl()
415 serstruct.line = port->minor; in ark3116_ioctl()
416 serstruct.port = port->port_number; in ark3116_ioctl()
417 serstruct.custom_divisor = 0; in ark3116_ioctl()
418 serstruct.baud_base = 460800; in ark3116_ioctl()
420 if (copy_to_user(user_arg, &serstruct, sizeof(serstruct))) in ark3116_ioctl()
425 if (copy_from_user(&serstruct, user_arg, sizeof(serstruct))) in ark3116_ioctl()
Dwhiteheat.c481 struct serial_struct serstruct; in whiteheat_ioctl() local
486 memset(&serstruct, 0, sizeof(serstruct)); in whiteheat_ioctl()
487 serstruct.type = PORT_16654; in whiteheat_ioctl()
488 serstruct.line = port->minor; in whiteheat_ioctl()
489 serstruct.port = port->port_number; in whiteheat_ioctl()
490 serstruct.flags = ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ; in whiteheat_ioctl()
491 serstruct.xmit_fifo_size = kfifo_size(&port->write_fifo); in whiteheat_ioctl()
492 serstruct.custom_divisor = 0; in whiteheat_ioctl()
493 serstruct.baud_base = 460800; in whiteheat_ioctl()
494 serstruct.close_delay = CLOSING_DELAY; in whiteheat_ioctl()
[all …]