Searched refs:port_cnt (Results 1 – 9 of 9) sorted by relevance
/linux-2.6.39/drivers/tty/serial/ |
D | mux.c | 52 static unsigned int port_cnt __read_mostly; 392 for(i = 0; i < port_cnt; ++i) { in mux_poll() 482 if(!port_cnt) { in mux_probe() 492 for(i = 0; i < port_count; ++i, ++port_cnt) { in mux_probe() 493 struct uart_port *port = &mux_ports[port_cnt].port; in mux_probe() 505 port->line = port_cnt; in mux_probe() 528 for(i = 0; i < port_cnt; ++i) { in mux_remove() 532 BUG_ON(i + port_count > port_cnt); in mux_remove() 593 if(port_cnt > 0) { in mux_init() 615 if(port_cnt > 0) { in mux_exit()
|
/linux-2.6.39/drivers/net/mlx4/ |
D | en_main.c | 240 mdev->port_cnt = 0; in mlx4_en_add() 242 mdev->port_cnt++; in mlx4_en_add()
|
D | mlx4_en.h | 340 u32 port_cnt; member
|
/linux-2.6.39/drivers/infiniband/hw/ipath/ |
D | ipath_file_ops.c | 1604 if (!pd->port_cnt) { in try_alloc_port() 1612 pd->port_cnt = 1; in try_alloc_port() 1784 if (!pd || !pd->port_cnt) in find_shared_port() 1792 pd->port_cnt >= pd->port_subport_cnt) { in find_shared_port() 1797 subport_fp(fp) = pd->port_cnt++; in find_shared_port() 2067 if (--pd->port_cnt) { in ipath_close()
|
D | ipath_intr.c | 608 if (!pd || !pd->port_cnt) in handle_hdrq_full() 1042 if (portr & (1 << i) && pd && pd->port_cnt) { in handle_urcv()
|
D | ipath_kernel.h | 109 int port_cnt; member
|
D | ipath_init_chip.c | 216 pd->port_cnt = 1; in create_portdata0()
|
D | ipath_driver.c | 2598 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_reset_device() 2650 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_signal_procs()
|
/linux-2.6.39/drivers/net/ |
D | ksz884x.c | 1351 int port_cnt; member 3308 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_get_link_speed() 3391 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_set_link_speed() 3443 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_force_link_speed() 3467 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) in port_set_power_saving() 5550 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in netdev_open() 5946 for (i = 0, pi = port->first_port; i < port->port_cnt; i++, pi++) in mdio_write() 7124 port->port_cnt = port_count; in pcidev_init()
|