Home
last modified time | relevance | path

Searched refs:num_port (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/serial/
Df81534.c842 u8 num_port = 0; in f81534_calc_num_ports() local
914 ++num_port; in f81534_calc_num_ports()
917 if (!num_port) { in f81534_calc_num_ports()
920 num_port = 4; /* Nothing found, oldest version IC */ in f81534_calc_num_ports()
940 for (i = 1; i < num_port; ++i) in f81534_calc_num_ports()
943 epds->num_bulk_out = num_port; in f81534_calc_num_ports()
945 return num_port; in f81534_calc_num_ports()
/drivers/gpio/
Dgpio-ml-ioh.c216 static void ioh_gpio_setup(struct ioh_gpio *chip, int num_port) in ioh_gpio_setup() argument
228 gpio->ngpio = num_port; in ioh_gpio_setup()
/drivers/tty/serial/8250/
D8250_pci.c3913 int num_iomem, num_port, first_port = -1, i; in serial_pci_guess_board() local
3926 num_iomem = num_port = 0; in serial_pci_guess_board()
3929 num_port++; in serial_pci_guess_board()
3942 if (num_iomem <= 1 && num_port == 1) { in serial_pci_guess_board()
3954 num_port = 0; in serial_pci_guess_board()
3958 (first_port == -1 || (first_port + num_port) == i)) { in serial_pci_guess_board()
3959 num_port++; in serial_pci_guess_board()
3965 if (num_port > 1) { in serial_pci_guess_board()
3967 board->num_ports = num_port; in serial_pci_guess_board()