Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/serial/
H A Df81534.c844 u8 num_port = 0; in f81534_calc_num_ports() local
916 ++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()
/openbmc/linux/drivers/gpio/
H A 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()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pci.c3876 int num_iomem, num_port, first_port = -1, i; in serial_pci_guess_board() local
3889 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()
/openbmc/ipmitool/lib/
H A Dipmi_ekanalyzer.c2314 int num_port = 0; in ipmi_ek_get_resource_descriptor() local
2315 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()