port_count         99 drivers/firewire/core-topology.c static struct fw_node *fw_node_create(u32 sid, int port_count, int color)
port_count        103 drivers/firewire/core-topology.c 	node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC);
port_count        112 drivers/firewire/core-topology.c 	node->port_count = port_count;
port_count        140 drivers/firewire/core-topology.c 	for (i = 0; i < node->port_count; i++) {
port_count        176 drivers/firewire/core-topology.c 	int i, port_count, child_port_count, phy_id, parent_count, stack_depth;
port_count        191 drivers/firewire/core-topology.c 		next_sid = count_ports(sid, &port_count, &child_port_count);
port_count        222 drivers/firewire/core-topology.c 		node = fw_node_create(q, port_count, card->color);
port_count        236 drivers/firewire/core-topology.c 		for (i = 0; i < port_count; i++) {
port_count        327 drivers/firewire/core-topology.c 		for (i = 0; i < node->port_count; i++) {
port_count        396 drivers/firewire/core-topology.c 	for (i = 0; i < tree->port_count; i++) {
port_count        424 drivers/firewire/core-topology.c 		WARN_ON(node0->port_count != node1->port_count);
port_count        448 drivers/firewire/core-topology.c 		for (i = 0; i < node0->port_count; i++) {
port_count        179 drivers/firewire/core.h 	u8 port_count;
port_count        141 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c 	u8 i, port_count = 0;
port_count        172 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c 			port_num[port_count++] = i;
port_count        183 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c 		adapter->flow_tbl[i] = port_count ? port_num[i % port_count] :
port_count       8444 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	bp->port_count = resp->port_cnt;
port_count       11574 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (bp->port_count > 1) {
port_count       11576 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			max_t(int, num_online_cpus() / bp->port_count, 1);
port_count       1709 drivers/net/ethernet/broadcom/bnxt/bnxt.h 	u8			port_count;
port_count        780 drivers/net/ethernet/marvell/mvpp2/mvpp2.h 	int port_count;
port_count        497 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	for (i = 0; i < priv->port_count; i++) {
port_count        725 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	for (i = 0; i < priv->port_count; i++) {
port_count       3846 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	for (i = 0; i < priv->port_count; i++) {
port_count       3864 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	for (i = 0; i < priv->port_count; i++) {
port_count       3896 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		for (i = 0; i < priv->port_count; i++)
port_count       5418 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	priv->port_list[priv->port_count++] = port;
port_count       5875 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (priv->port_count == 0) {
port_count       5889 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		 priv->port_count > 1 ? "+" : "");
port_count       6927 drivers/net/ethernet/micrel/ksz884x.c 	int port_count;
port_count       6981 drivers/net/ethernet/micrel/ksz884x.c 	port_count = 1;
port_count       7002 drivers/net/ethernet/micrel/ksz884x.c 			port_count = SWITCH_PORT_NUM;
port_count       7071 drivers/net/ethernet/micrel/ksz884x.c 		port->port_cnt = port_count;
port_count       7079 drivers/net/ethernet/micrel/ksz884x.c 		for (cnt = 0, pi = i; cnt < port_count; cnt++, pi++) {
port_count         61 drivers/net/ethernet/rocker/rocker.h 	unsigned int port_count;
port_count        925 drivers/net/ethernet/rocker/rocker_main.c 	if (port_number >= rocker->port_count)
port_count        962 drivers/net/ethernet/rocker/rocker_main.c 	if (port_number >= rocker->port_count)
port_count       2557 drivers/net/ethernet/rocker/rocker_main.c 	for (i = 0; i < rocker->port_count; i++) {
port_count       2661 drivers/net/ethernet/rocker/rocker_main.c 	alloc_size = sizeof(struct rocker_port *) * rocker->port_count;
port_count       2665 drivers/net/ethernet/rocker/rocker_main.c 	for (i = 0; i < rocker->port_count; i++) {
port_count       2688 drivers/net/ethernet/rocker/rocker_main.c 	if (msix_entries != ROCKER_MSIX_VEC_COUNT(rocker->port_count))
port_count       2944 drivers/net/ethernet/rocker/rocker_main.c 	rocker->port_count = rocker_read32(rocker, PORT_PHYS_COUNT);
port_count       1448 drivers/net/ethernet/rocker/rocker_ofdpa.c 	unsigned int port_count = ofdpa->rocker->port_count;
port_count       1455 drivers/net/ethernet/rocker/rocker_ofdpa.c 	group_ids = kcalloc(port_count, sizeof(u32), GFP_KERNEL);
port_count       1464 drivers/net/ethernet/rocker/rocker_ofdpa.c 	for (i = 0; i < port_count; i++) {
port_count       1494 drivers/net/ethernet/rocker/rocker_ofdpa.c 	unsigned int port_count = ofdpa->rocker->port_count;
port_count       1523 drivers/net/ethernet/rocker/rocker_ofdpa.c 	for (i = 0; i < port_count; i++) {
port_count        157 drivers/net/netdevsim/bus.c nsim_bus_dev_new(unsigned int id, unsigned int port_count);
port_count        163 drivers/net/netdevsim/bus.c 	unsigned int port_count;
port_count        167 drivers/net/netdevsim/bus.c 	err = sscanf(buf, "%u %u", &id, &port_count);
port_count        170 drivers/net/netdevsim/bus.c 		port_count = 1;
port_count        182 drivers/net/netdevsim/bus.c 	nsim_bus_dev = nsim_bus_dev_new(id, port_count);
port_count        270 drivers/net/netdevsim/bus.c nsim_bus_dev_new(unsigned int id, unsigned int port_count)
port_count        285 drivers/net/netdevsim/bus.c 	nsim_bus_dev->port_count = port_count;
port_count        661 drivers/net/netdevsim/dev.c nsim_dev_create(struct nsim_bus_dev *nsim_bus_dev, unsigned int port_count)
port_count        824 drivers/net/netdevsim/dev.c 	nsim_dev = nsim_dev_create(nsim_bus_dev, nsim_bus_dev->port_count);
port_count        830 drivers/net/netdevsim/dev.c 	for (i = 0; i < nsim_bus_dev->port_count; i++) {
port_count        217 drivers/net/netdevsim/netdevsim.h 	unsigned int port_count;
port_count       1388 drivers/net/wireless/marvell/mwifiex/sdio.c 			u32 port_count;
port_count       1390 drivers/net/wireless/marvell/mwifiex/sdio.c 			for (i = 0, port_count = 0; i < card->max_ports; i++)
port_count       1392 drivers/net/wireless/marvell/mwifiex/sdio.c 					port_count++;
port_count       1397 drivers/net/wireless/marvell/mwifiex/sdio.c 			port_count--;
port_count       1399 drivers/net/wireless/marvell/mwifiex/sdio.c 				 (port_count << 8)) + card->mpa_rx.start_port;
port_count       1820 drivers/net/wireless/marvell/mwifiex/sdio.c 			u32 port_count;
port_count       1823 drivers/net/wireless/marvell/mwifiex/sdio.c 			for (i = 0, port_count = 0; i < card->max_ports; i++)
port_count       1825 drivers/net/wireless/marvell/mwifiex/sdio.c 					port_count++;
port_count       1830 drivers/net/wireless/marvell/mwifiex/sdio.c 			port_count--;
port_count       1832 drivers/net/wireless/marvell/mwifiex/sdio.c 				 (port_count << 8)) + card->mpa_tx.start_port;
port_count        141 drivers/power/supply/cros_usbpd-charger.c 	return resp.port_count;
port_count        948 drivers/scsi/megaraid/megaraid_sas.h 		u8 port_count;
port_count        964 drivers/scsi/megaraid/megaraid_sas.h 		u8 port_count;
port_count        187 drivers/tty/isicom.c 	unsigned char		port_count;
port_count        414 drivers/tty/isicom.c 	count = isi_card[card].port_count;
port_count        540 drivers/tty/isicom.c 	if (channel + 1 > card->port_count) {
port_count        788 drivers/tty/isicom.c 		for (channel = 0; channel < bp->port_count; channel++, port++)
port_count        844 drivers/tty/isicom.c 	if (line > ((board * 16) + card->port_count - 1))
port_count       1318 drivers/tty/isicom.c 		board->port_count = (portcount == 4) ? 4 : 8;
port_count       1323 drivers/tty/isicom.c 		board->port_count = 16;
port_count       1576 drivers/tty/isicom.c 	for (index = 0; index < board->port_count; index++) {
port_count       1606 drivers/tty/isicom.c 	for (i = 0; i < board->port_count; i++) {
port_count        455 drivers/tty/serial/mux.c 	int port_count = get_mux_port_count(dev);
port_count        456 drivers/tty/serial/mux.c 	printk(KERN_INFO "Serial mux driver (%d ports) Revision: 0.6\n", port_count);
port_count        458 drivers/tty/serial/mux.c 	dev_set_drvdata(&dev->dev, (void *)(long)port_count);
port_count        460 drivers/tty/serial/mux.c                            port_count * MUX_LINE_OFFSET, "Mux");
port_count        472 drivers/tty/serial/mux.c 	for(i = 0; i < port_count; ++i, ++port_cnt) {
port_count        505 drivers/tty/serial/mux.c 	int port_count = (long)dev_get_drvdata(&dev->dev);
port_count        512 drivers/tty/serial/mux.c 	BUG_ON(i + port_count > port_cnt);
port_count        515 drivers/tty/serial/mux.c 	for(j = 0; j < port_count; ++j, ++i) {
port_count        523 drivers/tty/serial/mux.c 	release_mem_region(dev->hpa.start + MUX_OFFSET, port_count * MUX_LINE_OFFSET);
port_count        249 drivers/tty/synclink_gt.c 	int port_count;  /* count of ports on adapter */
port_count       2345 drivers/tty/synclink_gt.c 		for(i=0; i < info->port_count ; i++) {
port_count       2369 drivers/tty/synclink_gt.c 			for (i=0 ; i < info->port_count ; i++) {
port_count       2377 drivers/tty/synclink_gt.c 	for(i=0; i < info->port_count ; i++) {
port_count       3599 drivers/tty/synclink_gt.c 	int port_count = 1;
port_count       3602 drivers/tty/synclink_gt.c 		port_count = 2;
port_count       3604 drivers/tty/synclink_gt.c 		port_count = 4;
port_count       3607 drivers/tty/synclink_gt.c 	for (i=0; i < port_count; ++i) {
port_count       3619 drivers/tty/synclink_gt.c 	for (i=0; i < port_count; ++i) {
port_count       3622 drivers/tty/synclink_gt.c 		port_array[i]->port_count = port_count;
port_count       3632 drivers/tty/synclink_gt.c 		for (i = 1; i < port_count; ++i) {
port_count       3649 drivers/tty/synclink_gt.c 			for (i=1 ; i < port_count ; i++) {
port_count       3656 drivers/tty/synclink_gt.c 	for (i = 0; i < port_count; ++i) {
port_count       4085 drivers/tty/synclink_gt.c 	for (i=0; i < info->port_count; ++i) {
port_count        225 drivers/tty/synclinkmp.c 	int port_count;
port_count       2529 drivers/tty/synclinkmp.c 		if (info->port_count == 4) {
port_count       2546 drivers/tty/synclinkmp.c 		for(i=0; i < info->port_count ; i++) {
port_count       2588 drivers/tty/synclinkmp.c 	for(i=0; i < info->port_count ; i++) {
port_count       5299 drivers/tty/synclinkmp.c 	info->port_array[0]->port_count = 0;
port_count       5304 drivers/tty/synclinkmp.c 		info->port_array[0]->port_count = 2;
port_count       5308 drivers/tty/synclinkmp.c 			info->port_array[0]->port_count += 2;
port_count       5318 drivers/tty/synclinkmp.c 		 (info->port_count == 4 && !irq_test(info->port_array[2])) ||
port_count       5319 drivers/tty/synclinkmp.c 		 (info->port_count == 4 && !irq_test(info->port_array[3]))) {
port_count       5327 drivers/tty/synclinkmp.c 		 (info->port_count == 4 && !loopback_test(info->port_array[2])) ||
port_count       5328 drivers/tty/synclinkmp.c 		 (info->port_count == 4 && !loopback_test(info->port_array[3]))) {
port_count       5340 drivers/tty/synclinkmp.c 	if ( info->port_count > 2 ) {
port_count        368 drivers/usb/early/xhci-dbc.c 	u32 val, port_offset, port_count;
port_count        382 drivers/usb/early/xhci-dbc.c 		port_count = XHCI_EXT_PORT_COUNT(val);
port_count        384 drivers/usb/early/xhci-dbc.c 		xdbc_do_reset_debug_port(port_offset, port_count);
port_count       2124 drivers/usb/host/xhci-mem.c 	u32 temp, port_offset, port_count;
port_count       2154 drivers/usb/host/xhci-mem.c 	port_count = XHCI_EXT_PORT_COUNT(temp);
port_count       2158 drivers/usb/host/xhci-mem.c 			addr, port_offset, port_count, major_revision);
port_count       2160 drivers/usb/host/xhci-mem.c 	if (port_offset == 0 || (port_offset + port_count - 1) > num_ports)
port_count       2211 drivers/usb/host/xhci-mem.c 	for (i = port_offset; i < (port_offset + port_count); i++) {
port_count       4489 drivers/usb/host/xhci.c 	u32 port_offset, port_count;
port_count       4496 drivers/usb/host/xhci.c 			port_count = XHCI_EXT_PORT_COUNT(xhci->ext_caps[i]);
port_count       4498 drivers/usb/host/xhci.c 			    port < port_offset + port_count)
port_count       4836 include/linux/platform_data/cros_ec_commands.h 	uint8_t port_count;