Searched refs:port_cnt (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/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() 471 if(!port_cnt) { in mux_probe() 481 for(i = 0; i < port_count; ++i, ++port_cnt) { in mux_probe() 482 struct uart_port *port = &mux_ports[port_cnt].port; in mux_probe() 494 port->line = port_cnt; in mux_probe() 517 for(i = 0; i < port_cnt; ++i) { in mux_remove() 521 BUG_ON(i + port_count > port_cnt); in mux_remove() 582 if(port_cnt > 0) { in mux_init() 604 if(port_cnt > 0) { in mux_exit()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_main.c | 277 mdev->port_cnt = 0; in mlx4_en_add() 279 mdev->port_cnt++; in mlx4_en_add()
|
D | mlx4_en.h | 394 u32 port_cnt; member
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_file_ops.c | 1611 if (!pd->port_cnt) { in try_alloc_port() 1619 pd->port_cnt = 1; in try_alloc_port() 1793 if (!pd || !pd->port_cnt) in find_shared_port() 1801 pd->port_cnt >= pd->port_subport_cnt) { in find_shared_port() 1806 subport_fp(fp) = pd->port_cnt++; in find_shared_port() 2076 if (--pd->port_cnt) { in ipath_close()
|
D | ipath_intr.c | 607 if (!pd || !pd->port_cnt) in handle_hdrq_full() 1041 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 | 218 pd->port_cnt = 1; in create_portdata0()
|
D | ipath_driver.c | 2582 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_reset_device() 2634 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_signal_procs()
|
/linux-4.1.27/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()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 11386 int port, port_cnt = CHIP_MODE_IS_4_PORT(bp) ? 2 : 1; in bnx2x_shared_fcoe_funcs() local 11388 for (port = 0; port < port_cnt; port++) { in bnx2x_shared_fcoe_funcs()
|