Searched refs:port_cnt (Results 1 – 6 of 6) sorted by relevance
/drivers/tty/serial/ |
D | mux.c | 53 static unsigned int port_cnt __read_mostly; 382 for(i = 0; i < port_cnt; ++i) { in mux_poll() 466 if(!port_cnt) { in mux_probe() 476 for(i = 0; i < port_count; ++i, ++port_cnt) { in mux_probe() 477 struct uart_port *port = &mux_ports[port_cnt].port; in mux_probe() 489 port->line = port_cnt; in mux_probe() 512 for(i = 0; i < port_cnt; ++i) { in mux_remove() 516 BUG_ON(i + port_count > port_cnt); in mux_remove() 577 if(port_cnt > 0) { in mux_init() 599 if(port_cnt > 0) { in mux_exit()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 749 int port_cnt = 0; in hns_roce_get_cfg() local 835 hr_dev->iboe.netdevs[port_cnt] = netdev; in hns_roce_get_cfg() 836 hr_dev->iboe.phy_port[port_cnt] = phy_port; in hns_roce_get_cfg() 842 port_cnt++; in hns_roce_get_cfg() 846 if (port_cnt == 0) { in hns_roce_get_cfg() 851 hr_dev->caps.num_ports = port_cnt; in hns_roce_get_cfg()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_main.c | 316 mdev->port_cnt = 0; in mlx4_en_add() 318 mdev->port_cnt++; in mlx4_en_add()
|
D | mlx4_en.h | 405 u32 port_cnt; member
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1350 int port_cnt; member 3301 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_get_link_speed() 3384 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_set_link_speed() 3436 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_force_link_speed() 3460 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) in port_set_power_saving() 5540 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in netdev_open() 5931 for (i = 0, pi = port->first_port; i < port->port_cnt; i++, pi++) in mdio_write() 7074 port->port_cnt = port_count; in pcidev_init()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 11653 int port, port_cnt = CHIP_MODE_IS_4_PORT(bp) ? 2 : 1; in bnx2x_shared_fcoe_funcs() local 11655 for (port = 0; port < port_cnt; port++) { in bnx2x_shared_fcoe_funcs()
|