ports 314 arch/alpha/include/asm/core_marvel.h struct io7_port ports[IO7_NUM_PORTS]; ports 138 arch/alpha/include/asm/err_ev7.h struct ev7_pal_io_one_port ports[4]; ports 131 arch/alpha/kernel/core_marvel.c io7->ports[h].io7 = io7; ports 132 arch/alpha/kernel/core_marvel.c io7->ports[h].port = h; ports 133 arch/alpha/kernel/core_marvel.c io7->ports[h].enabled = 0; /* default to disabled */ ports 211 arch/alpha/kernel/core_marvel.c struct io7_port *io7_port = &io7->ports[port]; ports 355 arch/alpha/kernel/core_marvel.c io7->ports[i].enabled = 1; ports 406 arch/alpha/kernel/core_marvel.c hose = io7->ports[port].hose; ports 1088 arch/alpha/kernel/core_marvel.c if (!io7->ports[IO7_AGP_PORT].enabled) ports 1091 arch/alpha/kernel/core_marvel.c h = io7->ports[IO7_AGP_PORT].hose; ports 820 arch/alpha/kernel/err_marvel.c if (!io7->ports[i].enabled) ports 822 arch/alpha/kernel/err_marvel.c err_sum |= io7->ports[i].csrs->POx_ERR_SUM.csr; ports 857 arch/alpha/kernel/err_marvel.c io7_ioport_csrs *csrs = io7->ports[i].csrs; ports 859 arch/alpha/kernel/err_marvel.c if (!io7->ports[i].enabled) ports 862 arch/alpha/kernel/err_marvel.c io->ports[i].pox_err_sum = csrs->POx_ERR_SUM.csr; ports 863 arch/alpha/kernel/err_marvel.c io->ports[i].pox_tlb_err = csrs->POx_TLB_ERR.csr; ports 864 arch/alpha/kernel/err_marvel.c io->ports[i].pox_spl_cmplt = csrs->POx_SPL_COMPLT.csr; ports 865 arch/alpha/kernel/err_marvel.c io->ports[i].pox_trans_sum = csrs->POx_TRANS_SUM.csr; ports 866 arch/alpha/kernel/err_marvel.c io->ports[i].pox_first_err = csrs->POx_FIRST_ERR.csr; ports 867 arch/alpha/kernel/err_marvel.c io->ports[i].pox_mult_err = csrs->POx_MULT_ERR.csr; ports 868 arch/alpha/kernel/err_marvel.c io->ports[i].pox_dm_source = csrs->POx_DM_SOURCE.csr; ports 869 arch/alpha/kernel/err_marvel.c io->ports[i].pox_dm_dest = csrs->POx_DM_DEST.csr; ports 870 arch/alpha/kernel/err_marvel.c io->ports[i].pox_dm_size = csrs->POx_DM_SIZE.csr; ports 871 arch/alpha/kernel/err_marvel.c io->ports[i].pox_dm_ctrl = csrs->POx_DM_CTRL.csr; ports 881 arch/alpha/kernel/err_marvel.c csrs->POx_TLB_ERR.csr = io->ports[i].pox_tlb_err; ports 882 arch/alpha/kernel/err_marvel.c csrs->POx_ERR_SUM.csr = io->ports[i].pox_err_sum; ports 935 arch/alpha/kernel/err_marvel.c lf_subpackets->io->ports[0].pox_err_sum | ports 936 arch/alpha/kernel/err_marvel.c lf_subpackets->io->ports[1].pox_err_sum | ports 937 arch/alpha/kernel/err_marvel.c lf_subpackets->io->ports[2].pox_err_sum | ports 938 arch/alpha/kernel/err_marvel.c lf_subpackets->io->ports[3].pox_err_sum) & (1UL << 63))) { ports 989 arch/alpha/kernel/err_marvel.c if (!MARVEL_IO_ERR_VALID(io->ports[i].pox_err_sum)) ports 994 arch/alpha/kernel/err_marvel.c lf_subpackets->io_pid, i, io->ports[i].pox_err_sum); ports 995 arch/alpha/kernel/err_marvel.c marvel_print_pox_err(io->ports[i].pox_err_sum, &io->ports[i]); ports 998 arch/alpha/kernel/err_marvel.c err_print_prefix, io->ports[i].pox_first_err); ports 999 arch/alpha/kernel/err_marvel.c marvel_print_pox_err(io->ports[i].pox_first_err, ports 1000 arch/alpha/kernel/err_marvel.c &io->ports[i]); ports 106 arch/mips/alchemy/common/platform.c struct plat_serial8250_port *ports; ports 118 arch/mips/alchemy/common/platform.c ports = kcalloc(s, (c + 1), GFP_KERNEL); ports 119 arch/mips/alchemy/common/platform.c if (!ports) { ports 123 arch/mips/alchemy/common/platform.c memcpy(ports, au1x00_uart_data[ctype], s * c); ports 124 arch/mips/alchemy/common/platform.c au1xx0_uart_device.dev.platform_data = ports; ports 128 arch/mips/alchemy/common/platform.c ports[s].uartclk = uartclk; ports 126 arch/um/drivers/port_kern.c static LIST_HEAD(ports); ports 135 arch/um/drivers/port_kern.c list_for_each(ele, &ports) { ports 166 arch/um/drivers/port_kern.c list_for_each(ele, &ports) { ports 200 arch/um/drivers/port_kern.c list_add(&port->list, &ports); ports 296 arch/um/drivers/port_kern.c list_for_each(ele, &ports) { ports 427 drivers/ata/acard-ahci.c struct ata_port *ap = host->ports[i]; ports 968 drivers/ata/ahci.c struct ata_port *ap = host->ports[1]; ports 1390 drivers/ata/ahci.c struct ata_port *ap = host->ports[i]; ports 1825 drivers/ata/ahci.c struct ata_port *ap = host->ports[i]; ports 574 drivers/ata/ahci_xgene.c port_mmio = ahci_port_base(host->ports[i]); ports 1438 drivers/ata/ata_piix.c struct ata_link *link0 = &host->ports[0]->link; ports 1451 drivers/ata/ata_piix.c if (!(host->ports[0]->flags & PIIX_FLAG_SIDPR)) ports 1487 drivers/ata/ata_piix.c struct ata_port *ap = host->ports[i]; ports 1713 drivers/ata/ata_piix.c if (host->ports[0]->ops == &piix_sidpr_sata_ops) ports 1733 drivers/ata/ata_piix.c host->ports[0]->mwdma_mask = 0; ports 1734 drivers/ata/ata_piix.c host->ports[0]->udma_mask = 0; ports 1735 drivers/ata/ata_piix.c host->ports[1]->mwdma_mask = 0; ports 1736 drivers/ata/ata_piix.c host->ports[1]->udma_mask = 0; ports 1239 drivers/ata/libahci.c struct ata_port *ap = host->ports[i]; ports 1925 drivers/ata/libahci.c ap = host->ports[i]; ports 2546 drivers/ata/libahci.c struct ahci_port_priv *pp = host->ports[i]->private_data; ports 2556 drivers/ata/libahci.c 0, pp->irq_desc, host->ports[i]); ports 2560 drivers/ata/libahci.c ata_port_desc(host->ports[i], "irq %d", irq); ports 628 drivers/ata/libahci_platform.c struct ata_port *ap = host->ports[i]; ports 690 drivers/ata/libahci_platform.c struct ata_port *ap = host->ports[i]; ports 266 drivers/ata/libata-acpi.c struct ata_port *ap = host->ports[i]; ports 6064 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 6084 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 6089 drivers/ata/libata-core.c host->ports[i] = NULL; ports 6164 drivers/ata/libata-core.c host->ports[i] = ap; ports 6206 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 6295 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 6383 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 6404 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 6426 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 6543 drivers/ata/libata-core.c for (i = host->n_ports; host->ports[i]; i++) ports 6544 drivers/ata/libata-core.c kfree(host->ports[i]); ports 6548 drivers/ata/libata-core.c host->ports[i]->print_id = atomic_inc_return(&ata_print_id); ports 6549 drivers/ata/libata-core.c host->ports[i]->local_port_no = i + 1; ports 6554 drivers/ata/libata-core.c rc = ata_tport_add(host->dev,host->ports[i]); ports 6566 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 6594 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 6602 drivers/ata/libata-core.c ata_tport_delete(host->ports[i]); ports 6660 drivers/ata/libata-core.c ata_port_desc(host->ports[i], "irq %d", irq); ports 6739 drivers/ata/libata-core.c ata_port_detach(host->ports[i]); ports 6771 drivers/ata/libata-core.c struct ata_port *ap = host->ports[i]; ports 4530 drivers/ata/libata-scsi.c struct ata_port *ap = host->ports[i]; ports 4565 drivers/ata/libata-scsi.c struct Scsi_Host *shost = host->ports[i]->scsi_host; ports 1543 drivers/ata/libata-sff.c struct ata_port *ap = host->ports[i]; ports 1565 drivers/ata/libata-sff.c struct ata_port *ap = host->ports[i]; ports 2235 drivers/ata/libata-sff.c struct ata_port *ap = host->ports[i]; ports 2373 drivers/ata/libata-sff.c if (!ata_port_is_dummy(host->ports[0])) ports 2375 drivers/ata/libata-sff.c if (!ata_port_is_dummy(host->ports[1])) ports 2393 drivers/ata/libata-sff.c if (ata_port_is_dummy(host->ports[i])) ports 2395 drivers/ata/libata-sff.c ata_port_desc(host->ports[i], "irq %d", pdev->irq); ports 2398 drivers/ata/libata-sff.c if (!ata_port_is_dummy(host->ports[0])) { ports 2405 drivers/ata/libata-sff.c ata_port_desc(host->ports[0], "irq %d", ports 2409 drivers/ata/libata-sff.c if (!ata_port_is_dummy(host->ports[1])) { ports 2416 drivers/ata/libata-sff.c ata_port_desc(host->ports[1], "irq %d", ports 3124 drivers/ata/libata-sff.c host->ports[i]->mwdma_mask = 0; ports 3125 drivers/ata/libata-sff.c host->ports[i]->udma_mask = 0; ports 3169 drivers/ata/libata-sff.c struct ata_port *ap = host->ports[i]; ports 284 drivers/ata/pata_arasan_cf.c struct ata_port *ap = acdev->host->ports[0]; ports 848 drivers/ata/pata_arasan_cf.c ap = host->ports[0]; ports 911 drivers/ata/pata_arasan_cf.c struct arasan_cf_dev *acdev = host->ports[0]->private_data; ports 923 drivers/ata/pata_arasan_cf.c struct arasan_cf_dev *acdev = host->ports[0]->private_data; ports 935 drivers/ata/pata_arasan_cf.c struct arasan_cf_dev *acdev = host->ports[0]->private_data; ports 280 drivers/ata/pata_artop.c struct ata_port *alt = host->ports[1 ^ qc->ap->port_no]; ports 362 drivers/ata/pata_atp867x.c struct ata_port *ap = host->ports[0]; ports 434 drivers/ata/pata_atp867x.c struct ata_port *ap = host->ports[i]; ports 332 drivers/ata/pata_bk3710.c ap = host->ports[0]; ports 202 drivers/ata/pata_buddha.c struct ata_port *ap = host->ports[i]; ports 173 drivers/ata/pata_cs5520.c ioaddr = &host->ports[0]->ioaddr; ports 180 drivers/ata/pata_cs5520.c ata_port_desc(host->ports[0], ports 182 drivers/ata/pata_cs5520.c ata_port_pbar_desc(host->ports[0], 4, 0, "bmdma"); ports 184 drivers/ata/pata_cs5520.c ioaddr = &host->ports[1]->ioaddr; ports 191 drivers/ata/pata_cs5520.c ata_port_desc(host->ports[1], ports 193 drivers/ata/pata_cs5520.c ata_port_pbar_desc(host->ports[1], 4, 8, "bmdma"); ports 203 drivers/ata/pata_cs5520.c struct ata_port *ap = host->ports[i]; ports 965 drivers/ata/pata_ep93xx.c ap = host->ports[0]; ports 148 drivers/ata/pata_falcon.c ap = host->ports[0]; ports 518 drivers/ata/pata_ftide010.c struct ata_port *ap = ftide->host->ports[i]; ports 157 drivers/ata/pata_gayle.c ap = host->ports[0]; ports 315 drivers/ata/pata_hpt3x2n.c struct ata_port *alt = ap->host->ports[ap->port_no ^ 1]; ports 231 drivers/ata/pata_hpt3x3.c struct ata_port *ap = host->ports[i]; ports 463 drivers/ata/pata_icside.c struct ata_port *ap = host->ports[i]; ports 161 drivers/ata/pata_imx.c ap = host->ports[0]; ports 74 drivers/ata/pata_isapnp.c ap = host->ports[0]; ports 175 drivers/ata/pata_ixp4xx_cf.c ap = host->ports[0]; ports 972 drivers/ata/pata_legacy.c ap = host->ports[0]; ports 902 drivers/ata/pata_macio.c pata_macio_apply_timings(priv->host->ports[0], 0); ports 1094 drivers/ata/pata_macio.c pata_macio_setup_ios(&priv->host->ports[0]->ioaddr, ports 1096 drivers/ata/pata_macio.c priv->host->ports[0]->private_data = priv; ports 1100 drivers/ata/pata_macio.c pata_macio_apply_timings(priv->host->ports[0], 0); ports 1236 drivers/ata/pata_macio.c ap = host->ports[0]; ports 637 drivers/ata/pata_mpc52xx.c ap = host->ports[0]; ports 166 drivers/ata/pata_mpiix.c ap = host->ports[0]; ports 113 drivers/ata/pata_ninja32.c ap = host->ports[0]; ports 689 drivers/ata/pata_octeon_cf.c ap = host->ports[i]; ports 938 drivers/ata/pata_octeon_cf.c ap = host->ports[0]; ports 87 drivers/ata/pata_palmld.c ap = lda->host->ports[0]; ports 253 drivers/ata/pata_pcmcia.c ap = host->ports[p]; ports 732 drivers/ata/pata_pdc2027x.c struct ata_port *ap = host->ports[i]; ports 184 drivers/ata/pata_pdc202xx_old.c void __iomem *master = ap->host->ports[0]->ioaddr.bmdma_addr; ports 235 drivers/ata/pata_pdc202xx_old.c void __iomem *master = ap->host->ports[0]->ioaddr.bmdma_addr; ports 126 drivers/ata/pata_platform.c ap = host->ports[0]; ports 217 drivers/ata/pata_pxa.c ap = host->ports[0]; ports 299 drivers/ata/pata_pxa.c struct pata_pxa_data *data = host->ports[0]->private_data; ports 87 drivers/ata/pata_rb532_cf.c ap = ah->ports[0]; ports 535 drivers/ata/pata_samsung_cf.c ap = host->ports[0]; ports 180 drivers/ata/pata_sc1200.c struct ata_port *alt = host->ports[1 ^ qc->ap->port_no]; ports 384 drivers/ata/pata_sil680.c host->ports[0]->ioaddr.bmdma_addr = mmio_base + 0x00; ports 385 drivers/ata/pata_sil680.c host->ports[0]->ioaddr.cmd_addr = mmio_base + 0x80; ports 386 drivers/ata/pata_sil680.c host->ports[0]->ioaddr.ctl_addr = mmio_base + 0x8a; ports 387 drivers/ata/pata_sil680.c host->ports[0]->ioaddr.altstatus_addr = mmio_base + 0x8a; ports 388 drivers/ata/pata_sil680.c ata_sff_std_ports(&host->ports[0]->ioaddr); ports 389 drivers/ata/pata_sil680.c host->ports[1]->ioaddr.bmdma_addr = mmio_base + 0x08; ports 390 drivers/ata/pata_sil680.c host->ports[1]->ioaddr.cmd_addr = mmio_base + 0xc0; ports 391 drivers/ata/pata_sil680.c host->ports[1]->ioaddr.ctl_addr = mmio_base + 0xca; ports 392 drivers/ata/pata_sil680.c host->ports[1]->ioaddr.altstatus_addr = mmio_base + 0xca; ports 393 drivers/ata/pata_sil680.c ata_sff_std_ports(&host->ports[1]->ioaddr); ports 216 drivers/ata/pata_sl82c105.c struct ata_port *alt = host->ports[1 ^ qc->ap->port_no]; ports 414 drivers/ata/pdc_adma.c struct ata_port *ap = host->ports[port_no]; ports 464 drivers/ata/pdc_adma.c struct ata_port *ap = host->ports[port_no]; ports 572 drivers/ata/pdc_adma.c adma_reset_engine(host->ports[port_no]); ports 612 drivers/ata/pdc_adma.c struct ata_port *ap = host->ports[port_no]; ports 340 drivers/ata/sata_dwc_460ex.c ap = host->ports[port]; ports 521 drivers/ata/sata_dwc_460ex.c ap = host->ports[port]; ports 1232 drivers/ata/sata_dwc_460ex.c host->ports[0]->ioaddr.cmd_addr = base; ports 1233 drivers/ata/sata_dwc_460ex.c host->ports[0]->ioaddr.scr_addr = base + SATA_DWC_SCR_OFFSET; ports 1234 drivers/ata/sata_dwc_460ex.c sata_dwc_setup_port(&host->ports[0]->ioaddr, base); ports 1325 drivers/ata/sata_fsl.c ap = host->ports[0]; ports 1578 drivers/ata/sata_fsl.c struct ata_port *ap = host->ports[0]; ports 537 drivers/ata/sata_highbank.c struct ata_port *ap = host->ports[i]; ports 435 drivers/ata/sata_inic162x.c inic_host_intr(host->ports[i]); ports 858 drivers/ata/sata_inic162x.c struct ata_port *ap = host->ports[i]; ports 1588 drivers/ata/sata_mv.c struct ata_port *this_ap = host->ports[port]; ports 2892 drivers/ata/sata_mv.c struct ata_port *ap = host->ports[port]; ports 2965 drivers/ata/sata_mv.c ap = host->ports[i]; ports 3945 drivers/ata/sata_mv.c n_hc = mv_get_hc_count(host->ports[0]->flags); ports 3960 drivers/ata/sata_mv.c struct ata_port *ap = host->ports[port]; ports 4412 drivers/ata/sata_mv.c struct ata_port *ap = host->ports[port]; ports 720 drivers/ata/sata_nv.c port0 = ap->host->ports[0]->private_data; ports 721 drivers/ata/sata_nv.c port1 = ap->host->ports[1]->private_data; ports 878 drivers/ata/sata_nv.c struct ata_port *ap = host->ports[i]; ports 994 drivers/ata/sata_nv.c struct nv_adma_port_priv *pp = host->ports[0]->private_data; ports 996 drivers/ata/sata_nv.c pp = host->ports[1]->private_data; ports 1072 drivers/ata/sata_nv.c pp = ap->host->ports[0]->private_data; ports 1074 drivers/ata/sata_nv.c pp = ap->host->ports[1]->private_data; ports 1286 drivers/ata/sata_nv.c nv_adma_setup_port(host->ports[i]); ports 1448 drivers/ata/sata_nv.c struct ata_port *ap = host->ports[i]; ports 1473 drivers/ata/sata_nv.c handled += nv_host_intr(host->ports[i], irq_stat); ports 1487 drivers/ata/sata_nv.c irq_stat = ioread8(host->ports[0]->ioaddr.scr_addr + NV_INT_STATUS); ports 1560 drivers/ata/sata_nv.c void __iomem *scr_addr = ap->host->ports[0]->ioaddr.scr_addr; ports 1571 drivers/ata/sata_nv.c void __iomem *scr_addr = ap->host->ports[0]->ioaddr.scr_addr; ports 2295 drivers/ata/sata_nv.c struct ata_port *ap = host->ports[i]; ports 2366 drivers/ata/sata_nv.c host->ports[0]->ioaddr.scr_addr = base + NV_PORT0_SCR_REG_OFFSET; ports 2367 drivers/ata/sata_nv.c host->ports[1]->ioaddr.scr_addr = base + NV_PORT1_SCR_REG_OFFSET; ports 2420 drivers/ata/sata_nv.c pp = host->ports[0]->private_data; ports 2427 drivers/ata/sata_nv.c pp = host->ports[1]->private_data; ports 694 drivers/ata/sata_promise.c for (i = 0; i < nr_ports && host->ports[i] != ap; ++i) ports 941 drivers/ata/sata_promise.c if (host->ports[0]->flags & PDC_FLAG_GEN_II) { ports 966 drivers/ata/sata_promise.c is_sataii_tx4 = pdc_is_sataii_tx4(host->ports[0]->flags); ports 970 drivers/ata/sata_promise.c ap = host->ports[i]; ports 1115 drivers/ata/sata_promise.c int is_gen2 = host->ports[0]->flags & PDC_FLAG_GEN_II; ports 1219 drivers/ata/sata_promise.c struct ata_port *ap = host->ports[i]; ports 371 drivers/ata/sata_qstor.c struct ata_port *ap = host->ports[port_no]; ports 402 drivers/ata/sata_qstor.c struct ata_port *ap = host->ports[port_no]; ports 582 drivers/ata/sata_qstor.c struct ata_port *ap = host->ports[port_no]; ports 739 drivers/ata/sata_rcar.c ap = host->ports[0]; ports 756 drivers/ata/sata_rcar.c struct ata_port *ap = host->ports[0]; ports 515 drivers/ata/sata_sil.c struct ata_port *ap = host->ports[i]; ports 670 drivers/ata/sata_sil.c if (host->ports[0]->flags & SIL_FLAG_RERR_ON_DMA_ACT) { ports 767 drivers/ata/sata_sil.c struct ata_port *ap = host->ports[i]; ports 1160 drivers/ata/sata_sil24.c sil24_host_intr(host->ports[i]); ports 1231 drivers/ata/sata_sil24.c struct ata_port *ap = host->ports[i]; ports 270 drivers/ata/sata_sis.c struct ata_port *ap = host->ports[i]; ports 288 drivers/ata/sata_sis.c host->ports[0]->ioaddr.scr_addr = mmio; ports 289 drivers/ata/sata_sis.c host->ports[1]->ioaddr.scr_addr = mmio + port2_start; ports 320 drivers/ata/sata_svw.c index = (ap == ap->host->ports[0]) ? 0 : 1; ports 465 drivers/ata/sata_svw.c struct ata_port *ap = host->ports[i]; ports 815 drivers/ata/sata_sx4.c ap = host->ports[port_no]; ports 1461 drivers/ata/sata_sx4.c struct ata_port *ap = host->ports[i]; ports 176 drivers/ata/sata_uli.c ioaddr = &host->ports[2]->ioaddr; ports 185 drivers/ata/sata_uli.c ata_port_desc(host->ports[2], ports 191 drivers/ata/sata_uli.c ioaddr = &host->ports[3]->ioaddr; ports 200 drivers/ata/sata_uli.c ata_port_desc(host->ports[2], ports 478 drivers/ata/sata_via.c host->ports[0]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 0); ports 479 drivers/ata/sata_via.c host->ports[1]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 1); ports 506 drivers/ata/sata_via.c vt6421_init_addrs(host->ports[i]); ports 530 drivers/ata/sata_via.c ata_slave_link_init(host->ports[i]); ports 555 drivers/ata/sata_via.c svia_scr_read(&host->ports[0]->link, SCR_ERROR, &serror); ports 557 drivers/ata/sata_via.c ata_ehi_hotplugged(&host->ports[0]->link.eh_info); ports 558 drivers/ata/sata_via.c ata_port_freeze(host->ports[0]); ports 562 drivers/ata/sata_via.c svia_scr_read(&host->ports[1]->link, SCR_ERROR, &serror); ports 564 drivers/ata/sata_via.c ata_ehi_hotplugged(&host->ports[1]->link.eh_info); ports 565 drivers/ata/sata_via.c ata_port_freeze(host->ports[1]); ports 269 drivers/ata/sata_vsc.c vsc_port_intr(port_status, host->ports[i]); ports 362 drivers/ata/sata_vsc.c struct ata_port *ap = host->ports[i]; ports 383 drivers/bcma/driver_chipcommon.c struct bcma_serial_port *ports = cc->serial_ports; ports 414 drivers/bcma/driver_chipcommon.c ports[i].regs = cc->core->io_addr + BCMA_CC_UART0_DATA + ports 416 drivers/bcma/driver_chipcommon.c ports[i].irq = irq; ports 417 drivers/bcma/driver_chipcommon.c ports[i].baud_base = baud_base; ports 418 drivers/bcma/driver_chipcommon.c ports[i].reg_shift = 0; ports 284 drivers/bcma/scan.c u8 ports[2], wrappers[2]; ports 302 drivers/bcma/scan.c ports[0] = (cib & SCAN_CIB_NMP) >> SCAN_CIB_NMP_SHIFT; ports 303 drivers/bcma/scan.c ports[1] = (cib & SCAN_CIB_NSP) >> SCAN_CIB_NSP_SHIFT; ports 310 drivers/bcma/scan.c (ports[1] == 0)) { ports 352 drivers/bcma/scan.c for (i = 0; i < ports[0]; i++) { ports 377 drivers/bcma/scan.c for (i = 0; i < ports[1]; i++) { ports 412 drivers/bcma/scan.c u8 hack = (ports[1] == 1) ? 0 : 1; ports 113 drivers/bus/arm-cci.c static struct cci_ace_port *ports; ports 169 drivers/bus/arm-cci.c ace_match = ports[i].type == type; ports 170 drivers/bus/arm-cci.c if (ace_match && cci_portn == ports[i].dn) ports 235 drivers/bus/arm-cci.c void __iomem *base = ports[port].base; ports 417 drivers/bus/arm-cci.c if (port >= nb_cci_ports || ports[port].type == ACE_INVALID_PORT) ports 425 drivers/bus/arm-cci.c if (ports[port].type == ACE_PORT) ports 454 drivers/bus/arm-cci.c ports = kcalloc(nb_cci_ports, sizeof(*ports), GFP_KERNEL); ports 455 drivers/bus/arm-cci.c if (!ports) ports 482 drivers/bus/arm-cci.c ports[i].base = ioremap(res.start, resource_size(&res)); ports 483 drivers/bus/arm-cci.c ports[i].phys = res.start; ports 485 drivers/bus/arm-cci.c if (ret || !ports[i].base) { ports 493 drivers/bus/arm-cci.c ports[i].type = ACE_PORT; ports 498 drivers/bus/arm-cci.c ports[i].type = ACE_LITE_PORT; ports 501 drivers/bus/arm-cci.c ports[i].dn = cp; ports 520 drivers/bus/arm-cci.c sync_cache_w(&ports); ports 522 drivers/bus/arm-cci.c __sync_cache_range_w(ports, sizeof(*ports) * nb_cci_ports); ports 21 drivers/char/ipmi/ipmi_si_hardcode.c static unsigned int ports[SI_MAX_PARMS]; ports 44 drivers/char/ipmi/ipmi_si_hardcode.c module_param_hw_array(ports, uint, ioport, &num_ports, 0); ports 45 drivers/char/ipmi/ipmi_si_hardcode.c MODULE_PARM_DESC(ports, "Sets the port address of each interface, the" ports 140 drivers/char/ipmi/ipmi_si_hardcode.c if (i < num_ports && ports[i]) ports 141 drivers/char/ipmi/ipmi_si_hardcode.c ipmi_hardcode_init_one(si_type[i], i, ports[i], ports 165 drivers/char/ipmi/ipmi_si_hardcode.c if (ports[i] == addr) ports 133 drivers/char/virtio_console.c struct list_head ports; ports 268 drivers/char/virtio_console.c list_for_each_entry(port, &portdev->ports, list) { ports 305 drivers/char/virtio_console.c list_for_each_entry(port, &portdev->ports, list) ports 322 drivers/char/virtio_console.c list_for_each_entry(port, &portdev->ports, list) ports 1451 drivers/char/virtio_console.c list_add_tail(&port->list, &port->portdev->ports); ports 1972 drivers/char/virtio_console.c list_for_each_entry_safe(port, port2, &portdev->ports, list) ports 2054 drivers/char/virtio_console.c INIT_LIST_HEAD(&portdev->ports); ports 2158 drivers/char/virtio_console.c list_for_each_entry(port, &portdev->ports, list) { ports 2190 drivers/char/virtio_console.c list_for_each_entry(port, &portdev->ports, list) { ports 1174 drivers/crypto/chelsio/chcr_algo.c skb->dev = u_ctx->lldi.ports[0]; ports 1310 drivers/crypto/chelsio/chcr_algo.c if (unlikely(cxgb4_is_crypto_q_full(u_ctx->lldi.ports[0], ports 1323 drivers/crypto/chelsio/chcr_algo.c skb->dev = u_ctx->lldi.ports[0]; ports 1344 drivers/crypto/chelsio/chcr_algo.c if (unlikely(cxgb4_is_crypto_q_full(u_ctx->lldi.ports[0], ports 1355 drivers/crypto/chelsio/chcr_algo.c skb->dev = u_ctx->lldi.ports[0]; ports 1613 drivers/crypto/chelsio/chcr_algo.c if (unlikely(cxgb4_is_crypto_q_full(u_ctx->lldi.ports[0], ports 1660 drivers/crypto/chelsio/chcr_algo.c skb->dev = u_ctx->lldi.ports[0]; ports 1737 drivers/crypto/chelsio/chcr_algo.c skb->dev = u_ctx->lldi.ports[0]; ports 1763 drivers/crypto/chelsio/chcr_algo.c if (unlikely(cxgb4_is_crypto_q_full(u_ctx->lldi.ports[0], ports 1826 drivers/crypto/chelsio/chcr_algo.c skb->dev = u_ctx->lldi.ports[0]; ports 1856 drivers/crypto/chelsio/chcr_algo.c if (unlikely(cxgb4_is_crypto_q_full(u_ctx->lldi.ports[0], ports 1917 drivers/crypto/chelsio/chcr_algo.c skb->dev = u_ctx->lldi.ports[0]; ports 1979 drivers/crypto/chelsio/chcr_algo.c skb->dev = u_ctx->lldi.ports[0]; ports 3628 drivers/crypto/chelsio/chcr_algo.c if (cxgb4_is_crypto_q_full(u_ctx->lldi.ports[0], ports 3645 drivers/crypto/chelsio/chcr_algo.c skb->dev = u_ctx->lldi.ports[0]; ports 96 drivers/crypto/chelsio/chcr_ipsec.c netdev = lld->ports[i]; ports 127 drivers/crypto/chelsio/chtls/chtls.h struct net_device **ports; ports 88 drivers/crypto/chelsio/chtls/chtls_cm.c struct net_device *ndev = cdev->ports[0]; ports 170 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_ofld_send(cdev->lldi->ports[0], skb); ports 672 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_remove_server(cdev->lldi->ports[0], stid, ports 1263 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_ofld_send(cdev->lldi->ports[0], reply_skb); ports 1828 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_ofld_send(cdev->lldi->ports[0], reply_skb); ports 1862 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_ofld_send(cdev->lldi->ports[0], reply_skb); ports 1908 drivers/crypto/chelsio/chtls/chtls_cm.c cxgb4_ofld_send(cdev->lldi->ports[0], reply_skb); ports 1356 drivers/crypto/chelsio/chtls/chtls_io.c cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); ports 136 drivers/crypto/chelsio/chtls/chtls_main.c netdev = cdev->ports[i]; ports 189 drivers/crypto/chelsio/chtls/chtls_main.c strlcat(tlsdev->name, cdev->lldi->ports[0]->name, ports 249 drivers/crypto/chelsio/chtls/chtls_main.c cdev->ports = lldi->ports; ports 252 drivers/crypto/chelsio/chtls/chtls_main.c cdev->pfvf = FW_VIID_PFN_G(cxgb4_port_viid(lldi->ports[0])) ports 103 drivers/firewire/core-topology.c node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); ports 141 drivers/firewire/core-topology.c if (node->ports[i] == NULL) ports 144 drivers/firewire/core-topology.c if (node->ports[i]->max_hops > max_child_hops) ports 145 drivers/firewire/core-topology.c max_child_hops = node->ports[i]->max_hops; ports 147 drivers/firewire/core-topology.c if (node->ports[i]->max_depth > depths[0]) { ports 149 drivers/firewire/core-topology.c depths[0] = node->ports[i]->max_depth; ports 150 drivers/firewire/core-topology.c } else if (node->ports[i]->max_depth > depths[1]) ports 151 drivers/firewire/core-topology.c depths[1] = node->ports[i]->max_depth; ports 254 drivers/firewire/core-topology.c node->ports[i] = child; ports 259 drivers/firewire/core-topology.c child->ports[child->color] = node; ports 328 drivers/firewire/core-topology.c child = node->ports[i]; ports 394 drivers/firewire/core-topology.c tree = node1->ports[port]; ports 395 drivers/firewire/core-topology.c node0->ports[port] = tree; ports 397 drivers/firewire/core-topology.c if (tree->ports[i] == node1) { ports 398 drivers/firewire/core-topology.c tree->ports[i] = node0; ports 449 drivers/firewire/core-topology.c if (node0->ports[i] && node1->ports[i]) { ports 455 drivers/firewire/core-topology.c if (node0->ports[i]->color == card->color) ports 457 drivers/firewire/core-topology.c list_add_tail(&node0->ports[i]->link, &list0); ports 458 drivers/firewire/core-topology.c list_add_tail(&node1->ports[i]->link, &list1); ports 459 drivers/firewire/core-topology.c } else if (node0->ports[i]) { ports 467 drivers/firewire/core-topology.c for_each_fw_node(card, node0->ports[i], ports 469 drivers/firewire/core-topology.c node0->ports[i] = NULL; ports 470 drivers/firewire/core-topology.c } else if (node1->ports[i]) { ports 478 drivers/firewire/core-topology.c for_each_fw_node(card, node0->ports[i], ports 196 drivers/firewire/core.h struct fw_node *ports[0]; ports 183 drivers/gpio/gpio-104-dio-48e.c static const size_t ports[] = { 0, 1, 2, 4, 5, 6 }; ports 196 drivers/gpio/gpio-104-dio-48e.c for (i = 0; i < ARRAY_SIZE(ports); i++) { ports 214 drivers/gpio/gpio-104-dio-48e.c port_state = inb(dio48egpio->base + ports[i]); ports 89 drivers/gpio/gpio-104-idi-48.c static const size_t ports[] = { 0, 1, 2, 4, 5, 6 }; ports 102 drivers/gpio/gpio-104-idi-48.c for (i = 0; i < ARRAY_SIZE(ports); i++) { ports 120 drivers/gpio/gpio-104-idi-48.c port_state = inb(idi48gpio->base + ports[i]); ports 95 drivers/gpio/gpio-dwapb.c struct dwapb_gpio_port *ports; ports 131 drivers/gpio/gpio-dwapb.c struct gpio_chip *gc = &gpio->ports[0].gc; ports 140 drivers/gpio/gpio-dwapb.c struct gpio_chip *gc = &gpio->ports[0].gc; ports 160 drivers/gpio/gpio-dwapb.c port = &gpio->ports[i]; ports 225 drivers/gpio/gpio-dwapb.c struct gpio_chip *gc = &gpio->ports[0].gc; ports 240 drivers/gpio/gpio-dwapb.c struct gpio_chip *gc = &gpio->ports[0].gc; ports 255 drivers/gpio/gpio-dwapb.c struct gpio_chip *gc = &gpio->ports[0].gc; ports 271 drivers/gpio/gpio-dwapb.c struct gpio_chip *gc = &gpio->ports[0].gc; ports 280 drivers/gpio/gpio-dwapb.c struct gpio_chip *gc = &gpio->ports[0].gc; ports 330 drivers/gpio/gpio-dwapb.c struct dwapb_context *ctx = gpio->ports[0].ctx; ports 475 drivers/gpio/gpio-dwapb.c struct dwapb_gpio_port *port = &gpio->ports[0]; ports 498 drivers/gpio/gpio-dwapb.c port = &gpio->ports[offs]; ports 554 drivers/gpio/gpio-dwapb.c if (gpio->ports[m].is_registered) ports 555 drivers/gpio/gpio-dwapb.c gpiochip_remove(&gpio->ports[m].gc); ports 683 drivers/gpio/gpio-dwapb.c gpio->ports = devm_kcalloc(&pdev->dev, gpio->nr_ports, ports 684 drivers/gpio/gpio-dwapb.c sizeof(*gpio->ports), GFP_KERNEL); ports 685 drivers/gpio/gpio-dwapb.c if (!gpio->ports) ports 748 drivers/gpio/gpio-dwapb.c struct gpio_chip *gc = &gpio->ports[0].gc; ports 755 drivers/gpio/gpio-dwapb.c unsigned int idx = gpio->ports[i].idx; ports 756 drivers/gpio/gpio-dwapb.c struct dwapb_context *ctx = gpio->ports[i].ctx; ports 792 drivers/gpio/gpio-dwapb.c struct gpio_chip *gc = &gpio->ports[0].gc; ports 802 drivers/gpio/gpio-dwapb.c unsigned int idx = gpio->ports[i].idx; ports 803 drivers/gpio/gpio-dwapb.c struct dwapb_context *ctx = gpio->ports[i].ctx; ports 172 drivers/gpio/gpio-gpio-mm.c static const size_t ports[] = { 0, 1, 2, 4, 5, 6 }; ports 185 drivers/gpio/gpio-gpio-mm.c for (i = 0; i < ARRAY_SIZE(ports); i++) { ports 203 drivers/gpio/gpio-gpio-mm.c port_state = inb(gpiommgpio->base + ports[i]); ports 111 drivers/gpio/gpio-pci-idio-16.c void __iomem *ports[] = { ports 120 drivers/gpio/gpio-pci-idio-16.c for (i = 0; i < ARRAY_SIZE(ports); i++) { ports 138 drivers/gpio/gpio-pci-idio-16.c port_state = ioread8(ports[i]); ports 209 drivers/gpio/gpio-pcie-idio-24.c void __iomem *ports[] = { ports 220 drivers/gpio/gpio-pcie-idio-24.c for (i = 0; i < ARRAY_SIZE(ports) + 1; i++) { ports 239 drivers/gpio/gpio-pcie-idio-24.c port_state = ioread8(ports[i]); ports 304 drivers/gpio/gpio-pcie-idio-24.c void __iomem *ports[] = { ports 316 drivers/gpio/gpio-pcie-idio-24.c for (i = 0; i < ARRAY_SIZE(ports); i++) { ports 330 drivers/gpio/gpio-pcie-idio-24.c out_state = ioread8(ports[i]) & ~gpio_mask; ports 332 drivers/gpio/gpio-pcie-idio-24.c iowrite8(out_state, ports[i]); ports 53 drivers/gpio/gpio-tegra186.c const struct tegra_gpio_port *ports; ports 75 drivers/gpio/gpio-tegra186.c const struct tegra_gpio_port *port = &gpio->soc->ports[i]; ports 229 drivers/gpio/gpio-tegra186.c offset += gpio->soc->ports[i].pins; ports 344 drivers/gpio/gpio-tegra186.c const struct tegra_gpio_port *port = &gpio->soc->ports[i]; ports 391 drivers/gpio/gpio-tegra186.c offset += gpio->soc->ports[i].pins; ports 456 drivers/gpio/gpio-tegra186.c gpio->gpio.ngpio += gpio->soc->ports[i].pins; ports 464 drivers/gpio/gpio-tegra186.c const struct tegra_gpio_port *port = &gpio->soc->ports[i]; ports 507 drivers/gpio/gpio-tegra186.c const struct tegra_gpio_port *port = &gpio->soc->ports[i]; ports 565 drivers/gpio/gpio-tegra186.c .ports = tegra186_main_ports, ports 590 drivers/gpio/gpio-tegra186.c .ports = tegra186_aon_ports, ports 635 drivers/gpio/gpio-tegra186.c .ports = tegra194_main_ports, ports 657 drivers/gpio/gpio-tegra186.c .ports = tegra194_aon_ports, ports 459 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].input_port = 1; ports 461 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].peer_device_type = (raw->msg[idx] >> 4) & 0x7; ports 462 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].port_number = (raw->msg[idx] & 0xf); ports 467 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].mcs = (raw->msg[idx] >> 7) & 0x1; ports 468 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].ddps = (raw->msg[idx] >> 6) & 0x1; ports 469 drivers/gpu/drm/drm_dp_mst_topology.c if (repmsg->u.link_addr.ports[i].input_port == 0) ports 470 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].legacy_device_plug_status = (raw->msg[idx] >> 5) & 0x1; ports 474 drivers/gpu/drm/drm_dp_mst_topology.c if (repmsg->u.link_addr.ports[i].input_port == 0) { ports 475 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].dpcd_revision = (raw->msg[idx]); ports 479 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(repmsg->u.link_addr.ports[i].peer_guid, &raw->msg[idx], 16); ports 483 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].num_sdp_streams = (raw->msg[idx] >> 4) & 0xf; ports 484 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].num_sdp_stream_sinks = (raw->msg[idx] & 0xf); ports 918 drivers/gpu/drm/drm_dp_mst_topology.c INIT_LIST_HEAD(&mstb->ports); ports 1120 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry_safe(port, tmp, &mstb->ports, next) { ports 1354 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry(port, &mstb->ports, next) { ports 1389 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry(port, &mstb->ports, next) { ports 1426 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry(port, &mstb->ports, next) { ports 1670 drivers/gpu/drm/drm_dp_mst_topology.c list_add(&port->next, &mstb->ports); ports 1781 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry(port, &mstb->ports, next) { ports 1812 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry(port, &mstb->ports, next) { ports 1854 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry(port, &mstb->ports, next) { ports 2133 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].input_port, ports 2134 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].peer_device_type, ports 2135 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].port_number, ports 2136 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].dpcd_revision, ports 2137 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].mcs, ports 2138 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].ddps, ports 2139 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].legacy_device_plug_status, ports 2140 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].num_sdp_streams, ports 2141 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].num_sdp_stream_sinks); ports 2147 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_add_port(mstb, mgr->dev, &txmsg->reply.u.link_addr.ports[i]); ports 3620 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry(port, &mstb->ports, next) { ports 86 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 93 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 103 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 109 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 318 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 324 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 336 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 353 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 481 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 502 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 510 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 518 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 535 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 634 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 714 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 725 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 756 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 809 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 832 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 840 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 859 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 871 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 878 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 894 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 929 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 999 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1072 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1108 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1122 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1131 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1148 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1169 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1181 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1281 drivers/gpu/drm/i915/display/icl_dsi.c if (intel_dsi->ports == BIT(PORT_B)) ports 1315 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1616 drivers/gpu/drm/i915/display/icl_dsi.c intel_dsi->ports = BIT(PORT_A) | BIT(PORT_B); ports 1618 drivers/gpu/drm/i915/display/icl_dsi.c intel_dsi->ports = BIT(port); ports 1623 drivers/gpu/drm/i915/display/icl_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 55 drivers/gpu/drm/i915/display/intel_dsi.h u16 ports; /* VLV DSI */ ports 161 drivers/gpu/drm/i915/display/intel_dsi.h return enc_to_intel_dsi(&encoder->base)->ports; ports 145 drivers/gpu/drm/i915/display/intel_dsi_vbt.c if (intel_dsi->ports == (1 << PORT_C)) ports 668 drivers/gpu/drm/i915/display/intel_dsi_vbt.c for_each_dsi_port(port, intel_dsi->ports) { ports 300 drivers/gpu/drm/i915/display/vlv_dsi.c if (intel_dsi->ports == BIT(PORT_C)) ports 331 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 342 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 352 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 359 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 375 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 386 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 424 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 431 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 448 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 455 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 483 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 524 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 532 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 539 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 559 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 566 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 586 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 634 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 650 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 660 drivers/gpu/drm/i915/display/vlv_dsi.c if (intel_dsi->ports == (BIT(PORT_A) | BIT(PORT_C))) { ports 687 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 826 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) ports 832 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) ports 868 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) ports 896 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) ports 980 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1054 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1264 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1336 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1396 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1516 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 1880 drivers/gpu/drm/i915/display/vlv_dsi.c intel_dsi->ports = BIT(PORT_A) | BIT(PORT_C); ports 1882 drivers/gpu/drm/i915/display/vlv_dsi.c intel_dsi->ports = BIT(port); ports 1888 drivers/gpu/drm/i915/display/vlv_dsi.c for_each_dsi_port(port, intel_dsi->ports) { ports 133 drivers/gpu/drm/i915/display/vlv_dsi_pll.c if (intel_dsi->ports & (1 << PORT_A)) ports 136 drivers/gpu/drm/i915/display/vlv_dsi_pll.c if (intel_dsi->ports & (1 << PORT_C)) ports 518 drivers/gpu/drm/i915/display/vlv_dsi_pll.c for_each_dsi_port(port, intel_dsi->ports) ports 712 drivers/gpu/drm/i915/gt/intel_lrc.c struct i915_request * const *ports) ports 719 drivers/gpu/drm/i915/gt/intel_lrc.c ports[0]->fence.context, ports 720 drivers/gpu/drm/i915/gt/intel_lrc.c ports[0]->fence.seqno, ports 721 drivers/gpu/drm/i915/gt/intel_lrc.c i915_request_completed(ports[0]) ? "!" : ports 722 drivers/gpu/drm/i915/gt/intel_lrc.c i915_request_started(ports[0]) ? "*" : ports 724 drivers/gpu/drm/i915/gt/intel_lrc.c ports[1] ? ports[1]->fence.context : 0, ports 725 drivers/gpu/drm/i915/gt/intel_lrc.c ports[1] ? ports[1]->fence.seqno : 0); ports 42 drivers/gpu/drm/i915/gvt/display.h (&(vgpu->display.ports[port])) ports 129 drivers/gpu/drm/i915/gvt/gvt.h struct intel_vgpu_port ports[I915_MAX_PORTS]; ports 935 drivers/gpu/drm/i915/gvt/handlers.c port = &display->ports[port_index]; ports 76 drivers/gpu/drm/i915/intel_sideband.c void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports) ports 78 drivers/gpu/drm/i915/intel_sideband.c if (ports & BIT(VLV_IOSF_SB_PUNIT)) ports 84 drivers/gpu/drm/i915/intel_sideband.c void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports) ports 88 drivers/gpu/drm/i915/intel_sideband.c if (ports & BIT(VLV_IOSF_SB_PUNIT)) ports 28 drivers/gpu/drm/i915/intel_sideband.h void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports); ports 32 drivers/gpu/drm/i915/intel_sideband.h void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports); ports 40 drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h u8 ports; ports 47 drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h u8 ports; ports 186 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->code.ports = (reg >> 8) & 0xf; ports 187 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->data.ports = (reg >> 12) & 0xf; ports 75 drivers/gpu/drm/omapdrm/dss/dss.c const enum omap_display_type *ports; ports 1062 drivers/gpu/drm/omapdrm/dss/dss.c .ports = omap2plus_ports, ports 1076 drivers/gpu/drm/omapdrm/dss/dss.c .ports = omap34xx_ports, ports 1090 drivers/gpu/drm/omapdrm/dss/dss.c .ports = omap2plus_ports, ports 1104 drivers/gpu/drm/omapdrm/dss/dss.c .ports = omap2plus_ports, ports 1118 drivers/gpu/drm/omapdrm/dss/dss.c .ports = omap2plus_ports, ports 1132 drivers/gpu/drm/omapdrm/dss/dss.c .ports = omap2plus_ports, ports 1146 drivers/gpu/drm/omapdrm/dss/dss.c .ports = dra7xx_ports, ports 1167 drivers/gpu/drm/omapdrm/dss/dss.c switch (dss->feat->ports[i]) { ports 1200 drivers/gpu/drm/omapdrm/dss/dss.c switch (dss->feat->ports[i]) { ports 34 drivers/gpu/drm/rcar-du/rcar_du_encoder.c struct device_node *ports; ports 38 drivers/gpu/drm/rcar-du/rcar_du_encoder.c ports = of_get_child_by_name(node, "ports"); ports 39 drivers/gpu/drm/rcar-du/rcar_du_encoder.c if (!ports) ports 40 drivers/gpu/drm/rcar-du/rcar_du_encoder.c ports = of_node_get(node); ports 42 drivers/gpu/drm/rcar-du/rcar_du_encoder.c for_each_child_of_node(ports, port) { ports 47 drivers/gpu/drm/rcar-du/rcar_du_encoder.c of_node_put(ports); ports 183 drivers/gpu/drm/rockchip/cdn-dp-core.c for (i = 0; i < dp->ports; i++) { ports 198 drivers/gpu/drm/rockchip/cdn-dp-core.c if (dp->active_port < 0 || dp->active_port >= dp->ports) { ports 466 drivers/gpu/drm/rockchip/cdn-dp-core.c for (i = 0; i < dp->ports; i++) ports 516 drivers/gpu/drm/rockchip/cdn-dp-core.c for (i = port->id; i < dp->ports; i++) { ports 1062 drivers/gpu/drm/rockchip/cdn-dp-core.c for (i = 0; i < dp->ports; i++) { ports 1177 drivers/gpu/drm/rockchip/cdn-dp-core.c dp->port[dp->ports++] = port; ports 1180 drivers/gpu/drm/rockchip/cdn-dp-core.c if (!dp->ports) { ports 97 drivers/gpu/drm/rockchip/cdn-dp-core.h u8 ports; ports 656 drivers/hwmon/smsc47m1.c const u8 *ports; ports 661 drivers/hwmon/smsc47m1.c ports = ports_m1; ports 665 drivers/hwmon/smsc47m1.c ports = ports_m2; ports 671 drivers/hwmon/smsc47m1.c unsigned short start = address + ports[i]; ports 672 drivers/hwmon/smsc47m1.c unsigned short len = ports[i + 1]; ports 151 drivers/i2c/busses/i2c-fsi.c struct list_head ports; ports 682 drivers/i2c/busses/i2c-fsi.c u32 port_no, ports, stat; ports 691 drivers/i2c/busses/i2c-fsi.c INIT_LIST_HEAD(&i2c->ports); ports 701 drivers/i2c/busses/i2c-fsi.c ports = FIELD_GET(I2C_STAT_MAX_PORT, stat) + 1; ports 702 drivers/i2c/busses/i2c-fsi.c dev_dbg(dev, "I2C master has %d ports\n", ports); ports 704 drivers/i2c/busses/i2c-fsi.c for (port_no = 0; port_no < ports; port_no++) { ports 735 drivers/i2c/busses/i2c-fsi.c list_add(&port->list, &i2c->ports); ports 748 drivers/i2c/busses/i2c-fsi.c list_for_each_entry_safe(port, tmp, &i2c->ports, list) { ports 56 drivers/ide/ali14xx.c static const int ports[ALI_NUM_PORTS] __initconst = ports 158 drivers/ide/ali14xx.c basePort = ports[i]; ports 560 drivers/ide/au1xxx-ide.c auide_hwif.hwif = host->ports[0]; ports 145 drivers/ide/ide-cs.c hwif = host->ports[0]; ports 240 drivers/ide/ide-cs.c 'a' + host->ports[0]->index * 2, ports 258 drivers/ide/ide-cs.c ide_hwif_t *hwif = host->ports[0]; ports 1388 drivers/ide/ide-probe.c host->ports[i] = hwif; ports 1426 drivers/ide/ide-probe.c if (host->ports[i] == hwif) { ports 1427 drivers/ide/ide-probe.c host->ports[i] = NULL; ports 1078 drivers/ide/pmac.c hwif = pmif->hwif = host->ports[0]; ports 585 drivers/ide/tx4939ide.c host->ports[0]->extra_base = mapbase; ports 607 drivers/ide/tx4939ide.c ide_hwif_t *hwif = host->ports[0]; ports 55 drivers/infiniband/core/cma_configfs.c struct cma_dev_port_group *ports; ports 203 drivers/infiniband/core/cma_configfs.c struct cma_dev_port_group *ports; ports 212 drivers/infiniband/core/cma_configfs.c ports = kcalloc(ports_num, sizeof(*cma_dev_group->ports), ports 215 drivers/infiniband/core/cma_configfs.c if (!ports) { ports 223 drivers/infiniband/core/cma_configfs.c ports[i].port_num = i + 1; ports 225 drivers/infiniband/core/cma_configfs.c ports[i].cma_dev_group = cma_dev_group; ports 226 drivers/infiniband/core/cma_configfs.c config_group_init_type_name(&ports[i].group, ports 229 drivers/infiniband/core/cma_configfs.c configfs_add_default_group(&ports[i].group, ports 233 drivers/infiniband/core/cma_configfs.c cma_dev_group->ports = ports; ports 237 drivers/infiniband/core/cma_configfs.c kfree(ports); ports 238 drivers/infiniband/core/cma_configfs.c cma_dev_group->ports = NULL; ports 261 drivers/infiniband/core/cma_configfs.c kfree(cma_dev_group->ports); ports 262 drivers/infiniband/core/cma_configfs.c cma_dev_group->ports = NULL; ports 109 drivers/infiniband/core/user_mad.c struct ib_umad_port ports[]; ports 1143 drivers/infiniband/core/user_mad.c return &umad_dev->ports[port - rdma_start_port(ibdev)]; ports 1364 drivers/infiniband/core/user_mad.c umad_dev = kzalloc(struct_size(umad_dev, ports, e - s + 1), GFP_KERNEL); ports 1374 drivers/infiniband/core/user_mad.c &umad_dev->ports[i - s])) ports 1392 drivers/infiniband/core/user_mad.c ib_umad_kill_port(&umad_dev->ports[i - s]); ports 1410 drivers/infiniband/core/user_mad.c &umad_dev->ports[i - rdma_start_port(device)]); ports 212 drivers/infiniband/hw/cxgb4/cm.c error = cxgb4_l2t_send(rdev->lldi.ports[0], skb, l2e); ports 229 drivers/infiniband/hw/cxgb4/cm.c error = cxgb4_ofld_send(rdev->lldi.ports[0], skb); ports 401 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ports 558 drivers/infiniband/hw/cxgb4/cm.c cxgb4_clip_release(ep->com.dev->rdev.lldi.ports[0], ports 741 drivers/infiniband/hw/cxgb4/cm.c netdev = ep->com.dev->rdev.lldi.ports[0]; ports 820 drivers/infiniband/hw/cxgb4/cm.c cxgb4_clip_get(ep->com.dev->rdev.lldi.ports[0], ports 935 drivers/infiniband/hw/cxgb4/cm.c cxgb4_clip_release(ep->com.dev->rdev.lldi.ports[0], ports 1972 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ports 2327 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ports 2361 drivers/infiniband/hw/cxgb4/cm.c cxgb4_clip_release(ep->com.dev->rdev.lldi.ports[0], ports 2662 drivers/infiniband/hw/cxgb4/cm.c cxgb4_clip_get(child_ep->com.dev->rdev.lldi.ports[0], ports 2953 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ports 3239 drivers/infiniband/hw/cxgb4/cm.c ind = in_dev_get(dev->rdev.lldi.ports[0]); ports 3289 drivers/infiniband/hw/cxgb4/cm.c if (!get_lladdr(dev->rdev.lldi.ports[0], &addr, IFA_F_TENTATIVE)) { ports 3470 drivers/infiniband/hw/cxgb4/cm.c err = cxgb4_clip_get(ep->com.dev->rdev.lldi.ports[0], ports 3476 drivers/infiniband/hw/cxgb4/cm.c err = cxgb4_create_server6(ep->com.dev->rdev.lldi.ports[0], ports 3487 drivers/infiniband/hw/cxgb4/cm.c cxgb4_clip_release(ep->com.dev->rdev.lldi.ports[0], ports 3505 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ep->stid, ports 3519 drivers/infiniband/hw/cxgb4/cm.c err = cxgb4_create_server(ep->com.dev->rdev.lldi.ports[0], ports 3612 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ep->stid, ports 3618 drivers/infiniband/hw/cxgb4/cm.c ep->com.dev->rdev.lldi.ports[0], ep->stid, ports 3625 drivers/infiniband/hw/cxgb4/cm.c cxgb4_clip_release(ep->com.dev->rdev.lldi.ports[0], ports 3785 drivers/infiniband/hw/cxgb4/cm.c cxgb4_clip_release(ep->com.dev->rdev.lldi.ports[0], ports 4039 drivers/infiniband/hw/cxgb4/cm.c ret = cxgb4_ofld_send(dev->rdev.lldi.ports[0], req_skb); ports 4175 drivers/infiniband/hw/cxgb4/cm.c dev->rdev.lldi.ports[0], ports 102 drivers/infiniband/hw/cxgb4/device.c le.poll_sge_ts = cxgb4_read_sge_timestamp(wq->rdev->lldi.ports[0]); ports 383 drivers/infiniband/hw/cxgb4/device.c ret = cxgb4_read_tpte(stagd->devp->rdev.lldi.ports[0], (u32)id<<8, ports 1331 drivers/infiniband/hw/cxgb4/device.c if (cxgb4_dbfifo_count(ctx->dev->rdev.lldi.ports[0], 1) ports 1377 drivers/infiniband/hw/cxgb4/device.c ret = cxgb4_sync_txq_pidx(qp->rhp->rdev.lldi.ports[0], ports 1390 drivers/infiniband/hw/cxgb4/device.c ret = cxgb4_sync_txq_pidx(qp->rhp->rdev.lldi.ports[0], ports 1407 drivers/infiniband/hw/cxgb4/device.c while (cxgb4_dbfifo_count(qp->rhp->rdev.lldi.ports[0], 1) > 0) { ports 1427 drivers/infiniband/hw/cxgb4/device.c ret = cxgb4_flush_eq_cache(ctx->dev->rdev.lldi.ports[0]); ports 43 drivers/infiniband/hw/cxgb4/ev.c ret = cxgb4_read_tpte(dev->rdev.lldi.ports[0], stag, ports 258 drivers/infiniband/hw/cxgb4/provider.c memcpy(&(gid->raw[0]), dev->rdev.lldi.ports[port-1]->dev_addr, 6); ports 274 drivers/infiniband/hw/cxgb4/provider.c memcpy(&props->sys_image_guid, dev->rdev.lldi.ports[0]->dev_addr, 6); ports 343 drivers/infiniband/hw/cxgb4/provider.c struct net_device *lldev = c4iw_dev->rdev.lldi.ports[0]; ports 527 drivers/infiniband/hw/cxgb4/provider.c ret = ib_device_set_netdev(ib_dev, rdev->lldi.ports[i], ports 543 drivers/infiniband/hw/cxgb4/provider.c memcpy(&dev->ibdev.node_guid, dev->rdev.lldi.ports[0]->dev_addr, 6); ports 577 drivers/infiniband/hw/cxgb4/provider.c memcpy(dev->ibdev.iw_ifname, dev->rdev.lldi.ports[0]->name, ports 184 drivers/infiniband/hw/cxgb4/qp.c ret = cxgb4_bar2_sge_qregs(rdev->lldi.ports[0], qid, qtype, ports 719 drivers/infiniband/hw/cxgb4/qp.c cxgb4_read_sge_timestamp(qhp->rhp->rdev.lldi.ports[0]); ports 743 drivers/infiniband/hw/cxgb4/qp.c cxgb4_read_sge_timestamp(qhp->rhp->rdev.lldi.ports[0]); ports 1236 drivers/infiniband/hw/cxgb4/qp.c rhp->rdev.lldi.ports[0]); ports 1311 drivers/infiniband/hw/cxgb4/qp.c qhp->rhp->rdev.lldi.ports[0]); ports 454 drivers/infiniband/hw/cxgb4/restrack.c ret = cxgb4_read_tpte(dev->rdev.lldi.ports[0], stag, (__be32 *)&tpte); ports 2176 drivers/infiniband/hw/mlx4/mad.c if (!test_bit(port - 1, actv_ports.ports)) ports 3060 drivers/infiniband/hw/mlx4/main.c unsigned int ports; ports 3067 drivers/infiniband/hw/mlx4/main.c ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports); ports 3068 drivers/infiniband/hw/mlx4/main.c first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports); ports 3070 drivers/infiniband/hw/mlx4/main.c dm = kcalloc(ports, sizeof(*dm), GFP_ATOMIC); ports 3074 drivers/infiniband/hw/mlx4/main.c for (i = 0; i < ports; i++) { ports 3090 drivers/infiniband/hw/mlx4/main.c for (i = 0; i < ports; i++) ports 3095 drivers/infiniband/hw/mlx4/main.c for (i = 0; i < ports; i++) ports 737 drivers/infiniband/hw/mlx4/sysfs.c if (!test_bit(port - 1, actv_ports.ports)) ports 128 drivers/infiniband/hw/mlx5/gsi.c if (port_num > ARRAY_SIZE(dev->devr.ports) || port_num < 1) { ports 157 drivers/infiniband/hw/mlx5/gsi.c if (dev->devr.ports[port_num - 1].gsi) { ports 195 drivers/infiniband/hw/mlx5/gsi.c dev->devr.ports[init_attr->port_num - 1].gsi = gsi; ports 231 drivers/infiniband/hw/mlx5/gsi.c dev->devr.ports[port_num - 1].gsi = NULL; ports 4458 drivers/infiniband/hw/mlx5/main.c struct mlx5_ib_port_resources *ports = ports 4462 drivers/infiniband/hw/mlx5/main.c mutex_lock(&ports->devr->mutex); ports 4463 drivers/infiniband/hw/mlx5/main.c mlx5_ib_gsi_pkey_change(ports->gsi); ports 4464 drivers/infiniband/hw/mlx5/main.c mutex_unlock(&ports->devr->mutex); ports 4590 drivers/infiniband/hw/mlx5/main.c schedule_work(&ibdev->devr.ports[port - 1].pkey_change_work); ports 5037 drivers/infiniband/hw/mlx5/main.c for (port = 0; port < ARRAY_SIZE(devr->ports); ++port) { ports 5038 drivers/infiniband/hw/mlx5/main.c INIT_WORK(&devr->ports[port].pkey_change_work, ports 5040 drivers/infiniband/hw/mlx5/main.c devr->ports[port].devr = devr; ports 5082 drivers/infiniband/hw/mlx5/main.c for (port = 0; port < ARRAY_SIZE(devr->ports); ++port) ports 5083 drivers/infiniband/hw/mlx5/main.c cancel_work_sync(&devr->ports[port].pkey_change_work); ports 714 drivers/infiniband/hw/mlx5/mlx5_ib.h struct mlx5_ib_port_resources ports[2]; ports 110 drivers/infiniband/sw/rdmavt/mad.c rvp = rdi->ports[p]; ports 130 drivers/infiniband/sw/rdmavt/mad.c rvp = rdi->ports[p]; ports 156 drivers/infiniband/sw/rdmavt/mad.c rvp = rdi->ports[p]; ports 284 drivers/infiniband/sw/rdmavt/mcast.c struct rvt_ibport *ibp = rdi->ports[qp->port_num - 1]; ports 347 drivers/infiniband/sw/rdmavt/mcast.c struct rvt_ibport *ibp = rdi->ports[qp->port_num - 1]; ports 440 drivers/infiniband/sw/rdmavt/mcast.c if (rdi->ports[i]->mcast_tree.rb_node) ports 770 drivers/infiniband/sw/rdmavt/qp.c struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; ports 1418 drivers/infiniband/sw/rdmavt/qp.c struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; ports 2659 drivers/infiniband/sw/rdmavt/qp.c struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; ports 2775 drivers/infiniband/sw/rdmavt/qp.c rvp = rdi->ports[pidx]; ports 2982 drivers/infiniband/sw/rdmavt/qp.c rvp = rdi->ports[sqp->port_num - 1]; ports 98 drivers/infiniband/sw/rdmavt/vt.c rdi->ports = kcalloc(nports, ports 101 drivers/infiniband/sw/rdmavt/vt.c if (!rdi->ports) ports 116 drivers/infiniband/sw/rdmavt/vt.c kfree(rdi->ports); ports 166 drivers/infiniband/sw/rdmavt/vt.c rvp = rdi->ports[port_index]; ports 202 drivers/infiniband/sw/rdmavt/vt.c rvp = rdi->ports[port_index]; ports 279 drivers/infiniband/sw/rdmavt/vt.c rvp = rdi->ports[port_index]; ports 699 drivers/infiniband/sw/rdmavt/vt.c rdi->ports[port_index] = port; ports 700 drivers/infiniband/sw/rdmavt/vt.c rdi->ports[port_index]->pkey_table = pkey_table; ports 37 drivers/input/serio/ps2mult.c struct ps2mult_port ports[PS2MULT_NUM_PORTS]; ports 142 drivers/input/serio/ps2mult.c serio->port_data = &psm->ports[i]; ports 144 drivers/input/serio/ps2mult.c psm->ports[i].serio = serio; ports 158 drivers/input/serio/ps2mult.c ps2mult_select_port(psm, &psm->ports[PS2MULT_KBD_PORT]); ports 180 drivers/input/serio/ps2mult.c psm->ports[i].sel = ps2mult_controls[i]; ports 186 drivers/input/serio/ps2mult.c psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; ports 196 drivers/input/serio/ps2mult.c struct serio *s = psm->ports[i].serio; ports 206 drivers/input/serio/ps2mult.c kfree(psm->ports[i].serio); ports 272 drivers/input/serio/ps2mult.c psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; ports 277 drivers/input/serio/ps2mult.c psm->in_port = &psm->ports[PS2MULT_MOUSE_PORT]; ports 129 drivers/isdn/hardware/mISDN/hfc_multi.h int ports; ports 144 drivers/isdn/hardware/mISDN/hfc_multi.h int ports; ports 1532 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, hc->masterclk, hc->ports - 1); ports 2788 drivers/isdn/hardware/mISDN/hfcmulti.c for (i = 0; i < hc->ports; i++) { ports 3361 drivers/isdn/hardware/mISDN/hfcmulti.c hc->ports - 1); ports 3394 drivers/isdn/hardware/mISDN/hfcmulti.c hc->ports - 1); ports 4526 drivers/isdn/hardware/mISDN/hfcmulti.c if (pt >= hc->ports) { ports 4854 drivers/isdn/hardware/mISDN/hfcmulti.c if (hc->ports > 1) ports 5026 drivers/isdn/hardware/mISDN/hfcmulti.c hc->ports = m->ports; ports 5053 drivers/isdn/hardware/mISDN/hfcmulti.c hc->ports = pt; ports 5059 drivers/isdn/hardware/mISDN/hfcmulti.c hc->ports = 1; ports 5136 drivers/isdn/hardware/mISDN/hfcmulti.c for (pt = 0; pt < hc->ports; pt++) { ports 3067 drivers/media/pci/ddbridge/ddbridge-core.c __ATTR_RO(ports), ports 748 drivers/media/pci/saa7164/saa7164-api.c p = &dev->ports[SAA7164_PORT_ENC1]; ports 750 drivers/media/pci/saa7164/saa7164-api.c p = &dev->ports[SAA7164_PORT_ENC2]; ports 755 drivers/media/pci/saa7164/saa7164-api.c p = &dev->ports[SAA7164_PORT_ENC1]; ports 757 drivers/media/pci/saa7164/saa7164-api.c p = &dev->ports[SAA7164_PORT_ENC2]; ports 1071 drivers/media/pci/saa7164/saa7164-api.c tsport = &dev->ports[SAA7164_PORT_TS1]; ports 1073 drivers/media/pci/saa7164/saa7164-api.c tsport = &dev->ports[SAA7164_PORT_TS2]; ports 1083 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC1]; ports 1085 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC2]; ports 1095 drivers/media/pci/saa7164/saa7164-api.c vbiport = &dev->ports[SAA7164_PORT_VBI1]; ports 1097 drivers/media/pci/saa7164/saa7164-api.c vbiport = &dev->ports[SAA7164_PORT_VBI2]; ports 1145 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC1]; ports 1147 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC2]; ports 1176 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC1]; ports 1178 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC2]; ports 1195 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC1]; ports 1197 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC2]; ports 1215 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC1]; ports 1217 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC2]; ports 1281 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC1]; ports 1283 drivers/media/pci/saa7164/saa7164-api.c encport = &dev->ports[SAA7164_PORT_ENC2]; ports 623 drivers/media/pci/saa7164/saa7164-core.c porta = &dev->ports[SAA7164_PORT_TS1]; ports 624 drivers/media/pci/saa7164/saa7164-core.c portb = &dev->ports[SAA7164_PORT_TS2]; ports 625 drivers/media/pci/saa7164/saa7164-core.c portc = &dev->ports[SAA7164_PORT_ENC1]; ports 626 drivers/media/pci/saa7164/saa7164-core.c portd = &dev->ports[SAA7164_PORT_ENC2]; ports 627 drivers/media/pci/saa7164/saa7164-core.c porte = &dev->ports[SAA7164_PORT_VBI1]; ports 628 drivers/media/pci/saa7164/saa7164-core.c portf = &dev->ports[SAA7164_PORT_VBI2]; ports 902 drivers/media/pci/saa7164/saa7164-core.c port = &dev->ports[portnr]; ports 1333 drivers/media/pci/saa7164/saa7164-core.c if (saa7164_dvb_register(&dev->ports[SAA7164_PORT_TS1]) < 0) { ports 1340 drivers/media/pci/saa7164/saa7164-core.c if (saa7164_dvb_register(&dev->ports[SAA7164_PORT_TS2]) < 0) { ports 1347 drivers/media/pci/saa7164/saa7164-core.c if (saa7164_encoder_register(&dev->ports[SAA7164_PORT_ENC1]) < 0) { ports 1354 drivers/media/pci/saa7164/saa7164-core.c if (saa7164_encoder_register(&dev->ports[SAA7164_PORT_ENC2]) < 0) { ports 1361 drivers/media/pci/saa7164/saa7164-core.c if (saa7164_vbi_register(&dev->ports[SAA7164_PORT_VBI1]) < 0) { ports 1368 drivers/media/pci/saa7164/saa7164-core.c if (saa7164_vbi_register(&dev->ports[SAA7164_PORT_VBI2]) < 0) { ports 1422 drivers/media/pci/saa7164/saa7164-core.c saa7164_histogram_print(&dev->ports[SAA7164_PORT_ENC1], ports 1423 drivers/media/pci/saa7164/saa7164-core.c &dev->ports[SAA7164_PORT_ENC1].irq_interval); ports 1424 drivers/media/pci/saa7164/saa7164-core.c saa7164_histogram_print(&dev->ports[SAA7164_PORT_ENC1], ports 1425 drivers/media/pci/saa7164/saa7164-core.c &dev->ports[SAA7164_PORT_ENC1].svc_interval); ports 1426 drivers/media/pci/saa7164/saa7164-core.c saa7164_histogram_print(&dev->ports[SAA7164_PORT_ENC1], ports 1427 drivers/media/pci/saa7164/saa7164-core.c &dev->ports[SAA7164_PORT_ENC1].irq_svc_interval); ports 1428 drivers/media/pci/saa7164/saa7164-core.c saa7164_histogram_print(&dev->ports[SAA7164_PORT_ENC1], ports 1429 drivers/media/pci/saa7164/saa7164-core.c &dev->ports[SAA7164_PORT_ENC1].read_interval); ports 1430 drivers/media/pci/saa7164/saa7164-core.c saa7164_histogram_print(&dev->ports[SAA7164_PORT_ENC1], ports 1431 drivers/media/pci/saa7164/saa7164-core.c &dev->ports[SAA7164_PORT_ENC1].poll_interval); ports 1432 drivers/media/pci/saa7164/saa7164-core.c saa7164_histogram_print(&dev->ports[SAA7164_PORT_VBI1], ports 1433 drivers/media/pci/saa7164/saa7164-core.c &dev->ports[SAA7164_PORT_VBI1].read_interval); ports 1434 drivers/media/pci/saa7164/saa7164-core.c saa7164_histogram_print(&dev->ports[SAA7164_PORT_VBI2], ports 1435 drivers/media/pci/saa7164/saa7164-core.c &dev->ports[SAA7164_PORT_VBI2].poll_interval); ports 1440 drivers/media/pci/saa7164/saa7164-core.c saa7164_dvb_unregister(&dev->ports[SAA7164_PORT_TS1]); ports 1443 drivers/media/pci/saa7164/saa7164-core.c saa7164_dvb_unregister(&dev->ports[SAA7164_PORT_TS2]); ports 1446 drivers/media/pci/saa7164/saa7164-core.c saa7164_encoder_unregister(&dev->ports[SAA7164_PORT_ENC1]); ports 1449 drivers/media/pci/saa7164/saa7164-core.c saa7164_encoder_unregister(&dev->ports[SAA7164_PORT_ENC2]); ports 1452 drivers/media/pci/saa7164/saa7164-core.c saa7164_vbi_unregister(&dev->ports[SAA7164_PORT_VBI1]); ports 1455 drivers/media/pci/saa7164/saa7164-core.c saa7164_vbi_unregister(&dev->ports[SAA7164_PORT_VBI2]); ports 382 drivers/media/pci/saa7164/saa7164-encoder.c tsport = &dev->ports[SAA7164_PORT_TS1]; ports 384 drivers/media/pci/saa7164/saa7164-encoder.c tsport = &dev->ports[SAA7164_PORT_TS2]; ports 730 drivers/media/pci/saa7164/saa7164-vbi.c port->enc_port = &dev->ports[port->nr - 2]; ports 464 drivers/media/pci/saa7164/saa7164.h struct saa7164_port ports[SAA7164_MAX_PORTS]; ports 474 drivers/media/platform/exynos4-is/media-dev.c struct device_node *ports = NULL; ports 513 drivers/media/platform/exynos4-is/media-dev.c ports = of_get_child_by_name(parent, "parallel-ports"); ports 514 drivers/media/platform/exynos4-is/media-dev.c if (!ports) ports 517 drivers/media/platform/exynos4-is/media-dev.c for_each_child_of_node(ports, node) { ports 525 drivers/media/platform/exynos4-is/media-dev.c of_node_put(ports); ports 532 drivers/media/platform/exynos4-is/media-dev.c of_node_put(ports); ports 1585 drivers/media/platform/ti-vpe/cal.c struct device_node *ports; ports 1590 drivers/media/platform/ti-vpe/cal.c ports = of_get_child_by_name(parent, "ports"); ports 1591 drivers/media/platform/ti-vpe/cal.c if (ports) ports 1592 drivers/media/platform/ti-vpe/cal.c parent = ports; ports 1597 drivers/media/platform/ti-vpe/cal.c of_node_put(ports); ports 1599 drivers/media/platform/ti-vpe/cal.c struct device_node *ports; ports 1601 drivers/media/platform/ti-vpe/cal.c ports = of_get_parent(prev); ports 1602 drivers/media/platform/ti-vpe/cal.c if (!ports) ports 1606 drivers/media/platform/ti-vpe/cal.c port = of_get_next_child(ports, prev); ports 1608 drivers/media/platform/ti-vpe/cal.c of_node_put(ports); ports 1613 drivers/media/platform/ti-vpe/cal.c of_node_put(ports); ports 348 drivers/media/platform/video-mux.c unsigned int i, *ports; ports 351 drivers/media/platform/video-mux.c ports = kcalloc(num_input_pads, sizeof(*ports), GFP_KERNEL); ports 352 drivers/media/platform/video-mux.c if (!ports) ports 355 drivers/media/platform/video-mux.c ports[i] = i; ports 359 drivers/media/platform/video-mux.c ports, num_input_pads, video_mux_parse_endpoint); ports 361 drivers/media/platform/video-mux.c kfree(ports); ports 712 drivers/media/platform/xilinx/xilinx-tpg.c struct device_node *ports; ports 717 drivers/media/platform/xilinx/xilinx-tpg.c ports = of_get_child_by_name(node, "ports"); ports 718 drivers/media/platform/xilinx/xilinx-tpg.c if (ports == NULL) ports 719 drivers/media/platform/xilinx/xilinx-tpg.c ports = node; ports 721 drivers/media/platform/xilinx/xilinx-tpg.c for_each_child_of_node(ports, port) { ports 473 drivers/media/platform/xilinx/xilinx-vipp.c struct device_node *ports; ports 477 drivers/media/platform/xilinx/xilinx-vipp.c ports = of_get_child_by_name(xdev->dev->of_node, "ports"); ports 478 drivers/media/platform/xilinx/xilinx-vipp.c if (ports == NULL) { ports 483 drivers/media/platform/xilinx/xilinx-vipp.c for_each_child_of_node(ports, port) { ports 1167 drivers/media/v4l2-core/v4l2-fwnode.c unsigned int *ports, ports 1189 drivers/media/v4l2-core/v4l2-fwnode.c if (!ports) { ports 1199 drivers/media/v4l2-core/v4l2-fwnode.c ret = v4l2_async_notifier_parse_fwnode_endpoints_by_port(dev, notifier, asd_struct_size, ports[i], parse_endpoint); ports 143 drivers/net/appletalk/cops.c static unsigned int ports[] = { ports 243 drivers/net/appletalk/cops.c for (port = ports; *port && cops_probe1(dev, *port) < 0; port++) ports 100 drivers/net/arcnet/com90xx.c int ports[(0x3f0 - 0x200) / 16 + 1] = { 0 }; ports 127 drivers/net/arcnet/com90xx.c ports[numports++] = io; ports 130 drivers/net/arcnet/com90xx.c ports[numports++] = count; ports 141 drivers/net/arcnet/com90xx.c for (port = &ports[0]; port - ports < numports; port++) { ports 158 drivers/net/arcnet/com90xx.c *port-- = ports[--numports]; ports 167 drivers/net/arcnet/com90xx.c *port-- = ports[--numports]; ports 191 drivers/net/arcnet/com90xx.c for (port = &ports[0]; port < ports + numports; port++) { ports 271 drivers/net/arcnet/com90xx.c for (port = &ports[0]; port < ports + numports; port++) ports 300 drivers/net/arcnet/com90xx.c for (port = &ports[0]; port < ports + numports; port++) { ports 321 drivers/net/arcnet/com90xx.c *port-- = ports[--numports]; ports 334 drivers/net/arcnet/com90xx.c *port-- = ports[--numports]; ports 357 drivers/net/arcnet/com90xx.c *port-- = ports[--numports]; ports 420 drivers/net/arcnet/com90xx.c *port-- = ports[--numports]; ports 2635 drivers/net/bonding/bond_3ad.c ad_info->ports = __agg_active_ports(aggregator); ports 3263 drivers/net/bonding/bond_main.c fk->ports.ports = 0; ports 3284 drivers/net/bonding/bond_main.c fk->ports.ports = skb_flow_get_ports(skb, noff, proto); ports 3314 drivers/net/bonding/bond_main.c hash = (__force u32)flow.ports.ports; ports 665 drivers/net/bonding/bond_netlink.c info.ports)) ports 157 drivers/net/bonding/bond_procfs.c ad_info.ports); ports 521 drivers/net/bonding/bond_sysfs.c ? 0 : ad_info.ports); ports 527 drivers/net/dsa/b53/b53_common.c cpu_port = ds->ports[port].cpu_dp->index; ports 546 drivers/net/dsa/b53/b53_common.c pvlan |= dev->ports[port].vlan_ctl_mask; ports 552 drivers/net/dsa/b53/b53_common.c if (dev->ports[port].eee.eee_enabled) ports 800 drivers/net/dsa/b53/b53_common.c memset(priv->ports, 0, sizeof(*priv->ports) * priv->num_ports); ports 1067 drivers/net/dsa/b53/b53_common.c struct ethtool_eee *p = &dev->ports[port].eee; ports 1308 drivers/net/dsa/b53/b53_common.c dev->ports[port].pvid = pvid; ports 1312 drivers/net/dsa/b53/b53_common.c new_pvid = dev->ports[port].pvid; ports 1667 drivers/net/dsa/b53/b53_common.c s8 cpu_port = ds->ports[port].cpu_dp->index; ports 1694 drivers/net/dsa/b53/b53_common.c dev->ports[i].vlan_ctl_mask = reg; ports 1703 drivers/net/dsa/b53/b53_common.c dev->ports[port].vlan_ctl_mask = pvlan; ports 1713 drivers/net/dsa/b53/b53_common.c s8 cpu_port = ds->ports[port].cpu_dp->index; ports 1727 drivers/net/dsa/b53/b53_common.c dev->ports[port].vlan_ctl_mask = reg; ports 1735 drivers/net/dsa/b53/b53_common.c dev->ports[port].vlan_ctl_mask = pvlan; ports 1976 drivers/net/dsa/b53/b53_common.c struct ethtool_eee *p = &dev->ports[port].eee; ports 1993 drivers/net/dsa/b53/b53_common.c struct ethtool_eee *p = &dev->ports[port].eee; ports 2356 drivers/net/dsa/b53/b53_common.c dev->ports = devm_kcalloc(dev->dev, ports 2359 drivers/net/dsa/b53/b53_common.c if (!dev->ports) ports 143 drivers/net/dsa/b53/b53_priv.h struct b53_port *ports; ports 641 drivers/net/dsa/bcm_sf2.c struct ethtool_eee *p = &priv->dev->ports[port].eee; ports 672 drivers/net/dsa/bcm_sf2.c netif_carrier_off(ds->ports[port].slave); ports 738 drivers/net/dsa/bcm_sf2.c struct net_device *p = ds->ports[port].cpu_dp->master; ports 762 drivers/net/dsa/bcm_sf2.c struct net_device *p = ds->ports[port].cpu_dp->master; ports 764 drivers/net/dsa/bcm_sf2.c s8 cpu_port = ds->ports[port].cpu_dp->index; ports 1056 drivers/net/dsa/bcm_sf2.c struct device_node *ports; ports 1119 drivers/net/dsa/bcm_sf2.c ports = of_find_node_by_name(dn, "ports"); ports 1120 drivers/net/dsa/bcm_sf2.c if (ports) { ports 1121 drivers/net/dsa/bcm_sf2.c bcm_sf2_identify_ports(priv, ports); ports 1122 drivers/net/dsa/bcm_sf2.c of_node_put(ports); ports 263 drivers/net/dsa/bcm_sf2_cfp.c struct flow_dissector_key_ports *ports, ports 284 drivers/net/dsa/bcm_sf2_cfp.c reg = be16_to_cpu(ports->dst) >> 8; ports 295 drivers/net/dsa/bcm_sf2_cfp.c reg = (be16_to_cpu(ports->dst) & 0xff) << 24 | ports 296 drivers/net/dsa/bcm_sf2_cfp.c (u32)be16_to_cpu(ports->src) << 8 | ports 343 drivers/net/dsa/bcm_sf2_cfp.c struct flow_match_ports ports; ports 379 drivers/net/dsa/bcm_sf2_cfp.c flow_rule_match_ports(flow->rule, &ports); ports 434 drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_slice_ipv4(priv, ipv4.key, ports.key, slice_num, false); ports 435 drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_slice_ipv4(priv, ipv4.mask, ports.mask, SLICE_NUM_MASK, true); ports 607 drivers/net/dsa/bcm_sf2_cfp.c struct flow_match_ports ports; ports 672 drivers/net/dsa/bcm_sf2_cfp.c flow_rule_match_ports(flow->rule, &ports); ports 718 drivers/net/dsa/bcm_sf2_cfp.c ports.key->src, slice_num, false); ports 720 drivers/net/dsa/bcm_sf2_cfp.c ports.mask->src, SLICE_NUM_MASK, true); ports 778 drivers/net/dsa/bcm_sf2_cfp.c ports.key->dst, slice_num, false); ports 780 drivers/net/dsa/bcm_sf2_cfp.c ports.key->dst, SLICE_NUM_MASK, true); ports 824 drivers/net/dsa/bcm_sf2_cfp.c s8 cpu_port = ds->ports[port].cpu_dp->index; ports 1049 drivers/net/dsa/bcm_sf2_cfp.c struct net_device *p = ds->ports[port].cpu_dp->master; ports 1092 drivers/net/dsa/bcm_sf2_cfp.c struct net_device *p = ds->ports[port].cpu_dp->master; ports 57 drivers/net/dsa/dsa_loop.c struct dsa_loop_port ports[DSA_MAX_PORTS]; ports 77 drivers/net/dsa/dsa_loop.c memcpy(ps->ports[i].mib, dsa_loop_mibs, ports 104 drivers/net/dsa/dsa_loop.c ps->ports[port].mib[i].name, ETH_GSTRING_LEN); ports 114 drivers/net/dsa/dsa_loop.c data[i] = ps->ports[port].mib[i].val; ports 125 drivers/net/dsa/dsa_loop.c ps->ports[port].mib[DSA_LOOP_PHY_READ_ERR].val++; ports 127 drivers/net/dsa/dsa_loop.c ps->ports[port].mib[DSA_LOOP_PHY_READ_OK].val++; ports 141 drivers/net/dsa/dsa_loop.c ps->ports[port].mib[DSA_LOOP_PHY_WRITE_ERR].val++; ports 143 drivers/net/dsa/dsa_loop.c ps->ports[port].mib[DSA_LOOP_PHY_WRITE_OK].val++; ports 212 drivers/net/dsa/microchip/ksz8795.c struct ksz_port_mib *mib = &dev->ports[port].mib; ports 576 drivers/net/dsa/microchip/ksz8795.c if (dev->ports[p].fiber) ports 673 drivers/net/dsa/microchip/ksz8795.c dev->ports[port].member = member; ports 685 drivers/net/dsa/microchip/ksz8795.c p = &dev->ports[port]; ports 774 drivers/net/dsa/microchip/ksz8795.c p = &dev->ports[index]; ports 784 drivers/net/dsa/microchip/ksz8795.c p = &dev->ports[index]; ports 925 drivers/net/dsa/microchip/ksz8795.c struct ksz_port *p = &dev->ports[port]; ports 1004 drivers/net/dsa/microchip/ksz8795.c p = &dev->ports[dev->cpu_port]; ports 1012 drivers/net/dsa/microchip/ksz8795.c p = &dev->ports[i]; ports 1028 drivers/net/dsa/microchip/ksz8795.c p = &dev->ports[i]; ports 1255 drivers/net/dsa/microchip/ksz8795.c dev->ports = devm_kzalloc(dev->dev, sizeof(struct ksz_port) * i, ports 1257 drivers/net/dsa/microchip/ksz8795.c if (!dev->ports) ports 1260 drivers/net/dsa/microchip/ksz8795.c mutex_init(&dev->ports[i].mib.cnt_mutex); ports 1261 drivers/net/dsa/microchip/ksz8795.c dev->ports[i].mib.counters = ports 1266 drivers/net/dsa/microchip/ksz8795.c if (!dev->ports[i].mib.counters) ports 235 drivers/net/dsa/microchip/ksz9477.c struct ksz_port *p = &dev->ports[port]; ports 270 drivers/net/dsa/microchip/ksz9477.c struct ksz_port *p = &dev->ports[port]; ports 283 drivers/net/dsa/microchip/ksz9477.c struct ksz_port_mib *mib = &dev->ports[port].mib; ports 320 drivers/net/dsa/microchip/ksz9477.c struct ksz_port *p = &dev->ports[addr]; ports 393 drivers/net/dsa/microchip/ksz9477.c dev->ports[port].member = member; ports 400 drivers/net/dsa/microchip/ksz9477.c struct ksz_port *p = &dev->ports[port]; ports 1193 drivers/net/dsa/microchip/ksz9477.c struct ksz_port *p = &dev->ports[port]; ports 1321 drivers/net/dsa/microchip/ksz9477.c p = &dev->ports[dev->cpu_port]; ports 1332 drivers/net/dsa/microchip/ksz9477.c p = &dev->ports[i]; ports 1575 drivers/net/dsa/microchip/ksz9477.c dev->ports = devm_kzalloc(dev->dev, sizeof(struct ksz_port) * i, ports 1577 drivers/net/dsa/microchip/ksz9477.c if (!dev->ports) ports 1580 drivers/net/dsa/microchip/ksz9477.c mutex_init(&dev->ports[i].mib.cnt_mutex); ports 1581 drivers/net/dsa/microchip/ksz9477.c dev->ports[i].mib.counters = ports 1586 drivers/net/dsa/microchip/ksz9477.c if (!dev->ports[i].mib.counters) ports 31 drivers/net/dsa/microchip/ksz_common.c p = &dev->ports[i]; ports 45 drivers/net/dsa/microchip/ksz_common.c struct ksz_port_mib *mib = &dev->ports[port].mib; ports 79 drivers/net/dsa/microchip/ksz_common.c p = &dev->ports[i]; ports 150 drivers/net/dsa/microchip/ksz_common.c struct ksz_port *p = &dev->ports[port]; ports 184 drivers/net/dsa/microchip/ksz_common.c mib = &dev->ports[port].mib; ports 82 drivers/net/dsa/microchip/ksz_common.h struct ksz_port *ports; ports 673 drivers/net/dsa/mt7530.c priv->ports[port].pm |= PCR_MATRIX(BIT(MT7530_CPU_PORT)); ports 674 drivers/net/dsa/mt7530.c priv->ports[port].enable = true; ports 676 drivers/net/dsa/mt7530.c priv->ports[port].pm); ports 697 drivers/net/dsa/mt7530.c priv->ports[port].enable = false; ports 751 drivers/net/dsa/mt7530.c if (priv->ports[i].enable) ports 754 drivers/net/dsa/mt7530.c priv->ports[i].pm |= PCR_MATRIX(BIT(port)); ports 761 drivers/net/dsa/mt7530.c if (priv->ports[port].enable) ports 764 drivers/net/dsa/mt7530.c priv->ports[port].pm |= PCR_MATRIX(port_bitmap); ports 790 drivers/net/dsa/mt7530.c dsa_port_is_vlan_filtering(&ds->ports[i])) { ports 856 drivers/net/dsa/mt7530.c !dsa_port_is_vlan_filtering(&ds->ports[i])) { ports 859 drivers/net/dsa/mt7530.c if (priv->ports[i].enable) ports 862 drivers/net/dsa/mt7530.c priv->ports[i].pm &= ~PCR_MATRIX(BIT(port)); ports 869 drivers/net/dsa/mt7530.c if (priv->ports[port].enable) ports 872 drivers/net/dsa/mt7530.c priv->ports[port].pm = PCR_MATRIX(BIT(MT7530_CPU_PORT)); ports 1099 drivers/net/dsa/mt7530.c if (!dsa_port_is_vlan_filtering(&ds->ports[port])) ports 1113 drivers/net/dsa/mt7530.c priv->ports[port].pvid = vlan->vid_end; ports 1130 drivers/net/dsa/mt7530.c if (!dsa_port_is_vlan_filtering(&ds->ports[port])) ports 1135 drivers/net/dsa/mt7530.c pvid = priv->ports[port].pvid; ports 1149 drivers/net/dsa/mt7530.c priv->ports[port].pvid = pvid; ports 1186 drivers/net/dsa/mt7530.c dn = ds->ports[MT7530_CPU_PORT].master->dev.of_node->parent; ports 1272 drivers/net/dsa/mt7530.c interface = of_get_phy_mode(ds->ports[5].dn); ports 468 drivers/net/dsa/mt7530.h struct mt7530_port ports[MT7530_NUM_PORTS]; ports 973 drivers/net/dsa/mv88e6xxx/chip.c *data++ = chip->ports[port].atu_member_violation; ports 974 drivers/net/dsa/mv88e6xxx/chip.c *data++ = chip->ports[port].atu_miss_violation; ports 975 drivers/net/dsa/mv88e6xxx/chip.c *data++ = chip->ports[port].atu_full_violation; ports 976 drivers/net/dsa/mv88e6xxx/chip.c *data++ = chip->ports[port].vtu_member_violation; ports 977 drivers/net/dsa/mv88e6xxx/chip.c *data++ = chip->ports[port].vtu_miss_violation; ports 1078 drivers/net/dsa/mv88e6xxx/chip.c br = ds->ports[port].bridge_dev; ports 1405 drivers/net/dsa/mv88e6xxx/chip.c if (!ds->ports[i].slave) ports 1413 drivers/net/dsa/mv88e6xxx/chip.c ds->ports[port].bridge_dev) ports 2045 drivers/net/dsa/mv88e6xxx/chip.c if (chip->ds->ports[port].bridge_dev == br) { ports 2062 drivers/net/dsa/mv88e6xxx/chip.c if (ds->ports[port].bridge_dev == br) { ports 2285 drivers/net/dsa/mv88e6xxx/chip.c struct mv88e6xxx_port *dev_id = &chip->ports[port]; ports 2310 drivers/net/dsa/mv88e6xxx/chip.c struct mv88e6xxx_port *dev_id = &chip->ports[port]; ports 2396 drivers/net/dsa/mv88e6xxx/chip.c chip->ports[port].chip = chip; ports 2397 drivers/net/dsa/mv88e6xxx/chip.c chip->ports[port].port = port; ports 2669 drivers/net/dsa/mv88e6xxx/chip.c chip->ports[i].cmode = cmode; ports 317 drivers/net/dsa/mv88e6xxx/chip.h struct mv88e6xxx_port ports[DSA_MAX_PORTS]; ports 354 drivers/net/dsa/mv88e6xxx/global1_atu.c chip->ports[spid].atu_member_violation++; ports 361 drivers/net/dsa/mv88e6xxx/global1_atu.c chip->ports[spid].atu_miss_violation++; ports 368 drivers/net/dsa/mv88e6xxx/global1_atu.c chip->ports[spid].atu_full_violation++; ports 603 drivers/net/dsa/mv88e6xxx/global1_vtu.c chip->ports[spid].vtu_member_violation++; ports 609 drivers/net/dsa/mv88e6xxx/global1_vtu.c chip->ports[spid].vtu_miss_violation++; ports 431 drivers/net/dsa/mv88e6xxx/port.c if (cmode == chip->ports[port].cmode && !force) ports 436 drivers/net/dsa/mv88e6xxx/port.c if (chip->ports[port].serdes_irq) { ports 447 drivers/net/dsa/mv88e6xxx/port.c chip->ports[port].cmode = 0; ports 461 drivers/net/dsa/mv88e6xxx/port.c chip->ports[port].cmode = cmode; ports 471 drivers/net/dsa/mv88e6xxx/port.c if (chip->ports[port].serdes_irq) { ports 661 drivers/net/dsa/mv88e6xxx/port.c switch (chip->ports[port].cmode) { ports 734 drivers/net/dsa/mv88e6xxx/port.c u8 cmode = chip->ports[port].cmode; ports 75 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode = chip->ports[port].cmode; ports 160 drivers/net/dsa/mv88e6xxx/serdes.c struct mv88e6xxx_port *mv88e6xxx_port = &chip->ports[port]; ports 242 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode = chip->ports[port].cmode; ports 259 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode = chip->ports[port].cmode; ports 282 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode_port = chip->ports[port].cmode; ports 283 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode_port10 = chip->ports[10].cmode; ports 284 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode_port9 = chip->ports[9].cmode; ports 411 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode = chip->ports[port].cmode; ports 429 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode = chip->ports[port].cmode; ports 509 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode = chip->ports[port].cmode; ports 535 drivers/net/dsa/mv88e6xxx/serdes.c u8 cmode = chip->ports[port].cmode; ports 577 drivers/net/dsa/qca8k.c struct device_node *ports, *port; ports 580 drivers/net/dsa/qca8k.c ports = of_get_child_by_name(priv->dev->of_node, "ports"); ports 581 drivers/net/dsa/qca8k.c if (!ports) ports 584 drivers/net/dsa/qca8k.c for_each_available_child_of_node(ports, port) { ports 588 drivers/net/dsa/qca8k.c of_node_put(ports); ports 601 drivers/net/dsa/qca8k.c of_node_put(ports); ports 664 drivers/net/dsa/qca8k.c phy_mode = of_get_phy_mode(ds->ports[QCA8K_CPU_PORT].dn); ports 93 drivers/net/dsa/sja1105/sja1105.h struct sja1105_port ports[SJA1105_NUM_PORTS]; ports 139 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_dt_port *ports) ports 165 drivers/net/dsa/sja1105/sja1105_main.c switch (ports[i].phy_mode) { ports 180 drivers/net/dsa/sja1105/sja1105_main.c phy_modes(ports[i].phy_mode)); ports 183 drivers/net/dsa/sja1105/sja1105_main.c mii->phy_mac[i] = ports[i].role; ports 435 drivers/net/dsa/sja1105/sja1105_main.c priv->ports[i].mgmt_slot = k++; ports 544 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_dt_port *ports) ports 559 drivers/net/dsa/sja1105/sja1105_main.c rc = sja1105_init_mii_settings(priv, ports); ports 592 drivers/net/dsa/sja1105/sja1105_main.c const struct sja1105_dt_port *ports) ports 597 drivers/net/dsa/sja1105/sja1105_main.c if (ports[i].role == XMII_MAC) ports 600 drivers/net/dsa/sja1105/sja1105_main.c if (ports[i].phy_mode == PHY_INTERFACE_MODE_RGMII_RXID || ports 601 drivers/net/dsa/sja1105/sja1105_main.c ports[i].phy_mode == PHY_INTERFACE_MODE_RGMII_ID) ports 604 drivers/net/dsa/sja1105/sja1105_main.c if (ports[i].phy_mode == PHY_INTERFACE_MODE_RGMII_TXID || ports 605 drivers/net/dsa/sja1105/sja1105_main.c ports[i].phy_mode == PHY_INTERFACE_MODE_RGMII_ID) ports 616 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_dt_port *ports, ports 644 drivers/net/dsa/sja1105/sja1105_main.c ports[index].phy_mode = phy_mode; ports 657 drivers/net/dsa/sja1105/sja1105_main.c ports[index].role = XMII_PHY; ports 660 drivers/net/dsa/sja1105/sja1105_main.c ports[index].role = XMII_MAC; ports 666 drivers/net/dsa/sja1105/sja1105_main.c ports[index].role = XMII_MAC; ports 668 drivers/net/dsa/sja1105/sja1105_main.c ports[index].role = XMII_PHY; ports 675 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_dt_port *ports) ports 688 drivers/net/dsa/sja1105/sja1105_main.c rc = sja1105_parse_ports_node(priv, ports, ports_node); ports 1098 drivers/net/dsa/sja1105/sja1105_main.c if (dsa_port_is_vlan_filtering(&ds->ports[port])) { ports 1161 drivers/net/dsa/sja1105/sja1105_main.c if (dsa_port_is_vlan_filtering(&ds->ports[port])) { ports 1207 drivers/net/dsa/sja1105/sja1105_main.c if (!dsa_port_is_vlan_filtering(&ds->ports[port])) ports 1218 drivers/net/dsa/sja1105/sja1105_main.c if (!dsa_port_is_vlan_filtering(&ds->ports[port])) ports 1257 drivers/net/dsa/sja1105/sja1105_main.c if (!dsa_port_is_vlan_filtering(&ds->ports[port])) ports 1675 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_dt_port ports[SJA1105_NUM_PORTS]; ports 1679 drivers/net/dsa/sja1105/sja1105_main.c rc = sja1105_parse_dt(priv, ports); ports 1688 drivers/net/dsa/sja1105/sja1105_main.c rc = sja1105_parse_rgmii_delays(priv, ports); ports 1700 drivers/net/dsa/sja1105/sja1105_main.c rc = sja1105_static_config_load(priv, ports); ports 1750 drivers/net/dsa/sja1105/sja1105_main.c slave = ds->ports[port].slave; ports 1782 drivers/net/dsa/sja1105/sja1105_main.c dsa_enqueue_skb(skb, ds->ports[port].slave); ports 1823 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_port *sp = &priv->ports[port]; ports 1945 drivers/net/dsa/sja1105/sja1105_main.c priv->ports[port].hwts_tx_en = false; ports 1948 drivers/net/dsa/sja1105/sja1105_main.c priv->ports[port].hwts_tx_en = true; ports 1988 drivers/net/dsa/sja1105/sja1105_main.c if (priv->ports[port].hwts_tx_en) ports 2060 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_port *sp = &priv->ports[port]; ports 2215 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_port *sp = &priv->ports[i]; ports 2217 drivers/net/dsa/sja1105/sja1105_main.c ds->ports[i].priv = sp; ports 2218 drivers/net/dsa/sja1105/sja1105_main.c sp->dp = &ds->ports[i]; ports 364 drivers/net/ethernet/amd/ni65.c static const int ports[] = { 0x360, 0x300, 0x320, 0x340, 0 }; ports 385 drivers/net/ethernet/amd/ni65.c for (port = ports; *port && ni65_probe1(dev, *port); port++) ports 234 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h struct offload_port_info ports; ports 4660 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.src_port = keys->ports.src; ports 4662 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.dst_port = keys->ports.dst; ports 11025 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (keys1->ports.ports == keys2->ports.ports && ports 964 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->h_u.tcp_ip4_spec.psrc = fkeys->ports.src; ports 967 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->h_u.tcp_ip4_spec.pdst = fkeys->ports.dst; ports 987 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->h_u.tcp_ip6_spec.psrc = fkeys->ports.src; ports 990 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->h_u.tcp_ip6_spec.pdst = fkeys->ports.dst; ports 252 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_key.ports.dport = match.key->dst; ports 253 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.ports.dport = match.mask->dst; ports 254 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_key.ports.sport = match.key->src; ports 255 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.ports.sport = match.mask->src; ports 457 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_src_port = flow->l4_key.ports.sport; ports 458 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_src_port_mask = flow->l4_mask.ports.sport; ports 459 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_dst_port = flow->l4_key.ports.dport; ports 460 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_dst_port_mask = flow->l4_mask.ports.dport; ports 50 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h } ports; ports 697 drivers/net/ethernet/chelsio/cxgb3/common.h void t3_set_vlan_accel(struct adapter *adapter, unsigned int ports, int on); ports 380 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c struct adap_ports *ports; ports 429 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c ports = data; ports 430 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c ports->nports = adapter->params.nports; ports 432 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c ports->lldevs[i] = adapter->port[i]; ports 1403 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c void t3_set_vlan_accel(struct adapter *adapter, unsigned int ports, int on) ports 1406 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ports << S_VLANEXTRACTIONENABLE, ports 1407 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c on ? (ports << S_VLANEXTRACTIONENABLE) : 0); ports 659 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lld->ports = adap->port; ports 321 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h struct net_device **ports; /* device ports */ ports 85 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c if (lldi->ports[i] == egress_dev) ports 40 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.src_port = ntohs(keys->ports.src); ports 41 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.dst_port = ntohs(keys->ports.dst); ports 164 drivers/net/ethernet/cisco/enic/enic_clsf.c tpos->keys.ports.ports == k->ports.ports && ports 466 drivers/net/ethernet/cisco/enic/enic_ethtool.c fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; ports 469 drivers/net/ethernet/cisco/enic/enic_ethtool.c fsp->h_u.tcp_ip4_spec.pdst = n->keys.ports.dst; ports 6013 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tuples->dst_port = be16_to_cpu(fkeys->ports.dst); ports 434 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_remove_tunnel_port(struct list_head *ports, ports 439 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c list_for_each_entry(port, ports, list) { ports 450 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static void fm10k_insert_tunnel_port(struct list_head *ports, ports 458 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c port = fm10k_remove_tunnel_port(ports, ti); ports 467 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c list_add_tail(&port->list, ports); ports 410 drivers/net/ethernet/marvell/mvneta.c struct mvneta_pcpu_port __percpu *ports; ports 2779 drivers/net/ethernet/marvell/mvneta.c struct mvneta_pcpu_port *port = this_cpu_ptr(pp->ports); ports 3198 drivers/net/ethernet/marvell/mvneta.c per_cpu_ptr(pp->ports, cpu); ports 3226 drivers/net/ethernet/marvell/mvneta.c per_cpu_ptr(pp->ports, cpu); ports 3733 drivers/net/ethernet/marvell/mvneta.c struct mvneta_pcpu_port *port = per_cpu_ptr(pp->ports, cpu); ports 3754 drivers/net/ethernet/marvell/mvneta.c per_cpu_ptr(pp->ports, other_cpu); ports 3790 drivers/net/ethernet/marvell/mvneta.c struct mvneta_pcpu_port *port = per_cpu_ptr(pp->ports, cpu); ports 3847 drivers/net/ethernet/marvell/mvneta.c dev->name, pp->ports); ports 3897 drivers/net/ethernet/marvell/mvneta.c free_percpu_irq(pp->dev->irq, pp->ports); ports 3929 drivers/net/ethernet/marvell/mvneta.c free_percpu_irq(dev->irq, pp->ports); ports 4189 drivers/net/ethernet/marvell/mvneta.c per_cpu_ptr(pp->ports, cpu); ports 4217 drivers/net/ethernet/marvell/mvneta.c per_cpu_ptr(pp->ports, cpu); ports 4576 drivers/net/ethernet/marvell/mvneta.c pp->ports = alloc_percpu(struct mvneta_pcpu_port); ports 4577 drivers/net/ethernet/marvell/mvneta.c if (!pp->ports) { ports 4678 drivers/net/ethernet/marvell/mvneta.c per_cpu_ptr(pp->ports, cpu); ports 4720 drivers/net/ethernet/marvell/mvneta.c free_percpu(pp->ports); ports 4741 drivers/net/ethernet/marvell/mvneta.c free_percpu(pp->ports); ports 121 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c unsigned int ports) ports 125 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe->tcam[MVPP2_PRS_TCAM_PORT_WORD] |= MVPP2_PRS_TCAM_PORT_EN(~ports & MVPP2_PRS_PORT_MASK); ports 1613 drivers/net/ethernet/marvell/skge.c if (hw->ports > 1 && jumbo) ports 2574 drivers/net/ethernet/marvell/skge.c if (hw->ports == 1) { ports 2594 drivers/net/ethernet/marvell/skge.c chunk = (hw->ram_size - hw->ram_offset) / (hw->ports * 2); ports 2663 drivers/net/ethernet/marvell/skge.c skge_write32(hw, B0_IMSK, (hw->ports == 1) ? 0 : hw->intr_mask); ports 2667 drivers/net/ethernet/marvell/skge.c if (hw->ports == 1) ports 3349 drivers/net/ethernet/marvell/skge.c for (port = 0; port < hw->ports; port++) { ports 3585 drivers/net/ethernet/marvell/skge.c hw->ports = (mac_cfg & CFG_SNG_MAC) ? 1 : 2; ports 3630 drivers/net/ethernet/marvell/skge.c for (i = 0; i < hw->ports; i++) { ports 3642 drivers/net/ethernet/marvell/skge.c for (i = 0; i < hw->ports; i++) ports 3673 drivers/net/ethernet/marvell/skge.c for (i = 0; i < hw->ports; i++) { ports 3968 drivers/net/ethernet/marvell/skge.c if (hw->ports > 1) { ports 4036 drivers/net/ethernet/marvell/skge.c if (hw->ports > 1) { ports 4045 drivers/net/ethernet/marvell/skge.c if (hw->ports > 1) ports 4066 drivers/net/ethernet/marvell/skge.c for (i = 0; i < hw->ports; i++) { ports 4094 drivers/net/ethernet/marvell/skge.c for (i = 0; i < hw->ports; i++) { ports 4127 drivers/net/ethernet/marvell/skge.c for (i = 0; i < hw->ports; i++) { ports 2420 drivers/net/ethernet/marvell/skge.h u8 ports; ports 1749 drivers/net/ethernet/marvell/sky2.c if (hw->ports == 1 && (err = sky2_setup_irq(hw, dev->name))) ports 2123 drivers/net/ethernet/marvell/sky2.c if (hw->ports == 1) { ports 2970 drivers/net/ethernet/marvell/sky2.c for (i = 0; i < hw->ports; i++) { ports 3215 drivers/net/ethernet/marvell/sky2.c hw->ports = 1; ports 3219 drivers/net/ethernet/marvell/sky2.c ++hw->ports; ports 3282 drivers/net/ethernet/marvell/sky2.c for (i = 0; i < hw->ports; i++) { ports 3364 drivers/net/ethernet/marvell/sky2.c for (i = 0; i < hw->ports; i++) ports 3368 drivers/net/ethernet/marvell/sky2.c for (i = 0; i < hw->ports; i++) { ports 3387 drivers/net/ethernet/marvell/sky2.c for (i = 0; i < hw->ports; i++) ports 3468 drivers/net/ethernet/marvell/sky2.c for (i = 0; i < hw->ports; i++) { ports 3486 drivers/net/ethernet/marvell/sky2.c for (i = 0; i < hw->ports; i++) { ports 3546 drivers/net/ethernet/marvell/sky2.c for (i = 0; i < hw->ports; i++) { ports 4201 drivers/net/ethernet/marvell/sky2.c return hw->ports > 1; ports 5036 drivers/net/ethernet/marvell/sky2.c hw->st_size = hw->ports * roundup_pow_of_two(3*RX_MAX_PENDING + TX_MAX_PENDING); ports 5079 drivers/net/ethernet/marvell/sky2.c if (hw->ports > 1) { ports 5145 drivers/net/ethernet/marvell/sky2.c for (i = hw->ports-1; i >= 0; --i) ports 5156 drivers/net/ethernet/marvell/sky2.c if (hw->ports > 1) { ports 5168 drivers/net/ethernet/marvell/sky2.c for (i = hw->ports-1; i >= 0; --i) ports 5189 drivers/net/ethernet/marvell/sky2.c for (i = 0; i < hw->ports; i++) { ports 5246 drivers/net/ethernet/marvell/sky2.c for (port = 0; port < hw->ports; port++) { ports 2301 drivers/net/ethernet/marvell/sky2.h u8 ports; ports 2004 drivers/net/ethernet/mellanox/mlx4/cmd.c int min_port = find_first_bit(actv_ports.ports, ports 2007 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); ports 2010 drivers/net/ethernet/mellanox/mlx4/cmd.c if (!test_bit(port - 1, actv_ports.ports)) ports 2070 drivers/net/ethernet/mellanox/mlx4/cmd.c int min_port = find_first_bit(actv_ports.ports, ports 2073 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); ports 2077 drivers/net/ethernet/mellanox/mlx4/cmd.c if (!test_bit(port - 1, actv_ports.ports)) ports 2774 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_zero(actv_ports.ports, MLX4_MAX_PORTS); ports 2777 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_fill(actv_ports.ports, dev->caps.num_ports); ports 2785 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_set(actv_ports.ports, dev->dev_vfs[vf].min_port - 1, ports 2797 drivers/net/ethernet/mellanox/mlx4/cmd.c unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports); ports 2802 drivers/net/ethernet/mellanox/mlx4/cmd.c n = find_first_bit(actv_ports.ports, dev->caps.num_ports); ports 2813 drivers/net/ethernet/mellanox/mlx4/cmd.c if (test_bit(port - 1, actv_ports.ports)) ports 2815 drivers/net/ethernet/mellanox/mlx4/cmd.c find_first_bit(actv_ports.ports, dev->caps.num_ports); ports 2835 drivers/net/ethernet/mellanox/mlx4/cmd.c if (test_bit(port - 1, actv_ports.ports)) ports 2855 drivers/net/ethernet/mellanox/mlx4/cmd.c if (bitmap_equal(crit_ports->ports, actv_ports.ports, ports 2867 drivers/net/ethernet/mellanox/mlx4/cmd.c int min_port = find_first_bit(actv_ports.ports, dev->caps.num_ports) ports 2870 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_weight(actv_ports.ports, dev->caps.num_ports); ports 3409 drivers/net/ethernet/mellanox/mlx4/cmd.c int min_port = find_first_bit(actv_ports.ports, ports 3412 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); ports 365 drivers/net/ethernet/mellanox/mlx4/en_netdev.c const __be16 *ports; ports 383 drivers/net/ethernet/mellanox/mlx4/en_netdev.c ports = (const __be16 *)(skb->data + nhoff + 4 * ip->ihl); ports 388 drivers/net/ethernet/mellanox/mlx4/en_netdev.c src_port = ports[0]; ports 389 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dst_port = ports[1]; ports 318 drivers/net/ethernet/mellanox/mlx4/eq.c port <= 0 || !test_bit(port - 1, actv_ports.ports)) { ports 335 drivers/net/ethernet/mellanox/mlx4/eq.c port <= 0 || !test_bit(port - 1, actv_ports.ports)) { ports 381 drivers/net/ethernet/mellanox/mlx4/eq.c port <= 0 || !test_bit(port - 1, actv_ports.ports)) { ports 1230 drivers/net/ethernet/mellanox/mlx4/eq.c int port = find_first_bit(eq->actv_ports.ports, ports 1415 drivers/net/ethernet/mellanox/mlx4/eq.c return test_bit(port - 1, priv->eq_table.eq[vector].actv_ports.ports); ports 1427 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[i].actv_ports.ports); ports 1441 drivers/net/ethernet/mellanox/mlx4/eq.c return !!(bitmap_weight(priv->eq_table.eq[vector].actv_ports.ports, ports 1466 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[requested_vector].actv_ports.ports)) { ports 1477 drivers/net/ethernet/mellanox/mlx4/eq.c test_bit(port - 1, eq->actv_ports.ports)) { ports 1490 drivers/net/ethernet/mellanox/mlx4/eq.c test_bit(port - 1, eq->actv_ports.ports)) { ports 407 drivers/net/ethernet/mellanox/mlx4/fw.c find_first_bit(actv_ports.ports, dev->caps.num_ports); ports 465 drivers/net/ethernet/mellanox/mlx4/fw.c bitmap_weight(actv_ports.ports, dev->caps.num_ports), ports 1298 drivers/net/ethernet/mellanox/mlx4/fw.c first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports); ports 1301 drivers/net/ethernet/mellanox/mlx4/fw.c bitmap_weight(actv_ports.ports, dev->caps.num_ports); ports 1317 drivers/net/ethernet/mellanox/mlx4/fw.c field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F; ports 2965 drivers/net/ethernet/mellanox/mlx4/main.c bitmap_zero(priv->eq_table.eq[MLX4_EQ_ASYNC].actv_ports.ports, ports 2976 drivers/net/ethernet/mellanox/mlx4/main.c bitmap_fill(priv->eq_table.eq[i].actv_ports.ports, ports 2983 drivers/net/ethernet/mellanox/mlx4/main.c priv->eq_table.eq[i].actv_ports.ports); ports 3020 drivers/net/ethernet/mellanox/mlx4/main.c bitmap_fill(priv->eq_table.eq[i].actv_ports.ports, ports 1107 drivers/net/ethernet/mellanox/mlx4/port.c max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + ports 1108 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; ports 1113 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_zero(exclusive_ports.ports, dev->caps.num_ports); ports 1114 drivers/net/ethernet/mellanox/mlx4/port.c set_bit(i - 1, exclusive_ports.ports); ports 1144 drivers/net/ethernet/mellanox/mlx4/port.c max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + ports 1145 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; ports 1150 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_zero(exclusive_ports.ports, dev->caps.num_ports); ports 1151 drivers/net/ethernet/mellanox/mlx4/port.c set_bit(i - 1, exclusive_ports.ports); ports 1217 drivers/net/ethernet/mellanox/mlx4/port.c if (test_bit(i, actv_ports.ports)) { ports 1233 drivers/net/ethernet/mellanox/mlx4/port.c if (test_bit(i, actv_ports.ports)) { ports 1909 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_zero(exclusive_ports.ports, dev->caps.num_ports); ports 1910 drivers/net/ethernet/mellanox/mlx4/port.c set_bit(i - 1, exclusive_ports.ports); ports 1930 drivers/net/ethernet/mellanox/mlx4/port.c actv_ports.ports, dev->caps.num_ports) + ports 1931 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_weight(actv_ports.ports, ports 1938 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_zero(exclusive_ports.ports, ports 1940 drivers/net/ethernet/mellanox/mlx4/port.c set_bit(i - 1, exclusive_ports.ports); ports 480 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int ports, counters_guaranteed; ports 488 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports); ports 489 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counters_guaranteed = ports * MLX4_VF_COUNTERS_PER_PORT; ports 632 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (test_bit(j, actv_ports.ports)) ports 627 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c tuple->src_port = fk->ports.src; ports 628 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c tuple->dst_port = fk->ports.dst; ports 641 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (tuple->src_port != fk->ports.src || tuple->dst_port != fk->ports.dst) ports 662 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c head = arfs_hash_bucket(arfs_t, fk->ports.src, fk->ports.dst); ports 81 drivers/net/ethernet/mellanox/mlxsw/core.c struct mlxsw_core_port *ports; ports 99 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core->ports = kcalloc(mlxsw_core->max_ports, ports 101 drivers/net/ethernet/mellanox/mlxsw/core.c if (!mlxsw_core->ports) ports 109 drivers/net/ethernet/mellanox/mlxsw/core.c kfree(mlxsw_core->ports); ports 1881 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; ports 1898 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; ports 1930 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[MLXSW_PORT_CPU_PORT]; ports 1955 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; ports 1967 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; ports 1979 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; ports 1991 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; ports 2004 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; ports 22 drivers/net/ethernet/mellanox/mlxsw/minimal.c struct mlxsw_m_port **ports; ports 192 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->ports[local_port] = mlxsw_m_port; ports 206 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->ports[local_port] = NULL; ports 216 drivers/net/ethernet/mellanox/mlxsw/minimal.c struct mlxsw_m_port *mlxsw_m_port = mlxsw_m->ports[local_port]; ports 220 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->ports[local_port] = NULL; ports 260 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->ports = kcalloc(max_ports, sizeof(*mlxsw_m->ports), ports 262 drivers/net/ethernet/mellanox/mlxsw/minimal.c if (!mlxsw_m->ports) ports 308 drivers/net/ethernet/mellanox/mlxsw/minimal.c kfree(mlxsw_m->ports); ports 325 drivers/net/ethernet/mellanox/mlxsw/minimal.c kfree(mlxsw_m->ports); ports 3806 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[local_port] = mlxsw_sp_port; ports 3820 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[local_port] = NULL; ports 3858 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 3865 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[local_port] = NULL; ports 3902 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[MLXSW_PORT_CPU_PORT] = mlxsw_sp_port; ports 3913 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[MLXSW_PORT_CPU_PORT]; ports 3916 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[MLXSW_PORT_CPU_PORT] = NULL; ports 3922 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mlxsw_sp->ports[local_port] != NULL; ports 3934 drivers/net/ethernet/mellanox/mlxsw/spectrum.c kfree(mlxsw_sp->ports); ports 3935 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports = NULL; ports 3947 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports = kzalloc(alloc_size, GFP_KERNEL); ports 3948 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (!mlxsw_sp->ports) ports 3989 drivers/net/ethernet/mellanox/mlxsw/spectrum.c kfree(mlxsw_sp->ports); ports 3990 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports = NULL; ports 4048 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (mlxsw_sp->ports && mlxsw_sp->ports[local_port]) ports 4049 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mlxsw_sp->ports[local_port]; ports 4098 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (mlxsw_sp->ports[base_port + local_ports_in_2x]) { ports 4106 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (mlxsw_sp->ports[base_port + 1] || ports 4107 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[base_port + 3]) { ports 4204 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 4264 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 4304 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 143 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_sp_port **ports; ports 365 drivers/net/ethernet/mellanox/mlxsw/spectrum.h mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 144 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c in_port = mlxsw_sp->ports[local_in_port]; ports 158 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c in_port = mlxsw_sp->ports[local_in_port]; ports 101 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_port *ports; ports 156 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_port *sb_port = &mlxsw_sp->sb->ports[local_port]; ports 168 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c return &mlxsw_sp->sb->ports[local_port].pms[pool_index]; ports 368 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb->ports = kcalloc(max_ports, ports 371 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (!mlxsw_sp->sb->ports) ports 383 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c err = mlxsw_sp_sb_port_init(mlxsw_sp, &mlxsw_sp->sb->ports[i]); ports 392 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp_sb_port_fini(&mlxsw_sp->sb->ports[i]); ports 395 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c kfree(mlxsw_sp->sb->ports); ports 405 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp_sb_port_fini(&mlxsw_sp->sb->ports[i]); ports 407 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c kfree(mlxsw_sp->sb->ports); ports 1206 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (!mlxsw_sp->ports[local_port]) ports 1225 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (!mlxsw_sp->ports[local_port]) ports 1267 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (!mlxsw_sp->ports[local_port]) ports 1332 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (!mlxsw_sp->ports[local_port]) ports 437 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 553 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 593 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 655 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_port = ptp_state->mlxsw_sp->ports[unmatched->key.local_port]; ports 976 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c tmp = mlxsw_sp->ports[i]; ports 1417 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (mlxsw_sp->ports[i]) ports 2465 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 94 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; ports 30 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib_port **ports; ports 203 drivers/net/ethernet/mellanox/mlxsw/switchib.c return mlxsw_sib->ports[local_port] != NULL; ports 265 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib->ports[local_port] = mlxsw_sib_port; ports 304 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib_port *mlxsw_sib_port = mlxsw_sib->ports[local_port]; ports 307 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib->ports[local_port] = NULL; ports 326 drivers/net/ethernet/mellanox/mlxsw/switchib.c kfree(mlxsw_sib->ports); ports 337 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib->ports = kzalloc(alloc_size, GFP_KERNEL); ports 338 drivers/net/ethernet/mellanox/mlxsw/switchib.c if (!mlxsw_sib->ports) ports 359 drivers/net/ethernet/mellanox/mlxsw/switchib.c kfree(mlxsw_sib->ports); ports 384 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port = mlxsw_sib->ports[local_port]; ports 29 drivers/net/ethernet/mellanox/mlxsw/switchx2.c struct mlxsw_sx_port **ports; ports 1084 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports[local_port] = mlxsw_sx_port; ports 1129 drivers/net/ethernet/mellanox/mlxsw/switchx2.c struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; ports 1133 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports[local_port] = NULL; ports 1141 drivers/net/ethernet/mellanox/mlxsw/switchx2.c return mlxsw_sx->ports[local_port] != NULL; ports 1211 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports[local_port] = mlxsw_sx_port; ports 1227 drivers/net/ethernet/mellanox/mlxsw/switchx2.c struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; ports 1230 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports[local_port] = NULL; ports 1260 drivers/net/ethernet/mellanox/mlxsw/switchx2.c kfree(mlxsw_sx->ports); ports 1261 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports = NULL; ports 1273 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports = kzalloc(alloc_size, GFP_KERNEL); ports 1274 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (!mlxsw_sx->ports) ports 1295 drivers/net/ethernet/mellanox/mlxsw/switchx2.c kfree(mlxsw_sx->ports); ports 1296 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports = NULL; ports 1333 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port = mlxsw_sx->ports[local_port]; ports 1352 drivers/net/ethernet/mellanox/mlxsw/switchx2.c struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; ports 1380 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (!mlxsw_sx->ports || !mlxsw_sx->ports[local_port]) { ports 1040 drivers/net/ethernet/micrel/ksz884x.c u8 ports; ports 1727 drivers/net/ethernet/micrel/ksz884x.c u8 ports, int override, int valid, int use_fid, u8 fid) ports 1736 drivers/net/ethernet/micrel/ksz884x.c data_hi |= (u32) ports << STATIC_MAC_FWD_PORTS_SHIFT; ports 2834 drivers/net/ethernet/micrel/ksz884x.c entry->mac_addr, entry->ports, ports 2857 drivers/net/ethernet/micrel/ksz884x.c entry->ports = HOST_MASK; ports 2861 drivers/net/ethernet/micrel/ksz884x.c entry->mac_addr, entry->ports, ports 2881 drivers/net/ethernet/micrel/ksz884x.c entry->mac_addr, entry->ports, ports 1413 drivers/net/ethernet/mscc/ocelot.c addr[2] = mc->ports << 0; ports 1414 drivers/net/ethernet/mscc/ocelot.c addr[1] = mc->ports << 8; ports 1418 drivers/net/ethernet/mscc/ocelot.c mc->ports |= BIT(port->chip_port); ports 1419 drivers/net/ethernet/mscc/ocelot.c addr[2] = mc->ports << 0; ports 1420 drivers/net/ethernet/mscc/ocelot.c addr[1] = mc->ports << 8; ports 1442 drivers/net/ethernet/mscc/ocelot.c addr[2] = mc->ports << 0; ports 1443 drivers/net/ethernet/mscc/ocelot.c addr[1] = mc->ports << 8; ports 1447 drivers/net/ethernet/mscc/ocelot.c mc->ports &= ~BIT(port->chip_port); ports 1448 drivers/net/ethernet/mscc/ocelot.c if (!mc->ports) { ports 1454 drivers/net/ethernet/mscc/ocelot.c addr[2] = mc->ports << 0; ports 1455 drivers/net/ethernet/mscc/ocelot.c addr[1] = mc->ports << 8; ports 2026 drivers/net/ethernet/mscc/ocelot.c ocelot->ports[port] = ocelot_port; ports 2224 drivers/net/ethernet/mscc/ocelot.c port = ocelot->ports[i]; ports 427 drivers/net/ethernet/mscc/ocelot.h u16 ports; ports 458 drivers/net/ethernet/mscc/ocelot.h struct ocelot_port **ports; ports 125 drivers/net/ethernet/mscc/ocelot_board.c dev = ocelot->ports[info.port]->dev; ports 221 drivers/net/ethernet/mscc/ocelot_board.c port = ocelot->ports[txport]; ports 263 drivers/net/ethernet/mscc/ocelot_board.c struct device_node *ports, *portnp; ports 359 drivers/net/ethernet/mscc/ocelot_board.c ports = of_get_child_by_name(np, "ethernet-ports"); ports 360 drivers/net/ethernet/mscc/ocelot_board.c if (!ports) { ports 365 drivers/net/ethernet/mscc/ocelot_board.c ocelot->num_phys_ports = of_get_child_count(ports); ports 367 drivers/net/ethernet/mscc/ocelot_board.c ocelot->ports = devm_kcalloc(&pdev->dev, ocelot->num_phys_ports, ports 373 drivers/net/ethernet/mscc/ocelot_board.c for_each_available_child_of_node(ports, portnp) { ports 411 drivers/net/ethernet/mscc/ocelot_board.c ocelot->ports[port]->phy_mode = PHY_INTERFACE_MODE_NA; ports 413 drivers/net/ethernet/mscc/ocelot_board.c ocelot->ports[port]->phy_mode = phy_mode; ports 415 drivers/net/ethernet/mscc/ocelot_board.c switch (ocelot->ports[port]->phy_mode) { ports 424 drivers/net/ethernet/mscc/ocelot_board.c ocelot_port_writel(ocelot->ports[port], ports 452 drivers/net/ethernet/mscc/ocelot_board.c ocelot->ports[port]->serdes = serdes; ports 462 drivers/net/ethernet/mscc/ocelot_board.c of_node_put(ports); ports 260 drivers/net/ethernet/netronome/nfp/abm/main.c struct nfp_eth_table_port *eth_port = &pf->eth_tbl->ports[id]; ports 315 drivers/net/ethernet/netronome/nfp/abm/main.c struct nfp_eth_table_port *eth_port = &app->pf->eth_tbl->ports[id]; ports 49 drivers/net/ethernet/netronome/nfp/flower/cmsg.c skb = nfp_flower_cmsg_alloc(app, struct_size(msg, ports, num_ports), ports 69 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->ports[idx].idx = idx; ports 70 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->ports[idx].info = nbi & NFP_FLOWER_CMSG_MAC_REPR_NBI; ports 71 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->ports[idx].nbi_port = nbi_port; ports 72 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->ports[idx].phys_port = phys_port; ports 500 drivers/net/ethernet/netronome/nfp/flower/cmsg.h } ports[0]; ports 507 drivers/net/ethernet/netronome/nfp/flower/main.c unsigned int phys_port = eth_tbl->ports[i].index; ports 558 drivers/net/ethernet/netronome/nfp/flower/main.c eth_tbl->ports[i].nbi, ports 559 drivers/net/ethernet/netronome/nfp/flower/main.c eth_tbl->ports[i].base, ports 525 drivers/net/ethernet/netronome/nfp/flower/offload.c u8 *ports; ports 595 drivers/net/ethernet/netronome/nfp/flower/offload.c ports = (u8 *)&merge->l4.port_src; ports 597 drivers/net/ethernet/netronome/nfp/flower/offload.c ports[i] |= tport->tp_port_mask[i]; ports 413 drivers/net/ethernet/netronome/nfp/nfp_main.c port = &pf->eth_tbl->ports[i]; ports 589 drivers/net/ethernet/netronome/nfp/nfp_main.c needs_reinit |= pf->eth_tbl->ports[i].override_changed; ports 717 drivers/net/ethernet/netronome/nfp/nfp_main.c INIT_LIST_HEAD(&pf->ports); ports 135 drivers/net/ethernet/netronome/nfp/nfp_main.h struct list_head ports; ports 68 drivers/net/ethernet/netronome/nfp/nfp_net_main.c if (eth_tbl->ports[i].index == index) ports 69 drivers/net/ethernet/netronome/nfp/nfp_net_main.c return ð_tbl->ports[i]; ports 562 drivers/net/ethernet/netronome/nfp/nfp_net_main.c list_for_each_entry(port, &pf->ports, port_list) ports 567 drivers/net/ethernet/netronome/nfp/nfp_net_main.c list_for_each_entry(port, &pf->ports, port_list) ports 575 drivers/net/ethernet/netronome/nfp/nfp_net_main.c list_for_each_entry(port, &pf->ports, port_list) ports 88 drivers/net/ethernet/netronome/nfp/nfp_port.c list_for_each_entry(port, &pf->ports, port_list) ports 199 drivers/net/ethernet/netronome/nfp/nfp_port.c if (pf->eth_tbl->ports[id].override_changed) { ports 202 drivers/net/ethernet/netronome/nfp/nfp_port.c pf->eth_tbl->ports[id].index); ports 207 drivers/net/ethernet/netronome/nfp/nfp_port.c port->eth_port = &pf->eth_tbl->ports[id]; ports 208 drivers/net/ethernet/netronome/nfp/nfp_port.c port->eth_id = pf->eth_tbl->ports[id].index; ports 230 drivers/net/ethernet/netronome/nfp/nfp_port.c list_add_tail(&port->port_list, &app->pf->ports); ports 186 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h } ports[0]; ports 181 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table->max_index = max(table->max_index, table->ports[i].index); ports 184 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c if (table->ports[i].label_port != ports 185 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table->ports[j].label_port) ports 187 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table->ports[i].port_lanes += table->ports[j].lanes; ports 191 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c if (table->ports[i].label_subport == ports 192 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table->ports[j].label_subport) ports 195 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table->ports[i].label_port, ports 196 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table->ports[i].label_subport); ports 198 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table->ports[i].is_split = true; ports 275 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table = kzalloc(struct_size(table, ports, cnt), GFP_KERNEL); ports 283 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c &table->ports[j++]); ports 287 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_calc_port_type(cpp, &table->ports[i]); ports 1804 drivers/net/ethernet/qlogic/netxen/netxen_nic.h long ports; /* max no of physical ports */ ports 460 drivers/net/ethernet/qlogic/qede/qede_filter.c __be16 *ports; ports 482 drivers/net/ethernet/qlogic/qede/qede_filter.c ports = (__be16 *)(skb->data + tp_offset); ports 488 drivers/net/ethernet/qlogic/qede/qede_filter.c skb, ports[0], ports[1], ip_proto); ports 520 drivers/net/ethernet/qlogic/qede/qede_filter.c n->tuple.src_port = ports[0]; ports 521 drivers/net/ethernet/qlogic/qede/qede_filter.c n->tuple.dst_port = ports[1]; ports 1512 drivers/net/ethernet/qlogic/qede/qede_filter.c __be16 *ports = (__be16 *)(header + ETH_HLEN + sizeof(struct iphdr)); ports 1525 drivers/net/ethernet/qlogic/qede/qede_filter.c ports[0] = t->src_port; ports 1526 drivers/net/ethernet/qlogic/qede/qede_filter.c ports[1] = t->dst_port; ports 1559 drivers/net/ethernet/qlogic/qede/qede_filter.c __be16 *ports = (__be16 *)(header + ETH_HLEN + sizeof(struct ipv6hdr)); ports 1577 drivers/net/ethernet/qlogic/qede/qede_filter.c ports[0] = t->src_port; ports 1578 drivers/net/ethernet/qlogic/qede/qede_filter.c ports[1] = t->dst_port; ports 223 drivers/net/ethernet/realtek/atp.c int *port, ports[] = {0x378, 0x278, 0x3bc, 0}; ports 231 drivers/net/ethernet/realtek/atp.c for (port = ports; *port; port++) { ports 62 drivers/net/ethernet/rocker/rocker.h struct rocker_port **ports; ports 928 drivers/net/ethernet/rocker/rocker_main.c rocker_port = rocker->ports[port_number]; ports 965 drivers/net/ethernet/rocker/rocker_main.c rocker_port = rocker->ports[port_number]; ports 2558 drivers/net/ethernet/rocker/rocker_main.c rocker_port = rocker->ports[i]; ports 2567 drivers/net/ethernet/rocker/rocker_main.c kfree(rocker->ports); ports 2634 drivers/net/ethernet/rocker/rocker_main.c rocker->ports[port_number] = rocker_port; ports 2645 drivers/net/ethernet/rocker/rocker_main.c rocker->ports[port_number] = NULL; ports 2662 drivers/net/ethernet/rocker/rocker_main.c rocker->ports = kzalloc(alloc_size, GFP_KERNEL); ports 2663 drivers/net/ethernet/rocker/rocker_main.c if (!rocker->ports) ports 1439 drivers/net/ethernet/rocker/rocker_ofdpa.c rocker_port = ofdpa->rocker->ports[port_index]; ports 868 drivers/net/ethernet/sfc/falcon/rx.c spec.rem_port = fk.ports.src; ports 869 drivers/net/ethernet/sfc/falcon/rx.c spec.loc_port = fk.ports.dst; ports 948 drivers/net/ethernet/sfc/rx.c req->spec.rem_port = fk.ports.src; ports 949 drivers/net/ethernet/sfc/rx.c req->spec.loc_port = fk.ports.dst; ports 8289 drivers/net/ethernet/sun/niu.c int ports = 0; ports 8296 drivers/net/ethernet/sun/niu.c ports = 4; ports 8301 drivers/net/ethernet/sun/niu.c ports = 2; ports 8304 drivers/net/ethernet/sun/niu.c return ports; ports 9526 drivers/net/ethernet/sun/niu.c p->ports[port] = np; ports 9541 drivers/net/ethernet/sun/niu.c BUG_ON(!p || p->ports[port] != np); ports 9552 drivers/net/ethernet/sun/niu.c p->ports[port] = NULL; ports 1502 drivers/net/ethernet/sun/niu.h u64 ports; ports 1510 drivers/net/ethernet/sun/niu.h u64 ports; ports 3072 drivers/net/ethernet/sun/niu.h struct niu *ports[NIU_MAX_PORTS]; ports 1060 drivers/net/fddi/skfp/smt.c int ports ; ports 1063 drivers/net/fddi/skfp/smt.c ports = NUMPHYS ; ports 1066 drivers/net/fddi/skfp/smt.c ports = 1 ; ports 1070 drivers/net/fddi/skfp/smt.c SIZEOF_SMT_SIF_OPERATION+ports*sizeof(struct smt_p_lem)))) ports 1083 drivers/net/fddi/skfp/smt.c if (ports == 1) { ports 1087 drivers/net/fddi/skfp/smt.c for (i = 0 ; i < ports ; i++) { ports 303 drivers/net/usb/hso.c static int hso_get_mux_ports(struct usb_interface *intf, unsigned char *ports); ports 3157 drivers/net/usb/hso.c static int hso_get_mux_ports(struct usb_interface *intf, unsigned char *ports) ports 3163 drivers/net/usb/hso.c *ports = iface->extra[2]; ports 3169 drivers/net/usb/hso.c *ports = iface->endpoint[i].extra[2]; ports 4077 drivers/net/vxlan.c struct ifla_vxlan_port_range ports = { ports 4149 drivers/net/vxlan.c if (nla_put(skb, IFLA_VXLAN_PORT_RANGE, sizeof(ports), &ports)) ports 457 drivers/net/wan/farsync.c struct fst_port_info ports[FST_MAX_PORTS]; ports 1335 drivers/net/wan/farsync.c for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { ports 1434 drivers/net/wan/farsync.c for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { ports 1555 drivers/net/wan/farsync.c port = &card->ports[event & 0x03]; ports 2371 drivers/net/wan/farsync.c err = register_hdlc_device(card->ports[i].dev); ports 2376 drivers/net/wan/farsync.c unregister_hdlc_device(card->ports[i].dev); ports 2382 drivers/net/wan/farsync.c port_to_dev(&card->ports[0])->name, ports 2383 drivers/net/wan/farsync.c port_to_dev(&card->ports[card->nports - 1])->name, ports 2488 drivers/net/wan/farsync.c struct net_device *dev = alloc_hdlcdev(&card->ports[i]); ports 2492 drivers/net/wan/farsync.c free_netdev(card->ports[i].dev); ports 2497 drivers/net/wan/farsync.c card->ports[i].dev = dev; ports 2498 drivers/net/wan/farsync.c card->ports[i].card = card; ports 2499 drivers/net/wan/farsync.c card->ports[i].index = i; ports 2500 drivers/net/wan/farsync.c card->ports[i].run = 0; ports 2581 drivers/net/wan/farsync.c unregister_hdlc_device(card->ports[i].dev); ports 2586 drivers/net/wan/farsync.c free_netdev(card->ports[i].dev); ports 2614 drivers/net/wan/farsync.c struct net_device *dev = port_to_dev(&card->ports[i]); ports 123 drivers/net/wan/n2.c port_t ports[2]; ports 144 drivers/net/wan/n2.c #define get_port(card, port) ((card)->ports[port].valid ? \ ports 145 drivers/net/wan/n2.c &(card)->ports[port] : NULL) ports 305 drivers/net/wan/n2.c if (card->ports[cnt].card) { ports 306 drivers/net/wan/n2.c struct net_device *dev = port_to_dev(&card->ports[cnt]); ports 320 drivers/net/wan/n2.c if (card->ports[0].dev) ports 321 drivers/net/wan/n2.c free_netdev(card->ports[0].dev); ports 322 drivers/net/wan/n2.c if (card->ports[1].dev) ports 323 drivers/net/wan/n2.c free_netdev(card->ports[1].dev); ports 360 drivers/net/wan/n2.c card->ports[0].dev = alloc_hdlcdev(&card->ports[0]); ports 361 drivers/net/wan/n2.c card->ports[1].dev = alloc_hdlcdev(&card->ports[1]); ports 362 drivers/net/wan/n2.c if (!card->ports[0].dev || !card->ports[1].dev) { ports 448 drivers/net/wan/n2.c port_t *port = &card->ports[cnt]; ports 107 drivers/net/wan/pc300too.c port_t ports[2]; ports 112 drivers/net/wan/pc300too.c (&(card)->ports[port]) : (NULL)) ports 266 drivers/net/wan/pc300too.c if (card->ports[i].card) ports 267 drivers/net/wan/pc300too.c unregister_hdlc_device(card->ports[i].netdev); ports 281 drivers/net/wan/pc300too.c if (card->ports[0].netdev) ports 282 drivers/net/wan/pc300too.c free_netdev(card->ports[0].netdev); ports 283 drivers/net/wan/pc300too.c if (card->ports[1].netdev) ports 284 drivers/net/wan/pc300too.c free_netdev(card->ports[1].netdev); ports 369 drivers/net/wan/pc300too.c if (!(card->ports[i].netdev = alloc_hdlcdev(&card->ports[i]))) { ports 442 drivers/net/wan/pc300too.c port_t *port = &card->ports[i]; ports 90 drivers/net/wan/pci200syn.c port_t ports[2]; ports 94 drivers/net/wan/pci200syn.c #define get_port(card, port) (&card->ports[port]) ports 244 drivers/net/wan/pci200syn.c if (card->ports[i].card) ports 245 drivers/net/wan/pci200syn.c unregister_hdlc_device(card->ports[i].netdev); ports 259 drivers/net/wan/pci200syn.c if (card->ports[0].netdev) ports 260 drivers/net/wan/pci200syn.c free_netdev(card->ports[0].netdev); ports 261 drivers/net/wan/pci200syn.c if (card->ports[1].netdev) ports 262 drivers/net/wan/pci200syn.c free_netdev(card->ports[1].netdev); ports 301 drivers/net/wan/pci200syn.c card->ports[0].netdev = alloc_hdlcdev(&card->ports[0]); ports 302 drivers/net/wan/pci200syn.c card->ports[1].netdev = alloc_hdlcdev(&card->ports[1]); ports 303 drivers/net/wan/pci200syn.c if (!card->ports[0].netdev || !card->ports[1].netdev) { ports 380 drivers/net/wan/pci200syn.c port_t *port = &card->ports[i]; ports 81 drivers/net/wan/wanxl.c struct port ports[0]; /* 1 - 4 port structures follow */ ports 203 drivers/net/wan/wanxl.c struct port *port = &card->ports[desc->stat & ports 257 drivers/net/wan/wanxl.c wanxl_tx_intr(&card->ports[i]); ports 259 drivers/net/wan/wanxl.c wanxl_cable_intr(&card->ports[i]); ports 515 drivers/net/wan/wanxl.c unregister_hdlc_device(card->ports[i].dev); ports 516 drivers/net/wan/wanxl.c free_netdev(card->ports[i].dev); ports 565 drivers/net/wan/wanxl.c int i, ports; ports 596 drivers/net/wan/wanxl.c case PCI_DEVICE_ID_SBE_WANXL100: ports = 1; break; ports 597 drivers/net/wan/wanxl.c case PCI_DEVICE_ID_SBE_WANXL200: ports = 2; break; ports 598 drivers/net/wan/wanxl.c default: ports = 4; ports 601 drivers/net/wan/wanxl.c card = kzalloc(struct_size(card, ports, ports), GFP_KERNEL); ports 682 drivers/net/wan/wanxl.c (TX_BUFFERS + RX_BUFFERS) * BUFFER_LENGTH * ports) { ports 686 drivers/net/wan/wanxl.c (TX_BUFFERS + RX_BUFFERS) * BUFFER_LENGTH * ports); ports 717 drivers/net/wan/wanxl.c for (i = 0; i < ports; i++) ports 763 drivers/net/wan/wanxl.c for (i = 0; i < ports; i++) { ports 765 drivers/net/wan/wanxl.c struct port *port = &card->ports[i]; ports 795 drivers/net/wan/wanxl.c for (i = 0; i < ports; i++) ports 797 drivers/net/wan/wanxl.c i ? "," : "", i, card->ports[i].dev->name); ports 800 drivers/net/wan/wanxl.c for (i = 0; i < ports; i++) ports 801 drivers/net/wan/wanxl.c wanxl_cable_intr(&card->ports[i]); /* get carrier status etc.*/ ports 1391 drivers/net/wireless/marvell/mwifiex/sdio.c if (card->mpa_rx.ports & BIT(i)) ports 1402 drivers/net/wireless/marvell/mwifiex/sdio.c (card->mpa_rx.ports << 4)) + ports 1818 drivers/net/wireless/marvell/mwifiex/sdio.c card->mpa_tx.ports); ports 1824 drivers/net/wireless/marvell/mwifiex/sdio.c if (card->mpa_tx.ports & BIT(i)) ports 1835 drivers/net/wireless/marvell/mwifiex/sdio.c (card->mpa_tx.ports << 4)) + ports 121 drivers/net/wireless/marvell/mwifiex/sdio.h a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt)); \ ports 123 drivers/net/wireless/marvell/mwifiex/sdio.h a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt+1+ \ ports 137 drivers/net/wireless/marvell/mwifiex/sdio.h a->mpa_tx.ports = 0; \ ports 156 drivers/net/wireless/marvell/mwifiex/sdio.h a->mpa_rx.ports = 0; \ ports 166 drivers/net/wireless/marvell/mwifiex/sdio.h u32 ports; ports 177 drivers/net/wireless/marvell/mwifiex/sdio.h u32 ports; ports 802 drivers/net/wireless/marvell/mwifiex/sdio.h card->mpa_rx.ports |= (1 << port); ports 805 drivers/net/wireless/marvell/mwifiex/sdio.h card->mpa_rx.ports |= 1 << (card->mpa_rx.pkt_cnt); ports 807 drivers/net/wireless/marvell/mwifiex/sdio.h card->mpa_rx.ports |= 1 << (card->mpa_rx.pkt_cnt + 1); ports 195 drivers/net/xen-netback/hash.c memcpy(&data[8], &flow.ports.src, 2); ports 196 drivers/net/xen-netback/hash.c memcpy(&data[10], &flow.ports.dst, 2); ports 219 drivers/net/xen-netback/hash.c memcpy(&data[32], &flow.ports.src, 2); ports 220 drivers/net/xen-netback/hash.c memcpy(&data[34], &flow.ports.dst, 2); ports 503 drivers/ntb/hw/idt/ntb_hw_idt.c port = ndev->swcfg->ports[pidx]; ports 2852 drivers/ntb/hw/idt/ntb_hw_idt.c .port_cnt = 6, .ports = {0, 2, 4, 6, 8, 12} ports 2856 drivers/ntb/hw/idt/ntb_hw_idt.c .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} ports 2860 drivers/ntb/hw/idt/ntb_hw_idt.c .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} ports 2864 drivers/ntb/hw/idt/ntb_hw_idt.c .port_cnt = 3, .ports = {0, 8, 16} ports 2868 drivers/ntb/hw/idt/ntb_hw_idt.c .port_cnt = 4, .ports = {0, 8, 12, 16} ports 2872 drivers/ntb/hw/idt/ntb_hw_idt.c .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} ports 2876 drivers/ntb/hw/idt/ntb_hw_idt.c .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} ports 2880 drivers/ntb/hw/idt/ntb_hw_idt.c .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} ports 1050 drivers/ntb/hw/idt/ntb_hw_idt.h unsigned char ports[]; ports 2811 drivers/parport/parport_pc.c struct parport *ports[2]; ports 2866 drivers/parport/parport_pc.c data->ports[count] = ports 2870 drivers/parport/parport_pc.c if (data->ports[count]) ports 2896 drivers/parport/parport_pc.c parport_pc_unregister_port(data->ports[i]); ports 72 drivers/pci/controller/pci-mvebu.c struct mvebu_pcie_port *ports; ports 601 drivers/pci/controller/pci-mvebu.c struct mvebu_pcie_port *port = &pcie->ports[i]; ports 778 drivers/pci/controller/pci-mvebu.c struct mvebu_pcie_port *port = pcie->ports + i; ports 792 drivers/pci/controller/pci-mvebu.c struct mvebu_pcie_port *port = pcie->ports + i; ports 1074 drivers/pci/controller/pci-mvebu.c pcie->ports = devm_kcalloc(dev, num, sizeof(*pcie->ports), GFP_KERNEL); ports 1075 drivers/pci/controller/pci-mvebu.c if (!pcie->ports) ports 1080 drivers/pci/controller/pci-mvebu.c struct mvebu_pcie_port *port = &pcie->ports[i]; ports 1096 drivers/pci/controller/pci-mvebu.c struct mvebu_pcie_port *port = &pcie->ports[i]; ports 309 drivers/pci/controller/pci-tegra.c const struct tegra_pcie_port_soc *ports; ports 383 drivers/pci/controller/pci-tegra.c struct list_head ports; ports 473 drivers/pci/controller/pci-tegra.c list_for_each_entry(port, &pcie->ports, list) { ports 1117 drivers/pci/controller/pci-tegra.c list_for_each_entry(port, &pcie->ports, list) { ports 1148 drivers/pci/controller/pci-tegra.c list_for_each_entry(port, &pcie->ports, list) { ports 1185 drivers/pci/controller/pci-tegra.c list_for_each_entry(port, &pcie->ports, list) { ports 1457 drivers/pci/controller/pci-tegra.c list_for_each_entry(port, &pcie->ports, list) { ports 1479 drivers/pci/controller/pci-tegra.c list_for_each_entry(port, &pcie->ports, list) { ports 1595 drivers/pci/controller/pci-tegra.c val |= (0x1 << soc->ports[port->index].pme.turnoff_bit); ports 1598 drivers/pci/controller/pci-tegra.c ack_bit = soc->ports[port->index].pme.ack_bit; ports 1608 drivers/pci/controller/pci-tegra.c val &= ~(0x1 << soc->ports[port->index].pme.turnoff_bit); ports 2323 drivers/pci/controller/pci-tegra.c list_add_tail(&rp->list, &pcie->ports); ports 2403 drivers/pci/controller/pci-tegra.c list_for_each_entry(port, &pcie->ports, list) { ports 2459 drivers/pci/controller/pci-tegra.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { ports 2469 drivers/pci/controller/pci-tegra.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { ports 2489 drivers/pci/controller/pci-tegra.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) ports 2500 drivers/pci/controller/pci-tegra.c .ports = tegra20_pcie_ports, ports 2528 drivers/pci/controller/pci-tegra.c .ports = tegra30_pcie_ports, ports 2552 drivers/pci/controller/pci-tegra.c .ports = tegra20_pcie_ports, ports 2576 drivers/pci/controller/pci-tegra.c .ports = tegra20_pcie_ports, ports 2618 drivers/pci/controller/pci-tegra.c .ports = tegra186_pcie_ports, ports 2653 drivers/pci/controller/pci-tegra.c if (list_empty(&pcie->ports)) ports 2658 drivers/pci/controller/pci-tegra.c return seq_list_start(&pcie->ports, *pos); ports 2665 drivers/pci/controller/pci-tegra.c return seq_list_next(v, &pcie->ports, pos); ports 2780 drivers/pci/controller/pci-tegra.c INIT_LIST_HEAD(&pcie->ports); ports 2870 drivers/pci/controller/pci-tegra.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) ports 2882 drivers/pci/controller/pci-tegra.c list_for_each_entry(port, &pcie->ports, list) ports 220 drivers/pci/controller/pcie-mediatek.c struct list_head ports; ports 249 drivers/pci/controller/pcie-mediatek.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { ports 353 drivers/pci/controller/pcie-mediatek.c list_for_each_entry(port, &pcie->ports, list) ports 540 drivers/pci/controller/pcie-mediatek.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { ports 970 drivers/pci/controller/pcie-mediatek.c list_add_tail(&port->list, &pcie->ports); ports 1081 drivers/pci/controller/pcie-mediatek.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) ports 1085 drivers/pci/controller/pcie-mediatek.c if (list_empty(&pcie->ports)) ports 1107 drivers/pci/controller/pcie-mediatek.c INIT_LIST_HEAD(&pcie->ports); ports 1127 drivers/pci/controller/pcie-mediatek.c if (!list_empty(&pcie->ports)) ports 1163 drivers/pci/controller/pcie-mediatek.c if (list_empty(&pcie->ports)) ports 1166 drivers/pci/controller/pcie-mediatek.c list_for_each_entry(port, &pcie->ports, list) { ports 1187 drivers/pci/controller/pcie-mediatek.c if (list_empty(&pcie->ports)) ports 1192 drivers/pci/controller/pcie-mediatek.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) ports 1196 drivers/pci/controller/pcie-mediatek.c if (list_empty(&pcie->ports)) ports 40 drivers/phy/hisilicon/phy-hisi-inno-usb2.c struct hisi_inno_phy_port ports[INNO_PHY_PORT_NUM]; ports 147 drivers/phy/hisilicon/phy-hisi-inno-usb2.c priv->ports[i].utmi_rst = rst; ports 148 drivers/phy/hisilicon/phy-hisi-inno-usb2.c priv->ports[i].priv = priv; ports 155 drivers/phy/hisilicon/phy-hisi-inno-usb2.c phy_set_drvdata(phy, &priv->ports[i]); ports 222 drivers/phy/rockchip/phy-rockchip-inno-usb2.c struct rockchip_usb2phy_port ports[USB2PHY_NUM_PORTS]; ports 1150 drivers/phy/rockchip/phy-rockchip-inno-usb2.c struct rockchip_usb2phy_port *rport = &rphy->ports[index]; ports 1726 drivers/phy/tegra/xusb-tegra124.c .ports = { ports 797 drivers/phy/tegra/xusb-tegra186.c count = padctl->base.soc->ports.usb2.count; ports 875 drivers/phy/tegra/xusb-tegra186.c .ports = { ports 2022 drivers/phy/tegra/xusb-tegra210.c .ports = { ports 436 drivers/phy/tegra/xusb.c struct device_node *ports, *np; ports 439 drivers/phy/tegra/xusb.c ports = of_get_child_by_name(padctl->dev->of_node, "ports"); ports 440 drivers/phy/tegra/xusb.c if (!ports) ports 445 drivers/phy/tegra/xusb.c of_node_put(ports); ports 448 drivers/phy/tegra/xusb.c np = of_get_child_by_name(ports, name); ports 450 drivers/phy/tegra/xusb.c of_node_put(ports); ports 466 drivers/phy/tegra/xusb.c list_for_each_entry(port, &padctl->ports, list) { ports 604 drivers/phy/tegra/xusb.c usb2->base.ops = padctl->soc->ports.usb2.ops; ports 618 drivers/phy/tegra/xusb.c list_add_tail(&usb2->base.list, &padctl->ports); ports 656 drivers/phy/tegra/xusb.c ulpi->base.ops = padctl->soc->ports.ulpi.ops; ports 670 drivers/phy/tegra/xusb.c list_add_tail(&ulpi->base.list, &padctl->ports); ports 704 drivers/phy/tegra/xusb.c hsic->base.ops = padctl->soc->ports.hsic.ops; ports 718 drivers/phy/tegra/xusb.c list_add_tail(&hsic->base.list, &padctl->ports); ports 772 drivers/phy/tegra/xusb.c usb3->base.ops = padctl->soc->ports.usb3.ops; ports 786 drivers/phy/tegra/xusb.c list_add_tail(&usb3->base.list, &padctl->ports); ports 797 drivers/phy/tegra/xusb.c list_for_each_entry_safe_reverse(port, tmp, &padctl->ports, list) { ports 811 drivers/phy/tegra/xusb.c for (i = 0; i < padctl->soc->ports.usb2.count; i++) { ports 817 drivers/phy/tegra/xusb.c for (i = 0; i < padctl->soc->ports.ulpi.count; i++) { ports 823 drivers/phy/tegra/xusb.c for (i = 0; i < padctl->soc->ports.hsic.count; i++) { ports 829 drivers/phy/tegra/xusb.c for (i = 0; i < padctl->soc->ports.usb3.count; i++) { ports 835 drivers/phy/tegra/xusb.c list_for_each_entry(port, &padctl->ports, list) { ports 885 drivers/phy/tegra/xusb.c INIT_LIST_HEAD(&padctl->ports); ports 386 drivers/phy/tegra/xusb.h } ports; ports 408 drivers/phy/tegra/xusb.h struct list_head ports; ports 504 drivers/pinctrl/actions/pinctrl-owl.c const struct owl_gpio_port *port = &pctrl->soc->ports[i]; ports 839 drivers/pinctrl/actions/pinctrl-owl.c port = &pctrl->soc->ports[i]; ports 898 drivers/pinctrl/actions/pinctrl-owl.c const struct owl_gpio_port *port = &pctrl->soc->ports[i]; ports 299 drivers/pinctrl/actions/pinctrl-owl.h const struct owl_gpio_port *ports; ports 1874 drivers/pinctrl/actions/pinctrl-s700.c .ports = s700_gpio_ports, ports 1791 drivers/pinctrl/actions/pinctrl-s900.c .ports = s900_gpio_ports, ports 217 drivers/pinctrl/mediatek/mtk-eint.c for (port = 0; port < eint->hw->ports; port++) { ports 463 drivers/pinctrl/mediatek/mtk-eint.c eint->wake_mask = devm_kcalloc(eint->dev, eint->hw->ports, ports 468 drivers/pinctrl/mediatek/mtk-eint.c eint->cur_mask = devm_kcalloc(eint->dev, eint->hw->ports, ports 37 drivers/pinctrl/mediatek/mtk-eint.h u8 ports; ports 528 drivers/pinctrl/mediatek/pinctrl-mt2701.c .ports = 6, ports 581 drivers/pinctrl/mediatek/pinctrl-mt2712.c .ports = 8, ports 1061 drivers/pinctrl/mediatek/pinctrl-mt6765.c .ports = 6, ports 754 drivers/pinctrl/mediatek/pinctrl-mt7622.c .ports = 7, ports 1369 drivers/pinctrl/mediatek/pinctrl-mt7623.c .ports = 6, ports 402 drivers/pinctrl/mediatek/pinctrl-mt7629.c .ports = 7, ports 297 drivers/pinctrl/mediatek/pinctrl-mt8127.c .ports = 6, ports 310 drivers/pinctrl/mediatek/pinctrl-mt8135.c .ports = 6, ports 337 drivers/pinctrl/mediatek/pinctrl-mt8173.c .ports = 6, ports 545 drivers/pinctrl/mediatek/pinctrl-mt8183.c .ports = 6, ports 329 drivers/pinctrl/mediatek/pinctrl-mt8516.c .ports = 6, ports 186 drivers/pinctrl/mediatek/pinctrl-mtk-common.h u8 ports; ports 71 drivers/pinctrl/pinctrl-coh901.c struct u300_gpio_port ports[U300_GPIO_NUM_PORTS]; ports 424 drivers/pinctrl/pinctrl-coh901.c struct u300_gpio_port *port = &gpio->ports[d->hwirq >> 3]; ports 461 drivers/pinctrl/pinctrl-coh901.c struct u300_gpio_port *port = &gpio->ports[d->hwirq >> 3]; ports 501 drivers/pinctrl/pinctrl-coh901.c struct u300_gpio_port *port = &gpio->ports[irq - chip->base]; ports 696 drivers/pinctrl/pinctrl-coh901.c struct u300_gpio_port *port = &gpio->ports[portno]; ports 490 drivers/pinctrl/pinctrl-rza1.c struct rza1_port *ports; ports 679 drivers/pinctrl/pinctrl-rza1.c struct rza1_port *port = &rza1_pctl->ports[mux_conf->port]; ports 1232 drivers/pinctrl/pinctrl-rza1.c &rza1_pctl->ports[gpioport]); ports 1301 drivers/pinctrl/pinctrl-rza1.c struct rza1_port *ports; ports 1307 drivers/pinctrl/pinctrl-rza1.c ports = devm_kcalloc(rza1_pctl->dev, RZA1_NPORTS, sizeof(*ports), ports 1309 drivers/pinctrl/pinctrl-rza1.c if (!pins || !ports) ports 1315 drivers/pinctrl/pinctrl-rza1.c rza1_pctl->ports = ports; ports 1334 drivers/pinctrl/pinctrl-rza1.c ports[port_id].id = port_id; ports 1335 drivers/pinctrl/pinctrl-rza1.c ports[port_id].base = rza1_pctl->base; ports 1336 drivers/pinctrl/pinctrl-rza1.c ports[port_id].pins = &pins[i]; ports 1337 drivers/pinctrl/pinctrl-rza1.c spin_lock_init(&ports[port_id].lock); ports 487 drivers/pinctrl/pinctrl-tb10x.c struct tb10x_port ports[TB10X_PORTS]; ports 497 drivers/pinctrl/pinctrl-tb10x.c if (state->ports[port].count) ports 500 drivers/pinctrl/pinctrl-tb10x.c state->ports[port].mode = mode; ports 639 drivers/pinctrl/pinctrl-tb10x.c } else if (state->ports[port].count ports 640 drivers/pinctrl/pinctrl-tb10x.c && (state->ports[port].mode == mode)) { ports 704 drivers/pinctrl/pinctrl-tb10x.c if (state->ports[grp->port].count ports 705 drivers/pinctrl/pinctrl-tb10x.c && (state->ports[grp->port].mode != grp->mode)) { ports 722 drivers/pinctrl/pinctrl-tb10x.c state->ports[grp->port].count++; ports 782 drivers/pinctrl/pinctrl-tb10x.c state->ports[i].mode = tb10x_pinctrl_get_config(state, i); ports 52 drivers/power/supply/cros_usbpd-charger.c struct port_data *ports[EC_USB_PD_MAX_PORTS]; ports 361 drivers/power/supply/cros_usbpd-charger.c cros_usbpd_charger_get_port_status(charger->ports[i], false); ports 539 drivers/power/supply/cros_usbpd-charger.c cros_usbpd_charger_power_changed(charger->ports[0]->psy); ports 677 drivers/power/supply/cros_usbpd-charger.c charger->ports[charger->num_registered_psy++] = port; ports 723 drivers/power/supply/cros_usbpd-charger.c power_supply_changed(charger->ports[i]->psy); ports 724 drivers/power/supply/cros_usbpd-charger.c charger->ports[i]->last_update = ports 706 drivers/rtc/rtc-cmos.c cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) ports 726 drivers/rtc/rtc-cmos.c if (!ports) ports 735 drivers/rtc/rtc-cmos.c ports = request_region(ports->start, resource_size(ports), ports 738 drivers/rtc/rtc-cmos.c ports = request_mem_region(ports->start, resource_size(ports), ports 740 drivers/rtc/rtc-cmos.c if (!ports) { ports 746 drivers/rtc/rtc-cmos.c cmos_rtc.iomem = ports; ports 763 drivers/rtc/rtc-cmos.c if (can_bank2 && ports->end > (ports->start + 1)) ports 803 drivers/rtc/rtc-cmos.c rename_region(ports, dev_name(&cmos_rtc.rtc->dev)); ports 893 drivers/rtc/rtc-cmos.c release_region(ports->start, resource_size(ports)); ports 895 drivers/rtc/rtc-cmos.c release_mem_region(ports->start, resource_size(ports)); ports 910 drivers/rtc/rtc-cmos.c struct resource *ports; ports 922 drivers/rtc/rtc-cmos.c ports = cmos->iomem; ports 924 drivers/rtc/rtc-cmos.c release_region(ports->start, resource_size(ports)); ports 926 drivers/rtc/rtc-cmos.c release_mem_region(ports->start, resource_size(ports)); ports 2921 drivers/scsi/aha152x.c static unsigned short ports[] = { 0x340, 0x140 }; ports 3018 drivers/scsi/aha152x.c for (i = 0; i < ARRAY_SIZE(ports) && (setup->io_port != ports[i]); i++) ports 3021 drivers/scsi/aha152x.c if (i == ARRAY_SIZE(ports)) ports 3265 drivers/scsi/aha152x.c for (i = 0; i < ARRAY_SIZE(ports) && setup_count < 2; i++) { ports 3266 drivers/scsi/aha152x.c if ((setup_count == 1) && (setup[0].io_port == ports[i])) ports 3269 drivers/scsi/aha152x.c if (!request_region(ports[i], IO_RANGE, "aha152x")) { ports 3270 drivers/scsi/aha152x.c printk(KERN_ERR "aha152x: io port 0x%x busy.\n", ports[i]); ports 3274 drivers/scsi/aha152x.c if (aha152x_porttest(ports[i])) { ports 3278 drivers/scsi/aha152x.c (GETPORT(ports[i] + O_PORTA) << 8) + GETPORT(ports[i] + O_PORTB); ports 3279 drivers/scsi/aha152x.c } else if (tc1550_porttest(ports[i])) { ports 3283 drivers/scsi/aha152x.c (GETPORT(ports[i] + O_TC_PORTA) << 8) + GETPORT(ports[i] + O_TC_PORTB); ports 3285 drivers/scsi/aha152x.c release_region(ports[i], IO_RANGE); ports 3289 drivers/scsi/aha152x.c release_region(ports[i], IO_RANGE); ports 3292 drivers/scsi/aha152x.c setup[setup_count].io_port = ports[i]; ports 197 drivers/scsi/aic94xx/aic94xx_hwi.h struct asd_sas_port ports[ASD_MAX_PHYS]; ports 670 drivers/scsi/aic94xx/aic94xx_init.c sas_ports[i] = &asd_ha->ports[i]; ports 780 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c csk->cdev->ports[csk->port_id]->name, csk->tid, ports 790 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c csk->cdev->ports[csk->port_id]->name, csk->tid, ports 815 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c csk->cdev->ports[csk->port_id]->name, ports 959 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c struct net_device *ndev = cdev->ports[csk->port_id]; ports 1216 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c struct net_device *ndev = cdev->ports[0]; ports 1314 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c cdev->ports = adapter->port; ports 1342 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c cxgb3i_get_private_ipv4addr(cdev->ports[i]); ports 239 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk->cdev->ports[csk->port_id], ports 264 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk->cdev->ports[csk->port_id], ports 292 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk->cdev->ports[csk->port_id], ports 318 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); ports 368 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk->cdev->ports[csk->port_id], ports 391 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk->cdev->ports[csk->port_id], ports 416 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk->cdev->ports[csk->port_id], ports 432 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); ports 466 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); ports 501 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); ports 518 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); ports 548 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); ports 665 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); ports 793 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); ports 1608 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c struct net_device *ndev = csk->cdev->ports[csk->port_id]; ports 1689 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c struct net_device *ndev = cdev->ports[csk->port_id]; ports 2023 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); ports 2059 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgb4_ofld_send(csk->cdev->ports[csk->port_id], skb); ports 2074 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c struct net_device *ndev = cdev->ports[0]; ports 2130 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c lldi->ports[0]->name, lldi->nchan, lldi->ntxq, ports 2140 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cdev->ports = lldi->ports; ports 2153 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cdev, lldi->ports[0]->name, cdev->pfvf); ports 2172 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c pi = netdev_priv(lldi->ports[i]); ports 144 drivers/scsi/cxgbi/libcxgbi.c cdev->ports = (struct net_device **)(cdev + 1); ports 145 drivers/scsi/cxgbi/libcxgbi.c cdev->hbas = (struct cxgbi_hba **)(((char*)cdev->ports) + nports * ports 170 drivers/scsi/cxgbi/libcxgbi.c cdev, cdev->nports, cdev->nports ? cdev->ports[0]->name : ""); ports 237 drivers/scsi/cxgbi/libcxgbi.c if (ndev == cdev->ports[i]) { ports 269 drivers/scsi/cxgbi/libcxgbi.c if (ndev == cdev->ports[i]) { ports 302 drivers/scsi/cxgbi/libcxgbi.c if (!memcmp(ndev->dev_addr, cdev->ports[i]->dev_addr, ports 353 drivers/scsi/cxgbi/libcxgbi.c cdev, i, cdev->ports[i]->name); ports 366 drivers/scsi/cxgbi/libcxgbi.c chba->ndev = cdev->ports[i]; ports 371 drivers/scsi/cxgbi/libcxgbi.c cdev, i, cdev->ports[i]->name, chba); ports 377 drivers/scsi/cxgbi/libcxgbi.c cdev, i, cdev->ports[i]->name); ports 447 drivers/scsi/cxgbi/libcxgbi.c cdev, csk->port_id, cdev->ports[csk->port_id]->name); ports 466 drivers/scsi/cxgbi/libcxgbi.c cdev, csk->port_id, cdev->ports[csk->port_id]->name); ports 484 drivers/scsi/cxgbi/libcxgbi.c cdev->ports[csk->port_id]->name, ports 493 drivers/scsi/cxgbi/libcxgbi.c cdev, csk->port_id, cdev->ports[csk->port_id]->name, ports 516 drivers/scsi/cxgbi/libcxgbi.c cdev->ports[csk->port_id]->name, ports 528 drivers/scsi/cxgbi/libcxgbi.c cdev, csk->port_id, cdev->ports[csk->port_id]->name, ports 1295 drivers/scsi/cxgbi/libcxgbi.c int err = cxgbi_ppm_init(ppm_pp, cdev->ports[0], cdev->pdev, ports 1896 drivers/scsi/cxgbi/libcxgbi.c struct net_device *ndev = cdev->ports[csk->port_id]; ports 466 drivers/scsi/cxgbi/libcxgbi.h struct net_device **ports; ports 530 drivers/scsi/fcoe/fcoe_ctlr.c int ports, u8 *sa) ports 545 drivers/scsi/fcoe/fcoe_ctlr.c if (!fcf || (ports && !lp->port_id)) ports 548 drivers/scsi/fcoe/fcoe_ctlr.c len = sizeof(*kal) + ports * sizeof(*vn); ports 563 drivers/scsi/fcoe/fcoe_ctlr.c ports * sizeof(*vn)) / FIP_BPW); ports 571 drivers/scsi/fcoe/fcoe_ctlr.c if (ports) { ports 30 drivers/scsi/fdomain_isa.c static unsigned short ports[] = { 0x140, 0x150, 0x160, 0x170 }; ports 31 drivers/scsi/fdomain_isa.c #define PORT_COUNT ARRAY_SIZE(ports) ports 125 drivers/scsi/fdomain_isa.c base = ports[ndev - ADDRESS_COUNT]; ports 228 drivers/scsi/g_NCR5380.c unsigned int *ports = NULL; ports 242 drivers/scsi/g_NCR5380.c ports = ncr_53c400a_ports; ports 246 drivers/scsi/g_NCR5380.c ports = ncr_53c400a_ports; ports 250 drivers/scsi/g_NCR5380.c ports = dtc_3181e_ports; ports 255 drivers/scsi/g_NCR5380.c if (is_pmio && ports && magic) { ports 263 drivers/scsi/g_NCR5380.c for (i = 0; ports[i]; i++) { ports 264 drivers/scsi/g_NCR5380.c if (base == ports[i]) { /* index found */ ports 265 drivers/scsi/g_NCR5380.c if (!request_region(ports[i], ports 273 drivers/scsi/g_NCR5380.c for (i = 0; ports[i]; i++) { ports 274 drivers/scsi/g_NCR5380.c if (!request_region(ports[i], region_size, ports 277 drivers/scsi/g_NCR5380.c if (inb(ports[i]) == 0xff) ports 279 drivers/scsi/g_NCR5380.c release_region(ports[i], region_size); ports 281 drivers/scsi/g_NCR5380.c if (ports[i]) { ports 284 drivers/scsi/g_NCR5380.c base = ports[i]; ports 1155 drivers/scsi/imm.c int ports; ports 1227 drivers/scsi/imm.c ports = 3; ports 1229 drivers/scsi/imm.c ports = 8; ports 1238 drivers/scsi/imm.c host->n_io_port = ports; ports 1031 drivers/scsi/isci/host.c struct isci_port *iport = &ihost->ports[index]; ports 1275 drivers/scsi/isci/host.c struct isci_port *iport = &ihost->ports[i]; ports 1476 drivers/scsi/isci/host.c struct isci_port *iport = &ihost->ports[index]; ports 1637 drivers/scsi/isci/host.c sci_port_construct(&ihost->ports[i], i, ihost); ports 1638 drivers/scsi/isci/host.c sci_port_construct(&ihost->ports[i], SCIC_SDS_DUMMY_PORT, ihost); ports 1644 drivers/scsi/isci/host.c &ihost->ports[SCI_MAX_PORTS], i); ports 1659 drivers/scsi/isci/host.c if (oem->ports[i].phy_mask > SCIC_SDS_PARM_PHY_MASK_MAX) ports 1669 drivers/scsi/isci/host.c if (oem->ports[i].phy_mask != 0) ports 1675 drivers/scsi/isci/host.c phy_mask |= oem->ports[i].phy_mask; ports 2226 drivers/scsi/isci/host.c struct isci_port *iport = &ihost->ports[i]; ports 196 drivers/scsi/isci/host.h struct isci_port ports[SCI_MAX_PORTS + 1]; /* includes dummy port */ ports 463 drivers/scsi/isci/init.c oem->ports[i].phy_mask = 0; ports 540 drivers/scsi/isci/init.c struct isci_port *iport = &ihost->ports[i]; ports 83 drivers/scsi/isci/port.c ihost = container_of(table, typeof(*ihost), ports[0]); ports 491 drivers/scsi/isci/port.c sci_phy_set_port(iphy, &ihost->ports[SCI_MAX_PORTS]); ports 763 drivers/scsi/isci/port.c struct isci_port *dst_port = &(ihost->ports[iphy->phy_index]); ports 1741 drivers/scsi/isci/port.c __func__, (long) (iport - &ihost->ports[0])); ports 1760 drivers/scsi/isci/port.c iport = &ihost->ports[i]; ports 134 drivers/scsi/isci/port_config.c struct isci_port *iport = &ihost->ports[i]; ports 257 drivers/scsi/isci/port_config.c phy_mask = ihost->oem_parameters.ports[port_index].phy_mask; ports 310 drivers/scsi/isci/port_config.c sci_port_add_phy(&ihost->ports[port_index], ports 509 drivers/scsi/isci/port_config.c iport = &ihost->ports[port_index]; ports 310 drivers/scsi/isci/probe_roms.h } ports[SCI_MAX_PORTS]; ports 1022 drivers/scsi/ppa.c int ports; ports 1096 drivers/scsi/ppa.c ports = 3; ports 1098 drivers/scsi/ppa.c ports = 8; ports 1107 drivers/scsi/ppa.c host->n_io_port = ports; ports 1468 drivers/scsi/qla1280.c for (bus = 0; bus < ha->ports; bus++) { ports 2204 drivers/scsi/qla1280.c if (ha->ports > 1) ports 2287 drivers/scsi/qla1280.c for (bus = 0; bus < ha->ports; bus++) ports 3571 drivers/scsi/qla1280.c for (bus = 0; bus < ha->ports && ports 3807 drivers/scsi/qla1280.c for (bus = 0; bus < ha->ports; bus++) ports 4225 drivers/scsi/qla1280.c ha->ports = bdp->numPorts; ports 1020 drivers/scsi/qla1280.h uint8_t ports; ports 933 drivers/slimbus/qcom-ngd-ctrl.c struct slim_port *port = &rt->ports[i]; ports 342 drivers/slimbus/slimbus.h struct slim_port *ports; ports 209 drivers/slimbus/stream.c if (rt->ports) { ports 215 drivers/slimbus/stream.c rt->ports = kcalloc(num_ports, sizeof(*port), GFP_KERNEL); ports 216 drivers/slimbus/stream.c if (!rt->ports) ports 241 drivers/slimbus/stream.c port = &rt->ports[i]; ports 363 drivers/slimbus/stream.c stream->ports[i].ch.state = SLIM_CH_STATE_ACTIVE; ports 374 drivers/slimbus/stream.c struct slim_port *port = &stream->ports[i]; ports 381 drivers/slimbus/stream.c struct slim_port *port = &stream->ports[i]; ports 418 drivers/slimbus/stream.c slim_deactivate_remove_channel(stream, &stream->ports[i]); ports 442 drivers/slimbus/stream.c slim_disconnect_port(stream, &stream->ports[i]); ports 444 drivers/slimbus/stream.c kfree(stream->ports); ports 445 drivers/slimbus/stream.c stream->ports = NULL; ports 908 drivers/soundwire/cadence_master.c cdns->ports = devm_kcalloc(cdns->dev, cdns->num_ports, ports 909 drivers/soundwire/cadence_master.c sizeof(*cdns->ports), GFP_KERNEL); ports 910 drivers/soundwire/cadence_master.c if (!cdns->ports) { ports 916 drivers/soundwire/cadence_master.c cdns->ports[i].assigned = false; ports 917 drivers/soundwire/cadence_master.c cdns->ports[i].num = i + 1; /* Port 0 reserved for bulk */ ports 139 drivers/soundwire/cadence_master.h struct sdw_cdns_port *ports; ports 620 drivers/soundwire/intel.c if (cdns->ports[i].assigned) ports 623 drivers/soundwire/intel.c port = &cdns->ports[i]; ports 163 drivers/soundwire/mipi_disco.c struct sdw_dpn_prop *dpn, int count, int ports, ports 172 drivers/soundwire/mipi_disco.c addr = ports; ports 602 drivers/ssb/driver_chipcommon.c struct ssb_serial_port *ports) ports 689 drivers/ssb/driver_chipcommon.c ports[i].regs = uart_regs; ports 690 drivers/ssb/driver_chipcommon.c ports[i].irq = irq; ports 691 drivers/ssb/driver_chipcommon.c ports[i].baud_base = baud_base; ports 692 drivers/ssb/driver_chipcommon.c ports[i].reg_shift = 0; ports 55 drivers/ssb/driver_extif.c int ssb_extif_serial_init(struct ssb_extif *extif, struct ssb_serial_port *ports) ports 70 drivers/ssb/driver_extif.c if (serial_exists(uart_regs) && ports) { ports 74 drivers/ssb/driver_extif.c ports[i].regs = uart_regs; ports 75 drivers/ssb/driver_extif.c ports[i].irq = 2; ports 76 drivers/ssb/driver_extif.c ports[i].baud_base = 13500000; ports 77 drivers/ssb/driver_extif.c ports[i].reg_shift = 0; ports 226 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ppriv_local = ethsw->ports[i]; ports 705 drivers/staging/fsl-dpaa2/ethsw/ethsw.c port_carrier_state_sync(ethsw->ports[i]->netdev); ports 1025 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (ethsw->ports[i]->vlans[vid] & ETHSW_VLAN_MEMBER) ports 1119 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (ethsw->ports[i]->bridge_dev && ports 1120 drivers/staging/fsl-dpaa2/ethsw/ethsw.c (ethsw->ports[i]->bridge_dev != upper_dev)) { ports 1544 drivers/staging/fsl-dpaa2/ethsw/ethsw.c port_priv = ethsw->ports[i]; ports 1548 drivers/staging/fsl-dpaa2/ethsw/ethsw.c kfree(ethsw->ports); ports 1601 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ethsw->ports[port_idx] = port_priv; ports 1646 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ethsw->ports = kcalloc(ethsw->sw_attr.num_ifs, sizeof(*ethsw->ports), ports 1648 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (!(ethsw->ports)) { ports 1679 drivers/staging/fsl-dpaa2/ethsw/ethsw.c unregister_netdev(ethsw->ports[i]->netdev); ports 1680 drivers/staging/fsl-dpaa2/ethsw/ethsw.c free_netdev(ethsw->ports[i]->netdev); ports 1682 drivers/staging/fsl-dpaa2/ethsw/ethsw.c kfree(ethsw->ports); ports 65 drivers/staging/fsl-dpaa2/ethsw/ethsw.h struct ethsw_port_priv **ports; ports 846 drivers/staging/fwserial/fwserial.c serial->ports[j]->index = i; ports 847 drivers/staging/fwserial/fwserial.c port_table[i] = serial->ports[j]; ports 860 drivers/staging/fwserial/fwserial.c struct fwtty_port **ports = serial->ports; ports 861 drivers/staging/fwserial/fwserial.c int j, i = ports[0]->index; ports 867 drivers/staging/fwserial/fwserial.c port_table_corrupt |= port_table[i] != ports[j]; ports 869 drivers/staging/fwserial/fwserial.c i, port_table[i], j, ports[j]); ports 876 drivers/staging/fwserial/fwserial.c fw_core_remove_address_handler(&ports[j]->rx_handler); ports 877 drivers/staging/fwserial/fwserial.c tty_port_destroy(&ports[j]->port); ports 878 drivers/staging/fwserial/fwserial.c kfree(ports[j]); ports 1472 drivers/staging/fwserial/fwserial.c port = fwtty_port_get(serial->ports[i]->index); ports 1690 drivers/staging/fwserial/fwserial.c port = peer->serial->ports[index]; ports 1709 drivers/staging/fwserial/fwserial.c struct fwtty_port **ports = peer->serial->ports; ports 1719 drivers/staging/fwserial/fwserial.c spin_lock_bh(&ports[i]->lock); ports 1720 drivers/staging/fwserial/fwserial.c if (!ports[i]->peer) { ports 1722 drivers/staging/fwserial/fwserial.c rcu_assign_pointer(ports[i]->peer, peer); ports 1723 drivers/staging/fwserial/fwserial.c spin_unlock_bh(&ports[i]->lock); ports 1724 drivers/staging/fwserial/fwserial.c return ports[i]; ports 1726 drivers/staging/fwserial/fwserial.c spin_unlock_bh(&ports[i]->lock); ports 2179 drivers/staging/fwserial/fwserial.c serial->ports[i] = port; ports 2205 drivers/staging/fwserial/fwserial.c tty_dev = tty_port_register_device(&serial->ports[j]->port, ports 2207 drivers/staging/fwserial/fwserial.c serial->ports[j]->index, ports 2216 drivers/staging/fwserial/fwserial.c serial->ports[j]->device = tty_dev; ports 2223 drivers/staging/fwserial/fwserial.c loop_dev = tty_port_register_device(&serial->ports[j]->port, ports 2225 drivers/staging/fwserial/fwserial.c loop_idx(serial->ports[j]), ports 2233 drivers/staging/fwserial/fwserial.c serial->ports[j]->device = loop_dev; ports 2234 drivers/staging/fwserial/fwserial.c serial->ports[j]->loopback = true; ports 2265 drivers/staging/fwserial/fwserial.c loop_idx(serial->ports[j])); ports 2268 drivers/staging/fwserial/fwserial.c tty_unregister_device(fwtty_driver, serial->ports[j]->index); ports 2274 drivers/staging/fwserial/fwserial.c tty_port_destroy(&serial->ports[i]->port); ports 2275 drivers/staging/fwserial/fwserial.c kfree(serial->ports[i]); ports 2357 drivers/staging/fwserial/fwserial.c fwserial_close_port(fwtty_driver, serial->ports[i]); ports 2359 drivers/staging/fwserial/fwserial.c fwserial_close_port(fwloop_driver, serial->ports[i]); ports 334 drivers/staging/fwserial/fwserial.h struct fwtty_port *ports[MAX_CARD_PORTS]; ports 141 drivers/staging/mt7621-pci/pci-mt7621.c struct list_head ports; ports 366 drivers/staging/mt7621-pci/pci-mt7621.c list_add_tail(&port->list, &pcie->ports); ports 464 drivers/staging/mt7621-pci/pci-mt7621.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { ports 482 drivers/staging/mt7621-pci/pci-mt7621.c list_for_each_entry(port, &pcie->ports, list) { ports 534 drivers/staging/mt7621-pci/pci-mt7621.c list_for_each_entry(port, &pcie->ports, list) { ports 560 drivers/staging/mt7621-pci/pci-mt7621.c list_for_each_entry(port, &pcie->ports, list) { ports 669 drivers/staging/mt7621-pci/pci-mt7621.c INIT_LIST_HEAD(&pcie->ports); ports 153 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, cdev->lldi.ports[0]->name, stid, sin6->sin6_port); ports 158 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgb4_clip_get(cdev->lldi.ports[0], ports 170 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgb4_create_server6(cdev->lldi.ports[0], ports 184 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgb4_clip_release(cdev->lldi.ports[0], ports 204 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, cdev->lldi.ports[0]->name, stid, sin->sin_port); ports 209 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgb4_create_server(cdev->lldi.ports[0], ports 237 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (lldi->ports[i] == ndev) { ports 534 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgb4_remove_server(cdev->lldi.ports[0], stid, ports 554 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgb4_clip_release(cdev->lldi.ports[0], ports 805 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgb4_clip_release(csk->com.cdev->lldi.ports[0], ports 1006 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgb4_ofld_send(cdev->lldi.ports[0], skb); ports 1037 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgb4_l2t_send(cdev->lldi.ports[0], skb, l2e); ports 1345 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgb4_clip_get(cdev->lldi.ports[0], ports 298 drivers/target/iscsi/cxgbit/cxgbit_ddp.c struct net_device *ndev = cdev->lldi.ports[0]; ports 316 drivers/target/iscsi/cxgbit/cxgbit_ddp.c ret = cxgbi_ppm_init(lldi->iscsi_ppm, cdev->lldi.ports[0], ports 76 drivers/target/target_core_stat.c CONFIGFS_ATTR_RO(target_stat_, ports); ports 170 drivers/thunderbolt/dma_port.c static const int ports[] = { 3, 5, 7 }; ports 177 drivers/thunderbolt/dma_port.c for (i = 0; i < ARRAY_SIZE(ports); i++) { ports 181 drivers/thunderbolt/dma_port.c ret = dma_port_read(sw->tb->ctl, &type, tb_route(sw), ports[i], ports 184 drivers/thunderbolt/dma_port.c return ports[i]; ports 347 drivers/thunderbolt/eeprom.c port = &sw->ports[header->index]; ports 368 drivers/thunderbolt/eeprom.c &port->sw->ports[entry->dual_link_port_nr]; ports 518 drivers/thunderbolt/eeprom.c sw->ports[1].link_nr = 0; ports 519 drivers/thunderbolt/eeprom.c sw->ports[2].link_nr = 1; ports 520 drivers/thunderbolt/eeprom.c sw->ports[1].dual_link_port = &sw->ports[2]; ports 521 drivers/thunderbolt/eeprom.c sw->ports[2].dual_link_port = &sw->ports[1]; ports 523 drivers/thunderbolt/eeprom.c sw->ports[3].link_nr = 0; ports 524 drivers/thunderbolt/eeprom.c sw->ports[4].link_nr = 1; ports 525 drivers/thunderbolt/eeprom.c sw->ports[3].dual_link_port = &sw->ports[4]; ports 526 drivers/thunderbolt/eeprom.c sw->ports[4].dual_link_port = &sw->ports[3]; ports 378 drivers/thunderbolt/icm.c index = icm_fr_get_switch_index(sw->ports[link]); ports 393 drivers/thunderbolt/icm.c for (j = 0; j < ARRAY_SIZE(sw->ports); j++) { ports 394 drivers/thunderbolt/icm.c index = icm_fr_get_switch_index(sw->ports[j]); ports 1902 drivers/thunderbolt/icm.c struct tb_port *port = &sw->ports[i]; ports 1942 drivers/thunderbolt/icm.c struct tb_port *port = &sw->ports[i]; ports 57 drivers/thunderbolt/path.c out_port = &sw->ports[hop.out_port]; ports 142 drivers/thunderbolt/path.c out_port = &sw->ports[hop.out_port]; ports 183 drivers/thunderbolt/path.c out_port = &sw->ports[hop.out_port]; ports 1414 drivers/thunderbolt/switch.c if (!sw->ports[i].disabled) { ports 1415 drivers/thunderbolt/switch.c ida_destroy(&sw->ports[i].in_hopids); ports 1416 drivers/thunderbolt/switch.c ida_destroy(&sw->ports[i].out_hopids); ports 1423 drivers/thunderbolt/switch.c kfree(sw->ports); ports 1556 drivers/thunderbolt/switch.c sw->ports = kcalloc(sw->config.max_port_number + 1, sizeof(*sw->ports), ports 1558 drivers/thunderbolt/switch.c if (!sw->ports) { ports 1565 drivers/thunderbolt/switch.c sw->ports[i].sw = sw; ports 1566 drivers/thunderbolt/switch.c sw->ports[i].port = i; ports 1596 drivers/thunderbolt/switch.c kfree(sw->ports); ports 1832 drivers/thunderbolt/switch.c if (sw->ports[i].disabled) { ports 1833 drivers/thunderbolt/switch.c tb_port_dbg(&sw->ports[i], "disabled by eeprom\n"); ports 1836 drivers/thunderbolt/switch.c ret = tb_init_port(&sw->ports[i]); ports 1891 drivers/thunderbolt/switch.c if (tb_port_has_remote(&sw->ports[i])) { ports 1892 drivers/thunderbolt/switch.c tb_switch_remove(sw->ports[i].remote->sw); ports 1893 drivers/thunderbolt/switch.c sw->ports[i].remote = NULL; ports 1894 drivers/thunderbolt/switch.c } else if (sw->ports[i].xdomain) { ports 1895 drivers/thunderbolt/switch.c tb_xdomain_remove(sw->ports[i].xdomain); ports 1896 drivers/thunderbolt/switch.c sw->ports[i].xdomain = NULL; ports 1927 drivers/thunderbolt/switch.c if (tb_port_has_remote(&sw->ports[i])) ports 1928 drivers/thunderbolt/switch.c tb_sw_set_unplugged(sw->ports[i].remote->sw); ports 1929 drivers/thunderbolt/switch.c else if (sw->ports[i].xdomain) ports 1930 drivers/thunderbolt/switch.c sw->ports[i].xdomain->is_unplugged = true; ports 1985 drivers/thunderbolt/switch.c struct tb_port *port = &sw->ports[i]; ports 2016 drivers/thunderbolt/switch.c if (tb_port_has_remote(&sw->ports[i])) ports 2017 drivers/thunderbolt/switch.c tb_switch_suspend(sw->ports[i].remote->sw); ports 69 drivers/thunderbolt/tb.c port = &sw->ports[i]; ports 99 drivers/thunderbolt/tb.c if (tb_port_has_remote(&sw->ports[i])) ports 100 drivers/thunderbolt/tb.c tb_discover_tunnels(sw->ports[i].remote->sw); ports 135 drivers/thunderbolt/tb.c tb_scan_port(&sw->ports[i]); ports 268 drivers/thunderbolt/tb.c struct tb_port *port = &sw->ports[i]; ports 294 drivers/thunderbolt/tb.c if (sw->ports[i].config.type == type) ports 295 drivers/thunderbolt/tb.c return &sw->ports[i]; ports 310 drivers/thunderbolt/tb.c if (tb_is_upstream_port(&sw->ports[i])) ports 312 drivers/thunderbolt/tb.c if (sw->ports[i].config.type != type) ports 314 drivers/thunderbolt/tb.c if (!sw->ports[i].cap_adap) ports 316 drivers/thunderbolt/tb.c if (tb_port_is_enabled(&sw->ports[i])) ports 318 drivers/thunderbolt/tb.c return &sw->ports[i]; ports 349 drivers/thunderbolt/tb.c if (WARN_ON(!tb_port_is_pcie_down(&sw->ports[index]))) ports 351 drivers/thunderbolt/tb.c if (WARN_ON(tb_pci_port_is_enabled(&sw->ports[index]))) ports 354 drivers/thunderbolt/tb.c return &sw->ports[index]; ports 525 drivers/thunderbolt/tb.c port = &sw->ports[ev->port]; ports 740 drivers/thunderbolt/tb.c struct tb_port *port = &sw->ports[i]; ports 91 drivers/thunderbolt/tb.h struct tb_port *ports; ports 314 drivers/thunderbolt/tb.h return &sw->ports[sw->config.upstream_port_number]; ports 342 drivers/thunderbolt/tb.h return &sw->ports[port]; ports 159 drivers/thunderbolt/tb_msgs.h u32 ports[16]; ports 1410 drivers/thunderbolt/xdomain.c struct tb_port *port = &sw->ports[i]; ports 452 drivers/tty/cyclades.c info = &cinfo->ports[channel + chip * 4]; ports 587 drivers/tty/cyclades.c info = &cinfo->ports[channel + chip * 4]; ports 690 drivers/tty/cyclades.c info = &cinfo->ports[channel + chip * 4]; ports 1097 drivers/tty/cyclades.c info = &cinfo->ports[channel]; ports 1241 drivers/tty/cyclades.c info = &cinfo->ports[port]; ports 1504 drivers/tty/cyclades.c info = &cy_card[i].ports[line - cy_card[i].first_line]; ports 3057 drivers/tty/cyclades.c cinfo->ports = kcalloc(cinfo->nports, sizeof(*cinfo->ports), ports 3059 drivers/tty/cyclades.c if (cinfo->ports == NULL) { ports 3066 drivers/tty/cyclades.c info = &cinfo->ports[channel]; ports 3342 drivers/tty/cyclades.c tty_port_register_device(&card->ports[k].port, ports 3859 drivers/tty/cyclades.c tty_port_register_device(&card->ports[j].port, ports 3911 drivers/tty/cyclades.c tty_port_destroy(&cinfo->ports[channel].port); ports 3914 drivers/tty/cyclades.c kfree(cinfo->ports); ports 3937 drivers/tty/cyclades.c info = &cy_card[i].ports[j]; ports 4106 drivers/tty/cyclades.c kfree(card->ports); ports 191 drivers/tty/isicom.c struct isi_port *ports; ports 415 drivers/tty/isicom.c port = isi_card[card].ports; ports 547 drivers/tty/isicom.c port = card->ports + channel; ports 787 drivers/tty/isicom.c port = bp->ports; ports 1577 drivers/tty/isicom.c struct tty_port *tport = &board->ports[index].port; ports 1608 drivers/tty/isicom.c tty_port_destroy(&board->ports[i].port); ports 1625 drivers/tty/isicom.c isi_card[idx].ports = port; ports 147 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port ports[NUM_TTY_CHANNELS]; ports 424 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[chan]; ports 520 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[priv->xmit_next]; ports 570 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[channel]; ports 765 drivers/tty/mips_ejtag_fdc.c tty->driver_data = &priv->ports[tty->index]; ports 766 drivers/tty/mips_ejtag_fdc.c return tty_port_install(&priv->ports[tty->index].port, driver, tty); ports 940 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[nport]; ports 1041 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[nport]; ports 108 drivers/tty/moxa.c struct moxa_port *ports; ports 316 drivers/tty/moxa.c p = moxa_boards[i].ports; ports 345 drivers/tty/moxa.c p = moxa_boards[i].ports; ports 663 drivers/tty/moxa.c port = brd->ports; ports 681 drivers/tty/moxa.c port = brd->ports; ports 828 drivers/tty/moxa.c brd->ports = kcalloc(MAX_PORTS_PER_BOARD, sizeof(*brd->ports), ports 830 drivers/tty/moxa.c if (brd->ports == NULL) { ports 836 drivers/tty/moxa.c for (i = 0, p = brd->ports; i < MAX_PORTS_PER_BOARD; i++, p++) { ports 880 drivers/tty/moxa.c tty_port_register_device(&brd->ports[i].port, moxaDriver, ports 886 drivers/tty/moxa.c tty_port_destroy(&brd->ports[i].port); ports 887 drivers/tty/moxa.c kfree(brd->ports); ports 903 drivers/tty/moxa.c if (tty_port_initialized(&brd->ports[a].port)) ports 904 drivers/tty/moxa.c tty_port_tty_hangup(&brd->ports[a].port, false); ports 907 drivers/tty/moxa.c tty_port_destroy(&brd->ports[a].port); ports 912 drivers/tty/moxa.c if (tty_port_initialized(&brd->ports[a].port)) ports 927 drivers/tty/moxa.c kfree(brd->ports); ports 1178 drivers/tty/moxa.c ch = &brd->ports[port % MAX_PORTS_PER_BOARD]; ports 1443 drivers/tty/moxa.c moxa_poll_port(&brd->ports[port], !!ip, ip + port); ports 1449 drivers/tty/moxa.c struct moxa_port *p = brd->ports; ports 272 drivers/tty/mxser.c struct mxser_port ports[MXSER_PORTS_PER_BOARD]; ports 1009 drivers/tty/mxser.c info = &mxser_boards[line / MXSER_PORTS_PER_BOARD].ports[line % MXSER_PORTS_PER_BOARD]; ports 1515 drivers/tty/mxser.c if (mxser_boards[i].ports[j].ioaddr) ports 1528 drivers/tty/mxser.c ip = &mxser_boards[i].ports[j]; ports 1575 drivers/tty/mxser.c ip = &mxser_boards[i].ports[j]; ports 2244 drivers/tty/mxser.c port = &brd->ports[i]; ports 2354 drivers/tty/mxser.c brd->vector >= brd->ports[0].ioaddr && ports 2355 drivers/tty/mxser.c brd->vector < brd->ports[0].ioaddr + 8 * brd->info->nports; ports 2374 drivers/tty/mxser.c release_region(brd->ports[0].ioaddr, 8 * brd->info->nports); ports 2385 drivers/tty/mxser.c brd->ports[0].max_baud); ports 2388 drivers/tty/mxser.c info = &brd->ports[i]; ports 2420 drivers/tty/mxser.c tty_port_destroy(&brd->ports[i].port); ports 2435 drivers/tty/mxser.c tty_port_destroy(&brd->ports[i].port); ports 2500 drivers/tty/mxser.c brd->ports[i].ioaddr = (int) regs[i + 1] & 0xFFF8; ports 2512 drivers/tty/mxser.c brd->ports[i].baud_base = 921600; ports 2513 drivers/tty/mxser.c brd->ports[i].max_baud = 921600; ports 2515 drivers/tty/mxser.c brd->ports[i].baud_base = 115200; ports 2516 drivers/tty/mxser.c brd->ports[i].max_baud = 115200; ports 2530 drivers/tty/mxser.c if (!request_region(brd->ports[0].ioaddr, 8 * brd->info->nports, ports 2534 drivers/tty/mxser.c brd->ports[0].ioaddr, brd->ports[0].ioaddr + ports 2541 drivers/tty/mxser.c release_region(brd->ports[0].ioaddr, 8 * brd->info->nports); ports 2544 drivers/tty/mxser.c brd->ports[0].ioaddr, brd->ports[0].ioaddr + ports 2595 drivers/tty/mxser.c brd->ports[i].ioaddr = ioaddress + 8 * i; ports 2607 drivers/tty/mxser.c brd->chip_flag = CheckIsMoxaMust(brd->ports[0].ioaddr); ports 2614 drivers/tty/mxser.c brd->ports[i].max_baud = ports 2619 drivers/tty/mxser.c brd->ports[i].max_baud = 921600; ports 2628 drivers/tty/mxser.c brd->ports[i].opmode_ioaddr = ioaddress + 4; ports 2630 drivers/tty/mxser.c brd->ports[i].opmode_ioaddr = ioaddress + 0x0c; ports 2638 drivers/tty/mxser.c brd->ports[i].baud_base = 921600; ports 2647 drivers/tty/mxser.c tty_dev = tty_port_register_device(&brd->ports[i].port, ports 2663 drivers/tty/mxser.c tty_port_destroy(&brd->ports[i].port); ports 2756 drivers/tty/mxser.c tty_dev = tty_port_register_device(&brd->ports[i].port, ports 2763 drivers/tty/mxser.c tty_port_destroy(&brd->ports[i].port); ports 383 drivers/tty/pty.c struct tty_port *ports[2]; ports 391 drivers/tty/pty.c ports[0] = kmalloc(sizeof **ports, GFP_KERNEL); ports 392 drivers/tty/pty.c ports[1] = kmalloc(sizeof **ports, GFP_KERNEL); ports 393 drivers/tty/pty.c if (!ports[0] || !ports[1]) ports 428 drivers/tty/pty.c tty_port_init(ports[0]); ports 429 drivers/tty/pty.c tty_port_init(ports[1]); ports 430 drivers/tty/pty.c tty_buffer_set_limit(ports[0], 8192); ports 431 drivers/tty/pty.c tty_buffer_set_limit(ports[1], 8192); ports 432 drivers/tty/pty.c o_tty->port = ports[0]; ports 433 drivers/tty/pty.c tty->port = ports[1]; ports 446 drivers/tty/pty.c kfree(ports[0]); ports 447 drivers/tty/pty.c kfree(ports[1]); ports 34 drivers/tty/serial/8250/8250_acorn.c int ports[MAX_PORTS]; ports 74 drivers/tty/serial/8250/8250_acorn.c info->ports[i] = serial8250_register_8250_port(&uart); ports 88 drivers/tty/serial/8250/8250_acorn.c if (info->ports[i] > 0) ports 89 drivers/tty/serial/8250/8250_acorn.c serial8250_unregister_port(info->ports[i]); ports 35 drivers/tty/serial/bcm63xx_uart.c static struct uart_port ports[BCM63XX_NR_UARTS]; ports 706 drivers/tty/serial/bcm63xx_uart.c port = &ports[co->index]; ports 744 drivers/tty/serial/bcm63xx_uart.c port = &ports[co->index]; ports 828 drivers/tty/serial/bcm63xx_uart.c port = &ports[pdev->id]; ports 865 drivers/tty/serial/bcm63xx_uart.c ports[pdev->id].membase = NULL; ports 879 drivers/tty/serial/bcm63xx_uart.c ports[pdev->id].membase = NULL; ports 190 drivers/tty/serial/rp2.c struct rp2_uart_port *ports; ports 202 drivers/tty/serial/rp2.c #define RP_CAP(ports, smpte) (((ports) << 8) | ((smpte) << 0)) ports 205 drivers/tty/serial/rp2.c int *ports, int *smpte) ports 207 drivers/tty/serial/rp2.c *ports = id->driver_data >> 8; ports 493 drivers/tty/serial/rp2.c rp2_ch_interrupt(&card->ports[ch]); ports 663 drivers/tty/serial/rp2.c uart_remove_one_port(&rp2_uart_driver, &card->ports[i].port); ports 682 drivers/tty/serial/rp2.c struct rp2_uart_port *rp = &card->ports[i]; ports 741 drivers/tty/serial/rp2.c struct rp2_uart_port *ports; ports 777 drivers/tty/serial/rp2.c ports = devm_kcalloc(&pdev->dev, card->n_ports, sizeof(*ports), ports 779 drivers/tty/serial/rp2.c if (!ports) ports 781 drivers/tty/serial/rp2.c card->ports = ports; ports 1939 drivers/tty/serial/serial_core.c uart_get_console(struct uart_port *ports, int nr, struct console *co) ports 1943 drivers/tty/serial/serial_core.c if (idx < 0 || idx >= nr || (ports[idx].iobase == 0 && ports 1944 drivers/tty/serial/serial_core.c ports[idx].membase == NULL)) ports 1946 drivers/tty/serial/serial_core.c if (ports[idx].iobase != 0 || ports 1947 drivers/tty/serial/serial_core.c ports[idx].membase != NULL) ports 1952 drivers/tty/serial/serial_core.c return ports + idx; ports 1345 drivers/tty/tty_io.c tty->port = driver->ports[idx]; ports 3237 drivers/tty/tty_io.c driver->ports = kcalloc(lines, sizeof(*driver->ports), ports 3239 drivers/tty/tty_io.c if (!driver->ports) { ports 3254 drivers/tty/tty_io.c kfree(driver->ports); ports 3284 drivers/tty/tty_io.c kfree(driver->ports); ports 93 drivers/tty/tty_port.c driver->ports[index] = port; ports 1369 drivers/usb/core/devio.c if (++ci.num_ports <= ARRAY_SIZE(ci.ports)) ports 1370 drivers/usb/core/devio.c ci.ports[ARRAY_SIZE(ci.ports) - ci.num_ports] = ports 1375 drivers/usb/core/devio.c if (ci.num_ports < ARRAY_SIZE(ci.ports)) ports 1376 drivers/usb/core/devio.c memmove(&ci.ports[0], ports 1377 drivers/usb/core/devio.c &ci.ports[ARRAY_SIZE(ci.ports) - ci.num_ports], ports 458 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 699 drivers/usb/core/hub.c port_dev = hub->ports[portnum - 1]; ports 959 drivers/usb/core/hub.c dev_dbg(&hub->ports[port1 - 1]->dev, "logical disconnect\n"); ports 1113 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 1318 drivers/usb/core/hub.c if (hub->ports[i]->child) ports 1319 drivers/usb/core/hub.c usb_disconnect(&hub->ports[i]->child); ports 1337 drivers/usb/core/hub.c pm_runtime_barrier(&hub->ports[i]->dev); ports 1438 drivers/usb/core/hub.c hub->ports = kcalloc(maxchild, sizeof(struct usb_port *), GFP_KERNEL); ports 1439 drivers/usb/core/hub.c if (!hub->ports) { ports 1656 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[i]; ports 1734 drivers/usb/core/hub.c kfree(hub->ports); ports 1906 drivers/usb/core/hub.c if (hub->ports[i]->child == NULL) ports 1910 drivers/usb/core/hub.c hub->ports[i]->child->devnum; ports 1940 drivers/usb/core/hub.c *ppowner = &(hub->ports[port1 - 1]->port_owner); ports 1983 drivers/usb/core/hub.c if (hub->ports[n]->port_owner == owner) ports 1984 drivers/usb/core/hub.c hub->ports[n]->port_owner = NULL; ports 1997 drivers/usb/core/hub.c return !!hub->ports[udev->portnum - 1]->port_owner; ports 2006 drivers/usb/core/hub.c if (hub->ports[i]->child) ports 2007 drivers/usb/core/hub.c recursively_mark_NOTATTACHED(hub->ports[i]->child); ports 2165 drivers/usb/core/hub.c if (hub->ports[i]->child) ports 2166 drivers/usb/core/hub.c usb_disconnect(&hub->ports[i]->child); ports 2222 drivers/usb/core/hub.c port_dev = hub->ports[port1 - 1]; ports 2441 drivers/usb/core/hub.c switch (hub->ports[udev->portnum - 1]->connect_type) { ports 2563 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 2798 drivers/usb/core/hub.c dev_dbg(&hub->ports[port1 - 1]->dev, ports 2861 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 3048 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 3263 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[udev->portnum - 1]; ports 3534 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[udev->portnum - 1]; ports 3642 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port - 1]; ports 3708 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 3776 drivers/usb/core/hub.c udev = hub->ports[i]->child; ports 4253 drivers/usb/core/hub.c port_dev = hub->ports[udev->portnum - 1]; ports 4349 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 4405 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 4501 drivers/usb/core/hub.c connect_type = hub->ports[udev->portnum - 1]->connect_type; ports 4540 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 4922 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 4965 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 5192 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 5282 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 5446 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[i - 1]; ports 5888 drivers/usb/core/hub.c port_dev = hub->ports[udev->portnum - 1]; ports 6012 drivers/usb/core/hub.c return hub->ports[port1 - 1]->child; ports 6028 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[i - 1]; ports 6044 drivers/usb/core/hub.c struct usb_port *port_dev = hub->ports[i - 1]; ports 6078 drivers/usb/core/hub.c return ACPI_HANDLE(&hub->ports[port1 - 1]->dev); ports 75 drivers/usb/core/hub.h struct usb_port **ports; ports 18 drivers/usb/core/ledtrig-usbport.c struct list_head ports; ports 48 drivers/usb/core/ledtrig-usbport.c list_for_each_entry(port, &usbport_data->ports, list) { ports 223 drivers/usb/core/ledtrig-usbport.c list_add_tail(&port->list, &usbport_data->ports); ports 265 drivers/usb/core/ledtrig-usbport.c list_for_each_entry_safe(port, tmp, &usbport_data->ports, list) { ports 313 drivers/usb/core/ledtrig-usbport.c INIT_LIST_HEAD(&usbport_data->ports); ports 336 drivers/usb/core/ledtrig-usbport.c list_for_each_entry_safe(port, tmp, &usbport_data->ports, list) { ports 463 drivers/usb/core/port.c peer = peer_hub->ports[port1 - 1]; ports 480 drivers/usb/core/port.c struct usb_port *port_dev = hub->ports[port1 - 1], *peer; ports 511 drivers/usb/core/port.c upstream = parent_hub->ports[hdev->portnum - 1]; ports 526 drivers/usb/core/port.c peer = peer_hub->ports[port1 - 1]; ports 547 drivers/usb/core/port.c hub->ports[port1 - 1] = port_dev; ports 616 drivers/usb/core/port.c struct usb_port *port_dev = hub->ports[port1 - 1]; ports 63 drivers/usb/core/usb-acpi.c port_dev = hub->ports[port1 - 1]; ports 220 drivers/usb/core/usb-acpi.c port_dev = hub->ports[udev->portnum - 1]; ports 555 drivers/usb/core/usb.c return hub->ports[dev->portnum - 1]->connect_type == ports 130 drivers/usb/gadget/function/u_serial.c } ports[MAX_U_SERIAL_PORTS]; ports 594 drivers/usb/gadget/function/u_serial.c mutex_lock(&ports[port_num].lock); ports 595 drivers/usb/gadget/function/u_serial.c port = ports[port_num].port; ports 617 drivers/usb/gadget/function/u_serial.c mutex_unlock(&ports[port_num].lock); ports 957 drivers/usb/gadget/function/u_serial.c port = ports[port_num].port; ports 1140 drivers/usb/gadget/function/u_serial.c mutex_lock(&ports[port_num].lock); ports 1141 drivers/usb/gadget/function/u_serial.c if (ports[port_num].port) { ports 1166 drivers/usb/gadget/function/u_serial.c ports[port_num].port = port; ports 1168 drivers/usb/gadget/function/u_serial.c mutex_unlock(&ports[port_num].lock); ports 1196 drivers/usb/gadget/function/u_serial.c mutex_lock(&ports[port_num].lock); ports 1197 drivers/usb/gadget/function/u_serial.c if (WARN_ON(!ports[port_num].port)) { ports 1198 drivers/usb/gadget/function/u_serial.c mutex_unlock(&ports[port_num].lock); ports 1201 drivers/usb/gadget/function/u_serial.c port = ports[port_num].port; ports 1202 drivers/usb/gadget/function/u_serial.c ports[port_num].port = NULL; ports 1203 drivers/usb/gadget/function/u_serial.c mutex_unlock(&ports[port_num].lock); ports 1236 drivers/usb/gadget/function/u_serial.c tty_dev = tty_port_register_device(&ports[port_num].port->port, ports 1244 drivers/usb/gadget/function/u_serial.c mutex_lock(&ports[port_num].lock); ports 1245 drivers/usb/gadget/function/u_serial.c port = ports[port_num].port; ports 1246 drivers/usb/gadget/function/u_serial.c ports[port_num].port = NULL; ports 1247 drivers/usb/gadget/function/u_serial.c mutex_unlock(&ports[port_num].lock); ports 1288 drivers/usb/gadget/function/u_serial.c port = ports[port_num].port; ports 1427 drivers/usb/gadget/function/u_serial.c mutex_init(&ports[i].lock); ports 143 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_dev_irq(&vhub->ports[0].dev); ports 145 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_dev_irq(&vhub->ports[1].dev); ports 147 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_dev_irq(&vhub->ports[2].dev); ports 149 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_dev_irq(&vhub->ports[3].dev); ports 151 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_dev_irq(&vhub->ports[4].dev); ports 277 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_del_dev(&vhub->ports[i].dev); ports 538 drivers/usb/gadget/udc/aspeed-vhub/dev.c struct ast_vhub_dev *d = &vhub->ports[idx].dev; ports 419 drivers/usb/gadget/udc/aspeed-vhub/hub.c if (vhub->ports[port].change) ports 432 drivers/usb/gadget/udc/aspeed-vhub/hub.c struct ast_vhub_port *p = &vhub->ports[port]; ports 508 drivers/usb/gadget/udc/aspeed-vhub/hub.c struct ast_vhub_port *p = &vhub->ports[i]; ports 533 drivers/usb/gadget/udc/aspeed-vhub/hub.c struct ast_vhub_port *p = &vhub->ports[port]; ports 593 drivers/usb/gadget/udc/aspeed-vhub/hub.c p = &vhub->ports[port]; ports 636 drivers/usb/gadget/udc/aspeed-vhub/hub.c p = &vhub->ports[port]; ports 683 drivers/usb/gadget/udc/aspeed-vhub/hub.c stat = vhub->ports[port].status; ports 684 drivers/usb/gadget/udc/aspeed-vhub/hub.c chg = vhub->ports[port].change; ports 761 drivers/usb/gadget/udc/aspeed-vhub/hub.c struct ast_vhub_port *p = &vhub->ports[i]; ports 784 drivers/usb/gadget/udc/aspeed-vhub/hub.c struct ast_vhub_port *p = &vhub->ports[i]; ports 818 drivers/usb/gadget/udc/aspeed-vhub/hub.c struct ast_vhub_port *p = &vhub->ports[i]; ports 396 drivers/usb/gadget/udc/aspeed-vhub/vhub.h struct ast_vhub_port ports[AST_VHUB_NUM_PORTS]; ports 621 drivers/usb/host/ehci-hub.c int ports, i, retval = 1; ports 627 drivers/usb/host/ehci-hub.c ports = HCS_N_PORTS (ehci->hcs_params); ports 628 drivers/usb/host/ehci-hub.c if (ports > 7) { ports 659 drivers/usb/host/ehci-hub.c for (i = 0; i < ports; i++) { ports 699 drivers/usb/host/ehci-hub.c int ports = HCS_N_PORTS (ehci->hcs_params); ports 706 drivers/usb/host/ehci-hub.c desc->bNbrPorts = ports; ports 707 drivers/usb/host/ehci-hub.c temp = 1 + (ports / 8); ports 877 drivers/usb/host/ehci-hub.c int ports = HCS_N_PORTS (ehci->hcs_params); ports 914 drivers/usb/host/ehci-hub.c if (!wIndex || wIndex > ports) ports 1002 drivers/usb/host/ehci-hub.c if (!wIndex || wIndex > ports) ports 1171 drivers/usb/host/ehci-hub.c if (!wIndex || wIndex > ports) ports 1279 drivers/usb/host/ehci-hub.c while (ports--) { ports 1281 drivers/usb/host/ehci-hub.c &ehci->regs->port_status[ports]; ports 1441 drivers/usb/host/fotg210-hcd.c int ports = HCS_N_PORTS(fotg210->hcs_params); ports 1448 drivers/usb/host/fotg210-hcd.c desc->bNbrPorts = ports; ports 1449 drivers/usb/host/fotg210-hcd.c temp = 1 + (ports / 8); ports 1465 drivers/usb/host/fotg210-hcd.c int ports = HCS_N_PORTS(fotg210->hcs_params); ports 1492 drivers/usb/host/fotg210-hcd.c if (!wIndex || wIndex > ports) ports 1553 drivers/usb/host/fotg210-hcd.c if (!wIndex || wIndex > ports) ports 1703 drivers/usb/host/fotg210-hcd.c if (!wIndex || wIndex > ports) ports 1483 drivers/usb/host/imx21-hcd.c int ports; ports 1489 drivers/usb/host/imx21-hcd.c ports = readl(imx21->regs + USBH_ROOTHUBA) ports 1491 drivers/usb/host/imx21-hcd.c if (ports > 7) { ports 1492 drivers/usb/host/imx21-hcd.c ports = 7; ports 1493 drivers/usb/host/imx21-hcd.c dev_err(imx21->dev, "ports %d > 7\n", ports); ports 1495 drivers/usb/host/imx21-hcd.c for (i = 0; i < ports; i++) { ports 911 drivers/usb/host/isp116x-hcd.c int ports, i, changed = 0; ports 922 drivers/usb/host/isp116x-hcd.c ports = isp116x->rhdesca & RH_A_NDP; ports 930 drivers/usb/host/isp116x-hcd.c for (i = 0; i < ports; i++) { ports 1010 drivers/usb/host/isp116x-hcd.c int ports = isp116x->rhdesca & RH_A_NDP; ports 1052 drivers/usb/host/isp116x-hcd.c if (!wIndex || wIndex > ports) ports 1062 drivers/usb/host/isp116x-hcd.c if (!wIndex || wIndex > ports) ports 1109 drivers/usb/host/isp116x-hcd.c if (!wIndex || wIndex > ports) ports 1498 drivers/usb/host/isp1362-hcd.c int ports, i, changed = 0; ports 1509 drivers/usb/host/isp1362-hcd.c ports = isp1362_hcd->rhdesca & RH_A_NDP; ports 1510 drivers/usb/host/isp1362-hcd.c BUG_ON(ports > 2); ports 1519 drivers/usb/host/isp1362-hcd.c for (i = 0; i < ports; i++) { ports 1570 drivers/usb/host/isp1362-hcd.c int ports = isp1362_hcd->rhdesca & RH_A_NDP; ports 1613 drivers/usb/host/isp1362-hcd.c if (!wIndex || wIndex > ports) ports 1620 drivers/usb/host/isp1362-hcd.c if (!wIndex || wIndex > ports) ports 1670 drivers/usb/host/isp1362-hcd.c if (!wIndex || wIndex > ports) ports 45 drivers/usb/host/ohci-at91.c u8 ports; /* number of ports on root hub */ ports 222 drivers/usb/host/ohci-at91.c ohci->num_ports = board->ports; ports 517 drivers/usb/host/ohci-at91.c u32 ports; ports 533 drivers/usb/host/ohci-at91.c if (!of_property_read_u32(np, "num-ports", &ports)) ports 534 drivers/usb/host/ohci-at91.c pdata->ports = ports; ports 537 drivers/usb/host/ohci-at91.c if (i >= pdata->ports) ports 551 drivers/usb/host/ohci-at91.c if (i >= pdata->ports) ports 682 drivers/usb/host/ohci-hub.c int ports = ohci->num_ports; ports 702 drivers/usb/host/ohci-hub.c if (!wIndex || wIndex > ports) ports 746 drivers/usb/host/ohci-hub.c if (!wIndex || wIndex > ports) ports 766 drivers/usb/host/ohci-hub.c if (!wIndex || wIndex > ports) ports 870 drivers/usb/host/oxu210hp-hcd.c int ports = HCS_N_PORTS(oxu->hcs_params); ports 877 drivers/usb/host/oxu210hp-hcd.c desc->bNbrPorts = ports; ports 878 drivers/usb/host/oxu210hp-hcd.c temp = 1 + (ports / 8); ports 3489 drivers/usb/host/oxu210hp-hcd.c int ports, i, retval = 1; ports 3498 drivers/usb/host/oxu210hp-hcd.c ports = HCS_N_PORTS(oxu->hcs_params); ports 3499 drivers/usb/host/oxu210hp-hcd.c if (ports > 7) { ports 3519 drivers/usb/host/oxu210hp-hcd.c for (i = 0; i < ports; i++) { ports 3565 drivers/usb/host/oxu210hp-hcd.c int ports = HCS_N_PORTS(oxu->hcs_params); ports 3592 drivers/usb/host/oxu210hp-hcd.c if (!wIndex || wIndex > ports) ports 3655 drivers/usb/host/oxu210hp-hcd.c if (!wIndex || wIndex > ports) ports 3781 drivers/usb/host/oxu210hp-hcd.c if (!wIndex || wIndex > ports) ports 3006 drivers/usb/host/u132-hcd.c int ports = MAX_U132_PORTS; ports 3027 drivers/usb/host/u132-hcd.c while (ports-- > 0) { ports 3028 drivers/usb/host/u132-hcd.c struct u132_port *port = &u132->port[ports]; ports 3130 drivers/usb/host/u132-hcd.c int retval = 0, ports; ports 3138 drivers/usb/host/u132-hcd.c ports = MAX_U132_PORTS; ports 3139 drivers/usb/host/u132-hcd.c while (ports-- > 0) { ports 3140 drivers/usb/host/u132-hcd.c port_power(u132, ports, 0); ports 3162 drivers/usb/host/u132-hcd.c int ports = MAX_U132_PORTS; ports 3163 drivers/usb/host/u132-hcd.c while (ports-- > 0) { ports 3164 drivers/usb/host/u132-hcd.c port_power(u132, ports, 1); ports 170 drivers/usb/host/xhci-hub.c struct usb_hub_descriptor *desc, int ports) ports 177 drivers/usb/host/xhci-hub.c desc->bNbrPorts = ports; ports 196 drivers/usb/host/xhci-hub.c int ports; ports 204 drivers/usb/host/xhci-hub.c ports = rhub->num_ports; ports 205 drivers/usb/host/xhci-hub.c xhci_common_hub_descriptor(xhci, desc, ports); ports 207 drivers/usb/host/xhci-hub.c temp = 1 + (ports / 8); ports 214 drivers/usb/host/xhci-hub.c for (i = 0; i < ports; i++) { ports 215 drivers/usb/host/xhci-hub.c portsc = readl(rhub->ports[i]->addr); ports 241 drivers/usb/host/xhci-hub.c for (i = 0; i < (ports + 1 + 7) / 8; i++) ports 250 drivers/usb/host/xhci-hub.c int ports; ports 257 drivers/usb/host/xhci-hub.c ports = rhub->num_ports; ports 258 drivers/usb/host/xhci-hub.c xhci_common_hub_descriptor(xhci, desc, ports); ports 270 drivers/usb/host/xhci-hub.c for (i = 0; i < ports; i++) { ports 271 drivers/usb/host/xhci-hub.c portsc = readl(rhub->ports[i]->addr); ports 576 drivers/usb/host/xhci-hub.c port = rhub->ports[index]; ports 609 drivers/usb/host/xhci-hub.c port = xhci->usb2_rhub.ports[wIndex]; ports 1038 drivers/usb/host/xhci-hub.c port = rhub->ports[wIndex]; ports 1102 drivers/usb/host/xhci-hub.c struct xhci_port **ports; ports 1105 drivers/usb/host/xhci-hub.c ports = rhub->ports; ports 1144 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1169 drivers/usb/host/xhci-hub.c port_li = readl(ports[wIndex]->addr + PORTLI); ports 1187 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1197 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1200 drivers/usb/host/xhci-hub.c xhci_set_link_state(xhci, ports[wIndex], ports 1210 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1229 drivers/usb/host/xhci-hub.c xhci_set_link_state(xhci, ports[wIndex], XDEV_U3); ports 1235 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1239 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1251 drivers/usb/host/xhci-hub.c writel(temp | PORT_PE, ports[wIndex]->addr); ports 1252 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1259 drivers/usb/host/xhci-hub.c xhci_set_link_state(xhci, ports[wIndex], ports 1261 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1292 drivers/usb/host/xhci-hub.c xhci_set_link_state(xhci, ports[wIndex], ports 1295 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1331 drivers/usb/host/xhci-hub.c xhci_set_link_state(xhci, ports[wIndex], ports 1344 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1360 drivers/usb/host/xhci-hub.c xhci_set_link_state(xhci, ports[wIndex], USB_SS_PORT_LS_U3); ports 1364 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1369 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1384 drivers/usb/host/xhci-hub.c writel(temp, ports[wIndex]->addr); ports 1386 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1390 drivers/usb/host/xhci-hub.c xhci_set_remote_wake_mask(xhci, ports[wIndex], ports 1392 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1399 drivers/usb/host/xhci-hub.c writel(temp, ports[wIndex]->addr); ports 1400 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1405 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr + PORTPMSC); ports 1408 drivers/usb/host/xhci-hub.c writel(temp, ports[wIndex]->addr + PORTPMSC); ports 1413 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr + PORTPMSC); ports 1416 drivers/usb/host/xhci-hub.c writel(temp, ports[wIndex]->addr + PORTPMSC); ports 1431 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1437 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1447 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); ports 1458 drivers/usb/host/xhci-hub.c xhci_set_link_state(xhci, ports[wIndex], ports 1463 drivers/usb/host/xhci-hub.c xhci_set_link_state(xhci, ports[wIndex], ports 1489 drivers/usb/host/xhci-hub.c ports[wIndex]->addr, temp); ports 1493 drivers/usb/host/xhci-hub.c ports[wIndex]->addr, temp); ports 1533 drivers/usb/host/xhci-hub.c struct xhci_port **ports; ports 1536 drivers/usb/host/xhci-hub.c ports = rhub->ports; ports 1555 drivers/usb/host/xhci-hub.c temp = readl(ports[i]->addr); ports 1592 drivers/usb/host/xhci-hub.c struct xhci_port **ports; ports 1597 drivers/usb/host/xhci-hub.c ports = rhub->ports; ports 1622 drivers/usb/host/xhci-hub.c t1 = readl(ports[port_index]->addr); ports 1702 drivers/usb/host/xhci-hub.c writel(portsc_buf[port_index], ports[port_index]->addr); ports 1749 drivers/usb/host/xhci-hub.c struct xhci_port **ports; ports 1752 drivers/usb/host/xhci-hub.c ports = rhub->ports; ports 1778 drivers/usb/host/xhci-hub.c portsc = readl(ports[port_index]->addr); ports 1783 drivers/usb/host/xhci-hub.c xhci_port_missing_cas_quirk(ports[port_index])) { ports 1807 drivers/usb/host/xhci-hub.c writel(portsc, ports[port_index]->addr); ports 1820 drivers/usb/host/xhci-hub.c xhci_test_and_clear_bit(xhci, ports[port_index], ports 1822 drivers/usb/host/xhci-hub.c xhci_set_link_state(xhci, ports[port_index], XDEV_U0); ports 1828 drivers/usb/host/xhci-hub.c sret = xhci_handshake(ports[port_index]->addr, PORT_PLC, ports 1835 drivers/usb/host/xhci-hub.c xhci_test_and_clear_bit(xhci, ports[port_index], PORT_PLC); ports 1917 drivers/usb/host/xhci-mem.c kfree(xhci->usb2_rhub.ports); ports 1918 drivers/usb/host/xhci-mem.c kfree(xhci->usb3_rhub.ports); ports 1927 drivers/usb/host/xhci-mem.c xhci->usb2_rhub.ports = NULL; ports 1928 drivers/usb/host/xhci-mem.c xhci->usb3_rhub.ports = NULL; ports 2246 drivers/usb/host/xhci-mem.c rhub->ports = kcalloc_node(rhub->num_ports, sizeof(rhub->ports), flags, ports 2253 drivers/usb/host/xhci-mem.c rhub->ports[port_index] = &xhci->hw_ports[i]; ports 161 drivers/usb/host/xhci-tegra.c } ports; ports 528 drivers/usb/host/xhci-tegra.c mask = extract_field(msg->data, 1 + soc->ports.hsic.offset, ports 529 drivers/usb/host/xhci-tegra.c soc->ports.hsic.count); ports 556 drivers/usb/host/xhci-tegra.c mask = extract_field(msg->data, 1 + soc->ports.usb3.offset, ports 557 drivers/usb/host/xhci-tegra.c soc->ports.usb3.count); ports 559 drivers/usb/host/xhci-tegra.c for_each_set_bit(port, &mask, soc->ports.usb3.count) { ports 1372 drivers/usb/host/xhci-tegra.c .ports = { ports 1404 drivers/usb/host/xhci-tegra.c .ports = { ports 1430 drivers/usb/host/xhci-tegra.c .ports = { ports 487 drivers/usb/host/xhci.c temp = readl(rhub->ports[i]->addr); ports 888 drivers/usb/host/xhci.c struct xhci_port **ports; ports 897 drivers/usb/host/xhci.c ports = xhci->usb3_rhub.ports; ports 899 drivers/usb/host/xhci.c t1 = readl(ports[port_index]->addr); ports 904 drivers/usb/host/xhci.c writel(t2, ports[port_index]->addr); ports 913 drivers/usb/host/xhci.c ports = xhci->usb2_rhub.ports; ports 915 drivers/usb/host/xhci.c t1 = readl(ports[port_index]->addr); ports 920 drivers/usb/host/xhci.c writel(t2, ports[port_index]->addr); ports 931 drivers/usb/host/xhci.c struct xhci_port **ports; ports 946 drivers/usb/host/xhci.c ports = xhci->usb2_rhub.ports; ports 948 drivers/usb/host/xhci.c portsc = readl(ports[port_index]->addr); ports 954 drivers/usb/host/xhci.c ports = xhci->usb3_rhub.ports; ports 956 drivers/usb/host/xhci.c portsc = readl(ports[port_index]->addr); ports 4252 drivers/usb/host/xhci.c return rhub->ports[port1 - 1]->hw_portnum + 1; ports 4385 drivers/usb/host/xhci.c struct xhci_port **ports; ports 4406 drivers/usb/host/xhci.c ports = xhci->usb2_rhub.ports; ports 4408 drivers/usb/host/xhci.c pm_addr = ports[port_num]->addr + PORTPMSC; ports 4410 drivers/usb/host/xhci.c hlpm_addr = ports[port_num]->addr + PORTHLPMC; ports 1723 drivers/usb/host/xhci.h struct xhci_port **ports; ports 1759 drivers/usb/isp1760/isp1760-hcd.c int ports = HCS_N_PORTS(priv->hcs_params); ports 1767 drivers/usb/isp1760/isp1760-hcd.c desc->bNbrPorts = ports; ports 1768 drivers/usb/isp1760/isp1760-hcd.c temp = 1 + (ports / 8); ports 1816 drivers/usb/isp1760/isp1760-hcd.c int ports = HCS_N_PORTS(priv->hcs_params); ports 1841 drivers/usb/isp1760/isp1760-hcd.c if (!wIndex || wIndex > ports) ports 1906 drivers/usb/isp1760/isp1760-hcd.c if (!wIndex || wIndex > ports) ports 2013 drivers/usb/isp1760/isp1760-hcd.c if (!wIndex || wIndex > ports) ports 80 drivers/usb/serial/quatech2.c #define QT_DETAILS(prod, ports) \ ports 82 drivers/usb/serial/quatech2.c .num_ports = (ports) ports 28 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c struct device_node *ports; ports 33 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c ports = of_get_child_by_name(parent, "ports"); ports 34 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c if (ports) ports 35 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c parent = ports; ports 40 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c of_node_put(ports); ports 42 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c struct device_node *ports; ports 44 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c ports = of_get_parent(prev); ports 45 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c if (!ports) ports 49 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c port = of_get_next_child(ports, prev); ports 51 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c of_node_put(ports); ports 57 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c of_node_put(ports); ports 65 drivers/video/fbdev/omap2/omapfb/dss/dss.c const enum omap_display_type *ports; ports 822 drivers/video/fbdev/omap2/omapfb/dss/dss.c .ports = omap2plus_ports, ports 831 drivers/video/fbdev/omap2/omapfb/dss/dss.c .ports = omap34xx_ports, ports 840 drivers/video/fbdev/omap2/omapfb/dss/dss.c .ports = omap2plus_ports, ports 849 drivers/video/fbdev/omap2/omapfb/dss/dss.c .ports = omap2plus_ports, ports 858 drivers/video/fbdev/omap2/omapfb/dss/dss.c .ports = omap2plus_ports, ports 867 drivers/video/fbdev/omap2/omapfb/dss/dss.c .ports = omap2plus_ports, ports 876 drivers/video/fbdev/omap2/omapfb/dss/dss.c .ports = dra7xx_ports, ports 942 drivers/video/fbdev/omap2/omapfb/dss/dss.c port_type = dss.feat->ports[reg]; ports 990 drivers/video/fbdev/omap2/omapfb/dss/dss.c port_type = dss.feat->ports[reg]; ports 1538 drivers/xen/events/events_base.c set_xen_guest_handle(poll.ports, &evtchn); ports 151 include/drm/drm_dp_mst_helper.h struct list_head ports; ports 200 include/drm/drm_dp_mst_helper.h } ports[16]; ports 89 include/linux/cyclades.h struct cyclades_port *ports; ports 826 include/linux/ide.h ide_hwif_t *ports[MAX_HOST_PORTS + 1]; ports 1619 include/linux/ide.h for ((i) = 0; ((port) = (host)->ports[i]) || (i) < MAX_HOST_PORTS; (i)++) ports 610 include/linux/libata.h struct ata_port *ports[0]; ports 1489 include/linux/mlx4/device.h DECLARE_BITMAP(ports, MLX4_MAX_PORTS); ports 28 include/linux/platform_data/usb-ohci-s3c2410.h void (*report_oc)(struct s3c2410_hcd_info *, int ports); ports 31 include/linux/platform_data/usb-ohci-s3c2410.h static inline void s3c2410_usb_report_oc(struct s3c2410_hcd_info *info, int ports) ports 34 include/linux/platform_data/usb-ohci-s3c2410.h (info->report_oc)(info, ports); ports 394 include/linux/serial_core.h struct uart_port *uart_get_console(struct uart_port *ports, int nr, ports 654 include/linux/ssb/ssb_driver_chipcommon.h struct ssb_serial_port *ports); ports 188 include/linux/ssb/ssb_driver_extif.h struct ssb_serial_port *ports); ports 251 include/linux/ssb/ssb_driver_extif.h struct ssb_serial_port *ports) ports 324 include/linux/tty_driver.h struct tty_port **ports; ports 405 include/media/v4l2-fwnode.h unsigned int *ports, ports 280 include/net/dsa.h struct dsa_port ports[]; ports 285 include/net/dsa.h return &ds->ports[p]; ports 50 include/net/flow.h } ports; ports 89 include/net/flow.h #define fl4_sport uli.ports.sport ports 90 include/net/flow.h #define fl4_dport uli.ports.dport ports 148 include/net/flow.h #define fl6_sport uli.ports.sport ports 149 include/net/flow.h #define fl6_dport uli.ports.dport ports 169 include/net/flow.h #define fld_sport uli.ports.sport ports 170 include/net/flow.h #define fld_dport uli.ports.dport ports 151 include/net/flow_dissector.h __be32 ports; ports 287 include/net/flow_dissector.h struct flow_dissector_key_ports ports; ports 317 include/net/flow_dissector.h return (keys->ports.ports || keys->tags.flow_label); ports 33 include/net/inet6_hashtables.h const u32 ports = (((u32)lport) << 16) | (__force u32)fport; ports 34 include/net/inet6_hashtables.h return jhash_3words(lhash, fhash, ports, initval); ports 525 include/net/ip6_fib.h fl6->fl6_sport = flkeys->ports.src; ports 526 include/net/ip6_fib.h fl6->fl6_dport = flkeys->ports.dst; ports 393 include/net/ip_fib.h fl4->fl4_sport = flkeys->ports.src; ports 394 include/net/ip_fib.h fl4->fl4_dport = flkeys->ports.dst; ports 851 include/net/xfrm.h port = uli->ports.sport; ports 878 include/net/xfrm.h port = uli->ports.dport; ports 446 include/rdma/rdma_vt.h struct rvt_ibport **ports; ports 553 include/rdma/rdma_vt.h return rdi->ports[port_index]->pkey_table[index]; ports 986 include/rdma/rdmavt_qp.h return rdi->ports[qp->port_num - 1]; ports 103 include/sound/emux_synth.h int ports[SNDRV_EMUX_MAX_PORTS]; /* The ports for this device */ ports 114 include/uapi/linux/if_bonding.h __u16 ports; ports 19 include/uapi/linux/netfilter/xt_multiport.h __u16 ports[XT_MULTI_PORTS]; /* Ports */ ports 25 include/uapi/linux/netfilter/xt_multiport.h __u16 ports[XT_MULTI_PORTS]; /* Ports */ ports 481 include/uapi/linux/rtnetlink.h } ports; ports 92 include/uapi/linux/usbdevice_fs.h __u8 ports[7]; /* List of ports on the way from the root */ ports 315 include/uapi/sound/asequencer.h int ports; /* maximum ports per client */ ports 139 include/xen/interface/sched.h GUEST_HANDLE(evtchn_port_t) ports; ports 280 net/bridge/br_forward.c p = mdst ? rcu_dereference(mdst->ports) : NULL; ports 163 net/bridge/br_mdb.c for (pp = &mp->ports; (p = rcu_dereference(*pp)) != NULL; ports 330 net/bridge/br_mdb.c for (pp = &mp->ports; (p = mlock_dereference(*pp, br)) != NULL; ports 632 net/bridge/br_mdb.c for (pp = &mp->ports; ports 753 net/bridge/br_mdb.c if (!mp->ports && netif_running(br->dev)) ports 758 net/bridge/br_mdb.c for (pp = &mp->ports; ports 774 net/bridge/br_mdb.c if (!mp->ports && !mp->host_joined && ports 153 net/bridge/br_multicast.c if (mp->ports) ports 177 net/bridge/br_multicast.c for (pp = &mp->ports; ports 190 net/bridge/br_multicast.c if (!mp->ports && !mp->host_joined && ports 561 net/bridge/br_multicast.c for (pp = &mp->ports; ports 1278 net/bridge/br_multicast.c for (pp = &mp->ports; ports 1361 net/bridge/br_multicast.c for (pp = &mp->ports; ports 1401 net/bridge/br_multicast.c for (pp = &mp->ports; ports 1417 net/bridge/br_multicast.c if (!mp->ports && !mp->host_joined && ports 1435 net/bridge/br_multicast.c for (p = mlock_dereference(mp->ports, br); ports 1467 net/bridge/br_multicast.c for (p = mlock_dereference(mp->ports, br); ports 218 net/bridge/br_private.h struct net_bridge_port_group __rcu *ports; ports 210 net/core/flow_dissector.c __be32 *ports, _ports; ports 212 net/core/flow_dissector.c ports = __skb_header_pointer(skb, thoff + poff, ports 214 net/core/flow_dissector.c if (ports) ports 215 net/core/flow_dissector.c return *ports; ports 723 net/core/flow_dissector.c key_ports->ports = __skb_flow_get_ports(skb, nhoff, ip_proto, ports 1468 net/core/flow_dissector.c ((__force u16)keys->ports.dst < ports 1469 net/core/flow_dissector.c (__force u16)keys->ports.src))) { ports 1471 net/core/flow_dissector.c swap(keys->ports.src, keys->ports.dst); ports 1480 net/core/flow_dissector.c ((__force u16)keys->ports.dst < ports 1481 net/core/flow_dissector.c (__force u16)keys->ports.src))) { ports 1485 net/core/flow_dissector.c swap(keys->ports.src, keys->ports.dst); ports 1527 net/core/flow_dissector.c __be32 ports; ports 1544 net/core/flow_dissector.c data->ports = flow->ports.ports; ports 1678 net/core/flow_dissector.c keys->ports.src = fl6->fl6_sport; ports 1679 net/core/flow_dissector.c keys->ports.dst = fl6->fl6_dport; ports 1711 net/core/flow_dissector.c .offset = offsetof(struct flow_keys, ports), ports 1746 net/core/flow_dissector.c .offset = offsetof(struct flow_keys, ports), ports 249 net/dsa/dsa.c return dsa_is_user_port(ds, p) && ds->ports[p].slave; ports 261 net/dsa/dsa.c ret = dsa_slave_suspend(ds->ports[i].slave); ports 288 net/dsa/dsa.c ret = dsa_slave_resume(ds->ports[i].slave); ports 124 net/dsa/dsa2.c dp = &ds->ports[port]; ports 166 net/dsa/dsa2.c dp = &ds->ports[i]; ports 209 net/dsa/dsa2.c dp = &ds->ports[port]; ports 239 net/dsa/dsa2.c dp = &ds->ports[port]; ports 460 net/dsa/dsa2.c dp = &ds->ports[port]; ports 477 net/dsa/dsa2.c dp = &ds->ports[port]; ports 500 net/dsa/dsa2.c dp = &ds->ports[port]; ports 684 net/dsa/dsa2.c struct device_node *ports, *port; ports 689 net/dsa/dsa2.c ports = of_get_child_by_name(dn, "ports"); ports 690 net/dsa/dsa2.c if (!ports) { ports 695 net/dsa/dsa2.c for_each_available_child_of_node(ports, port) { ports 705 net/dsa/dsa2.c dp = &ds->ports[reg]; ports 713 net/dsa/dsa2.c of_node_put(ports); ports 784 net/dsa/dsa2.c dp = &ds->ports[i]; ports 848 net/dsa/dsa2.c ds = devm_kzalloc(dev, struct_size(ds, ports, n), GFP_KERNEL); ports 856 net/dsa/dsa2.c ds->ports[i].index = i; ports 857 net/dsa/dsa2.c ds->ports[i].ds = ds; ports 120 net/dsa/dsa_priv.h slave_port = &ds->ports[port]; ports 23 net/dsa/switch.c struct dsa_port *dp = &ds->ports[i]; ports 101 net/dsa/switch.c err = dsa_port_vlan_filtering(&ds->ports[info->port], ports 106 net/dsa/tag_8021q.c slave = ds->ports[port].slave; ports 121 net/dsa/tag_8021q.c return dsa_port_vid_add(&ds->ports[port], pvid, vinfo.flags); ports 133 net/dsa/tag_8021q.c struct dsa_port *dp = &ds->ports[port]; ports 367 net/hsr/hsr_device.c list_for_each_entry_safe(port, tmp, &hsr->ports, port_list) ports 442 net/hsr/hsr_device.c INIT_LIST_HEAD(&hsr->ports); ports 505 net/hsr/hsr_device.c list_for_each_entry_safe(port, tmp, &hsr->ports, port_list) ports 155 net/hsr/hsr_main.h struct list_head ports; ports 174 net/hsr/hsr_main.h list_for_each_entry_rcu((port), &(hsr)->ports, port_list) ports 158 net/hsr/hsr_slave.c list_add_tail_rcu(&port->port_list, &hsr->ports); ports 353 net/ipv4/inet_hashtables.c const __portpair ports = INET_COMBINED_PORTS(sport, hnum); ports 368 net/ipv4/inet_hashtables.c saddr, daddr, ports, dif, sdif))) { ports 372 net/ipv4/inet_hashtables.c saddr, daddr, ports, ports 407 net/ipv4/inet_hashtables.c const __portpair ports = INET_COMBINED_PORTS(inet->inet_dport, lport); ports 423 net/ipv4/inet_hashtables.c saddr, daddr, ports, dif, sdif))) { ports 151 net/ipv4/ip_sockglue.c __be16 _ports[2], *ports; ports 158 net/ipv4/ip_sockglue.c ports = skb_header_pointer(skb, skb_transport_offset(skb), ports 160 net/ipv4/ip_sockglue.c if (!ports) ports 165 net/ipv4/ip_sockglue.c sin.sin_port = ports[1]; ports 347 net/ipv4/netfilter/ipt_CLUSTERIP.c const u_int16_t *ports; ports 350 net/ipv4/netfilter/ipt_CLUSTERIP.c ports = skb_header_pointer(skb, iph->ihl * 4 + poff, 4, _ports); ports 351 net/ipv4/netfilter/ipt_CLUSTERIP.c if (ports) { ports 352 net/ipv4/netfilter/ipt_CLUSTERIP.c sport = ports[0]; ports 353 net/ipv4/netfilter/ipt_CLUSTERIP.c dport = ports[1]; ports 27 net/ipv4/netfilter/nf_socket_ipv4.c __be16 *ports, _ports[2]; ports 55 net/ipv4/netfilter/nf_socket_ipv4.c ports = skb_header_pointer(skb, outside_hdrlen + ports 59 net/ipv4/netfilter/nf_socket_ipv4.c if (ports == NULL) ports 66 net/ipv4/netfilter/nf_socket_ipv4.c *lport = ports[0]; ports 68 net/ipv4/netfilter/nf_socket_ipv4.c *rport = ports[1]; ports 1954 net/ipv4/route.c hash_keys.ports.src = flkeys->ports.src; ports 1955 net/ipv4/route.c hash_keys.ports.dst = flkeys->ports.dst; ports 1962 net/ipv4/route.c hash_keys.ports.src = fl4->fl4_sport; ports 1963 net/ipv4/route.c hash_keys.ports.dst = fl4->fl4_dport; ports 2421 net/ipv4/udp.c const __portpair ports = INET_COMBINED_PORTS(rmt_port, hnum); ports 2426 net/ipv4/udp.c loc_addr, ports, dif, sdif)) ports 702 net/ipv6/datagram.c __be16 _ports[2], *ports; ports 704 net/ipv6/datagram.c ports = skb_header_pointer(skb, skb_transport_offset(skb), ports 706 net/ipv6/datagram.c if (ports) { ports 713 net/ipv6/datagram.c sin6.sin6_port = ports[1]; ports 59 net/ipv6/inet6_hashtables.c const __portpair ports = INET_COMBINED_PORTS(sport, hnum); ports 72 net/ipv6/inet6_hashtables.c if (!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif)) ports 77 net/ipv6/inet6_hashtables.c if (unlikely(!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif))) { ports 211 net/ipv6/inet6_hashtables.c const __portpair ports = INET_COMBINED_PORTS(inet->inet_dport, lport); ports 226 net/ipv6/inet6_hashtables.c if (likely(INET6_MATCH(sk2, net, saddr, daddr, ports, ports 32 net/ipv6/netfilter/nf_socket_ipv6.c __be16 *ports, _ports[2]; ports 61 net/ipv6/netfilter/nf_socket_ipv6.c ports = skb_header_pointer(skb, inside_hdrlen, ports 63 net/ipv6/netfilter/nf_socket_ipv6.c if (ports == NULL) ports 70 net/ipv6/netfilter/nf_socket_ipv6.c *lport = ports[0]; ports 72 net/ipv6/netfilter/nf_socket_ipv6.c *rport = ports[1]; ports 2388 net/ipv6/route.c hash_keys.ports.src = flkeys->ports.src; ports 2389 net/ipv6/route.c hash_keys.ports.dst = flkeys->ports.dst; ports 2396 net/ipv6/route.c hash_keys.ports.src = fl6->fl6_sport; ports 2397 net/ipv6/route.c hash_keys.ports.dst = fl6->fl6_dport; ports 959 net/ipv6/udp.c const __portpair ports = INET_COMBINED_PORTS(rmt_port, hnum); ports 964 net/ipv6/udp.c INET6_MATCH(sk, net, rmt_addr, loc_addr, ports, dif, sdif)) ports 790 net/netfilter/ipvs/ip_vs_core.c __be16 *ports = (void *)ciph + ciph->ihl*4; ports 793 net/netfilter/ipvs/ip_vs_core.c ports[1] = cp->vport; ports 795 net/netfilter/ipvs/ip_vs_core.c ports[0] = cp->dport; ports 841 net/netfilter/ipvs/ip_vs_core.c __be16 *ports = (void *)(skb_network_header(skb) + offs); ports 844 net/netfilter/ipvs/ip_vs_core.c ntohs(inout ? ports[1] : ports[0]), ports 847 net/netfilter/ipvs/ip_vs_core.c ports[1] = cp->vport; ports 849 net/netfilter/ipvs/ip_vs_core.c ports[0] = cp->dport; ports 61 net/netfilter/ipvs/ip_vs_ftp.c static unsigned short ports[IP_VS_APP_MAX_PORTS] = {21, 0}; ports 62 net/netfilter/ipvs/ip_vs_ftp.c module_param_array(ports, ushort, &ports_count, 0444); ports 63 net/netfilter/ipvs/ip_vs_ftp.c MODULE_PARM_DESC(ports, "Ports to monitor for FTP control commands"); ports 589 net/netfilter/ipvs/ip_vs_ftp.c if (!ports[i]) ports 591 net/netfilter/ipvs/ip_vs_ftp.c ret = register_ip_vs_app_inc(ipvs, app, app->protocol, ports[i]); ports 595 net/netfilter/ipvs/ip_vs_ftp.c app->name, i, ports[i]); ports 448 net/netfilter/ipvs/ip_vs_mh.c __be16 _ports[2], *ports; ports 459 net/netfilter/ipvs/ip_vs_mh.c ports = skb_header_pointer(skb, iph->len, sizeof(_ports), ports 461 net/netfilter/ipvs/ip_vs_mh.c if (unlikely(!ports)) ports 465 net/netfilter/ipvs/ip_vs_mh.c return ports[0]; ports 467 net/netfilter/ipvs/ip_vs_mh.c return ports[1]; ports 24 net/netfilter/ipvs/ip_vs_proto_sctp.c __be16 _ports[2], *ports = NULL; ports 36 net/netfilter/ipvs/ip_vs_proto_sctp.c ports = &sh->source; ports 40 net/netfilter/ipvs/ip_vs_proto_sctp.c ports = skb_header_pointer( ports 44 net/netfilter/ipvs/ip_vs_proto_sctp.c if (!ports) { ports 51 net/netfilter/ipvs/ip_vs_proto_sctp.c &iph->daddr, ports[1]); ports 54 net/netfilter/ipvs/ip_vs_proto_sctp.c &iph->saddr, ports[0]); ports 42 net/netfilter/ipvs/ip_vs_proto_tcp.c __be16 _ports[2], *ports = NULL; ports 53 net/netfilter/ipvs/ip_vs_proto_tcp.c ports = &th->source; ports 56 net/netfilter/ipvs/ip_vs_proto_tcp.c ports = skb_header_pointer( ports 60 net/netfilter/ipvs/ip_vs_proto_tcp.c if (!ports) { ports 69 net/netfilter/ipvs/ip_vs_proto_tcp.c &iph->daddr, ports[1]); ports 72 net/netfilter/ipvs/ip_vs_proto_tcp.c &iph->saddr, ports[0]); ports 38 net/netfilter/ipvs/ip_vs_proto_udp.c __be16 _ports[2], *ports = NULL; ports 44 net/netfilter/ipvs/ip_vs_proto_udp.c ports = &uh->source; ports 46 net/netfilter/ipvs/ip_vs_proto_udp.c ports = skb_header_pointer( ports 50 net/netfilter/ipvs/ip_vs_proto_udp.c if (!ports) { ports 57 net/netfilter/ipvs/ip_vs_proto_udp.c &iph->daddr, ports[1]); ports 60 net/netfilter/ipvs/ip_vs_proto_udp.c &iph->saddr, ports[0]); ports 279 net/netfilter/ipvs/ip_vs_sh.c __be16 _ports[2], *ports; ports 290 net/netfilter/ipvs/ip_vs_sh.c ports = skb_header_pointer(skb, iph->len, sizeof(_ports), ports 292 net/netfilter/ipvs/ip_vs_sh.c if (unlikely(!ports)) ports 296 net/netfilter/ipvs/ip_vs_sh.c return ports[0]; ports 298 net/netfilter/ipvs/ip_vs_sh.c return ports[1]; ports 43 net/netfilter/nf_conntrack_ftp.c static u_int16_t ports[MAX_PORTS]; ports 45 net/netfilter/nf_conntrack_ftp.c module_param_array(ports, ushort, &ports_c, 0400); ports 585 net/netfilter/nf_conntrack_ftp.c ports[ports_c++] = FTP_PORT; ports 591 net/netfilter/nf_conntrack_ftp.c HELPER_NAME, FTP_PORT, ports[i], ports[i], ports 595 net/netfilter/nf_conntrack_ftp.c HELPER_NAME, FTP_PORT, ports[i], ports[i], ports 25 net/netfilter/nf_conntrack_irc.c static unsigned short ports[MAX_PORTS]; ports 49 net/netfilter/nf_conntrack_irc.c module_param_array(ports, ushort, &ports_c, 0400); ports 50 net/netfilter/nf_conntrack_irc.c MODULE_PARM_DESC(ports, "port numbers of IRC servers"); ports 257 net/netfilter/nf_conntrack_irc.c ports[ports_c++] = IRC_PORT; ports 261 net/netfilter/nf_conntrack_irc.c IRC_PORT, ports[i], i, &irc_exp_policy, ports 42 net/netfilter/nf_conntrack_sane.c static u_int16_t ports[MAX_PORTS]; ports 44 net/netfilter/nf_conntrack_sane.c module_param_array(ports, ushort, &ports_c, 0400); ports 192 net/netfilter/nf_conntrack_sane.c ports[ports_c++] = SANE_PORT; ports 198 net/netfilter/nf_conntrack_sane.c HELPER_NAME, SANE_PORT, ports[i], ports[i], ports 202 net/netfilter/nf_conntrack_sane.c HELPER_NAME, SANE_PORT, ports[i], ports[i], ports 39 net/netfilter/nf_conntrack_sip.c static unsigned short ports[MAX_PORTS]; ports 41 net/netfilter/nf_conntrack_sip.c module_param_array(ports, ushort, &ports_c, 0400); ports 42 net/netfilter/nf_conntrack_sip.c MODULE_PARM_DESC(ports, "port numbers of SIP servers"); ports 1672 net/netfilter/nf_conntrack_sip.c ports[ports_c++] = SIP_PORT; ports 1676 net/netfilter/nf_conntrack_sip.c HELPER_NAME, SIP_PORT, ports[i], i, ports 1680 net/netfilter/nf_conntrack_sip.c HELPER_NAME, SIP_PORT, ports[i], i, ports 1684 net/netfilter/nf_conntrack_sip.c HELPER_NAME, SIP_PORT, ports[i], i, ports 1688 net/netfilter/nf_conntrack_sip.c HELPER_NAME, SIP_PORT, ports[i], i, ports 30 net/netfilter/nf_conntrack_tftp.c static unsigned short ports[MAX_PORTS]; ports 32 net/netfilter/nf_conntrack_tftp.c module_param_array(ports, ushort, &ports_c, 0400); ports 33 net/netfilter/nf_conntrack_tftp.c MODULE_PARM_DESC(ports, "Port numbers of TFTP servers"); ports 119 net/netfilter/nf_conntrack_tftp.c ports[ports_c++] = TFTP_PORT; ports 123 net/netfilter/nf_conntrack_tftp.c HELPER_NAME, TFTP_PORT, ports[i], i, ports 127 net/netfilter/nf_conntrack_tftp.c HELPER_NAME, TFTP_PORT, ports[i], i, ports 167 net/netfilter/nf_flow_table_ip.c struct flow_ports *ports; ports 189 net/netfilter/nf_flow_table_ip.c if (!pskb_may_pull(skb, thoff + sizeof(*ports))) ports 193 net/netfilter/nf_flow_table_ip.c ports = (struct flow_ports *)(skb_network_header(skb) + thoff); ports 197 net/netfilter/nf_flow_table_ip.c tuple->src_port = ports->source; ports 198 net/netfilter/nf_flow_table_ip.c tuple->dst_port = ports->dest; ports 433 net/netfilter/nf_flow_table_ip.c struct flow_ports *ports; ports 450 net/netfilter/nf_flow_table_ip.c if (!pskb_may_pull(skb, thoff + sizeof(*ports))) ports 454 net/netfilter/nf_flow_table_ip.c ports = (struct flow_ports *)(skb_network_header(skb) + thoff); ports 458 net/netfilter/nf_flow_table_ip.c tuple->src_port = ports->source; ports 459 net/netfilter/nf_flow_table_ip.c tuple->dst_port = ports->dest; ports 148 net/netfilter/nf_nat_ftp.c module_param_call(ports, warn_set, NULL, NULL, 0); ports 119 net/netfilter/nf_nat_irc.c module_param_call(ports, warn_set, NULL, NULL, 0); ports 641 net/netfilter/xt_hashlimit.c __be16 _ports[2], *ports; ports 694 net/netfilter/xt_hashlimit.c ports = skb_header_pointer(skb, protoff + poff, sizeof(_ports), ports 698 net/netfilter/xt_hashlimit.c ports = _ports; ports 700 net/netfilter/xt_hashlimit.c if (!ports) ports 703 net/netfilter/xt_hashlimit.c dst->src_port = ports[0]; ports 705 net/netfilter/xt_hashlimit.c dst->dst_port = ports[1]; ports 35 net/netfilter/xt_multiport.c s = minfo->ports[i]; ports 39 net/netfilter/xt_multiport.c e = minfo->ports[++i]; ports 164 net/openvswitch/datapath.c kfree(dp->ports); ports 172 net/openvswitch/datapath.c return &dp->ports[port_no & (DP_VPORT_HASH_BUCKETS - 1)]; ports 1625 net/openvswitch/datapath.c dp->ports = kmalloc_array(DP_VPORT_HASH_BUCKETS, ports 1628 net/openvswitch/datapath.c if (!dp->ports) { ports 1634 net/openvswitch/datapath.c INIT_HLIST_HEAD(&dp->ports[i]); ports 1689 net/openvswitch/datapath.c kfree(dp->ports); ports 1711 net/openvswitch/datapath.c hlist_for_each_entry_safe(vport, n, &dp->ports[i], dp_hash_node) ports 2013 net/openvswitch/datapath.c hlist_for_each_entry_rcu(vport, &dp->ports[i], dp_hash_node) { ports 2032 net/openvswitch/datapath.c hlist_for_each_entry_rcu(vport, &dp->ports[i], dp_hash_node) ports 2281 net/openvswitch/datapath.c hlist_for_each_entry_rcu(vport, &dp->ports[i], dp_hash_node) { ports 2414 net/openvswitch/datapath.c hlist_for_each_entry(vport, &dp->ports[i], dp_hash_node) { ports 72 net/openvswitch/datapath.h struct hlist_head *ports; ports 47 net/openvswitch/dp_notify.c hlist_for_each_entry_safe(vport, n, &dp->ports[i], dp_hash_node) { ports 95 net/sched/cls_flow.c if (flow->ports.ports) ports 96 net/sched/cls_flow.c return ntohs(flow->ports.src); ports 104 net/sched/cls_flow.c if (flow->ports.ports) ports 105 net/sched/cls_flow.c return ntohs(flow->ports.dst); ports 604 net/sched/sch_cake.c if (keys->ports.ports) { ports 605 net/sched/sch_cake.c keys->ports.src = rev ? tuple.dst.u.all : tuple.src.u.all; ports 606 net/sched/sch_cake.c keys->ports.dst = rev ? tuple.src.u.all : tuple.dst.u.all; ports 651 net/sched/sch_cake.c host_keys.ports.ports = 0; ports 3292 net/xfrm/xfrm_policy.c __be16 *ports; ports 3295 net/xfrm/xfrm_policy.c ports = (__be16 *)xprth; ports 3297 net/xfrm/xfrm_policy.c fl4->fl4_sport = ports[!!reverse]; ports 3298 net/xfrm/xfrm_policy.c fl4->fl4_dport = ports[!reverse]; ports 3422 net/xfrm/xfrm_policy.c __be16 *ports; ports 3425 net/xfrm/xfrm_policy.c ports = (__be16 *)(nh + offset); ports 3426 net/xfrm/xfrm_policy.c fl6->fl6_sport = ports[!!reverse]; ports 3427 net/xfrm/xfrm_policy.c fl6->fl6_dport = ports[!reverse]; ports 21 samples/bpf/sockex2_kern.c __be32 ports; ports 179 samples/bpf/sockex2_kern.c flow->ports = load_word(skb, nhoff); ports 68 samples/bpf/sockex3_kern.c __be32 ports; ports 179 samples/bpf/sockex3_kern.c g->flow.ports = load_word(skb, nhoff); ports 20 samples/bpf/sockex3_user.c __be32 ports; ports 1336 samples/vfio-mdev/mtty.c int ports = 0, used = 0; ports 1342 samples/vfio-mdev/mtty.c ports = i + 1; ports 1347 samples/vfio-mdev/mtty.c if (!ports) ports 1353 samples/vfio-mdev/mtty.c return sprintf(buf, "%d\n", (MAX_MTTYS - used)/ports); ports 1178 sound/core/seq/seq_clientmgr.c info->ports = SNDRV_SEQ_MAX_PORTS; ports 53 sound/core/seq/seq_dummy.c static int ports = 1; ports 56 sound/core/seq/seq_dummy.c module_param(ports, int, 0444); ports 57 sound/core/seq/seq_dummy.c MODULE_PARM_DESC(ports, "number of ports to be created"); ports 155 sound/core/seq/seq_dummy.c if (ports < 1) { ports 156 sound/core/seq/seq_dummy.c pr_err("ALSA: seq_dummy: invalid number of ports %d\n", ports); ports 167 sound/core/seq/seq_dummy.c for (i = 0; i < ports; i++) { ports 54 sound/core/seq/seq_midi.c struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES]; ports 267 sound/core/seq/seq_midi.c unsigned int p, ports; ports 287 sound/core/seq/seq_midi.c ports = output_count; ports 288 sound/core/seq/seq_midi.c if (ports < input_count) ports 289 sound/core/seq/seq_midi.c ports = input_count; ports 290 sound/core/seq/seq_midi.c if (ports == 0) { ports 294 sound/core/seq/seq_midi.c if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) ports 295 sound/core/seq/seq_midi.c ports = 256 / SNDRV_RAWMIDI_DEVICES; ports 319 sound/core/seq/seq_midi.c msynth = kcalloc(ports, sizeof(struct seq_midisynth), GFP_KERNEL); ports 324 sound/core/seq/seq_midi.c for (p = 0; p < ports; p++) { ports 346 sound/core/seq/seq_midi.c if (ports > 1) ports 352 sound/core/seq/seq_midi.c if (ports > 1) ports 385 sound/core/seq/seq_midi.c client->ports_per_device[device] = ports; ports 386 sound/core/seq/seq_midi.c client->ports[device] = msynth; ports 397 sound/core/seq/seq_midi.c for (p = 0; p < ports; p++) ports 419 sound/core/seq/seq_midi.c int device = dev->device, p, ports; ports 423 sound/core/seq/seq_midi.c if (client == NULL || client->ports[device] == NULL) { ports 427 sound/core/seq/seq_midi.c ports = client->ports_per_device[device]; ports 429 sound/core/seq/seq_midi.c msynth = client->ports[device]; ports 430 sound/core/seq/seq_midi.c client->ports[device] = NULL; ports 431 sound/core/seq/seq_midi.c for (p = 0; p < ports; p++) ports 134 sound/drivers/mtpav.c struct mtpav_port ports[NUMPORTS]; /* all ports including computer, adat and bc */ ports 310 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; ports 340 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; ports 358 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; ports 376 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; ports 404 sound/drivers/mtpav.c struct mtpav_port *portp = &chip->ports[p]; ports 429 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; ports 445 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; ports 461 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; ports 493 sound/drivers/mtpav.c portp = &mcrd->ports[mcrd->inmidiport]; ports 649 sound/drivers/mtpav.c mcard->ports[substream->number].hwport = translate_subdevice_to_hwport(mcard, substream->number); ports 2850 sound/pci/cmipci.c static int ports[] = { 0x201, 0x200, 0 }; /* FIXME: majority is 0x201? */ ports 2859 sound/pci/cmipci.c for (i = 0; ports[i]; i++) { ports 2860 sound/pci/cmipci.c io_port = ports[i]; ports 696 sound/pci/hda/patch_realtek.c static int alc_subsystem_id(struct hda_codec *codec, const hda_nid_t *ports) ports 787 sound/pci/hda/patch_realtek.c nid = ports[tmp]; ports 798 sound/pci/hda/patch_realtek.c static void alc_ssid_check(struct hda_codec *codec, const hda_nid_t *ports) ports 800 sound/pci/hda/patch_realtek.c if (!alc_subsystem_id(codec, ports)) { ports 78 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_port *ports; ports 1110 sound/soc/codecs/hdac_hdmi.c pin->nid, pin->ports[j].id); ports 1112 sound/soc/codecs/hdac_hdmi.c snd_soc_dapm_output, &pin->ports[j], ports 1119 sound/soc/codecs/hdac_hdmi.c pin->ports[j].output_pin = widgets[i].name; ports 1128 sound/soc/codecs/hdac_hdmi.c pin->nid, pin->ports[j].id); ports 1130 sound/soc/codecs/hdac_hdmi.c &pin->ports[j], &widgets[i], ports 1329 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_port *ports; ports 1339 sound/soc/codecs/hdac_hdmi.c ports = devm_kcalloc(&hdev->dev, max_ports, sizeof(*ports), GFP_KERNEL); ports 1340 sound/soc/codecs/hdac_hdmi.c if (!ports) ports 1344 sound/soc/codecs/hdac_hdmi.c ports[i].id = i; ports 1345 sound/soc/codecs/hdac_hdmi.c ports[i].pin = pin; ports 1346 sound/soc/codecs/hdac_hdmi.c INIT_WORK(&ports[i].dapm_work, hdac_hdmi_jack_dapm_work); ports 1348 sound/soc/codecs/hdac_hdmi.c pin->ports = ports; ports 1636 sound/soc/codecs/hdac_hdmi.c hport = &pin->ports[0]; ports 1640 sound/soc/codecs/hdac_hdmi.c if (pin->ports[i].id == pipe) { ports 1641 sound/soc/codecs/hdac_hdmi.c hport = &pin->ports[i]; ports 1692 sound/soc/codecs/hdac_hdmi.c pin->nid, pin->ports[j].id); ports 1741 sound/soc/codecs/hdac_hdmi.c pin->nid, pin->ports[j].id); ports 1749 sound/soc/codecs/hdac_hdmi.c pin->ports[j].jack_pin = widgets[i].name; ports 1750 sound/soc/codecs/hdac_hdmi.c pin->ports[j].dapm = dapm; ports 1753 sound/soc/codecs/hdac_hdmi.c hdac_hdmi_fill_route(&route[i], pin->ports[j].jack_pin, ports 1754 sound/soc/codecs/hdac_hdmi.c NULL, pin->ports[j].output_pin, NULL); ports 1782 sound/soc/codecs/hdac_hdmi.c snd_soc_dapm_disable_pin(pin->ports[j].dapm, ports 1783 sound/soc/codecs/hdac_hdmi.c pin->ports[j].jack_pin); ports 1849 sound/soc/codecs/hdac_hdmi.c hdac_hdmi_present_sense(pin, &pin->ports[i]); ports 2119 sound/soc/codecs/hdac_hdmi.c cancel_work_sync(&pin->ports[i].dapm_work); ports 169 sound/soc/generic/audio-graph-card.c struct device_node *ports = of_get_parent(port); ports 174 sound/soc/generic/audio-graph-card.c asoc_simple_parse_convert(dev, ports, NULL, adata); ports 179 sound/soc/generic/audio-graph-card.c of_node_put(ports); ports 188 sound/soc/generic/audio-graph-card.c struct device_node *ports = of_get_parent(port); ports 192 sound/soc/generic/audio-graph-card.c of_property_read_u32(ports, "mclk-fs", &props->mclk_fs); ports 197 sound/soc/generic/audio-graph-card.c of_node_put(ports); ports 213 sound/soc/generic/audio-graph-card.c struct device_node *ports; ports 225 sound/soc/generic/audio-graph-card.c ports = of_get_parent(port); ports 300 sound/soc/generic/audio-graph-card.c snd_soc_of_parse_node_prefix(ports, cconf, codecs->of_node, ports 326 sound/soc/generic/audio-graph-card.c of_node_put(ports); ports 28 sound/synth/emux/emux_proc.c snd_iprintf(buf, " %d:%d", emu->client, emu->ports[i]); ports 96 sound/synth/emux/emux_seq.c emu->ports[i] = p->chset.port; ports 373 sound/synth/emux/emux_seq.c rdev->port = emu->ports[i]; ports 163 sound/usb/midi.c } ports[0x10]; ports 175 sound/usb/midi.c } ports[0x10]; ports 229 sound/usb/midi.c struct usbmidi_in_port *port = &ep->ports[portidx]; ports 446 sound/usb/midi.c struct usbmidi_in_port *port = &ep->ports[cable]; ports 661 sound/usb/midi.c struct usbmidi_out_port *port = &ep->ports[p]; ports 744 sound/usb/midi.c struct snd_rawmidi_substream *substream = ep->ports[0].substream; ports 746 sound/usb/midi.c if (!ep->ports[0].active) ports 757 sound/usb/midi.c ep->ports[0].active = 0; ports 792 sound/usb/midi.c ep->ports[0].active = 0; ports 825 sound/usb/midi.c if (!ep->ports[0].active) ports 828 sound/usb/midi.c count = snd_rawmidi_transmit(ep->ports[0].substream, ports 832 sound/usb/midi.c ep->ports[0].active = 0; ports 860 sound/usb/midi.c if (!ep->ports[0].active) ports 862 sound/usb/midi.c count = snd_rawmidi_transmit(ep->ports[0].substream, ports 866 sound/usb/midi.c ep->ports[0].active = 0; ports 910 sound/usb/midi.c if (!ep->ports[0].active) ports 921 sound/usb/midi.c count = snd_rawmidi_transmit(ep->ports[0].substream, ports 925 sound/usb/midi.c ep->ports[0].active = 0; ports 1030 sound/usb/midi.c struct usbmidi_out_port *port = &ep->ports[portnum]; ports 1148 sound/usb/midi.c if (umidi->endpoints[i].out->ports[j].substream == substream) { ports 1149 sound/usb/midi.c port = &umidi->endpoints[i].out->ports[j]; ports 1449 sound/usb/midi.c ep->ports[i].ep = ep; ports 1450 sound/usb/midi.c ep->ports[i].cable = i << 4; ports 1812 sound/usb/midi.c &umidi->endpoints[i].out->ports[j].substream); ports 1819 sound/usb/midi.c &umidi->endpoints[i].in->ports[j].substream); ports 2223 sound/usb/midi.c &umidi->endpoints[cable & 1].out->ports[cable].substream); ports 2228 sound/usb/midi.c &umidi->endpoints[0].in->ports[cable].substream); ports 220 sound/usb/mixer_scarlett_gen2.c struct scarlett2_ports ports[SCARLETT2_PORT_TYPE_COUNT]; ports 263 sound/usb/mixer_scarlett_gen2.c .ports = { ports 319 sound/usb/mixer_scarlett_gen2.c .ports = { ports 389 sound/usb/mixer_scarlett_gen2.c .ports = { ports 439 sound/usb/mixer_scarlett_gen2.c static int scarlett2_get_port_start_num(const struct scarlett2_ports *ports, ports 445 sound/usb/mixer_scarlett_gen2.c num += ports[i].num[direction]; ports 803 sound/usb/mixer_scarlett_gen2.c info->ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_OUT]; ports 818 sound/usb/mixer_scarlett_gen2.c static u32 scarlett2_mux_src_num_to_id(const struct scarlett2_ports *ports, ports 826 sound/usb/mixer_scarlett_gen2.c if (num < ports[port_type].num[SCARLETT2_PORT_IN]) ports 827 sound/usb/mixer_scarlett_gen2.c return ports[port_type].id | num; ports 828 sound/usb/mixer_scarlett_gen2.c num -= ports[port_type].num[SCARLETT2_PORT_IN]; ports 840 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports = info->ports; ports 872 sound/usb/mixer_scarlett_gen2.c int j = scarlett2_get_port_start_num(ports, ports 875 sound/usb/mixer_scarlett_gen2.c int port_id = ports[port_type].id; ports 879 sound/usb/mixer_scarlett_gen2.c channel < ports[port_type].num[port_dir_rate]; ports 890 sound/usb/mixer_scarlett_gen2.c ports, private->mux[j] ports 895 sound/usb/mixer_scarlett_gen2.c j += ports[port_type].num[SCARLETT2_PORT_OUT] - ports 896 sound/usb/mixer_scarlett_gen2.c ports[port_type].num[port_dir_rate]; ports 984 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports = private->info->ports; ports 987 sound/usb/mixer_scarlett_gen2.c ports[SCARLETT2_PORT_TYPE_ANALOGUE].num[SCARLETT2_PORT_OUT]; ports 1370 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports = info->ports; ports 1372 sound/usb/mixer_scarlett_gen2.c ports[SCARLETT2_PORT_TYPE_ANALOGUE].num[SCARLETT2_PORT_OUT]; ports 1496 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports = info->ports; ports 1503 sound/usb/mixer_scarlett_gen2.c num_mixer_in = ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_OUT]; ports 1540 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports = private->info->ports; ports 1545 sound/usb/mixer_scarlett_gen2.c int num_inputs = ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_OUT]; ports 1546 sound/usb/mixer_scarlett_gen2.c int num_outputs = ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_IN]; ports 1570 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports = private->info->ports; ports 1585 sound/usb/mixer_scarlett_gen2.c if (item < ports[port_type].num[SCARLETT2_PORT_IN]) { ports 1587 sound/usb/mixer_scarlett_gen2.c ports[port_type].src_descr, ports 1588 sound/usb/mixer_scarlett_gen2.c item + ports[port_type].src_num_offset); ports 1591 sound/usb/mixer_scarlett_gen2.c item -= ports[port_type].num[SCARLETT2_PORT_IN]; ports 1646 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports = private->info->ports; ports 1653 sound/usb/mixer_scarlett_gen2.c channel < ports[port_type].num[SCARLETT2_PORT_OUT]; ports 1657 sound/usb/mixer_scarlett_gen2.c const char *const descr = ports[port_type].dst_descr; ports 1741 sound/usb/mixer_scarlett_gen2.c static int scarlett2_count_mux_srcs(const struct scarlett2_ports *ports) ports 1748 sound/usb/mixer_scarlett_gen2.c count += ports[port_type].num[SCARLETT2_PORT_IN]; ports 1757 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports) ports 1770 sound/usb/mixer_scarlett_gen2.c output_num = scarlett2_get_port_start_num(ports, ports 1773 sound/usb/mixer_scarlett_gen2.c output_count = ports[SCARLETT2_PORT_TYPE_PCM].num[SCARLETT2_PORT_OUT]; ports 1779 sound/usb/mixer_scarlett_gen2.c ports, SCARLETT2_PORT_IN, port_type); ports 1780 sound/usb/mixer_scarlett_gen2.c input_count = ports[port_type].num[SCARLETT2_PORT_IN]; ports 1788 sound/usb/mixer_scarlett_gen2.c input_num = scarlett2_get_port_start_num(ports, ports 1791 sound/usb/mixer_scarlett_gen2.c input_count = ports[SCARLETT2_PORT_TYPE_PCM].num[SCARLETT2_PORT_IN]; ports 1797 sound/usb/mixer_scarlett_gen2.c ports, SCARLETT2_PORT_OUT, port_type); ports 1798 sound/usb/mixer_scarlett_gen2.c output_count = ports[port_type].num[SCARLETT2_PORT_OUT]; ports 1820 sound/usb/mixer_scarlett_gen2.c private->num_mux_srcs = scarlett2_count_mux_srcs(info->ports); ports 1828 sound/usb/mixer_scarlett_gen2.c scarlett2_init_routing(private->mux, info->ports); ports 1839 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports = info->ports; ports 1841 sound/usb/mixer_scarlett_gen2.c ports[SCARLETT2_PORT_TYPE_ANALOGUE].num[SCARLETT2_PORT_OUT]; ports 1905 sound/usb/mixer_scarlett_gen2.c const struct scarlett2_ports *ports = private->info->ports; ports 1907 sound/usb/mixer_scarlett_gen2.c ports[SCARLETT2_PORT_TYPE_ANALOGUE].num[SCARLETT2_PORT_OUT]; ports 92 tools/include/uapi/linux/usbdevice_fs.h __u8 ports[7]; /* List of ports on the way from the root */ ports 133 tools/testing/selftests/bpf/progs/test_l4lb.c __u32 ports; ports 212 tools/testing/selftests/bpf/progs/test_l4lb.c pckt->ports, CH_RINGS_SIZE); ports 214 tools/testing/selftests/bpf/progs/test_l4lb.c return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); ports 129 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c __u32 ports; ports 208 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt->ports, CH_RINGS_SIZE); ports 210 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); ports 115 tools/testing/selftests/bpf/progs/test_xdp_noinline.c __u32 ports; ports 541 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.ports, 24); ports 543 tools/testing/selftests/bpf/progs/test_xdp_noinline.c return jhash_2words(pckt->flow.src, pckt->flow.ports, ports 653 tools/testing/selftests/bpf/test_maps.c int ports[] = {50200, 50201, 50202, 50204}; ports 684 tools/testing/selftests/bpf/test_maps.c addr.sin_port = htons(ports[i]); ports 711 tools/testing/selftests/bpf/test_maps.c addr.sin_port = htons(ports[i - 2]);