tag | line | file | source code |
sio | 1779 | drivers/char/istallion.c | struct serial_struct sio; |
sio | 1786 | drivers/char/istallion.c | memset(&sio, 0, sizeof(struct serial_struct)); |
sio | 1787 | drivers/char/istallion.c | sio.type = PORT_UNKNOWN; |
sio | 1788 | drivers/char/istallion.c | sio.line = portp->portnr; |
sio | 1789 | drivers/char/istallion.c | sio.irq = 0; |
sio | 1790 | drivers/char/istallion.c | sio.flags = portp->flags; |
sio | 1791 | drivers/char/istallion.c | sio.baud_base = portp->baud_base; |
sio | 1792 | drivers/char/istallion.c | sio.close_delay = portp->close_delay; |
sio | 1793 | drivers/char/istallion.c | sio.closing_wait = portp->closing_wait; |
sio | 1794 | drivers/char/istallion.c | sio.custom_divisor = portp->custom_divisor; |
sio | 1795 | drivers/char/istallion.c | sio.xmit_fifo_size = 0; |
sio | 1796 | drivers/char/istallion.c | sio.hub6 = 0; |
sio | 1800 | drivers/char/istallion.c | sio.port = brdp->iobase; |
sio | 1802 | drivers/char/istallion.c | memcpy_tofs(sp, &sio, sizeof(struct serial_struct)); |
sio | 1815 | drivers/char/istallion.c | struct serial_struct sio; |
sio | 1822 | drivers/char/istallion.c | memcpy_fromfs(&sio, sp, sizeof(struct serial_struct)); |
sio | 1824 | drivers/char/istallion.c | if ((sio.baud_base != portp->baud_base) || |
sio | 1825 | drivers/char/istallion.c | (sio.close_delay != portp->close_delay) || |
sio | 1826 | drivers/char/istallion.c | ((sio.flags & ~ASYNC_USR_MASK) != (portp->flags & ~ASYNC_USR_MASK))) |
sio | 1830 | drivers/char/istallion.c | portp->flags = (portp->flags & ~ASYNC_USR_MASK) | (sio.flags & ASYNC_USR_MASK); |
sio | 1831 | drivers/char/istallion.c | portp->baud_base = sio.baud_base; |
sio | 1832 | drivers/char/istallion.c | portp->close_delay = sio.close_delay; |
sio | 1833 | drivers/char/istallion.c | portp->closing_wait = sio.closing_wait; |
sio | 1834 | drivers/char/istallion.c | portp->custom_divisor = sio.custom_divisor; |
sio | 1099 | drivers/char/stallion.c | struct serial_struct sio; |
sio | 1106 | drivers/char/stallion.c | memset(&sio, 0, sizeof(struct serial_struct)); |
sio | 1107 | drivers/char/stallion.c | sio.type = PORT_CIRRUS; |
sio | 1108 | drivers/char/stallion.c | sio.line = portp->portnr; |
sio | 1109 | drivers/char/stallion.c | sio.port = portp->ioaddr; |
sio | 1110 | drivers/char/stallion.c | sio.flags = portp->flags; |
sio | 1111 | drivers/char/stallion.c | sio.baud_base = portp->baud_base; |
sio | 1112 | drivers/char/stallion.c | sio.close_delay = portp->close_delay; |
sio | 1113 | drivers/char/stallion.c | sio.closing_wait = portp->closing_wait; |
sio | 1114 | drivers/char/stallion.c | sio.custom_divisor = portp->custom_divisor; |
sio | 1115 | drivers/char/stallion.c | sio.xmit_fifo_size = CD1400_TXFIFOSIZE; |
sio | 1116 | drivers/char/stallion.c | sio.hub6 = 0; |
sio | 1120 | drivers/char/stallion.c | sio.irq = brdp->irq; |
sio | 1122 | drivers/char/stallion.c | memcpy_tofs(sp, &sio, sizeof(struct serial_struct)); |
sio | 1135 | drivers/char/stallion.c | struct serial_struct sio; |
sio | 1141 | drivers/char/stallion.c | memcpy_fromfs(&sio, sp, sizeof(struct serial_struct)); |
sio | 1143 | drivers/char/stallion.c | if ((sio.baud_base != portp->baud_base) || |
sio | 1144 | drivers/char/stallion.c | (sio.close_delay != portp->close_delay) || |
sio | 1145 | drivers/char/stallion.c | ((sio.flags & ~ASYNC_USR_MASK) != (portp->flags & ~ASYNC_USR_MASK))) |
sio | 1149 | drivers/char/stallion.c | portp->flags = (portp->flags & ~ASYNC_USR_MASK) | (sio.flags & ASYNC_USR_MASK); |
sio | 1150 | drivers/char/stallion.c | portp->baud_base = sio.baud_base; |
sio | 1151 | drivers/char/stallion.c | portp->close_delay = sio.close_delay; |
sio | 1152 | drivers/char/stallion.c | portp->closing_wait = sio.closing_wait; |
sio | 1153 | drivers/char/stallion.c | portp->custom_divisor = sio.custom_divisor; |