Searched refs:gs (Results 1 - 25 of 64) sorted by relevance

123

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dser_a2232.c205 port->gs.flags &= ~GS_TX_INTEN;
222 port->gs.flags |= GS_TX_INTEN;
257 port->gs.flags &= ~GS_ACTIVE;
259 if (port->gs.tty && port->gs.tty->termios->c_cflag & HUPCL) {
291 if (!port->gs.tty || !port->gs.tty->termios) return 0;
299 baud = port->gs.baud;
328 cflag = port->gs.tty->termios->c_cflag;
365 softflow = !!( port->gs
[all...]
H A Dserial_tx3912.c63 struct tty_struct *tty = port->gs.tty;
98 else if (port->gs.xmit_cnt <= 0 || port->gs.tty->stopped ||
99 port->gs.tty->hw_stopped) {
103 outb(port->gs.xmit_buf[port->gs.xmit_tail++],
106 port->gs.xmit_tail &= SERIAL_XMIT_SIZE-1;
107 if (--port->gs.xmit_cnt <= 0) {
114 if (port->gs.xmit_cnt <= 0 || port->gs
[all...]
H A Dvme_scc.c205 port->gs.callout_termios = tty_std_termios;
206 port->gs.normal_termios = tty_std_termios;
207 port->gs.magic = SCC_MAGIC;
208 port->gs.close_delay = HZ/2;
209 port->gs.closing_wait = 30 * HZ;
210 port->gs.rd = &scc_real_driver;
212 port->gs.port_write_sem = MUTEX;
214 init_waitqueue_head(&port->gs.open_wait);
215 init_waitqueue_head(&port->gs.close_wait);
455 struct tty_struct *tty = port->gs
[all...]
H A Dsh-sci.c398 if (port->old_cflag != port->gs.tty->termios->c_cflag) {
399 port->old_cflag = port->gs.tty->termios->c_cflag;
400 sci_set_termios_cflag(port, port->old_cflag, port->gs.baud);
405 if (I_OTHER(port->gs.tty))
406 clear_bit(TTY_HW_COOK_IN, &port->gs.tty->flags);
408 set_bit(TTY_HW_COOK_IN, &port->gs.tty->flags);
415 if (O_OPOST(port->gs.tty) && !O_OTHER(port->gs.tty))
416 set_bit(TTY_HW_COOK_OUT, &port->gs.tty->flags);
418 clear_bit(TTY_HW_COOK_OUT, &port->gs
[all...]
H A Dsx.c606 switch (port->gs.baud) {
621 printk (KERN_INFO "sx: unsupported baud rate: %d.\n", port->gs.baud);
636 switch (port->gs.baud) {
648 printk (KERN_INFO "sx: Unsupported baud rate: %d.\n", port->gs.baud);
654 printk (KERN_INFO "sx: Unsupported baud rate: %d.\n", port->gs.baud);
664 printk (KERN_INFO "sx: Unsupported baud rate: %d.\n", port->gs.baud);
687 if (!port->gs.tty)
698 #define CFLAG port->gs.tty->termios->c_cflag
700 (C_PARENB (port->gs.tty)? MR1_WITH:MR1_NONE) |
701 (C_PARODD (port->gs
[all...]
H A Dserial_tx3912.h41 struct gs_port gs; /* Must be first field! */ member in struct:rs_port
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-x86_64/
H A Dcurrent.h33 #define GET_CURRENT(reg) movq %gs:(pda_pcurrent),reg
H A Dsigcontext.h43 unsigned short gs; member in struct:sigcontext
H A Dsigcontext32.h47 unsigned short gs, __gsh; member in struct:sigcontext_ia32
H A Delf.h55 cur->thread.fs = 0; cur->thread.gs = 0; \
99 (pr_reg)[22] = current->thread.gs; \
103 asm("movl %%gs,%0" : "=r" (v)); (pr_reg)[26] = v; \
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-x86_64/
H A Dcurrent.h33 #define GET_CURRENT(reg) movq %gs:(pda_pcurrent),reg
H A Dsigcontext.h43 unsigned short gs; member in struct:sigcontext
H A Dsigcontext32.h47 unsigned short gs, __gsh; member in struct:sigcontext_ia32
H A Delf.h55 cur->thread.fs = 0; cur->thread.gs = 0; \
99 (pr_reg)[22] = current->thread.gs; \
103 asm("movl %%gs,%0" : "=r" (v)); (pr_reg)[26] = v; \
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/rio/
H A Driointr.c191 tty = PortP->gs.tty;
195 PortP->PortNum, PortP->gs.xmit_cnt);
197 if (!PortP->gs.xmit_cnt) return;
209 c = PortP->gs.xmit_cnt;
213 if (c > SERIAL_XMIT_SIZE - PortP->gs.xmit_tail)
214 c = SERIAL_XMIT_SIZE - PortP->gs.xmit_tail;
221 firstchars (PortP->gs.xmit_buf + PortP->gs.xmit_tail , t),
222 firstchars (PortP->gs.xmit_buf + PortP->gs
[all...]
H A Driotty.c205 PortP->gs.tty = tty;
206 if (!PortP->gs.count)
208 PortP->gs.count++;
211 PortP->gs.xmit_cnt);
213 retval = gs_init_port (&PortP->gs);
215 PortP->gs.count--;
216 if (PortP->gs.count)
322 /* PortP->gs.xmit_cnt = 0; */
383 if ((PortP->gs.tty->termios->c_cflag & CLOCAL) || (PortP->ModemState & MSVR1_CD))
391 wake_up_interruptible (&PortP->gs
[all...]
H A Drio_linux.c434 tty = ((struct Port *)ptr)->gs.tty;
561 /* port->gs.flags &= ~GS_TX_INTEN; */
585 PortP->gs.flags &= ~GS_TX_INTEN;
640 PortP->gs.tty = NULL;
660 PortP->gs.tty = NULL;
681 if(PortP->gs.count) {
682 printk (KERN_ERR "WARNING port count:%d\n", PortP->gs.count);
683 PortP->gs.count = 0;
686 PortP->gs.tty = NULL;
734 rc = gs_getserial(&PortP->gs, (struc
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-i386/
H A Dsigcontext.h58 unsigned short gs, __gsh; member in struct:sigcontext
H A Dvm86.h95 unsigned short gs, __gsh; member in struct:vm86_regs
170 unsigned short gs, __gsh; member in struct:kernel_vm86_regs
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-i386/
H A Dsigcontext.h58 unsigned short gs, __gsh; member in struct:sigcontext
H A Dvm86.h95 unsigned short gs, __gsh; member in struct:vm86_regs
170 unsigned short gs, __gsh; member in struct:kernel_vm86_regs
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/kernel/
H A Dprocess.c281 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; local
304 asm("movl %%gs,%0" : "=r" (gsindex));
307 rdmsrl(MSR_GS_BASE, gs);
316 fs,fsindex,gs,gsindex,shadowgs);
339 * Reloading %gs is a bit complicated because the kernel relies on it
341 * while doing this. Check the new gs value manually for validity and only
343 * LDT. This has to be done in the context switch iff %gs changes.
345 void load_gs_index(unsigned gs) argument
350 if ((gs & 3) != 2) gs
[all...]
H A Dtraps.c395 unsigned long gs; local
397 rdmsrl(MSR_GS_BASE, gs);
398 if (gs != (unsigned long)pda) {
400 printk("%s: wrong gs %lx expected %p\n", str, gs, pda);
481 unsigned long gs; local
483 rdmsrl(MSR_GS_BASE, gs);
484 if (gs != (unsigned long)pda) {
486 printk("general protection handler: wrong gs %lx expected %p\n", gs, pd
597 unsigned long gs; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/boot/compressed/
H A Dhead.S42 movl %eax,%gs
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/mm/
H A Dfault.c122 unsigned long gs; local
124 rdmsrl(MSR_GS_BASE, gs);
125 if (gs != (unsigned long)pda) {
127 printk("page_fault: wrong gs %lx expected %p\n", gs, pda);

Completed in 246 milliseconds

123