Lines Matching refs:line
227 return sccnxp_read(port, (port->line << 3) + reg); in sccnxp_port_read()
232 sccnxp_write(port, (port->line << 3) + reg, v); in sccnxp_port_write()
327 s->imr |= mask << (port->line * 4); in sccnxp_enable_irq()
335 s->imr &= ~(mask << (port->line * 4)); in sccnxp_disable_irq()
344 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(sig)) { in sccnxp_set_bit()
345 bitmask = 1 << MCTRL_OBIT(s->pdata.mctrl_cfg[port->line], sig); in sccnxp_set_bit()
566 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(DSR_IP)) { in sccnxp_get_mctrl()
567 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl()
572 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(CTS_IP)) { in sccnxp_get_mctrl()
573 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl()
578 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(DCD_IP)) { in sccnxp_get_mctrl()
579 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl()
584 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(RNG_IP)) { in sccnxp_get_mctrl()
585 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl()
718 s->opened[port->line] = 1; in sccnxp_startup()
732 s->opened[port->line] = 0; in sccnxp_shutdown()
943 s->port[i].line = i; in sccnxp_probe()