port1             957 arch/alpha/kernel/smc37c669.c     unsigned int port1;
port1            1253 arch/alpha/kernel/smc37c669.c 		base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3;
port1            1282 arch/alpha/kernel/smc37c669.c 		base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3;
port1            1330 arch/alpha/kernel/smc37c669.c 		base_addr.by_field.addr9_2 = local_config[ func ].port1 >> 2;
port1            1378 arch/alpha/kernel/smc37c669.c 		base_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4;
port1            1404 arch/alpha/kernel/smc37c669.c 		ide_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4;
port1            1689 arch/alpha/kernel/smc37c669.c 	    cp->port1 = port;
port1            1854 arch/alpha/kernel/smc37c669.c 	    *port = cp->port1;
port1            1888 arch/alpha/kernel/smc37c669.c 		 local_config[ SERIAL_0 ].port1,
port1            1898 arch/alpha/kernel/smc37c669.c 		 local_config[ SERIAL_1 ].port1,
port1            1908 arch/alpha/kernel/smc37c669.c 		 local_config[ PARALLEL_0 ].port1,
port1            1919 arch/alpha/kernel/smc37c669.c 		 local_config[ FLOPPY_0 ].port1,
port1            1930 arch/alpha/kernel/smc37c669.c 		 local_config[ IDE_0 ].port1,
port1            2096 arch/alpha/kernel/smc37c669.c     local_config[SERIAL_0].port1 = uart_base.by_field.addr9_3 << 3;
port1            2109 arch/alpha/kernel/smc37c669.c     local_config[SERIAL_1].port1 = uart_base.by_field.addr9_3 << 3;
port1            2132 arch/alpha/kernel/smc37c669.c     local_config[PARALLEL_0].port1 = ppt_base.by_field.addr9_2 << 2;
port1            2149 arch/alpha/kernel/smc37c669.c     local_config[FLOPPY_0].port1 = fdc_base.by_field.addr9_4 << 4;
port1            2171 arch/alpha/kernel/smc37c669.c     local_config[IDE_0].port1 = ide_base.by_field.addr9_4 << 4;
port1             661 drivers/ata/sata_nv.c 	struct nv_adma_port_priv *port0, *port1;
port1             721 drivers/ata/sata_nv.c 	port1 = ap->host->ports[1]->private_data;
port1             723 drivers/ata/sata_nv.c 	    (port1->flags & NV_ADMA_ATAPI_SETUP_COMPLETE)) {
port1             142 drivers/char/sonypi.c 	u16	port1;
port1            1221 drivers/char/sonypi.c 	while (check_ioport && check->port1) {
port1            1222 drivers/char/sonypi.c 		if (!request_region(check->port1,
port1            1227 drivers/char/sonypi.c 					check->port1);
port1            1230 drivers/char/sonypi.c 		release_region(check->port1, sonypi_device.region_size);
port1            1234 drivers/char/sonypi.c 	while (ioport_list->port1) {
port1            1236 drivers/char/sonypi.c 		if (request_region(ioport_list->port1,
port1            1239 drivers/char/sonypi.c 			dev->ioport1 = ioport_list->port1;
port1             461 drivers/media/pci/smipcie/smipcie-main.c 	struct smi_port *port1 = &dev->ts_port[1];
port1             473 drivers/media/pci/smipcie/smipcie-main.c 		handled += smi_port_irq(port1, intr_status);
port1             433 drivers/media/tuners/tda9887.c static unsigned int port1  = UNSET;
port1             438 drivers/media/tuners/tda9887.c module_param(port1, int, 0644);
port1             448 drivers/media/tuners/tda9887.c 	if (UNSET != port1) {
port1             449 drivers/media/tuners/tda9887.c 		if (port1)
port1             200 drivers/media/tuners/tea5767.c 	if (priv->ctrl.port1)
port1             454 drivers/media/tuners/tea5767.c 	priv->ctrl.port1      = 1;
port1              19 drivers/media/tuners/tea5767.h 	unsigned int		port1:1;
port1             591 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	VPD_ENTRY(port1, 2);	/* PHY1 complex */
port1             153 drivers/net/ethernet/cortina/gemini.c 	struct gemini_ethernet_port *port1;
port1            1055 drivers/net/ethernet/cortina/gemini.c 		other_netdev = geth->port1->netdev;
port1            2308 drivers/net/ethernet/cortina/gemini.c 	if (geth->port0 && geth->port1)
port1            2457 drivers/net/ethernet/cortina/gemini.c 		geth->port1 = port;
port1            3000 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 				       bond->port_map.port1,
port1            3025 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	bond->port_map.port1 = v2p_p1;
port1            2550 drivers/net/ethernet/mellanox/mlx4/fw.c int mlx4_virt2phy_port_map(struct mlx4_dev *dev, u32 port1, u32 port2)
port1            2564 drivers/net/ethernet/mellanox/mlx4/fw.c 	v2p->v_port1 = cpu_to_be32(port1);
port1            1506 drivers/net/ethernet/mellanox/mlx4/main.c 	u8 port1 = v2p->port1;
port1            1517 drivers/net/ethernet/mellanox/mlx4/main.c 	if (port1 == 0)
port1            1518 drivers/net/ethernet/mellanox/mlx4/main.c 		port1 = priv->v2p.port1;
port1            1522 drivers/net/ethernet/mellanox/mlx4/main.c 	if ((port1 < 1) || (port1 > MLX4_MAX_PORTS) ||
port1            1524 drivers/net/ethernet/mellanox/mlx4/main.c 	    (port1 == 2 && port2 == 1)) {
port1            1528 drivers/net/ethernet/mellanox/mlx4/main.c 	} else if ((port1 == priv->v2p.port1) &&
port1            1532 drivers/net/ethernet/mellanox/mlx4/main.c 		err = mlx4_virt2phy_port_map(dev, port1, port2);
port1            1535 drivers/net/ethernet/mellanox/mlx4/main.c 				 port1, port2);
port1            1536 drivers/net/ethernet/mellanox/mlx4/main.c 			priv->v2p.port1 = port1;
port1            3622 drivers/net/ethernet/mellanox/mlx4/main.c 	priv->v2p.port1 = 1;
port1             144 drivers/net/ethernet/mellanox/mlx5/core/lag.c 					   u8 *port1, u8 *port2)
port1             146 drivers/net/ethernet/mellanox/mlx5/core/lag.c 	*port1 = 1;
port1             150 drivers/net/ethernet/mellanox/mlx5/core/lag.c 		*port1 = 2;
port1            1990 drivers/net/ethernet/sfc/falcon/farch.c 		__be16 rport, port1, port2;
port1            2022 drivers/net/ethernet/sfc/falcon/farch.c 			port1 = gen_spec->loc_port;
port1            2025 drivers/net/ethernet/sfc/falcon/farch.c 			port1 = rport;
port1            2028 drivers/net/ethernet/sfc/falcon/farch.c 		spec->data[0] = ntohl(host1) << 16 | ntohs(port1);
port1            2088 drivers/net/ethernet/sfc/falcon/farch.c 		__be16 port1, port2;
port1            2104 drivers/net/ethernet/sfc/falcon/farch.c 		port1 = htons(spec->data[0]);
port1            2116 drivers/net/ethernet/sfc/falcon/farch.c 			gen_spec->loc_port = port1;
port1            2120 drivers/net/ethernet/sfc/falcon/farch.c 			gen_spec->rem_port = port1;
port1            2049 drivers/net/ethernet/sfc/farch.c 		__be16 rport, port1, port2;
port1            2081 drivers/net/ethernet/sfc/farch.c 			port1 = gen_spec->loc_port;
port1            2084 drivers/net/ethernet/sfc/farch.c 			port1 = rport;
port1            2087 drivers/net/ethernet/sfc/farch.c 		spec->data[0] = ntohl(host1) << 16 | ntohs(port1);
port1            2147 drivers/net/ethernet/sfc/farch.c 		__be16 port1, port2;
port1            2163 drivers/net/ethernet/sfc/farch.c 		port1 = htons(spec->data[0]);
port1            2175 drivers/net/ethernet/sfc/farch.c 			gen_spec->loc_port = port1;
port1            2179 drivers/net/ethernet/sfc/farch.c 			gen_spec->rem_port = port1;
port1            2441 drivers/parport/parport_pc.c 	unsigned port1, port2;
port1            2508 drivers/parport/parport_pc.c 	port1 = inb(VIA_CONFIG_DATA) << 2;
port1            2511 drivers/parport/parport_pc.c 									port1);
port1            2512 drivers/parport/parport_pc.c 	if (port1 == 0x3BC && have_epp) {
port1            2517 drivers/parport/parport_pc.c 		port1 = 0x378;
port1            2553 drivers/parport/parport_pc.c 	switch (port1) {
port1            2563 drivers/parport/parport_pc.c 									port1);
port1            2581 drivers/parport/parport_pc.c 	if (parport_pc_probe_port(port1, port2, irq, dma, &pdev->dev, 0)) {
port1            2583 drivers/parport/parport_pc.c 			"parport_pc: VIA parallel port: io=0x%X", port1);
port1            2593 drivers/parport/parport_pc.c 		port1, irq, dma);
port1             166 drivers/platform/x86/hdaps.c static int __hdaps_read_pair(unsigned int port1, unsigned int port2,
port1             174 drivers/platform/x86/hdaps.c 	*x = inw(port1);
port1             191 drivers/platform/x86/hdaps.c static int hdaps_read_pair(unsigned int port1, unsigned int port2,
port1             197 drivers/platform/x86/hdaps.c 	ret = __hdaps_read_pair(port1, port2, val1, val2);
port1            3121 drivers/scsi/cxlflash/main.c static DEVICE_ATTR_RO(port1);
port1            1734 drivers/thunderbolt/icm.c 	int port0, port1;
port1            1743 drivers/thunderbolt/icm.c 		port1 = 4;
port1            1746 drivers/thunderbolt/icm.c 		port1 = 2;
port1            1756 drivers/thunderbolt/icm.c 	ret = pcie2cio_read(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, &val1);
port1            1775 drivers/thunderbolt/icm.c 	ret = pcie2cio_write(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, val1);
port1            1785 drivers/thunderbolt/icm.c 	ret = pcie2cio_read(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, &val1);
port1            1795 drivers/thunderbolt/icm.c 	return pcie2cio_write(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, val1);
port1            2964 drivers/tty/serial/serial_core.c int uart_match_port(struct uart_port *port1, struct uart_port *port2)
port1            2966 drivers/tty/serial/serial_core.c 	if (port1->iotype != port2->iotype)
port1            2969 drivers/tty/serial/serial_core.c 	switch (port1->iotype) {
port1            2971 drivers/tty/serial/serial_core.c 		return (port1->iobase == port2->iobase);
port1            2973 drivers/tty/serial/serial_core.c 		return (port1->iobase == port2->iobase) &&
port1            2974 drivers/tty/serial/serial_core.c 		       (port1->hub6   == port2->hub6);
port1            2981 drivers/tty/serial/serial_core.c 		return (port1->mapbase == port2->mapbase);
port1            2196 drivers/usb/core/hcd.c 		int port1;
port1            2214 drivers/usb/core/hcd.c 		usb_hub_for_each_child(rhdev, port1, udev) {
port1            2568 drivers/usb/core/hcd.c int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1)
port1            2571 drivers/usb/core/hcd.c 		return port1;
port1            2573 drivers/usb/core/hcd.c 	return hcd->driver->find_raw_port_number(hcd, port1);
port1             113 drivers/usb/core/hub.c static int hub_port_disable(struct usb_hub *hub, int port1, int set_state);
port1             114 drivers/usb/core/hub.c static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1,
port1             419 drivers/usb/core/hub.c int usb_clear_port_feature(struct usb_device *hdev, int port1, int feature)
port1             422 drivers/usb/core/hub.c 		USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1,
port1             429 drivers/usb/core/hub.c static int set_port_feature(struct usb_device *hdev, int port1, int feature)
port1             432 drivers/usb/core/hub.c 		USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1,
port1             456 drivers/usb/core/hub.c static void set_port_led(struct usb_hub *hub, int port1, int selector)
port1             458 drivers/usb/core/hub.c 	struct usb_port *port_dev = hub->ports[port1 - 1];
port1             461 drivers/usb/core/hub.c 	status = set_port_feature(hub->hdev, (selector << 8) | port1,
port1             565 drivers/usb/core/hub.c static int get_port_status(struct usb_device *hdev, int port1,
port1             574 drivers/usb/core/hub.c 			port1, data, length, USB_STS_TIMEOUT);
port1             579 drivers/usb/core/hub.c static int hub_ext_port_status(struct usb_hub *hub, int port1, int type,
port1             589 drivers/usb/core/hub.c 	ret = get_port_status(hub->hdev, port1, &hub->status->port, type, len);
port1             608 drivers/usb/core/hub.c static int hub_port_status(struct usb_hub *hub, int port1,
port1             611 drivers/usb/core/hub.c 	return hub_ext_port_status(hub, port1, HUB_PORT_STATUS,
port1             824 drivers/usb/core/hub.c 			   int port1, bool set)
port1             829 drivers/usb/core/hub.c 		ret = set_port_feature(hdev, port1, USB_PORT_FEAT_POWER);
port1             831 drivers/usb/core/hub.c 		ret = usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_POWER);
port1             837 drivers/usb/core/hub.c 		set_bit(port1, hub->power_bits);
port1             839 drivers/usb/core/hub.c 		clear_bit(port1, hub->power_bits);
port1             901 drivers/usb/core/hub.c 	int port1;
port1             914 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hub->hdev->maxchild; port1++)
port1             915 drivers/usb/core/hub.c 		if (test_bit(port1, hub->power_bits))
port1             916 drivers/usb/core/hub.c 			set_port_feature(hub->hdev, port1, USB_PORT_FEAT_POWER);
port1             918 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1             944 drivers/usb/core/hub.c static int hub_set_port_link_state(struct usb_hub *hub, int port1,
port1             948 drivers/usb/core/hub.c 			port1 | (link_status << 3),
port1             957 drivers/usb/core/hub.c static void hub_port_logical_disconnect(struct usb_hub *hub, int port1)
port1             959 drivers/usb/core/hub.c 	dev_dbg(&hub->ports[port1 - 1]->dev, "logical disconnect\n");
port1             960 drivers/usb/core/hub.c 	hub_port_disable(hub, port1, 1);
port1             971 drivers/usb/core/hub.c 	set_bit(port1, hub->change_bits);
port1            1021 drivers/usb/core/hub.c 	int port1;
port1            1112 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hdev->maxchild; ++port1) {
port1            1113 drivers/usb/core/hub.c 		struct usb_port *port_dev = hub->ports[port1 - 1];
port1            1118 drivers/usb/core/hub.c 		status = hub_port_status(hub, port1, &portstatus, &portchange);
port1            1145 drivers/usb/core/hub.c 				usb_clear_port_feature(hdev, port1,
port1            1151 drivers/usb/core/hub.c 		    hub_port_warm_reset_required(hub, port1, portstatus))
port1            1152 drivers/usb/core/hub.c 			set_bit(port1, hub->event_bits);
port1            1167 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            1172 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            1177 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            1183 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            1191 drivers/usb/core/hub.c 			clear_bit(port1, hub->removed_bits);
port1            1204 drivers/usb/core/hub.c 				set_bit(port1, hub->change_bits);
port1            1220 drivers/usb/core/hub.c 				set_bit(port1, hub->change_bits);
port1            1229 drivers/usb/core/hub.c 			if (test_bit(port1, hub->power_bits))
port1            1230 drivers/usb/core/hub.c 				set_bit(port1, hub->change_bits);
port1            1235 drivers/usb/core/hub.c 			set_bit(port1, hub->change_bits);
port1            1704 drivers/usb/core/hub.c 	int port1;
port1            1720 drivers/usb/core/hub.c 	port1 = hdev->maxchild;
port1            1725 drivers/usb/core/hub.c 	for (; port1 > 0; --port1)
port1            1726 drivers/usb/core/hub.c 		usb_hub_remove_port_device(hub, port1);
port1            1927 drivers/usb/core/hub.c static int find_port_owner(struct usb_device *hdev, unsigned port1,
port1            1934 drivers/usb/core/hub.c 	if (port1 == 0 || port1 > hdev->maxchild)
port1            1940 drivers/usb/core/hub.c 	*ppowner = &(hub->ports[port1 - 1]->port_owner);
port1            1945 drivers/usb/core/hub.c int usb_hub_claim_port(struct usb_device *hdev, unsigned port1,
port1            1951 drivers/usb/core/hub.c 	rc = find_port_owner(hdev, port1, &powner);
port1            1961 drivers/usb/core/hub.c int usb_hub_release_port(struct usb_device *hdev, unsigned port1,
port1            1967 drivers/usb/core/hub.c 	rc = find_port_owner(hdev, port1, &powner);
port1            2191 drivers/usb/core/hub.c 	int port1 = 1;
port1            2220 drivers/usb/core/hub.c 		port1 = udev->portnum;
port1            2222 drivers/usb/core/hub.c 		port_dev = hub->ports[port1 - 1];
port1            2231 drivers/usb/core/hub.c 		if (!test_and_set_bit(port1, hub->child_usage_bits))
port1            2254 drivers/usb/core/hub.c 	if (port_dev && test_and_clear_bit(port1, hub->child_usage_bits))
port1            2316 drivers/usb/core/hub.c 		unsigned			port1 = udev->portnum;
port1            2326 drivers/usb/core/hub.c 					(port1 == bus->otg_port) ? "" : "non-");
port1            2329 drivers/usb/core/hub.c 		if (port1 == bus->otg_port) {
port1            2562 drivers/usb/core/hub.c 		int port1 = udev->portnum;
port1            2563 drivers/usb/core/hub.c 		struct usb_port	*port_dev = hub->ports[port1 - 1];
port1            2577 drivers/usb/core/hub.c 		if (!test_and_set_bit(port1, hub->child_usage_bits))
port1            2741 drivers/usb/core/hub.c static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1,
port1            2749 drivers/usb/core/hub.c 	if (test_bit(port1, hub->warm_reset_bits))
port1            2757 drivers/usb/core/hub.c static int hub_port_wait_reset(struct usb_hub *hub, int port1,
port1            2773 drivers/usb/core/hub.c 			ret = hub_ext_port_status(hub, port1,
port1            2778 drivers/usb/core/hub.c 			ret = hub_port_status(hub, port1, &portstatus,
port1            2798 drivers/usb/core/hub.c 		dev_dbg(&hub->ports[port1 - 1]->dev,
port1            2806 drivers/usb/core/hub.c 	if (hub_port_warm_reset_required(hub, port1, portstatus))
port1            2819 drivers/usb/core/hub.c 		usb_clear_port_feature(hub->hdev, port1,
port1            2856 drivers/usb/core/hub.c static int hub_port_reset(struct usb_hub *hub, int port1,
port1            2861 drivers/usb/core/hub.c 	struct usb_port *port_dev = hub->ports[port1 - 1];
port1            2879 drivers/usb/core/hub.c 		if (hub_port_status(hub, port1, &portstatus, &portchange) == 0)
port1            2880 drivers/usb/core/hub.c 			if (hub_port_warm_reset_required(hub, port1,
port1            2884 drivers/usb/core/hub.c 	clear_bit(port1, hub->warm_reset_bits);
port1            2888 drivers/usb/core/hub.c 		status = set_port_feature(hub->hdev, port1, (warm ?
port1            2898 drivers/usb/core/hub.c 			status = hub_port_wait_reset(hub, port1, udev, delay,
port1            2908 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            2914 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            2916 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            2920 drivers/usb/core/hub.c 				usb_clear_port_feature(hub->hdev, port1,
port1            2927 drivers/usb/core/hub.c 			if (hub_port_status(hub, port1,
port1            2931 drivers/usb/core/hub.c 			if (!hub_port_warm_reset_required(hub, port1,
port1            3045 drivers/usb/core/hub.c 		struct usb_hub *hub, int port1,
port1            3048 drivers/usb/core/hub.c 	struct usb_port *port_dev = hub->ports[port1 - 1];
port1            3054 drivers/usb/core/hub.c 		&& hub_port_warm_reset_required(hub, port1, portstatus)) {
port1            3065 drivers/usb/core/hub.c 			status = hub_port_status(hub, port1, &portstatus,
port1            3089 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            3092 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            3102 drivers/usb/core/hub.c 		clear_bit(port1, hub->change_bits);
port1            3264 drivers/usb/core/hub.c 	int		port1 = udev->portnum;
port1            3299 drivers/usb/core/hub.c 		status = hub_set_port_link_state(hub, port1, USB_SS_PORT_LS_U3);
port1            3313 drivers/usb/core/hub.c 		status = set_port_feature(hub->hdev, port1,
port1            3349 drivers/usb/core/hub.c 			&& test_and_clear_bit(port1, hub->child_usage_bits))
port1            3477 drivers/usb/core/hub.c 		struct usb_hub *hub, int *port1,
port1            3491 drivers/usb/core/hub.c 		status = hub_port_status(hub, *port1, portstatus, portchange);
port1            3535 drivers/usb/core/hub.c 	int		port1 = udev->portnum;
port1            3539 drivers/usb/core/hub.c 	if (!test_and_set_bit(port1, hub->child_usage_bits)) {
port1            3551 drivers/usb/core/hub.c 	status = hub_port_status(hub, port1, &portstatus, &portchange);
port1            3560 drivers/usb/core/hub.c 		status = hub_set_port_link_state(hub, port1, USB_SS_PORT_LS_U0);
port1            3563 drivers/usb/core/hub.c 				port1, USB_PORT_FEAT_SUSPEND);
port1            3576 drivers/usb/core/hub.c 		status = hub_port_status(hub, port1, &portstatus, &portchange);
port1            3587 drivers/usb/core/hub.c 				usb_clear_port_feature(hub->hdev, port1,
port1            3591 drivers/usb/core/hub.c 				usb_clear_port_feature(hub->hdev, port1,
port1            3597 drivers/usb/core/hub.c 		status = wait_for_connected(udev, hub, &port1, &portchange,
port1            3601 drivers/usb/core/hub.c 			hub, port1, status, portchange, portstatus);
port1            3606 drivers/usb/core/hub.c 		hub_port_logical_disconnect(hub, port1);
port1            3683 drivers/usb/core/hub.c 	int port1;
port1            3685 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hub->hdev->maxchild; ++port1) {
port1            3689 drivers/usb/core/hub.c 		status = hub_port_status(hub, port1, &portstatus, &portchange);
port1            3700 drivers/usb/core/hub.c 	unsigned		port1;
port1            3707 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hdev->maxchild; port1++) {
port1            3708 drivers/usb/core/hub.c 		struct usb_port *port_dev = hub->ports[port1 - 1];
port1            3733 drivers/usb/core/hub.c 		for (port1 = 1; port1 <= hdev->maxchild; port1++) {
port1            3735 drivers/usb/core/hub.c 					 port1 |
port1            4347 drivers/usb/core/hub.c static int hub_port_disable(struct usb_hub *hub, int port1, int set_state)
port1            4349 drivers/usb/core/hub.c 	struct usb_port *port_dev = hub->ports[port1 - 1];
port1            4359 drivers/usb/core/hub.c 			ret = usb_clear_port_feature(hdev, port1,
port1            4399 drivers/usb/core/hub.c int hub_port_debounce(struct usb_hub *hub, int port1, bool must_be_connected)
port1            4405 drivers/usb/core/hub.c 	struct usb_port *port_dev = hub->ports[port1 - 1];
port1            4408 drivers/usb/core/hub.c 		ret = hub_port_status(hub, port1, &portstatus, &portchange);
port1            4425 drivers/usb/core/hub.c 			usb_clear_port_feature(hub->hdev, port1,
port1            4535 drivers/usb/core/hub.c hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1,
port1            4540 drivers/usb/core/hub.c 	struct usb_port		*port_dev = hub->ports[port1 - 1];
port1            4553 drivers/usb/core/hub.c 		if (port1 == hdev->bus->otg_port)
port1            4566 drivers/usb/core/hub.c 	retval = hub_port_reset(hub, port1, udev, delay, false);
port1            4644 drivers/usb/core/hub.c 		udev->ttport = port1;
port1            4721 drivers/usb/core/hub.c 			retval = hub_port_reset(hub, port1, udev, delay, false);
port1            4822 drivers/usb/core/hub.c 		hub_port_reset(hub, port1, udev,
port1            4875 drivers/usb/core/hub.c 		hub_port_disable(hub, port1, 0);
port1            4883 drivers/usb/core/hub.c check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1)
port1            4902 drivers/usb/core/hub.c 			hub->indicator[port1-1] = INDICATOR_GREEN_BLINK;
port1            4915 drivers/usb/core/hub.c 	int port1;
port1            4921 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hdev->maxchild; ++port1) {
port1            4922 drivers/usb/core/hub.c 		struct usb_port *port_dev = hub->ports[port1 - 1];
port1            4940 drivers/usb/core/hub.c 		else if (port1 != udev->bus->otg_port || hdev->parent)
port1            4957 drivers/usb/core/hub.c static void hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus,
port1            4965 drivers/usb/core/hub.c 	struct usb_port *port_dev = hub->ports[port1 - 1];
port1            4981 drivers/usb/core/hub.c 		clear_bit(port1, hub->removed_bits);
port1            4985 drivers/usb/core/hub.c 		status = hub_port_debounce_be_stable(hub, port1);
port1            4988 drivers/usb/core/hub.c 				port1 != unreliable_port &&
port1            4992 drivers/usb/core/hub.c 			unreliable_port = port1;
port1            5002 drivers/usb/core/hub.c 			test_bit(port1, hub->removed_bits)) {
port1            5011 drivers/usb/core/hub.c 			set_port_feature(hdev, port1, USB_PORT_FEAT_POWER);
port1            5028 drivers/usb/core/hub.c 		udev = usb_alloc_dev(hdev, hdev->bus, port1);
port1            5054 drivers/usb/core/hub.c 		status = hub_port_init(hub, udev, port1, i);
port1            5083 drivers/usb/core/hub.c 					hub->indicator[port1-1] =
port1            5098 drivers/usb/core/hub.c 			check_highspeed(hub, udev, port1);
port1            5146 drivers/usb/core/hub.c 		hub_port_disable(hub, port1, 1);
port1            5158 drivers/usb/core/hub.c 			usb_hub_set_port_power(hdev, hub, port1, false);
port1            5160 drivers/usb/core/hub.c 			usb_hub_set_port_power(hdev, hub, port1, true);
port1            5166 drivers/usb/core/hub.c 			!(hcd->driver->port_handed_over)(hcd, port1)) {
port1            5173 drivers/usb/core/hub.c 	hub_port_disable(hub, port1, 1);
port1            5176 drivers/usb/core/hub.c 			hcd->driver->relinquish_port(hcd, port1);
port1            5188 drivers/usb/core/hub.c static void hub_port_connect_change(struct usb_hub *hub, int port1,
port1            5192 drivers/usb/core/hub.c 	struct usb_port *port_dev = hub->ports[port1 - 1];
port1            5200 drivers/usb/core/hub.c 		set_port_led(hub, port1, HUB_LED_AUTO);
port1            5201 drivers/usb/core/hub.c 		hub->indicator[port1-1] = INDICATOR_AUTO;
port1            5230 drivers/usb/core/hub.c 	clear_bit(port1, hub->change_bits);
port1            5237 drivers/usb/core/hub.c 	hub_port_connect(hub, port1, portstatus, portchange);
port1            5278 drivers/usb/core/hub.c static void port_event(struct usb_hub *hub, int port1)
port1            5282 drivers/usb/core/hub.c 	struct usb_port *port_dev = hub->ports[port1 - 1];
port1            5287 drivers/usb/core/hub.c 	connect_change = test_bit(port1, hub->change_bits);
port1            5288 drivers/usb/core/hub.c 	clear_bit(port1, hub->event_bits);
port1            5289 drivers/usb/core/hub.c 	clear_bit(port1, hub->wakeup_bits);
port1            5291 drivers/usb/core/hub.c 	if (hub_port_status(hub, port1, &portstatus, &portchange) < 0)
port1            5295 drivers/usb/core/hub.c 		usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_CONNECTION);
port1            5303 drivers/usb/core/hub.c 		usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_ENABLE);
port1            5324 drivers/usb/core/hub.c 		usb_clear_port_feature(hdev, port1,
port1            5328 drivers/usb/core/hub.c 		hub_port_status(hub, port1, &status, &unused);
port1            5335 drivers/usb/core/hub.c 		usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_RESET);
port1            5340 drivers/usb/core/hub.c 		usb_clear_port_feature(hdev, port1,
port1            5345 drivers/usb/core/hub.c 		usb_clear_port_feature(hdev, port1,
port1            5350 drivers/usb/core/hub.c 		usb_clear_port_feature(hdev, port1,
port1            5358 drivers/usb/core/hub.c 	if (hub_handle_remote_wakeup(hub, port1, portstatus, portchange))
port1            5365 drivers/usb/core/hub.c 	if (hub_port_warm_reset_required(hub, port1, portstatus)) {
port1            5369 drivers/usb/core/hub.c 			if (hub_port_reset(hub, port1, NULL,
port1            5371 drivers/usb/core/hub.c 				hub_port_disable(hub, port1, 1);
port1            5383 drivers/usb/core/hub.c 		hub_port_connect_change(hub, port1, portstatus, portchange);
port1            5710 drivers/usb/core/hub.c 	int				port1 = udev->portnum;
port1            5747 drivers/usb/core/hub.c 		ret = hub_port_init(parent_hub, udev, port1, i);
port1            5842 drivers/usb/core/hub.c 	hub_port_logical_disconnect(parent_hub, port1);
port1            6006 drivers/usb/core/hub.c 		int port1)
port1            6010 drivers/usb/core/hub.c 	if (port1 < 1 || port1 > hdev->maxchild)
port1            6012 drivers/usb/core/hub.c 	return hub->ports[port1 - 1]->child;
port1            6071 drivers/usb/core/hub.c 	int port1)
port1            6078 drivers/usb/core/hub.c 	return ACPI_HANDLE(&hub->ports[port1 - 1]->dev);
port1             114 drivers/usb/core/hub.h 		int port1);
port1             116 drivers/usb/core/hub.h 		int port1);
port1             118 drivers/usb/core/hub.h 		int port1, bool set);
port1             120 drivers/usb/core/hub.h extern int hub_port_debounce(struct usb_hub *hub, int port1,
port1             123 drivers/usb/core/hub.h 		int port1, int feature);
port1             156 drivers/usb/core/hub.h 		int port1)
port1             158 drivers/usb/core/hub.h 	return hub_port_debounce(hub, port1, true);
port1             162 drivers/usb/core/hub.h 		int port1)
port1             164 drivers/usb/core/hub.h 	return hub_port_debounce(hub, port1, false);
port1             130 drivers/usb/core/ledtrig-usbport.c 				       struct usb_device *usb_dev, int port1)
port1             146 drivers/usb/core/ledtrig-usbport.c 	port_np = usb_of_get_device_node(usb_dev, port1);
port1              25 drivers/usb/core/of.c struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1)
port1              34 drivers/usb/core/of.c 		if (reg == port1)
port1             199 drivers/usb/core/port.c 	int port1 = port_dev->portnum;
port1             205 drivers/usb/core/port.c 		set_bit(port1, hub->power_bits);
port1             220 drivers/usb/core/port.c 	retval = usb_hub_set_port_power(hdev, hub, port1, true);
port1             232 drivers/usb/core/port.c 		if (hub_port_debounce_be_connected(hub, port1) < 0) {
port1             235 drivers/usb/core/port.c 				set_bit(port1, hub->warm_reset_bits);
port1             239 drivers/usb/core/port.c 		if (!test_and_set_bit(port1, hub->child_usage_bits)) {
port1             257 drivers/usb/core/port.c 	int port1 = port_dev->portnum;
port1             276 drivers/usb/core/port.c 	retval = usb_hub_set_port_power(hdev, hub, port1, false);
port1             277 drivers/usb/core/port.c 	usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_CONNECTION);
port1             279 drivers/usb/core/port.c 		usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_ENABLE);
port1             447 drivers/usb/core/port.c 	int port1;
port1             462 drivers/usb/core/port.c 	for (port1 = 1; port1 <= peer_hdev->maxchild; port1++) {
port1             463 drivers/usb/core/port.c 		peer = peer_hub->ports[port1 - 1];
port1             478 drivers/usb/core/port.c static void find_and_link_peer(struct usb_hub *hub, int port1)
port1             480 drivers/usb/core/port.c 	struct usb_port *port_dev = hub->ports[port1 - 1], *peer;
port1             519 drivers/usb/core/port.c 	if (!peer_hub || port1 > peer_hdev->maxchild)
port1             526 drivers/usb/core/port.c 	peer = peer_hub->ports[port1 - 1];
port1             531 drivers/usb/core/port.c int usb_hub_create_port_device(struct usb_hub *hub, int port1)
port1             547 drivers/usb/core/port.c 	hub->ports[port1 - 1] = port_dev;
port1             548 drivers/usb/core/port.c 	port_dev->portnum = port1;
port1             549 drivers/usb/core/port.c 	set_bit(port1, hub->power_bits);
port1             562 drivers/usb/core/port.c 			port1);
port1             578 drivers/usb/core/port.c 	find_and_link_peer(hub, port1);
port1             614 drivers/usb/core/port.c void usb_hub_remove_port_device(struct usb_hub *hub, int port1)
port1             616 drivers/usb/core/port.c 	struct usb_port *port_dev = hub->ports[port1 - 1];
port1              29 drivers/usb/core/usb-acpi.c 	int port1 = index + 1;
port1              32 drivers/usb/core/usb-acpi.c 		port1);
port1              58 drivers/usb/core/usb-acpi.c 	int port1 = index + 1;
port1              63 drivers/usb/core/usb-acpi.c 	port_dev = hub->ports[port1 - 1];
port1              65 drivers/usb/core/usb-acpi.c 	port_handle = (acpi_handle) usb_get_hub_port_acpi_handle(hdev, port1);
port1             148 drivers/usb/core/usb-acpi.c 	int port1;
port1             160 drivers/usb/core/usb-acpi.c 		port1 = usb_hcd_find_raw_port_number(bus_to_hcd(udev->bus),
port1             169 drivers/usb/core/usb-acpi.c 		port1 = port_dev->portnum;
port1             172 drivers/usb/core/usb-acpi.c 	return usb_acpi_find_port(adev, port1);
port1             576 drivers/usb/core/usb.c 				 struct usb_bus *bus, unsigned port1)
port1             581 drivers/usb/core/usb.c 	unsigned raw_port = port1;
port1             647 drivers/usb/core/usb.c 				"%d", port1);
port1             652 drivers/usb/core/usb.c 				"%s.%d", parent->devpath, port1);
port1             654 drivers/usb/core/usb.c 			if (port1 < 15)
port1             656 drivers/usb/core/usb.c 					(port1 << ((parent->level - 1)*4));
port1             668 drivers/usb/core/usb.c 				port1);
port1             675 drivers/usb/core/usb.c 	dev->portnum = port1;
port1             209 drivers/usb/core/usb.h 	int port1);
port1              84 drivers/usb/host/sl811-hcd.c 		if (sl811->port1 & USB_PORT_STAT_POWER)
port1              87 drivers/usb/host/sl811-hcd.c 		sl811->port1 = USB_PORT_STAT_POWER;
port1              90 drivers/usb/host/sl811-hcd.c 		sl811->port1 = 0;
port1             404 drivers/usb/host/sl811-hcd.c 	if (sl811->port1 & USB_PORT_STAT_SUSPEND)
port1             721 drivers/usb/host/sl811-hcd.c 			sl811->port1 &= ~USB_PORT_STAT_CONNECTION;
port1             723 drivers/usb/host/sl811-hcd.c 			sl811->port1 |= USB_PORT_STAT_CONNECTION;
port1             725 drivers/usb/host/sl811-hcd.c 		sl811->port1 |= USB_PORT_STAT_C_CONNECTION << 16;
port1             728 drivers/usb/host/sl811-hcd.c 		if (sl811->port1 & USB_PORT_STAT_SUSPEND) {
port1             730 drivers/usb/host/sl811-hcd.c 			sl811->port1 |= USB_PORT_STAT_C_SUSPEND << 16;
port1             737 drivers/usb/host/sl811-hcd.c 		if (sl811->port1 & USB_PORT_STAT_ENABLE)
port1             822 drivers/usb/host/sl811-hcd.c 	if (!(sl811->port1 & USB_PORT_STAT_ENABLE)
port1            1080 drivers/usb/host/sl811-hcd.c 	if (!(sl811->port1 & (0xffff << 16)))
port1            1144 drivers/usb/host/sl811-hcd.c 		sl811->port1 = (USB_PORT_STAT_C_RESET << 16)
port1            1153 drivers/usb/host/sl811-hcd.c 		sl811->port1 &= ~USB_PORT_STAT_SUSPEND;
port1            1164 drivers/usb/host/sl811-hcd.c 		if (sl811->port1 & USB_PORT_STAT_CONNECTION)
port1            1165 drivers/usb/host/sl811-hcd.c 			sl811->port1 |= (USB_PORT_STAT_C_CONNECTION << 16)
port1            1167 drivers/usb/host/sl811-hcd.c 		sl811->port1 &= ~mask;
port1            1170 drivers/usb/host/sl811-hcd.c 		sl811->port1 |= mask;
port1            1172 drivers/usb/host/sl811-hcd.c 			sl811->port1 &= ~USB_PORT_STAT_LOW_SPEED;
port1            1176 drivers/usb/host/sl811-hcd.c 	if (sl811->port1 & USB_PORT_STAT_CONNECTION) {
port1            1183 drivers/usb/host/sl811-hcd.c 		if (sl811->port1 & USB_PORT_STAT_LOW_SPEED) {
port1            1243 drivers/usb/host/sl811-hcd.c 			sl811->port1 &= USB_PORT_STAT_POWER;
port1            1251 drivers/usb/host/sl811-hcd.c 			if (!(sl811->port1 & USB_PORT_STAT_SUSPEND))
port1            1277 drivers/usb/host/sl811-hcd.c 		sl811->port1 &= ~(1 << wValue);
port1            1288 drivers/usb/host/sl811-hcd.c 		put_unaligned_le32(sl811->port1, buf);
port1            1294 drivers/usb/host/sl811-hcd.c 			sl811->port1);
port1            1301 drivers/usb/host/sl811-hcd.c 			if (sl811->port1 & USB_PORT_STAT_RESET)
port1            1303 drivers/usb/host/sl811-hcd.c 			if (!(sl811->port1 & USB_PORT_STAT_ENABLE))
port1            1314 drivers/usb/host/sl811-hcd.c 			if (sl811->port1 & USB_PORT_STAT_SUSPEND)
port1            1316 drivers/usb/host/sl811-hcd.c 			if (!(sl811->port1 & USB_PORT_STAT_POWER))
port1            1325 drivers/usb/host/sl811-hcd.c 			sl811->port1 |= USB_PORT_STAT_RESET;
port1            1332 drivers/usb/host/sl811-hcd.c 		sl811->port1 |= 1 << wValue;
port1            1393 drivers/usb/host/sl811-hcd.c 		sl811->port1);
port1            1769 drivers/usb/host/sl811-hcd.c 	if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) {
port1            1770 drivers/usb/host/sl811-hcd.c 		sl811->port1 = 0;
port1             146 drivers/usb/host/sl811.h 	u32			port1;
port1            4247 drivers/usb/host/xhci.c int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1)
port1            4252 drivers/usb/host/xhci.c 	return rhub->ports[port1 - 1]->hw_portnum + 1;
port1            2142 drivers/usb/host/xhci.h int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1);
port1             194 drivers/usb/misc/cypress_cy7c63.c static DEVICE_ATTR_RW(port1);
port1             291 drivers/usb/misc/cytherm.c static DEVICE_ATTR_RW(port1);
port1              86 drivers/usb/misc/lvstest.c 		int port1, int feature)
port1              89 drivers/usb/misc/lvstest.c 		USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1,
port1              94 drivers/usb/misc/lvstest.c 		int port1, int feature)
port1              97 drivers/usb/misc/lvstest.c 		USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1,
port1            1163 drivers/usb/serial/mxuport.c 	struct usb_serial_port *port1 = serial->port[1];
port1            1177 drivers/usb/serial/mxuport.c 	err = usb_serial_generic_submit_read_urbs(port1, GFP_KERNEL);
port1            1189 drivers/usb/serial/mxuport.c 	struct usb_serial_port *port1 = serial->port[1];
port1            1191 drivers/usb/serial/mxuport.c 	usb_serial_generic_close(port1);
port1             809 drivers/watchdog/pcwd.c 	int port1, last_port1;	/* Register 1 for REV C cards */
port1             824 drivers/watchdog/pcwd.c 	port1 = inb_p(base_addr + 1);	/* For REV C boards */
port1             825 drivers/watchdog/pcwd.c 	if (port0 != 0xff || port1 != 0xff) {
port1             832 drivers/watchdog/pcwd.c 			last_port1 = port1;
port1             835 drivers/watchdog/pcwd.c 			port1 = inb_p(base_addr + 1);
port1             839 drivers/watchdog/pcwd.c 			    (port1 ^ last_port1) & WD_REVC_HRBT) {
port1            1520 include/linux/mlx4/device.h int mlx4_virt2phy_port_map(struct mlx4_dev *dev, u32 port1, u32 port2);
port1              85 include/linux/mlx4/driver.h 	u8	port1;
port1             414 include/linux/serial_core.h int uart_match_port(struct uart_port *port1, struct uart_port *port2);
port1             722 include/linux/usb.h 	int port1);
port1             730 include/linux/usb.h #define usb_hub_for_each_child(hdev, port1, child) \
port1             731 include/linux/usb.h 	for (port1 = 1,	child =	usb_hub_find_child(hdev, port1); \
port1             732 include/linux/usb.h 			port1 <= hdev->maxchild; \
port1             733 include/linux/usb.h 			child = usb_hub_find_child(hdev, ++port1)) \
port1             881 include/linux/usb.h int usb_hub_claim_port(struct usb_device *hdev, unsigned port1,
port1             883 include/linux/usb.h int usb_hub_release_port(struct usb_device *hdev, unsigned port1,
port1             471 include/linux/usb/hcd.h extern int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1);
port1              22 include/linux/usb/of.h struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1);
port1              43 include/linux/usb/of.h usb_of_get_device_node(struct usb_device *hub, int port1)
port1              56 include/sound/emu8000.h 	unsigned long port1;	/* Port usually base+0 */
port1              15 include/sound/emu8000_reg.h #define EMU8000_DATA0(e)    ((e)->port1)
port1              86 include/uapi/linux/serial.h 	int		port1;
port1             164 sound/isa/sb/emu8000.c                     emu->port1);
port1             444 sound/isa/sb/emu8000.c 		    emu->port1, size/1024);
port1            1093 sound/isa/sb/emu8000.c 	hw->port1 = port;
port1            1096 sound/isa/sb/emu8000.c 	if (!(hw->res_port1 = request_region(hw->port1, 4, "Emu8000-1")) ||
port1            1099 sound/isa/sb/emu8000.c 		snd_printk(KERN_ERR "sbawe: can't grab ports 0x%lx, 0x%lx, 0x%lx\n", hw->port1, hw->port2, hw->port3);
port1              36 tools/firewire/nosy-dump.h 			uint32_t port1:2;