Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/tty/serial/
Dmux.c53 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()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_main.c316 mdev->port_cnt = 0; in mlx4_en_add()
318 mdev->port_cnt++; in mlx4_en_add()
Dmlx4_en.h395 u32 port_cnt; member
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_file_ops.c1611 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()
2075 if (--pd->port_cnt) { in ipath_close()
Dipath_intr.c605 if (!pd || !pd->port_cnt) in handle_hdrq_full()
1039 if (portr & (1 << i) && pd && pd->port_cnt) { in handle_urcv()
Dipath_kernel.h110 int port_cnt; member
Dipath_init_chip.c218 pd->port_cnt = 1; in create_portdata0()
Dipath_driver.c2587 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_reset_device()
2639 if (!dd->ipath_pd[i] || !dd->ipath_pd[i]->port_cnt) in ipath_signal_procs()
/linux-4.4.14/drivers/net/ethernet/micrel/
Dksz884x.c1350 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.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c11590 int port, port_cnt = CHIP_MODE_IS_4_PORT(bp) ? 2 : 1; in bnx2x_shared_fcoe_funcs() local
11592 for (port = 0; port < port_cnt; port++) { in bnx2x_shared_fcoe_funcs()