Home
last modified time | relevance | path

Searched refs:port_cnt (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/tty/serial/
Dmux.c52 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/
Den_main.c240 mdev->port_cnt = 0; in mlx4_en_add()
242 mdev->port_cnt++; in mlx4_en_add()
Dmlx4_en.h340 u32 port_cnt; member
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_file_ops.c1604 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()
Dipath_intr.c608 if (!pd || !pd->port_cnt) in handle_hdrq_full()
1042 if (portr & (1 << i) && pd && pd->port_cnt) { in handle_urcv()
Dipath_kernel.h109 int port_cnt; member
Dipath_init_chip.c216 pd->port_cnt = 1; in create_portdata0()
Dipath_driver.c2598 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/
Dksz884x.c1351 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()