Searched refs:num_port (Results 1 – 4 of 4) sorted by relevance
844 u8 num_port = 0; in f81534_calc_num_ports() local916 ++num_port; in f81534_calc_num_ports()919 if (!num_port) { in f81534_calc_num_ports()922 num_port = 4; /* Nothing found, oldest version IC */ in f81534_calc_num_ports()942 for (i = 1; i < num_port; ++i) in f81534_calc_num_ports()945 epds->num_bulk_out = num_port; in f81534_calc_num_ports()947 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()
3876 int num_iomem, num_port, first_port = -1, i; in serial_pci_guess_board() local3889 num_iomem = num_port = 0; in serial_pci_guess_board()3892 num_port++; in serial_pci_guess_board()3905 if (num_iomem <= 1 && num_port == 1) { in serial_pci_guess_board()3917 num_port = 0; in serial_pci_guess_board()3921 (first_port == -1 || (first_port + num_port) == i)) { in serial_pci_guess_board()3922 num_port++; in serial_pci_guess_board()3928 if (num_port > 1) { in serial_pci_guess_board()3930 board->num_ports = num_port; in serial_pci_guess_board()
2314 int num_port = 0; in ipmi_ek_get_resource_descriptor() local2315 while (num_port < port_count) { in ipmi_ek_get_resource_descriptor()2316 memcpy(&port_desc[num_port], &record->data[index], in ipmi_ek_get_resource_descriptor()2319 num_port++; in ipmi_ek_get_resource_descriptor()