Lines Matching refs:port_number
286 if (port->serial->num_ports == 2 && port->port_number != 0) in mos7840_set_uart_reg()
287 val |= ((__u16)port->port_number + 2) << 8; in mos7840_set_uart_reg()
289 val |= ((__u16)port->port_number + 1) << 8; in mos7840_set_uart_reg()
315 if (port->serial->num_ports == 2 && port->port_number != 0) in mos7840_get_uart_reg()
316 Wval = ((__u16)port->port_number + 2) << 8; in mos7840_get_uart_reg()
318 Wval = ((__u16)port->port_number + 1) << 8; in mos7840_get_uart_reg()
674 dev_dbg(&port->dev, "port number is %d\n", port->port_number); in mos7840_open()
683 if ((serial->num_ports == 2) && (((__u16)port->port_number % 2) != 0)) { in mos7840_open()
894 if ((serial->num_ports == 2) && (((__u16)port->port_number % 2) != 0)) { in mos7840_write()
1397 ss->port = mos7840_port->port->port_number; in mos7840_get_serial_info()
1570 pnum = port->port_number; in mos7840_port_probe()