Lines Matching refs:ctrl_dl

235 struct ctrl_dl {  struct
295 struct ctrl_dl { struct
318 struct ctrl_dl ctrl_dl; argument
639 memset(&dc->port[i].ctrl_dl, 0, sizeof(struct ctrl_dl)); in nozomi_read_config_table()
873 struct ctrl_dl ctrl_dl; in receive_flow_control() local
874 struct ctrl_dl old_ctrl; in receive_flow_control()
877 read_mem32((u32 *) &ctrl_dl, dc->port[PORT_CTRL].dl_addr[CH_A], 2); in receive_flow_control()
879 switch (ctrl_dl.port) { in receive_flow_control()
915 DBG1("0x%04X->0x%04X", *((u16 *)&dc->port[port].ctrl_dl), in receive_flow_control()
916 *((u16 *)&ctrl_dl)); in receive_flow_control()
918 old_ctrl = dc->port[port].ctrl_dl; in receive_flow_control()
919 dc->port[port].ctrl_dl = ctrl_dl; in receive_flow_control()
921 if (old_ctrl.CTS == 1 && ctrl_dl.CTS == 0) { in receive_flow_control()
926 } else if (old_ctrl.CTS == 0 && ctrl_dl.CTS == 1) { in receive_flow_control()
939 if (*(u16 *)&old_ctrl == *(u16 *)&ctrl_dl) { in receive_flow_control()
944 if (old_ctrl.CTS != ctrl_dl.CTS) in receive_flow_control()
946 if (old_ctrl.DSR != ctrl_dl.DSR) in receive_flow_control()
948 if (old_ctrl.RI != ctrl_dl.RI) in receive_flow_control()
950 if (old_ctrl.DCD != ctrl_dl.DCD) in receive_flow_control()
1618 if (port->ctrl_dl.CTS) { in ntty_write()
1658 const struct ctrl_dl *ctrl_dl = &port->ctrl_dl; in ntty_tiocmget() local
1665 | (ctrl_dl->DCD ? TIOCM_CAR : 0) in ntty_tiocmget()
1666 | (ctrl_dl->RI ? TIOCM_RNG : 0) in ntty_tiocmget()
1667 | (ctrl_dl->DSR ? TIOCM_DSR : 0) in ntty_tiocmget()
1668 | (ctrl_dl->CTS ? TIOCM_CTS : 0); in ntty_tiocmget()