port_cnt         4509 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	int port_cnt = 0;
port_cnt         4586 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				hr_dev->iboe.netdevs[port_cnt] = netdev;
port_cnt         4587 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				hr_dev->iboe.phy_port[port_cnt] = phy_port;
port_cnt         4593 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			port_cnt++;
port_cnt         4597 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	if (port_cnt == 0) {
port_cnt         4602 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	hr_dev->caps.num_ports = port_cnt;
port_cnt          998 drivers/net/dsa/microchip/ksz8795.c 	ds->num_ports = dev->port_cnt + 1;
port_cnt         1022 drivers/net/dsa/microchip/ksz8795.c 		if (i == dev->port_cnt)
port_cnt         1159 drivers/net/dsa/microchip/ksz8795.c 	dev->port_cnt = SWITCH_PORT_NUM;
port_cnt         1169 drivers/net/dsa/microchip/ksz8795.c 		dev->port_cnt--;
port_cnt         1170 drivers/net/dsa/microchip/ksz8795.c 		dev->last_port = dev->port_cnt;
port_cnt         1190 drivers/net/dsa/microchip/ksz8795.c 	int port_cnt;
port_cnt         1201 drivers/net/dsa/microchip/ksz8795.c 		.port_cnt = 4,		/* total physical port count */
port_cnt         1210 drivers/net/dsa/microchip/ksz8795.c 		.port_cnt = 3,		/* total physical port count */
port_cnt         1219 drivers/net/dsa/microchip/ksz8795.c 		.port_cnt = 4,		/* total physical port count */
port_cnt         1237 drivers/net/dsa/microchip/ksz8795.c 			dev->port_cnt = chip->port_cnt;
port_cnt         1248 drivers/net/dsa/microchip/ksz8795.c 	dev->port_mask = BIT(dev->port_cnt) - 1;
port_cnt         1296 drivers/net/dsa/microchip/ksz9477.c 	ds->num_ports = dev->port_cnt;
port_cnt         1298 drivers/net/dsa/microchip/ksz9477.c 	for (i = 0; i < dev->port_cnt; i++) {
port_cnt         1498 drivers/net/dsa/microchip/ksz9477.c 	int port_cnt;
port_cnt         1510 drivers/net/dsa/microchip/ksz9477.c 		.port_cnt = 7,		/* total physical port count */
port_cnt         1520 drivers/net/dsa/microchip/ksz9477.c 		.port_cnt = 7,		/* total physical port count */
port_cnt         1530 drivers/net/dsa/microchip/ksz9477.c 		.port_cnt = 3,		/* total port count */
port_cnt         1539 drivers/net/dsa/microchip/ksz9477.c 		.port_cnt = 7,		/* total physical port count */
port_cnt         1557 drivers/net/dsa/microchip/ksz9477.c 			dev->port_cnt = chip->port_cnt;
port_cnt         1566 drivers/net/dsa/microchip/ksz9477.c 	if (!dev->port_cnt)
port_cnt         1569 drivers/net/dsa/microchip/ksz9477.c 	dev->port_mask = (1 << dev->port_cnt) - 1;
port_cnt           28 drivers/net/dsa/microchip/ksz_common.c 	for (i = 0; i < dev->port_cnt; i++) {
port_cnt           70 drivers/net/dsa/microchip/ksz_common.h 	int port_cnt;
port_cnt         11713 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		int port, port_cnt = CHIP_MODE_IS_4_PORT(bp) ? 2 : 1;
port_cnt         11715 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		for (port = 0; port < port_cnt; port++) {
port_cnt         8444 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	bp->port_count = resp->port_cnt;
port_cnt         3184 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h 	u8	port_cnt;
port_cnt          318 drivers/net/ethernet/mellanox/mlx4/en_main.c 	mdev->port_cnt = 0;
port_cnt          320 drivers/net/ethernet/mellanox/mlx4/en_main.c 		mdev->port_cnt++;
port_cnt          419 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 	u32                     port_cnt;
port_cnt         1342 drivers/net/ethernet/micrel/ksz884x.c 	int port_cnt;
port_cnt         3293 drivers/net/ethernet/micrel/ksz884x.c 	for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
port_cnt         3375 drivers/net/ethernet/micrel/ksz884x.c 	for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
port_cnt         3425 drivers/net/ethernet/micrel/ksz884x.c 	for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
port_cnt         3449 drivers/net/ethernet/micrel/ksz884x.c 	for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++)
port_cnt         5528 drivers/net/ethernet/micrel/ksz884x.c 	for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
port_cnt         5914 drivers/net/ethernet/micrel/ksz884x.c 	for (i = 0, pi = port->first_port; i < port->port_cnt; i++, pi++)
port_cnt         7071 drivers/net/ethernet/micrel/ksz884x.c 		port->port_cnt = port_count;
port_cnt          502 drivers/ntb/hw/idt/ntb_hw_idt.c 	for (pidx = 0; pidx < ndev->swcfg->port_cnt; pidx++) {
port_cnt         2852 drivers/ntb/hw/idt/ntb_hw_idt.c 	.port_cnt = 6, .ports = {0, 2, 4, 6, 8, 12}
port_cnt         2856 drivers/ntb/hw/idt/ntb_hw_idt.c 	.port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
port_cnt         2860 drivers/ntb/hw/idt/ntb_hw_idt.c 	.port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
port_cnt         2864 drivers/ntb/hw/idt/ntb_hw_idt.c 	.port_cnt = 3, .ports = {0, 8, 16}
port_cnt         2868 drivers/ntb/hw/idt/ntb_hw_idt.c 	.port_cnt = 4, .ports = {0, 8, 12, 16}
port_cnt         2872 drivers/ntb/hw/idt/ntb_hw_idt.c 	.port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
port_cnt         2876 drivers/ntb/hw/idt/ntb_hw_idt.c 	.port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
port_cnt         2880 drivers/ntb/hw/idt/ntb_hw_idt.c 	.port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
port_cnt         1049 drivers/ntb/hw/idt/ntb_hw_idt.h 	unsigned char port_cnt;
port_cnt           49 drivers/tty/serial/mux.c static unsigned int port_cnt __read_mostly;
port_cnt          378 drivers/tty/serial/mux.c 	for(i = 0; i < port_cnt; ++i) {
port_cnt          462 drivers/tty/serial/mux.c 	if(!port_cnt) {
port_cnt          472 drivers/tty/serial/mux.c 	for(i = 0; i < port_count; ++i, ++port_cnt) {
port_cnt          473 drivers/tty/serial/mux.c 		struct uart_port *port = &mux_ports[port_cnt].port;
port_cnt          485 drivers/tty/serial/mux.c 		port->line	= port_cnt;
port_cnt          508 drivers/tty/serial/mux.c 	for(i = 0; i < port_cnt; ++i) {
port_cnt          512 drivers/tty/serial/mux.c 	BUG_ON(i + port_count > port_cnt);
port_cnt          573 drivers/tty/serial/mux.c 	if(port_cnt > 0) {
port_cnt          594 drivers/tty/serial/mux.c 	if(port_cnt > 0) {
port_cnt          156 drivers/usb/misc/usb251xb.c 	u8 port_cnt;
port_cnt          164 drivers/usb/misc/usb251xb.c 	.port_cnt = 2,
port_cnt          172 drivers/usb/misc/usb251xb.c 	.port_cnt = 2,
port_cnt          180 drivers/usb/misc/usb251xb.c 	.port_cnt = 3,
port_cnt          188 drivers/usb/misc/usb251xb.c 	.port_cnt = 3,
port_cnt          196 drivers/usb/misc/usb251xb.c 	.port_cnt = 4,
port_cnt          204 drivers/usb/misc/usb251xb.c 	.port_cnt = 4,
port_cnt          212 drivers/usb/misc/usb251xb.c 	.port_cnt = 7,
port_cnt          220 drivers/usb/misc/usb251xb.c 	.port_cnt = 7,
port_cnt          378 drivers/usb/misc/usb251xb.c 				    const char *prop_name, u8 port_cnt,
port_cnt          387 drivers/usb/misc/usb251xb.c 		if ((port >= ds_only ? 1 : 0) && (port <= port_cnt))
port_cnt          504 drivers/usb/misc/usb251xb.c 	usb251xb_get_ports_field(hub, "non-removable-ports", data->port_cnt,
port_cnt          508 drivers/usb/misc/usb251xb.c 	usb251xb_get_ports_field(hub, "sp-disabled-ports", data->port_cnt,
port_cnt          512 drivers/usb/misc/usb251xb.c 	usb251xb_get_ports_field(hub, "bp-disabled-ports", data->port_cnt,
port_cnt          576 drivers/usb/misc/usb251xb.c 	usb251xb_get_ports_field(hub, "swap-dx-lanes", data->port_cnt,
port_cnt          179 include/linux/switchtec.h 	u32 port_cnt;
port_cnt          523 net/smc/smc_ib.c 	u8 port_cnt;
port_cnt          545 net/smc/smc_ib.c 	port_cnt = smcibdev->ibdev->phys_port_cnt;
port_cnt          547 net/smc/smc_ib.c 	     i < min_t(size_t, port_cnt, SMC_MAX_PORTS);