Searched refs:zport_a (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/tty/serial/ |
H A D | zs.c | 321 static unsigned int zs_raw_get_ab_mctrl(struct zs_port *zport_a, zs_raw_get_ab_mctrl() argument 327 status_a = read_zsreg(zport_a, R0); zs_raw_get_ab_mctrl() 340 struct zs_port *zport_a = &zport->scc->zport[ZS_CHAN_A]; zs_raw_get_mctrl() local 342 return zport != zport_a ? zs_raw_get_ab_mctrl(zport_a, zport) : 0; zs_raw_get_mctrl() 347 struct zs_port *zport_a = &zport->scc->zport[ZS_CHAN_A]; zs_raw_xor_mctrl() local 351 if (zport == zport_a) zs_raw_xor_mctrl() 354 mask_a = zport_a->regs[15]; zs_raw_xor_mctrl() 365 mctrl |= zs_raw_get_ab_mctrl(zport_a, zport) & mmask; zs_raw_xor_mctrl() 392 struct zs_port *zport_a = &scc->zport[ZS_CHAN_A]; zs_set_mctrl() local 396 if (zport != zport_a) { zs_set_mctrl() 398 zport_a->regs[5] |= DTR; zs_set_mctrl() 400 zport_a->regs[5] &= ~DTR; zs_set_mctrl() 402 zport_a->regs[5] |= RTS; zs_set_mctrl() 404 zport_a->regs[5] &= ~RTS; zs_set_mctrl() 405 write_zsreg(zport_a, R5, zport_a->regs[5]); zs_set_mctrl() 458 struct zs_port *zport_a = &scc->zport[ZS_CHAN_A]; zs_stop_rx() local 465 if (zport != zport_a) { zs_stop_rx() 467 zport_a->regs[15] &= ~(DCDIE | SYNCIE); zs_stop_rx() 468 write_zsreg(zport_a, R15, zport_a->regs[15]); zs_stop_rx() 469 if (!(zport_a->regs[15] & BRKIE)) { zs_stop_rx() 470 zport_a->regs[1] &= ~EXT_INT_ENAB; zs_stop_rx() 471 write_zsreg(zport_a, R1, zport_a->regs[1]); zs_stop_rx() 492 struct zs_port *zport_a = &scc->zport[ZS_CHAN_A]; zs_enable_ms() local 494 if (zport == zport_a) zs_enable_ms() 500 if (!(zport_a->regs[1] & EXT_INT_ENAB)) zs_enable_ms() 501 write_zsreg(zport_a, R0, RES_EXT_INT); zs_enable_ms() 504 zport_a->regs[1] |= EXT_INT_ENAB; zs_enable_ms() 505 zport_a->regs[15] |= DCDIE | SYNCIE; zs_enable_ms() 512 write_zsreg(zport_a, R1, zport_a->regs[1]); zs_enable_ms() 513 write_zsreg(zport_a, R15, zport_a->regs[15]); zs_enable_ms() 649 static void zs_status_handle(struct zs_port *zport, struct zs_port *zport_a) zs_status_handle() argument 674 if (zport != zport_a) { zs_status_handle() 707 struct zs_port *zport_a = &scc->zport[ZS_CHAN_A]; zs_interrupt() local 722 zs_intreg = read_zsreg(zport_a, R3); zs_interrupt() 735 zs_receive_chars(zport_a); zs_interrupt() 737 zs_status_handle(zport_b, zport_a); zs_interrupt() 739 zs_status_handle(zport_a, zport_a); zs_interrupt() 743 zs_transmit_chars(zport_a); zs_interrupt() 856 struct zs_port *zport_a = &scc->zport[ZS_CHAN_A]; zs_set_termios() local 943 if (zport != zport_a) { zs_set_termios()
|
Completed in 67 milliseconds