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()
922 struct ctrl_dl ctrl_dl; in receive_flow_control() local
923 struct ctrl_dl old_ctrl; in receive_flow_control()
926 read_mem32((u32 *) &ctrl_dl, dc->port[PORT_CTRL].dl_addr[CH_A], 2); in receive_flow_control()
928 switch (ctrl_dl.port) { in receive_flow_control()
964 DBG1("0x%04X->0x%04X", *((u16 *)&dc->port[port].ctrl_dl), in receive_flow_control()
965 *((u16 *)&ctrl_dl)); in receive_flow_control()
967 old_ctrl = dc->port[port].ctrl_dl; in receive_flow_control()
968 dc->port[port].ctrl_dl = ctrl_dl; in receive_flow_control()
970 if (old_ctrl.CTS == 1 && ctrl_dl.CTS == 0) { in receive_flow_control()
975 } else if (old_ctrl.CTS == 0 && ctrl_dl.CTS == 1) { in receive_flow_control()
988 if (*(u16 *)&old_ctrl == *(u16 *)&ctrl_dl) { in receive_flow_control()
993 if (old_ctrl.CTS != ctrl_dl.CTS) in receive_flow_control()
995 if (old_ctrl.DSR != ctrl_dl.DSR) in receive_flow_control()
997 if (old_ctrl.RI != ctrl_dl.RI) in receive_flow_control()
999 if (old_ctrl.DCD != ctrl_dl.DCD) in receive_flow_control()
1678 if (port->ctrl_dl.CTS) { in ntty_write()
1718 const struct ctrl_dl *ctrl_dl = &port->ctrl_dl; in ntty_tiocmget() local
1725 (ctrl_dl->DCD ? TIOCM_CAR : 0) | in ntty_tiocmget()
1726 (ctrl_dl->RI ? TIOCM_RNG : 0) | in ntty_tiocmget()
1727 (ctrl_dl->DSR ? TIOCM_DSR : 0) | in ntty_tiocmget()
1728 (ctrl_dl->CTS ? TIOCM_CTS : 0); in ntty_tiocmget()