Searched refs:portnr (Results 1 – 2 of 2) sorted by relevance
893 static int saa7164_port_init(struct saa7164_dev *dev, int portnr) in saa7164_port_init() argument897 BUG_ON((portnr < 0) || (portnr >= SAA7164_MAX_PORTS)); in saa7164_port_init()899 port = &dev->ports[portnr]; in saa7164_port_init()902 port->nr = portnr; in saa7164_port_init()904 if ((portnr == SAA7164_PORT_TS1) || (portnr == SAA7164_PORT_TS2)) in saa7164_port_init()907 if ((portnr == SAA7164_PORT_ENC1) || (portnr == SAA7164_PORT_ENC2)) { in saa7164_port_init()912 } else if ((portnr == SAA7164_PORT_VBI1) || (portnr == SAA7164_PORT_VBI2)) { in saa7164_port_init()
2806 int portnr, ret; in pl011_probe() local2808 portnr = pl011_find_free_port(); in pl011_probe()2809 if (portnr < 0) in pl011_probe()2810 return portnr; in pl011_probe()2830 ret = pl011_setup_port(&dev->dev, uap, &dev->res, portnr); in pl011_probe()2875 int portnr, ret; in sbsa_uart_probe() local2892 portnr = pl011_find_free_port(); in sbsa_uart_probe()2893 if (portnr < 0) in sbsa_uart_probe()2894 return portnr; in sbsa_uart_probe()2924 ret = pl011_setup_port(&pdev->dev, uap, r, portnr); in sbsa_uart_probe()