portnum 200 drivers/infiniband/hw/cxgb3/iwch.c u32 portnum = port_id + 1; portnum 251 drivers/infiniband/hw/cxgb3/iwch.c event.element.port_num = portnum; portnum 173 drivers/message/fusion/mptbase.c static int GetPortFacts(MPT_ADAPTER *ioc, int portnum, int sleepFlag); portnum 175 drivers/message/fusion/mptbase.c static int SendPortEnable(MPT_ADAPTER *ioc, int portnum, int sleepFlag); portnum 188 drivers/message/fusion/mptbase.c static int mpt_GetScsiPortSettings(MPT_ADAPTER *ioc, int portnum); portnum 189 drivers/message/fusion/mptbase.c static int mpt_readScsiDevicePageHeaders(MPT_ADAPTER *ioc, int portnum); portnum 3255 drivers/message/fusion/mptbase.c GetPortFacts(MPT_ADAPTER *ioc, int portnum, int sleepFlag) portnum 3271 drivers/message/fusion/mptbase.c pfacts = &ioc->pfacts[portnum]; portnum 3282 drivers/message/fusion/mptbase.c get_pfacts.PortNumber = portnum; portnum 3286 drivers/message/fusion/mptbase.c ioc->name, portnum)); portnum 3462 drivers/message/fusion/mptbase.c SendPortEnable(MPT_ADAPTER *ioc, int portnum, int sleepFlag) portnum 3478 drivers/message/fusion/mptbase.c port_enable.PortNumber = portnum; portnum 3484 drivers/message/fusion/mptbase.c ioc->name, portnum, &port_enable)); portnum 5362 drivers/message/fusion/mptbase.c mpt_GetScsiPortSettings(MPT_ADAPTER *ioc, int portnum) portnum 5401 drivers/message/fusion/mptbase.c cfg.pageAddr = portnum; portnum 5478 drivers/message/fusion/mptbase.c cfg.pageAddr = portnum; portnum 5574 drivers/message/fusion/mptbase.c mpt_readScsiDevicePageHeaders(MPT_ADAPTER *ioc, int portnum) portnum 5587 drivers/message/fusion/mptbase.c cfg.pageAddr = portnum; portnum 682 drivers/message/fusion/mptfc.c mptfc_display_port_link_speed(MPT_ADAPTER *ioc, int portnum, FCPortPage0_t *pp0dest) portnum 687 drivers/message/fusion/mptfc.c if (portnum >= 2) portnum 690 drivers/message/fusion/mptfc.c old_speed = ioc->fc_link_speed[portnum]; portnum 714 drivers/message/fusion/mptfc.c ioc->fc_link_speed[portnum] = new_speed; portnum 731 drivers/message/fusion/mptfc.c mptfc_GetFcPortPage0(MPT_ADAPTER *ioc, int portnum) portnum 743 drivers/message/fusion/mptfc.c if (portnum > 1) portnum 755 drivers/message/fusion/mptfc.c cfg.pageAddr = portnum; portnum 776 drivers/message/fusion/mptfc.c pp0dest = &ioc->fc_port_page0[portnum]; portnum 817 drivers/message/fusion/mptfc.c mptfc_display_port_link_speed(ioc, portnum, pp0dest); portnum 827 drivers/message/fusion/mptfc.c mptfc_WriteFcPortPage1(MPT_ADAPTER *ioc, int portnum) portnum 833 drivers/message/fusion/mptfc.c if (portnum > 1) portnum 836 drivers/message/fusion/mptfc.c if (!(ioc->fc_data.fc_port_page1[portnum].data)) portnum 848 drivers/message/fusion/mptfc.c cfg.pageAddr = portnum; portnum 857 drivers/message/fusion/mptfc.c if (hdr.PageLength*4 != ioc->fc_data.fc_port_page1[portnum].pg_sz) portnum 860 drivers/message/fusion/mptfc.c cfg.physAddr = ioc->fc_data.fc_port_page1[portnum].dma; portnum 870 drivers/message/fusion/mptfc.c mptfc_GetFcPortPage1(MPT_ADAPTER *ioc, int portnum) portnum 879 drivers/message/fusion/mptfc.c if (portnum > 1) portnum 891 drivers/message/fusion/mptfc.c cfg.pageAddr = portnum; portnum 902 drivers/message/fusion/mptfc.c if (ioc->fc_data.fc_port_page1[portnum].data == NULL) { portnum 914 drivers/message/fusion/mptfc.c page1_alloc = ioc->fc_data.fc_port_page1[portnum].data; portnum 915 drivers/message/fusion/mptfc.c page1_dma = ioc->fc_data.fc_port_page1[portnum].dma; portnum 916 drivers/message/fusion/mptfc.c data_sz = ioc->fc_data.fc_port_page1[portnum].pg_sz; portnum 918 drivers/message/fusion/mptfc.c ioc->fc_data.fc_port_page1[portnum].data = NULL; portnum 931 drivers/message/fusion/mptfc.c ioc->fc_data.fc_port_page1[portnum].data = page1_alloc; portnum 932 drivers/message/fusion/mptfc.c ioc->fc_data.fc_port_page1[portnum].pg_sz = data_sz; portnum 933 drivers/message/fusion/mptfc.c ioc->fc_data.fc_port_page1[portnum].dma = page1_dma; portnum 936 drivers/message/fusion/mptfc.c ioc->fc_data.fc_port_page1[portnum].data = NULL; portnum 974 drivers/message/fusion/mptfc.c mptfc_init_host_attr(MPT_ADAPTER *ioc,int portnum) portnum 986 drivers/message/fusion/mptfc.c if (portnum != 0) portnum 989 drivers/message/fusion/mptfc.c pp0 = &ioc->fc_port_page0[portnum]; portnum 1138 drivers/net/ethernet/ibm/ehea/ehea_main.c u8 portnum; portnum 1143 drivers/net/ethernet/ibm/ehea/ehea_main.c portnum = EHEA_BMASK_GET(NEQE_PORTNUM, eqe); portnum 1144 drivers/net/ethernet/ibm/ehea/ehea_main.c port = ehea_get_port(adapter, portnum); portnum 1146 drivers/net/ethernet/ibm/ehea/ehea_main.c netdev_err(NULL, "unknown portnum %x\n", portnum); portnum 87 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->portnum = cpu_to_be32(repr->dst->u.port_info.port_id); portnum 113 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->portnum = cpu_to_be32(repr->dst->u.port_info.port_id); portnum 135 drivers/net/ethernet/netronome/nfp/flower/cmsg.c app_priv->mtu_conf.portnum != be32_to_cpu(msg->portnum) || portnum 162 drivers/net/ethernet/netronome/nfp/flower/cmsg.c netdev = nfp_app_dev_get(app, be32_to_cpu(msg->portnum), NULL); portnum 166 drivers/net/ethernet/netronome/nfp/flower/cmsg.c be32_to_cpu(msg->portnum)); portnum 195 drivers/net/ethernet/netronome/nfp/flower/cmsg.c exists = !!nfp_app_dev_get(app, be32_to_cpu(msg->portnum), NULL); portnum 199 drivers/net/ethernet/netronome/nfp/flower/cmsg.c be32_to_cpu(msg->portnum)); portnum 507 drivers/net/ethernet/netronome/nfp/flower/cmsg.h __be32 portnum; portnum 518 drivers/net/ethernet/netronome/nfp/flower/cmsg.h __be32 portnum; portnum 858 drivers/net/ethernet/netronome/nfp/flower/main.c app_priv->mtu_conf.portnum = repr->dst->u.port_info.port_id; portnum 90 drivers/net/ethernet/netronome/nfp/flower/main.h u32 portnum; portnum 1605 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u8 portnum; portnum 685 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c int port = adapter->portnum; portnum 743 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c int port = adapter->portnum; portnum 855 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c int port = adapter->portnum; portnum 694 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (wol_cfg & (1UL << adapter->portnum)) portnum 698 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (wol_cfg & (1UL << adapter->portnum)) portnum 715 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (!(wol_cfg & (1 << adapter->portnum))) portnum 720 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c wol_cfg |= 1UL << adapter->portnum; portnum 722 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c wol_cfg &= ~(1UL << adapter->portnum); portnum 307 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c NXWR32(adapter, id_reg, adapter->portnum); portnum 611 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c word = NX_MAC_EVENT | ((u64)adapter->portnum << 16); portnum 706 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c ((u64)adapter->portnum << 16); portnum 752 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c word[0] = NETXEN_CONFIG_INTR_COALESCE | ((u64)adapter->portnum << 16); portnum 781 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c word = NX_NIC_H2C_OPCODE_CONFIG_HW_LRO | ((u64)adapter->portnum << 16); portnum 809 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c ((u64)adapter->portnum << 16); portnum 844 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c word = NX_NIC_H2C_OPCODE_CONFIG_RSS | ((u64)adapter->portnum << 16); portnum 884 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c word = NX_NIC_H2C_OPCODE_CONFIG_IPADDR | ((u64)adapter->portnum << 16); portnum 908 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c word = NX_NIC_H2C_OPCODE_GET_LINKEVENT | ((u64)adapter->portnum << 16); portnum 934 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c ((u64)adapter->portnum << 16) | portnum 1003 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c offset = NX_FW_MAC_ADDR_OFFSET + (adapter->portnum * sizeof(u64)); portnum 1011 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c (adapter->portnum * sizeof(u64)); portnum 1824 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->ahw.port_type = (adapter->portnum < 2) ? portnum 1923 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c if (wol_cfg & (1UL << adapter->portnum)) { portnum 1925 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c if (wol_cfg & (1 << adapter->portnum)) portnum 1857 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c netxen_set_msg_ctxid(msg, adapter->portnum); portnum 862 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->portnum == 0) { portnum 1109 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_nic_driver_name, adapter->portnum); portnum 1242 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c crb_cmd_producer[adapter->portnum]); portnum 1244 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c crb_cmd_consumer[adapter->portnum]); portnum 1400 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->portnum != 0) portnum 1504 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c adapter->portnum = pci_func_id; portnum 1521 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c adapter->portnum = pci_func_id - 2; portnum 1531 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->portnum == 0) { portnum 1546 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c adapter->physical_port = adapter->portnum; portnum 1548 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c i = NXRD32(adapter, CRB_V2P(adapter->portnum)); portnum 1651 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->portnum == 0) portnum 1690 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->portnum == 0) portnum 2094 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_set_tx_port(first_desc, adapter->portnum); portnum 2312 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (!test_and_clear_bit((7 + adapter->portnum), &our_int)) portnum 1133 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u8 portnum; portnum 2625 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c QLC_SHARED_REG_WR32(adapter, QLCNIC_FLASH_LOCK_OWNER, adapter->portnum); portnum 2985 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c val = val | ((adapter->portnum << 2) | portnum 2993 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c if (id == adapter->portnum) { portnum 3060 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c val = lock_alive_counter << 8 | adapter->portnum; portnum 3074 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c if (id != adapter->portnum) portnum 3077 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c __func__, adapter->portnum, id); portnum 3218 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c pci_func = adapter->portnum; portnum 3542 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = BIT_2 | (adapter->portnum << 16); portnum 168 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val |= (adapter->portnum & 0xf); portnum 190 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val = val & ~(0x3 << (adapter->portnum * 2)); portnum 191 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val = val | (QLC_83XX_IDC_MINOR_VERSION << (adapter->portnum * 2)); portnum 230 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val = val | (1 << adapter->portnum); portnum 232 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val = val & ~(1 << adapter->portnum); portnum 295 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val = val | (1 << adapter->portnum); portnum 297 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val = val & ~(1 << adapter->portnum); portnum 638 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (adapter->portnum == 0) portnum 1283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (id == adapter->portnum) { portnum 1293 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val = val & ~(1 << adapter->portnum); portnum 2378 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c #define IS_QLC_83XX_USED(a, b, c) (((1 << a->portnum) & b) || ((c >> 6) & 0x1)) portnum 1485 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (wol_cfg & (1UL << adapter->portnum)) portnum 1489 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (wol_cfg & (1UL << adapter->portnum)) portnum 1508 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (!(wol_cfg & (1 << adapter->portnum))) portnum 1515 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c wol_cfg |= 1UL << adapter->portnum; portnum 1517 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c wol_cfg &= ~(1UL << adapter->portnum); portnum 341 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c QLCWR32(adapter, id_reg, adapter->portnum); portnum 448 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c word = QLCNIC_MAC_EVENT | ((u64)adapter->portnum << 16); portnum 611 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c ((u64)adapter->portnum << 16); portnum 714 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c ((u64) adapter->portnum << 16) | ((u64) 0x1 << 32)); portnum 783 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c ((u64) adapter->portnum << 16)); portnum 835 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c word = QLCNIC_H2C_OPCODE_CONFIG_HW_LRO | ((u64)adapter->portnum << 16); portnum 870 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c ((u64)adapter->portnum << 16); portnum 906 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c word = QLCNIC_H2C_OPCODE_CONFIG_RSS | ((u64)adapter->portnum << 16); portnum 951 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c word = QLCNIC_H2C_OPCODE_CONFIG_IPADDR | ((u64)adapter->portnum << 16); portnum 973 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c word = QLCNIC_H2C_OPCODE_GET_LINKEVENT | ((u64)adapter->portnum << 16); portnum 997 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c ((u64)adapter->portnum << 16) | portnum 1512 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c adapter->ahw->port_type = (adapter->portnum < 2) ? portnum 1531 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c if (wol_cfg & (1UL << adapter->portnum)) { portnum 1535 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c if (wol_cfg & (1 << adapter->portnum)) portnum 1551 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c word = QLCNIC_H2C_OPCODE_CONFIG_LED | ((u64)adapter->portnum << 16); portnum 1554 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c req.words[0] = cpu_to_le64(((u64)rate << 32) | adapter->portnum); portnum 625 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c val = QLC_DEV_GET_DRV(val, adapter->portnum); portnum 287 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c word = QLCNIC_MAC_EVENT | ((u64)(adapter->portnum) << 16); portnum 718 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c qlcnic_set_tx_port(first_desc, adapter->portnum); portnum 2561 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->portnum = adapter->ahw->pci_func; portnum 2593 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->portnum = adapter->ahw->pci_func; portnum 2627 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (adapter->portnum == 0) { portnum 2655 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (adapter->portnum == 0) portnum 3201 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c val = adapter->portnum & 0xf; portnum 3223 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_SET_RST_RDY(val, adapter->portnum); portnum 3225 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_SET_QSCNT_RDY(val, adapter->portnum); portnum 3243 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_CLR_RST_QSCNT(val, adapter->portnum); portnum 3259 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_CLR_REF_CNT(val, adapter->portnum); portnum 3272 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_CLR_RST_QSCNT(val, adapter->portnum); portnum 3322 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c u8 portnum = adapter->portnum; portnum 3332 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (!(val & (1 << (portnum * 4)))) { portnum 3333 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_SET_REF_CNT(val, portnum); portnum 3357 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_SET_RST_RDY(val, portnum); portnum 3363 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_SET_QSCNT_RDY(val, portnum); portnum 3397 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_CLR_RST_QSCNT(val, portnum); portnum 3456 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c QLC_DEV_SET_RST_RDY(val, adapter->portnum); portnum 3692 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (adapter->portnum == 0) portnum 462 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c adapter->portnum); portnum 472 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c adapter->portnum); portnum 475 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c adapter->portnum); portnum 644 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c adapter->portnum); portnum 661 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c adapter->portnum); portnum 81 drivers/parport/daisy.c extra->portnum = real->portnum; portnum 506 drivers/parport/share.c tmp->portnum = tmp->number = num; portnum 513 drivers/parport/share.c sprintf(name, "parport%d", tmp->portnum = tmp->number); portnum 61 drivers/phy/broadcom/phy-brcm-sata.c int portnum; portnum 182 drivers/phy/broadcom/phy-brcm-sata.c return priv->phy_base + (port->portnum * size); portnum 199 drivers/phy/broadcom/phy-brcm-sata.c return priv->ctrl_base + (port->portnum * size); portnum 241 drivers/phy/broadcom/phy-brcm-sata.c dev_info(priv->dev, "enabling SSC on port%d\n", port->portnum); portnum 348 drivers/phy/broadcom/phy-brcm-sata.c dev_err(dev, "port%d PLL did not lock\n", port->portnum); portnum 352 drivers/phy/broadcom/phy-brcm-sata.c dev_dbg(dev, "port%d initialized\n", port->portnum); portnum 366 drivers/phy/broadcom/phy-brcm-sata.c if (port->portnum == 0) portnum 368 drivers/phy/broadcom/phy-brcm-sata.c else if (port->portnum == 1) portnum 415 drivers/phy/broadcom/phy-brcm-sata.c dev_err(dev, "port%d PLL did not lock\n", port->portnum); portnum 419 drivers/phy/broadcom/phy-brcm-sata.c dev_dbg(dev, "port%d initialized\n", port->portnum); portnum 464 drivers/phy/broadcom/phy-brcm-sata.c dev_err(dev, "port%d PLL did not lock\n", port->portnum); portnum 532 drivers/phy/broadcom/phy-brcm-sata.c dev_err(dev, "port%d PLL did not lock\n", port->portnum); portnum 536 drivers/phy/broadcom/phy-brcm-sata.c dev_dbg(dev, "port%d initialized\n", port->portnum); portnum 682 drivers/phy/broadcom/phy-brcm-sata.c port->portnum = id; portnum 1174 drivers/rapidio/rio.c int rc, portnum; portnum 1223 drivers/rapidio/rio.c portnum = pw_msg->em.is_port & 0xFF; portnum 1235 drivers/rapidio/rio.c if (rio_chk_dev_route(rdev, &rdev, &portnum)) { portnum 1257 drivers/rapidio/rio.c rdev->rswitch->ops->em_handle(rdev, portnum); portnum 1259 drivers/rapidio/rio.c rio_read_config_32(rdev, RIO_DEV_PORT_N_ERR_STS_CSR(rdev, portnum), portnum 1261 drivers/rapidio/rio.c pr_debug("RIO_PW: SP%d_ERR_STS_CSR=0x%08x\n", portnum, err_status); portnum 1265 drivers/rapidio/rio.c if (!(rdev->rswitch->port_ok & (1 << portnum))) { portnum 1266 drivers/rapidio/rio.c rdev->rswitch->port_ok |= (1 << portnum); portnum 1267 drivers/rapidio/rio.c rio_set_port_lockout(rdev, portnum, 0); portnum 1270 drivers/rapidio/rio.c rio_name(rdev), portnum); portnum 1279 drivers/rapidio/rio.c if (rio_clr_err_stopped(rdev, portnum, err_status)) portnum 1280 drivers/rapidio/rio.c rio_clr_err_stopped(rdev, portnum, 0); portnum 1284 drivers/rapidio/rio.c if (rdev->rswitch->port_ok & (1 << portnum)) { portnum 1285 drivers/rapidio/rio.c rdev->rswitch->port_ok &= ~(1 << portnum); portnum 1286 drivers/rapidio/rio.c rio_set_port_lockout(rdev, portnum, 1); portnum 1290 drivers/rapidio/rio.c RIO_DEV_PORT_N_ACK_STS_CSR(rdev, portnum), portnum 1294 drivers/rapidio/rio.c RIO_DEV_PORT_N_OB_ACK_CSR(rdev, portnum), portnum 1297 drivers/rapidio/rio.c RIO_DEV_PORT_N_IB_ACK_CSR(rdev, portnum), portnum 1303 drivers/rapidio/rio.c rio_name(rdev), portnum); portnum 1308 drivers/rapidio/rio.c rdev->em_efptr + RIO_EM_PN_ERR_DETECT(portnum), &em_perrdet); portnum 1311 drivers/rapidio/rio.c portnum, em_perrdet); portnum 1314 drivers/rapidio/rio.c rdev->em_efptr + RIO_EM_PN_ERR_DETECT(portnum), 0); portnum 1328 drivers/rapidio/rio.c rio_write_config_32(rdev, RIO_DEV_PORT_N_ERR_STS_CSR(rdev, portnum), portnum 322 drivers/rapidio/switches/idt_gen2.c idtg2_em_handler(struct rio_dev *rdev, u8 portnum) portnum 346 drivers/rapidio/switches/idt_gen2.c rdev->em_efptr + RIO_EM_PN_ERR_DETECT(portnum), &em_perrdet); portnum 354 drivers/rapidio/switches/idt_gen2.c IDT_PORT_ISERR_DET(portnum), ®val); portnum 361 drivers/rapidio/switches/idt_gen2.c IDT_PORT_ISERR_DET(portnum), 0); portnum 114 drivers/rapidio/switches/tsi568.c int portnum; portnum 119 drivers/rapidio/switches/tsi568.c for (portnum = 0; portnum 120 drivers/rapidio/switches/tsi568.c portnum < RIO_GET_TOTAL_PORTS(rdev->swpinfo); portnum++) { portnum 121 drivers/rapidio/switches/tsi568.c rio_read_config_32(rdev, TSI568_SP_MODE(portnum), ®val); portnum 122 drivers/rapidio/switches/tsi568.c rio_write_config_32(rdev, TSI568_SP_MODE(portnum), portnum 159 drivers/rapidio/switches/tsi57x.c int portnum; portnum 163 drivers/rapidio/switches/tsi57x.c for (portnum = 0; portnum 164 drivers/rapidio/switches/tsi57x.c portnum < RIO_GET_TOTAL_PORTS(rdev->swpinfo); portnum++) { portnum 167 drivers/rapidio/switches/tsi57x.c TSI578_SP_MODE(portnum), ®val); portnum 169 drivers/rapidio/switches/tsi57x.c TSI578_SP_MODE(portnum), portnum 174 drivers/rapidio/switches/tsi57x.c RIO_DEV_PORT_N_ERR_STS_CSR(rdev, portnum), portnum 177 drivers/rapidio/switches/tsi57x.c RIO_DEV_PORT_N_ERR_STS_CSR(rdev, portnum), portnum 181 drivers/rapidio/switches/tsi57x.c TSI578_SP_INT_STATUS(portnum), ®val); portnum 183 drivers/rapidio/switches/tsi57x.c TSI578_SP_INT_STATUS(portnum), portnum 188 drivers/rapidio/switches/tsi57x.c TSI578_SP_CTL_INDEP(portnum), ®val); portnum 190 drivers/rapidio/switches/tsi57x.c TSI578_SP_CTL_INDEP(portnum), portnum 195 drivers/rapidio/switches/tsi57x.c RIO_DEV_PORT_N_CTL_CSR(rdev, portnum), portnum 198 drivers/rapidio/switches/tsi57x.c portnum++; portnum 209 drivers/rapidio/switches/tsi57x.c tsi57x_em_handler(struct rio_dev *rdev, u8 portnum) portnum 218 drivers/rapidio/switches/tsi57x.c RIO_DEV_PORT_N_ERR_STS_CSR(rdev, portnum), portnum 226 drivers/rapidio/switches/tsi57x.c RIO_DEV_PORT_N_CTL_CSR(rdev, portnum), portnum 230 drivers/rapidio/switches/tsi57x.c RIO_DEV_PORT_N_CTL_CSR(rdev, portnum), portnum 234 drivers/rapidio/switches/tsi57x.c RIO_DEV_PORT_N_CTL_CSR(rdev, portnum), portnum 242 drivers/rapidio/switches/tsi57x.c RIO_DEV_PORT_N_MNT_RSP_CSR(rdev, portnum), portnum 251 drivers/rapidio/switches/tsi57x.c TSI578_SP_CS_TX(portnum), 0x40fc8000); portnum 257 drivers/rapidio/switches/tsi57x.c portnum), portnum 269 drivers/rapidio/switches/tsi57x.c rio_read_config_32(rdev, TSI578_SP_INT_STATUS(portnum), &intstat); portnum 271 drivers/rapidio/switches/tsi57x.c rdev->destid, rdev->hopcount, portnum, intstat); portnum 275 drivers/rapidio/switches/tsi57x.c TSI578_SP_LUT_PEINF(portnum), ®val); portnum 279 drivers/rapidio/switches/tsi57x.c rio_name(rdev), portnum, regval); portnum 284 drivers/rapidio/switches/tsi57x.c rio_write_config_32(rdev, TSI578_SP_INT_STATUS(portnum), portnum 2682 drivers/scsi/lpfc/lpfc_attr.c static DEVICE_ATTR(portnum, S_IRUGO, lpfc_vportnum_show, NULL); portnum 4234 drivers/scsi/qla2xxx/qla_def.h uint16_t portnum; /* port number */ portnum 2145 drivers/scsi/qla2xxx/qla_init.c idc_minor_ver |= (QLA83XX_SUPP_IDC_MINOR_VERSION << (ha->portnum * 2)); portnum 6289 drivers/scsi/qla2xxx/qla_init.c (i != ha->portnum)) { portnum 6299 drivers/scsi/qla2xxx/qla_init.c ((i + 8) != ha->portnum)) { portnum 6309 drivers/scsi/qla2xxx/qla_init.c drv_presence_mask = ~((1 << (ha->portnum)) | portnum 6317 drivers/scsi/qla2xxx/qla_init.c (ha->portnum < fcoe_other_function)) { portnum 6333 drivers/scsi/qla2xxx/qla_init.c drv_ack |= (1 << ha->portnum); portnum 6349 drivers/scsi/qla2xxx/qla_init.c drv_ack &= ~(1 << ha->portnum); portnum 6389 drivers/scsi/qla2xxx/qla_init.c idc_audit_reg = (ha->portnum) | portnum 6397 drivers/scsi/qla2xxx/qla_init.c idc_audit_reg = (ha->portnum) | portnum 6471 drivers/scsi/qla2xxx/qla_init.c if (drv_presence & (1 << ha->portnum)) portnum 6497 drivers/scsi/qla2xxx/qla_init.c ha->portnum); portnum 6563 drivers/scsi/qla2xxx/qla_init.c if (!ha->flags.nic_core_reset_hdlr_active && !ha->portnum) { portnum 3106 drivers/scsi/qla2xxx/qla_iocb.c dbval = 0x04 | (ha->portnum << 5); portnum 1797 drivers/scsi/qla2xxx/qla_mbx.c (0x04 | (ha->portnum << 5) | (0 << 8) | (0 << 16))); portnum 470 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, QLA82XX_CRB_WIN_LOCK_ID, ha->portnum); portnum 877 drivers/scsi/qla2xxx/qla_nx.c __func__, ha->portnum, lock_owner); portnum 882 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, QLA82XX_ROM_LOCK_ID, ha->portnum); portnum 2310 drivers/scsi/qla2xxx/qla_nx.c ha->portnum = PCI_FUNC(ha->pdev->devfn); portnum 2311 drivers/scsi/qla2xxx/qla_nx.c nx_legacy_intr = &legacy_intr[ha->portnum]; portnum 2326 drivers/scsi/qla2xxx/qla_nx.c if (drv_active == (QLA82XX_DRV_ACTIVE << (ha->portnum * 4))) { portnum 2355 drivers/scsi/qla2xxx/qla_nx.c drv_active |= (QLA82XX_DRV_ACTIVE << (ha->portnum * 4)); portnum 2365 drivers/scsi/qla2xxx/qla_nx.c drv_active &= ~(QLA82XX_DRV_ACTIVE << (ha->portnum * 4)); portnum 2379 drivers/scsi/qla2xxx/qla_nx.c rval = drv_state & (QLA82XX_DRVST_RST_RDY << (ha->portnum * 4)); portnum 2397 drivers/scsi/qla2xxx/qla_nx.c drv_state |= (QLA82XX_DRVST_RST_RDY << (ha->portnum * 4)); portnum 2409 drivers/scsi/qla2xxx/qla_nx.c drv_state &= ~(QLA82XX_DRVST_RST_RDY << (ha->portnum * 4)); portnum 2419 drivers/scsi/qla2xxx/qla_nx.c qsnt_state |= (QLA82XX_DRVST_QSNT_RDY << (ha->portnum * 4)); portnum 2430 drivers/scsi/qla2xxx/qla_nx.c qsnt_state &= ~(QLA82XX_DRVST_QSNT_RDY << (ha->portnum * 4)); portnum 2815 drivers/scsi/qla2xxx/qla_nx.c dbval = 0x04 | (ha->portnum << 5); portnum 3068 drivers/scsi/qla2xxx/qla_nx.c "reset_acknowledged by 0x%x\n", ha->portnum); portnum 3071 drivers/scsi/qla2xxx/qla_nx.c active_mask = ~(QLA82XX_DRV_ACTIVE << (ha->portnum * 4)); portnum 3484 drivers/scsi/qla2xxx/qla_nx.c "reset_owner is 0x%x\n", ha->portnum); portnum 76 drivers/scsi/qla2xxx/qla_nx2.c qla8044_wr_reg(ha, QLA8044_CRB_WIN_FUNC(ha->portnum), addr); portnum 77 drivers/scsi/qla2xxx/qla_nx2.c val = qla8044_rd_reg(ha, QLA8044_CRB_WIN_FUNC(ha->portnum)); portnum 263 drivers/scsi/qla2xxx/qla_nx2.c qsnt_state |= (1 << ha->portnum); portnum 276 drivers/scsi/qla2xxx/qla_nx2.c qsnt_state &= ~(1 << ha->portnum); portnum 321 drivers/scsi/qla2xxx/qla_nx2.c (ha->portnum << portnum 327 drivers/scsi/qla2xxx/qla_nx2.c if ((lockid & IDC_LOCK_RECOVERY_OWNER_MASK) != (ha->portnum << portnum 332 drivers/scsi/qla2xxx/qla_nx2.c , __func__, ha->portnum); portnum 336 drivers/scsi/qla2xxx/qla_nx2.c (ha->portnum << IDC_LOCK_RECOVERY_STATE_SHIFT_BITS) | portnum 350 drivers/scsi/qla2xxx/qla_nx2.c lockid = ((lockid + (1 << 8)) & ~0xFF) | ha->portnum; portnum 372 drivers/scsi/qla2xxx/qla_nx2.c lock_id = ((lock_id + (1 << 8)) & ~0xFF) | ha->portnum; portnum 388 drivers/scsi/qla2xxx/qla_nx2.c __func__, ha->portnum, func_num, lock_cnt, portnum 397 drivers/scsi/qla2xxx/qla_nx2.c __func__, ha->portnum); portnum 408 drivers/scsi/qla2xxx/qla_nx2.c ha->portnum); portnum 417 drivers/scsi/qla2xxx/qla_nx2.c ha->portnum); portnum 434 drivers/scsi/qla2xxx/qla_nx2.c if ((id & 0xFF) != ha->portnum) { portnum 437 drivers/scsi/qla2xxx/qla_nx2.c __func__, ha->portnum, (id & 0xFF)); portnum 466 drivers/scsi/qla2xxx/qla_nx2.c __func__, ha->portnum, lock_owner); portnum 472 drivers/scsi/qla2xxx/qla_nx2.c qla8044_wr_reg(ha, QLA8044_FLASH_LOCK_ID, ha->portnum); portnum 587 drivers/scsi/qla2xxx/qla_nx2.c rval = drv_state & (1 << ha->portnum); portnum 1371 drivers/scsi/qla2xxx/qla_nx2.c drv_active &= ~(1 << (ha->portnum)); portnum 1631 drivers/scsi/qla2xxx/qla_nx2.c drv_state |= (1 << ha->portnum); portnum 1683 drivers/scsi/qla2xxx/qla_nx2.c __func__, ha->portnum, drv_state, drv_active); portnum 1704 drivers/scsi/qla2xxx/qla_nx2.c __func__, vha->host_no, ha->portnum, portnum 1723 drivers/scsi/qla2xxx/qla_nx2.c if (!(drv_active & (1 << ha->portnum))) { portnum 1749 drivers/scsi/qla2xxx/qla_nx2.c drv_active |= (1 << ha->portnum); portnum 1764 drivers/scsi/qla2xxx/qla_nx2.c if (drv_active & (1 << ha->portnum)) portnum 1793 drivers/scsi/qla2xxx/qla_nx2.c if (drv_active == (1 << ha->portnum)) { portnum 1821 drivers/scsi/qla2xxx/qla_nx2.c idc_ver &= ~(0x03 << (ha->portnum * 2)); portnum 1822 drivers/scsi/qla2xxx/qla_nx2.c idc_ver |= (QLA8044_IDC_VER_MIN_VALUE << (ha->portnum * 2)); portnum 1847 drivers/scsi/qla2xxx/qla_nx2.c if ((drv_active == (1 << ha->portnum)) && !ql2xdontresethba) portnum 3316 drivers/scsi/qla2xxx/qla_nx2.c tmplt_hdr->ocm_window_reg[ha->portnum]; portnum 3923 drivers/scsi/qla2xxx/qla_nx2.c pf_bit = ha->portnum << 16; portnum 4009 drivers/scsi/qla2xxx/qla_nx2.c drv_state &= ~(1 << vha->hw->portnum); portnum 2681 drivers/scsi/qla2xxx/qla_os.c ha->port_no = ha->portnum & 1; portnum 2972 drivers/scsi/qla2xxx/qla_os.c ha->portnum = PCI_FUNC(ha->pdev->devfn); portnum 3003 drivers/scsi/qla2xxx/qla_os.c ha->portnum = PCI_FUNC(ha->pdev->devfn); portnum 3020 drivers/scsi/qla2xxx/qla_os.c ha->portnum = PCI_FUNC(ha->pdev->devfn); portnum 5629 drivers/scsi/qla2xxx/qla_os.c data = (IDC_LOCK_RECOVERY_STAGE1) | (ha->portnum << 2); portnum 5642 drivers/scsi/qla2xxx/qla_os.c if (((data & idc_lck_rcvry_owner_mask) >> 2) == ha->portnum) { portnum 5721 drivers/scsi/qla2xxx/qla_os.c ha->portnum); portnum 5761 drivers/scsi/qla2xxx/qla_os.c if (data == ha->portnum) { portnum 5814 drivers/scsi/qla2xxx/qla_os.c drv_presence |= (1 << ha->portnum); portnum 5843 drivers/scsi/qla2xxx/qla_os.c drv_presence &= ~(1 << ha->portnum); portnum 5970 drivers/scsi/qla2xxx/qla_os.c ha->portnum); portnum 3137 drivers/staging/octeon-usb/octeon-hcd.c split_port = dev->portnum; portnum 36 drivers/staging/wusbcore/dev-sysfs.c port_idx = wusb_port_no_to_idx(usb_dev->portnum); portnum 856 drivers/staging/wusbcore/devconnect.c port_idx = wusb_port_no_to_idx(usb_dev->portnum); portnum 954 drivers/staging/wusbcore/devconnect.c port_idx = wusb_port_no_to_idx(usb_dev->portnum); portnum 82 drivers/staging/wusbcore/host/whci/qset.c | QH_INFO1_DEV_INFO_IDX(wusb_port_no_to_idx(usb_dev->portnum)) portnum 331 drivers/staging/wusbcore/wa-rpipe.c wusb_port_no_to_idx(urb->dev->portnum); portnum 388 drivers/staging/wusbcore/wa-rpipe.c u8 portnum = wusb_port_no_to_idx(urb->dev->portnum); portnum 400 drivers/staging/wusbcore/wa-rpipe.c AIM_CHECK(hwa_bDeviceInfoIndex, portnum, "(%u vs %u)"); portnum 339 drivers/usb/c67x00/c67x00-sched.c return dev->portnum; portnum 32 drivers/usb/chipidea/host.c static int ehci_ci_portpower(struct usb_hcd *hcd, int portnum, bool enable) portnum 1368 drivers/usb/core/devio.c while (udev && udev->portnum != 0) { portnum 1371 drivers/usb/core/devio.c udev->portnum; portnum 2309 drivers/usb/core/devio.c unsigned portnum; portnum 2312 drivers/usb/core/devio.c if (get_user(portnum, (unsigned __user *) arg)) portnum 2314 drivers/usb/core/devio.c rc = usb_hub_claim_port(ps->dev, portnum, ps); portnum 2317 drivers/usb/core/devio.c portnum, task_pid_nr(current), current->comm); portnum 2323 drivers/usb/core/devio.c unsigned portnum; portnum 2325 drivers/usb/core/devio.c if (get_user(portnum, (unsigned __user *) arg)) portnum 2327 drivers/usb/core/devio.c return usb_hub_release_port(ps->dev, portnum, ps); portnum 1037 drivers/usb/core/hcd.c void usb_hcd_start_port_resume(struct usb_bus *bus, int portnum) portnum 1039 drivers/usb/core/hcd.c unsigned bit = 1 << portnum; portnum 1059 drivers/usb/core/hcd.c void usb_hcd_end_port_resume(struct usb_bus *bus, int portnum) portnum 1061 drivers/usb/core/hcd.c unsigned bit = 1 << portnum; portnum 689 drivers/usb/core/hub.c unsigned int portnum) portnum 699 drivers/usb/core/hub.c port_dev = hub->ports[portnum - 1]; portnum 703 drivers/usb/core/hub.c set_bit(portnum, hub->wakeup_bits); portnum 1002 drivers/usb/core/hub.c set_bit(udev->portnum, hub->removed_bits); portnum 1003 drivers/usb/core/hub.c hub_port_logical_disconnect(hub, udev->portnum); portnum 1997 drivers/usb/core/hub.c return !!hub->ports[udev->portnum - 1]->port_owner; portnum 2113 drivers/usb/core/hub.c devnum = udev->portnum + 1; portnum 2220 drivers/usb/core/hub.c port1 = udev->portnum; portnum 2316 drivers/usb/core/hub.c unsigned port1 = udev->portnum; portnum 2428 drivers/usb/core/hub.c u8 port = udev->portnum; portnum 2441 drivers/usb/core/hub.c switch (hub->ports[udev->portnum - 1]->connect_type) { portnum 2562 drivers/usb/core/hub.c int port1 = udev->portnum; portnum 3263 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[udev->portnum - 1]; portnum 3264 drivers/usb/core/hub.c int port1 = udev->portnum; portnum 3534 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[udev->portnum - 1]; portnum 3535 drivers/usb/core/hub.c int port1 = udev->portnum; portnum 4008 drivers/usb/core/hub.c USB_PORT_LPM_TIMEOUT(timeout) | udev->portnum, portnum 4253 drivers/usb/core/hub.c port_dev = hub->ports[udev->portnum - 1]; portnum 4285 drivers/usb/core/hub.c ret = hub_set_port_link_state(hub, port_dev->portnum, portnum 4356 drivers/usb/core/hub.c ret = hub_set_port_link_state(hub, port_dev->portnum, portnum 4381 drivers/usb/core/hub.c return hub_port_disable(hub, udev->portnum, 0); portnum 4501 drivers/usb/core/hub.c connect_type = hub->ports[udev->portnum - 1]->connect_type; portnum 5710 drivers/usb/core/hub.c int port1 = udev->portnum; portnum 5888 drivers/usb/core/hub.c port_dev = hub->ports[udev->portnum - 1]; portnum 103 drivers/usb/core/hub.h u8 portnum; portnum 26 drivers/usb/core/ledtrig-usbport.c int portnum; portnum 50 drivers/usb/core/ledtrig-usbport.c usb_dev->portnum == port->portnum) portnum 185 drivers/usb/core/ledtrig-usbport.c const char *hub_name, int portnum) portnum 200 drivers/usb/core/ledtrig-usbport.c port->portnum = portnum; portnum 202 drivers/usb/core/ledtrig-usbport.c portnum); portnum 210 drivers/usb/core/ledtrig-usbport.c snprintf(port->port_name, len, "%s-port%d", hub_name, portnum); portnum 199 drivers/usb/core/port.c int port1 = port_dev->portnum; portnum 257 drivers/usb/core/port.c int port1 = port_dev->portnum; portnum 511 drivers/usb/core/port.c upstream = parent_hub->ports[hdev->portnum - 1]; portnum 548 drivers/usb/core/port.c port_dev->portnum = port1; portnum 161 drivers/usb/core/usb-acpi.c port_dev->portnum); portnum 164 drivers/usb/core/usb-acpi.c udev->portnum); portnum 169 drivers/usb/core/usb-acpi.c port1 = port_dev->portnum; portnum 220 drivers/usb/core/usb-acpi.c port_dev = hub->ports[udev->portnum - 1]; portnum 555 drivers/usb/core/usb.c return hub->ports[dev->portnum - 1]->connect_type == portnum 675 drivers/usb/core/usb.c dev->portnum = port1; portnum 302 drivers/usb/host/ehci-hcd.c static int ehci_port_power(struct ehci_hcd *ehci, int portnum, bool enable); portnum 535 drivers/usb/host/ehci-hub.c static void set_owner(struct ehci_hcd *ehci, int portnum, int new_owner) portnum 541 drivers/usb/host/ehci-hub.c status_reg = &ehci->regs->port_status[portnum]; portnum 1315 drivers/usb/host/ehci-hub.c static void ehci_relinquish_port(struct usb_hcd *hcd, int portnum) portnum 1321 drivers/usb/host/ehci-hub.c set_owner(ehci, --portnum, PORT_OWNER); portnum 1324 drivers/usb/host/ehci-hub.c static int ehci_port_handed_over(struct usb_hcd *hcd, int portnum) portnum 1331 drivers/usb/host/ehci-hub.c reg = &ehci->regs->port_status[portnum - 1]; portnum 1335 drivers/usb/host/ehci-hub.c static int ehci_port_power(struct ehci_hcd *ehci, int portnum, bool enable) portnum 1338 drivers/usb/host/ehci-hub.c u32 __iomem *status_reg = &ehci->regs->port_status[portnum]; portnum 1347 drivers/usb/host/ehci-hub.c hcd->driver->port_power(hcd, portnum, enable); portnum 42 drivers/usb/host/ehci-sysfs.c int portnum, new_owner; portnum 46 drivers/usb/host/ehci-sysfs.c if (sscanf(buf, "%d", &portnum) != 1) portnum 48 drivers/usb/host/ehci-sysfs.c if (portnum < 0) { portnum 49 drivers/usb/host/ehci-sysfs.c portnum = - portnum; portnum 52 drivers/usb/host/ehci-sysfs.c if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params)) portnum 54 drivers/usb/host/ehci-sysfs.c portnum--; portnum 56 drivers/usb/host/ehci-sysfs.c set_bit(portnum, &ehci->companion_ports); portnum 58 drivers/usb/host/ehci-sysfs.c clear_bit(portnum, &ehci->companion_ports); portnum 59 drivers/usb/host/ehci-sysfs.c set_owner(ehci, portnum, new_owner); portnum 36 drivers/usb/host/ehci-xilinx-of.c static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum) portnum 38 drivers/usb/host/ehci-xilinx-of.c dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum); portnum 876 drivers/usb/host/ehci.h int portnum, bool enable); portnum 1787 drivers/usb/host/fotg210-hcd.c int portnum) portnum 1793 drivers/usb/host/fotg210-hcd.c int portnum) portnum 934 drivers/usb/host/xhci-hub.c u32 portnum; portnum 940 drivers/usb/host/xhci-hub.c portnum = port->hcd_portnum; portnum 963 drivers/usb/host/xhci-hub.c bus_state->suspended_ports &= ~(1 << portnum); portnum 967 drivers/usb/host/xhci-hub.c if (bus_state->port_remote_wakeup & (1 << portnum) && portnum 970 drivers/usb/host/xhci-hub.c bus_state->port_remote_wakeup &= ~(1 << portnum); portnum 971 drivers/usb/host/xhci-hub.c usb_hcd_end_port_resume(&hcd->self, portnum); portnum 975 drivers/usb/host/xhci-hub.c xhci_del_comp_mod_timer(xhci, portsc, portnum); portnum 983 drivers/usb/host/xhci-hub.c u32 portnum; portnum 988 drivers/usb/host/xhci-hub.c portnum = port->hcd_portnum; portnum 1000 drivers/usb/host/xhci-hub.c bus_state->resume_done[portnum] = 0; portnum 1001 drivers/usb/host/xhci-hub.c clear_bit(portnum, &bus_state->resuming_ports); portnum 1002 drivers/usb/host/xhci-hub.c if (bus_state->suspended_ports & (1 << portnum)) { portnum 1003 drivers/usb/host/xhci-hub.c bus_state->suspended_ports &= ~(1 << portnum); portnum 1004 drivers/usb/host/xhci-hub.c bus_state->port_c_suspend |= 1 << portnum; portnum 1088 drivers/usb/host/xhci-mem.c return xhci_find_raw_port_number(hcd, top_dev->portnum); portnum 1152 drivers/usb/host/xhci-mem.c dev->fake_port = top_dev->portnum; portnum 1550 drivers/usb/host/xhci-ring.c usb_wakeup_notification(udev->parent, udev->portnum); portnum 215 drivers/usb/host/xhci-trace.h __field(u8, portnum) portnum 226 drivers/usb/host/xhci-trace.h __entry->portnum = vdev->udev->portnum; portnum 233 drivers/usb/host/xhci-trace.h __entry->portnum, __entry->level, __entry->slot_id portnum 521 drivers/usb/host/xhci-trace.h TP_PROTO(u32 portnum, u32 portsc), portnum 522 drivers/usb/host/xhci-trace.h TP_ARGS(portnum, portsc), portnum 524 drivers/usb/host/xhci-trace.h __field(u32, portnum) portnum 528 drivers/usb/host/xhci-trace.h __entry->portnum = portnum; portnum 532 drivers/usb/host/xhci-trace.h __entry->portnum, portnum 538 drivers/usb/host/xhci-trace.h TP_PROTO(u32 portnum, u32 portsc), portnum 539 drivers/usb/host/xhci-trace.h TP_ARGS(portnum, portsc) portnum 543 drivers/usb/host/xhci-trace.h TP_PROTO(u32 portnum, u32 portsc), portnum 544 drivers/usb/host/xhci-trace.h TP_ARGS(portnum, portsc) portnum 548 drivers/usb/host/xhci-trace.h TP_PROTO(u32 portnum, u32 portsc), portnum 549 drivers/usb/host/xhci-trace.h TP_ARGS(portnum, portsc) portnum 4407 drivers/usb/host/xhci.c port_num = udev->portnum - 1; portnum 4508 drivers/usb/host/xhci.c int portnum = udev->portnum - 1; portnum 4520 drivers/usb/host/xhci.c xhci, portnum, XHCI_HLC)) { portnum 4524 drivers/usb/host/xhci.c if (xhci_check_usb2_port_capability(xhci, portnum, portnum 28 drivers/usb/misc/ehset.c u8 portnum = dev->portnum; portnum 36 drivers/usb/misc/ehset.c (TEST_SE0_NAK << 8) | portnum, portnum 43 drivers/usb/misc/ehset.c (TEST_J << 8) | portnum, portnum 50 drivers/usb/misc/ehset.c (TEST_K << 8) | portnum, portnum 57 drivers/usb/misc/ehset.c (TEST_PACKET << 8) | portnum, portnum 65 drivers/usb/misc/ehset.c USB_PORT_FEAT_SUSPEND, portnum, portnum 73 drivers/usb/misc/ehset.c USB_PORT_FEAT_SUSPEND, portnum, portnum 106 drivers/usb/misc/ehset.c (6 << 8) | portnum, portnum 27 drivers/usb/misc/lvstest.c int portnum; portnum 54 drivers/usb/misc/lvstest.c udev = usb_alloc_dev(hdev, hdev->bus, lvs->portnum); portnum 116 drivers/usb/misc/lvstest.c ret = lvs_rh_set_port_feature(hdev, lvs->portnum, portnum 145 drivers/usb/misc/lvstest.c ret = lvs_rh_clear_port_feature(hdev, lvs->portnum, portnum 167 drivers/usb/misc/lvstest.c ret = lvs_rh_set_port_feature(hdev, lvs->portnum, portnum 186 drivers/usb/misc/lvstest.c ret = lvs_rh_set_port_feature(hdev, lvs->portnum, portnum 215 drivers/usb/misc/lvstest.c ret = lvs_rh_set_port_feature(hdev, lvs->portnum | (val << 8), portnum 244 drivers/usb/misc/lvstest.c ret = lvs_rh_set_port_feature(hdev, lvs->portnum | (val << 8), portnum 302 drivers/usb/misc/lvstest.c lvs->portnum | USB_SS_PORT_LS_COMP_MOD << 3, portnum 366 drivers/usb/misc/lvstest.c lvs->portnum = i; portnum 139 drivers/usb/renesas_usbhs/mod_host.c #define usbhsh_device_hubport(d) ((d)->usbv->portnum) portnum 69 drivers/usb/serial/keyspan.c u8 *prescaler, int portnum); portnum 73 drivers/usb/serial/keyspan.c u8 *prescaler, int portnum); portnum 77 drivers/usb/serial/keyspan.c u8 *prescaler, int portnum); portnum 81 drivers/usb/serial/keyspan.c u8 *prescaler, int portnum); portnum 197 drivers/usb/serial/keyspan.c int portnum); portnum 1861 drivers/usb/serial/keyspan.c u8 *rate_low, u8 *prescaler, int portnum) portnum 1902 drivers/usb/serial/keyspan.c u8 *rate_low, u8 *prescaler, int portnum) portnum 1938 drivers/usb/serial/keyspan.c u8 *rate_low, u8 *prescaler, int portnum) portnum 2002 drivers/usb/serial/keyspan.c u8 *rate_low, u8 *prescaler, int portnum) portnum 2024 drivers/usb/serial/keyspan.c if (portnum == 0) { portnum 2028 drivers/usb/serial/keyspan.c if (portnum == 1) { portnum 350 drivers/usb/usbip/stub_dev.c rc = usb_hub_claim_port(udev->parent, udev->portnum, portnum 428 drivers/usb/usbip/stub_dev.c rc = usb_hub_release_port(udev->parent, udev->portnum, portnum 689 drivers/usb/usbip/vhci_hcd.c u8 portnum = urb->dev->portnum; portnum 694 drivers/usb/usbip/vhci_hcd.c if (portnum > VHCI_HC_PORTS) { portnum 695 drivers/usb/usbip/vhci_hcd.c pr_err("invalid port number %d\n", portnum); portnum 698 drivers/usb/usbip/vhci_hcd.c vdev = &vhci_hcd->vdev[portnum-1]; portnum 198 include/linux/parport.h int portnum; /* which physical parallel port (not mux) */ portnum 662 include/linux/usb.h u8 portnum; portnum 411 include/linux/usb/hcd.h int (*port_power)(struct usb_hcd *hcd, int portnum, bool enable); portnum 509 include/linux/usb/hcd.h unsigned int portnum); portnum 511 include/linux/usb/hcd.h extern void usb_hcd_start_port_resume(struct usb_bus *bus, int portnum); portnum 512 include/linux/usb/hcd.h extern void usb_hcd_end_port_resume(struct usb_bus *bus, int portnum); portnum 268 sound/soc/bcm/cygnus-pcm.c switch (aio->portnum) { portnum 287 sound/soc/bcm/cygnus-pcm.c switch (aio->portnum) { portnum 328 sound/soc/bcm/cygnus-pcm.c clear_mask = BIT(aio->portnum); portnum 362 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s on port %d\n", __func__, aio->portnum); portnum 365 sound/soc/bcm/cygnus-pcm.c set_mask = BIT(aio->portnum); portnum 591 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); portnum 623 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); portnum 631 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "freed port %d\n", aio->portnum); portnum 644 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); portnum 658 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); portnum 675 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); portnum 265 sound/soc/bcm/cygnus-ssp.c writel(aio->portnum, portnum 269 sound/soc/bcm/cygnus-ssp.c value |= aio->portnum << I2S_OUT_STREAM_CFG_GROUP_ID; portnum 270 sound/soc/bcm/cygnus-ssp.c value |= aio->portnum; /* FCI ID is the port num */ portnum 285 sound/soc/bcm/cygnus-ssp.c value |= aio->portnum << I2S_IN_STREAM_CFG_0_GROUP_ID; portnum 290 sound/soc/bcm/cygnus-ssp.c fci_id = CAPTURE_FCI_ID_BASE + aio->portnum; portnum 301 sound/soc/bcm/cygnus-ssp.c value &= ~BIT((aio->portnum * 4) + AUD_MISC_SEROUT_SDAT_OE); portnum 305 sound/soc/bcm/cygnus-ssp.c writel(aio->portnum, aio->cygaud->audio + BF_SRC_GRP3_OFFSET); portnum 314 sound/soc/bcm/cygnus-ssp.c value |= aio->portnum; /* FCI ID is the port num */ portnum 421 sound/soc/bcm/cygnus-ssp.c "Port not supported %d\n", aio->portnum); portnum 447 sound/soc/bcm/cygnus-ssp.c value |= BIT(aio->portnum); portnum 458 sound/soc/bcm/cygnus-ssp.c value &= ~BIT(aio->portnum); portnum 467 sound/soc/bcm/cygnus-ssp.c value |= BIT(aio->portnum); portnum 469 sound/soc/bcm/cygnus-ssp.c value &= ~BIT(aio->portnum); portnum 484 sound/soc/bcm/cygnus-ssp.c "Port not supported %d\n", aio->portnum); portnum 630 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "%s port = %d\n", __func__, aio->portnum); portnum 724 sound/soc/bcm/cygnus-ssp.c "%s Enter port = %d\n", __func__, aio->portnum); portnum 918 sound/soc/bcm/cygnus-ssp.c mask = mask << (aio->portnum * 4); portnum 939 sound/soc/bcm/cygnus-ssp.c "%s cmd %d at port = %d\n", __func__, cmd, aio->portnum); portnum 1195 sound/soc/bcm/cygnus-ssp.c int portnum = -1; portnum 1203 sound/soc/bcm/cygnus-ssp.c portnum = rawval; portnum 1225 sound/soc/bcm/cygnus-ssp.c aio = &cygaud->portinfo[portnum]; portnum 1227 sound/soc/bcm/cygnus-ssp.c aio->portnum = portnum; portnum 1233 sound/soc/bcm/cygnus-ssp.c aio->regs = ssp_regs[portnum]; portnum 1234 sound/soc/bcm/cygnus-ssp.c *p_dai = cygnus_ssp_dai_info[portnum]; portnum 1253 sound/soc/bcm/cygnus-ssp.c dev_dbg(&pdev->dev, "%s portnum = %d\n", __func__, aio->portnum); portnum 92 sound/soc/bcm/cygnus-ssp.h int portnum; portnum 1029 sound/usb/midi.c int portnum = (port0 + i) & 15; portnum 1030 sound/usb/midi.c struct usbmidi_out_port *port = &ep->ports[portnum]; portnum 1039 sound/usb/midi.c if (portnum != ep->current_port) { portnum 1042 sound/usb/midi.c ep->current_port = portnum; portnum 1044 sound/usb/midi.c buf[1] = (portnum + 1) & 15; portnum 35 tools/usb/usbip/src/usbip_detach.c uint8_t portnum; portnum 49 tools/usb/usbip/src/usbip_detach.c portnum = atoi(port); portnum 61 tools/usb/usbip/src/usbip_detach.c if (idev->port == portnum) { portnum 77 tools/usb/usbip/src/usbip_detach.c snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", portnum); portnum 82 tools/usb/usbip/src/usbip_detach.c ret = usbip_vhci_detach_device(portnum); portnum 85 tools/usb/usbip/src/usbip_detach.c err("Port %d detach request failed!\n", portnum); portnum 88 tools/usb/usbip/src/usbip_detach.c info("Port %d is now detached!\n", portnum);