/drivers/tty/serial/8250/ |
H A D | 8250_acorn.c | 29 unsigned int num_ports; member in struct:serial_card_type 36 unsigned int num_ports; member in struct:serial_card_info 54 info->num_ports = type->num_ports; 73 for (i = 0; i < info->num_ports; i ++) { 90 for (i = 0; i < info->num_ports; i++) 98 .num_ports = 3, 105 .num_ports = 2,
|
H A D | 8250_pci.c | 36 * = 0 - use board->num_ports 764 if (idx >= board->num_ports) 2808 .num_ports = 1, 2814 .num_ports = 1, 2820 .num_ports = 2, 2826 .num_ports = 4, 2832 .num_ports = 5, 2838 .num_ports = 8, 2844 .num_ports = 1, 2850 .num_ports [all...] |
H A D | 8250_hp300.c | 60 static unsigned int num_ports; variable 201 num_ports++; 229 if (!num_ports) 279 num_ports++; 284 if (!num_ports)
|
/drivers/parport/ |
H A D | parport_serial.c | 283 .num_ports = 1, 289 .num_ports = 2, 295 .num_ports = 1, 301 .num_ports = 1, 307 .num_ports = 1, 313 .num_ports = 1, 319 .num_ports = 0, 325 .num_ports = 0, 331 .num_ports = 1, 337 .num_ports [all...] |
H A D | daisy.c | 97 int num_ports; local 109 ((num_ports = num_mux_ports(port)) == 2 || num_ports == 4)) { 114 port->name, num_ports); 115 for (i = 1; i < num_ports; i++) { 128 extra->name, i + 1, th[i + 1], num_ports,
|
/drivers/usb/serial/ |
H A D | keyspan.h | 167 int num_ports; member in struct:keyspan_device_details 210 .num_ports = 1, 227 .num_ports = 1, 244 .num_ports = 1, 261 .num_ports = 1, 278 .num_ports = 1, 295 .num_ports = 1, 312 .num_ports = 1, 329 .num_ports = 2, 346 .num_ports [all...] |
H A D | visor.c | 171 .num_ports = 2, 191 .num_ports = 2, 211 .num_ports = 1, 323 int num_ports = 0; local 345 num_ports = le16_to_cpu(connection_info->num_ports); 346 for (i = 0; i < num_ports; ++i) { 376 if (num_ports == 0 || num_ports > 2) { 379 num_ports 471 int num_ports = (int)(long)(usb_get_serial_data(serial)); local [all...] |
H A D | visor.h | 105 __le16 num_ports; member in struct:visor_connection_info 133 * @num_ports: maximum number of functions/connections in use 149 __u8 num_ports; member in struct:palm_ext_connection_info
|
H A D | usb-serial.c | 88 static int allocate_minors(struct usb_serial *serial, int num_ports) argument 94 dev_dbg(&serial->interface->dev, "%s %d\n", __func__, num_ports); 97 for (i = 0; i < num_ports; ++i) { 121 for (i = 0; i < serial->num_ports; ++i) 470 seq_printf(m, " num_ports:%d", serial->num_ports); 719 int num_ports = 0; local 846 num_ports = num_bulk_out; 847 if (num_ports == 0) { 857 if (!num_ports) { [all...] |
H A D | io_tables.h | 105 .num_ports = 2, 137 .num_ports = 4, 169 .num_ports = 8, 201 .num_ports = 1,
|
H A D | usb_debug.c | 68 .num_ports = 1,
|
H A D | wishbone-serial.c | 81 .num_ports = 1,
|
H A D | xsens_mt.c | 59 .num_ports = 1,
|
H A D | empeg.c | 53 .num_ports = 1,
|
H A D | navman.c | 105 .num_ports = 1,
|
H A D | qcaux.c | 82 .num_ports = 1,
|
H A D | usb-serial-simple.c | 34 .num_ports = nport, \
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | sense.c | 72 for (i = 1; i <= dev->caps.num_ports; i++) { 86 for (i = 0; i < dev->caps.num_ports; i++) 139 for (port = 1; port <= dev->caps.num_ports; port++)
|
H A D | port.c | 254 if (port < 1 || port > dev->caps.num_ports) { 543 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + 544 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; 549 bitmap_zero(exclusive_ports.ports, dev->caps.num_ports); 580 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + 581 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; 586 bitmap_zero(exclusive_ports.ports, dev->caps.num_ports); 652 for (i = 0, num_eth_ports = 0; i < dev->caps.num_ports; i++) { 668 for (i = 0; i < dev->caps.num_ports; i++) { 1254 bitmap_zero(exclusive_ports.ports, dev->caps.num_ports); [all...] |
H A D | main.c | 173 for (i = 0; i < dev->caps.num_ports - 1; i++) { 182 for (i = 0; i < dev->caps.num_ports; i++) { 196 for (i = 1; i <= dev->caps.num_ports; ++i) 250 if (dev_cap->num_ports > MLX4_MAX_PORTS) { 252 dev_cap->num_ports, MLX4_MAX_PORTS); 263 dev->caps.num_ports = dev_cap->num_ports; 265 for (i = 1; i <= dev->caps.num_ports; ++i) { 345 for (i = 1; i <= dev->caps.num_ports; ++i) { 411 dev->caps.num_ports; [all...] |
/drivers/infiniband/hw/mlx5/ |
H A D | user.h | 82 __u16 num_ports; member in struct:mlx5_ib_alloc_ucontext_resp
|
/drivers/gpio/ |
H A D | gpio-ml-ioh.c | 104 static const int num_ports[] = {6, 12, 16, 16, 15, 16, 16, 12}; variable 140 ((1 << num_ports[chip->ch]) - 1); 164 ((1 << num_ports[chip->ch]) - 1); 373 for (j = 0; j < num_ports[i]; j++) { 452 ioh_gpio_setup(chip, num_ports[i]); 462 irq_base = irq_alloc_descs(-1, IOH_IRQ_BASE, num_ports[j], 472 ioh_gpio_alloc_generic_chip(chip, irq_base, num_ports[j]); 493 irq_free_descs(chip->irq_base, num_ports[j]); 530 irq_free_descs(chip->irq_base, num_ports[i]);
|
/drivers/infiniband/hw/mthca/ |
H A D | mthca_mad.c | 292 for (p = 0; p < dev->limits.num_ports; ++p) 306 for (p = 1; p <= dev->limits.num_ports; ++p) { 318 for (p = 0; p < dev->limits.num_ports; ++p) 331 for (p = 0; p < dev->limits.num_ports; ++p) {
|
/drivers/firewire/ |
H A D | init_ohci1394_dma.c | 120 int num_ports, i; local 169 num_ports = get_phy_reg(ohci, 2) & 0xf; 170 for (i = 0; i < num_ports; i++) {
|
/drivers/usb/host/ |
H A D | ohci-hub.c | 103 for (i = 0; i < ohci->num_ports; (++i, ++portstat)) { 488 if (ohci->num_ports > 7) { 499 for (i = 0; i < ohci->num_ports; i++) { 543 desc->bNbrPorts = ohci->num_ports; 544 temp = 1 + (ohci->num_ports / 8); 563 if (ohci->num_ports > 7) { 679 int ports = ohci->num_ports;
|