Lines Matching refs:ctrl_dl

273 struct ctrl_dl {  struct
333 struct ctrl_dl { struct
356 struct ctrl_dl ctrl_dl; argument
686 memset(&dc->port[i].ctrl_dl, 0, sizeof(struct ctrl_dl)); in nozomi_read_config_table()
930 struct ctrl_dl ctrl_dl; in receive_flow_control() local
931 struct ctrl_dl old_ctrl; in receive_flow_control()
934 read_mem32((u32 *) &ctrl_dl, dc->port[PORT_CTRL].dl_addr[CH_A], 2); in receive_flow_control()
936 switch (ctrl_dl.port) { in receive_flow_control()
972 DBG1("0x%04X->0x%04X", *((u16 *)&dc->port[port].ctrl_dl), in receive_flow_control()
973 *((u16 *)&ctrl_dl)); in receive_flow_control()
975 old_ctrl = dc->port[port].ctrl_dl; in receive_flow_control()
976 dc->port[port].ctrl_dl = ctrl_dl; in receive_flow_control()
978 if (old_ctrl.CTS == 1 && ctrl_dl.CTS == 0) { in receive_flow_control()
983 } else if (old_ctrl.CTS == 0 && ctrl_dl.CTS == 1) { in receive_flow_control()
996 if (*(u16 *)&old_ctrl == *(u16 *)&ctrl_dl) { in receive_flow_control()
1001 if (old_ctrl.CTS != ctrl_dl.CTS) in receive_flow_control()
1003 if (old_ctrl.DSR != ctrl_dl.DSR) in receive_flow_control()
1005 if (old_ctrl.RI != ctrl_dl.RI) in receive_flow_control()
1007 if (old_ctrl.DCD != ctrl_dl.DCD) in receive_flow_control()
1694 if (port->ctrl_dl.CTS) { in ntty_write()
1735 const struct ctrl_dl *ctrl_dl = &port->ctrl_dl; in ntty_tiocmget() local
1742 (ctrl_dl->DCD ? TIOCM_CAR : 0) | in ntty_tiocmget()
1743 (ctrl_dl->RI ? TIOCM_RNG : 0) | in ntty_tiocmget()
1744 (ctrl_dl->DSR ? TIOCM_DSR : 0) | in ntty_tiocmget()
1745 (ctrl_dl->CTS ? TIOCM_CTS : 0); in ntty_tiocmget()