Searched refs:num_port (Results 1 – 3 of 3) sorted by relevance
842 u8 num_port = 0; in f81534_calc_num_ports() local914 ++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()
216 static void ioh_gpio_setup(struct ioh_gpio *chip, int num_port) in ioh_gpio_setup() argument228 gpio->ngpio = num_port; in ioh_gpio_setup()
4203 int num_iomem, num_port, first_port = -1, i; in serial_pci_guess_board() local4216 num_iomem = num_port = 0; in serial_pci_guess_board()4219 num_port++; in serial_pci_guess_board()4232 if (num_iomem <= 1 && num_port == 1) { in serial_pci_guess_board()4244 num_port = 0; in serial_pci_guess_board()4248 (first_port == -1 || (first_port + num_port) == i)) { in serial_pci_guess_board()4249 num_port++; in serial_pci_guess_board()4255 if (num_port > 1) { in serial_pci_guess_board()4257 board->num_ports = num_port; in serial_pci_guess_board()