mps 180 arch/mips/include/asm/mach-loongson64/boot_param.h u64 mps; /* MPS table */ mps 785 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t mps:1; mps 793 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t mps:1; mps 817 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t mps:1; mps 825 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t mps:1; mps 810 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t mps:1; mps 830 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t mps:1; mps 150 arch/mips/include/asm/octeon/cvmx-pciercx-defs.h __BITFIELD_FIELD(uint32_t mps:3, mps 404 arch/mips/pci/pcie-octeon.c pciercx_cfg030.s.mps = MPS_CN5XXX; mps 407 arch/mips/pci/pcie-octeon.c pciercx_cfg030.s.mps = MPS_CN6XXX; mps 438 arch/mips/pci/pcie-octeon.c npei_ctl_status2.s.mps = MPS_CN5XXX; mps 457 arch/mips/pci/pcie-octeon.c prt_cfg.s.mps = MPS_CN6XXX; mps 214 arch/powerpc/include/asm/pci-bridge.h int mps; /* Maximum Payload Size */ mps 753 arch/powerpc/kernel/eeh.c old_mps = (ffs(pdn->mps) - 8) << 5; mps 1708 arch/powerpc/platforms/powernv/eeh-powernv.c pdn->mps = pcie_get_mps(pdev); mps 68 arch/x86/platform/efi/efi.c &efi.mps, mps 38 drivers/firmware/efi/efi.c .mps = EFI_INVALID_TABLE_ADDR, mps 117 drivers/firmware/efi/efi.c if (efi.mps != EFI_INVALID_TABLE_ADDR) mps 118 drivers/firmware/efi/efi.c str += sprintf(str, "MPS=0x%lx\n", efi.mps); mps 466 drivers/firmware/efi/efi.c {MPS_TABLE_GUID, "MPS", &efi.mps}, mps 290 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c int mps = 0; mps 317 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c mps++; mps 319 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c if (!mps && display) mps 72 drivers/net/ethernet/cavium/liquidio/cn66xx_device.c enum octeon_pcie_mps mps) mps 80 drivers/net/ethernet/cavium/liquidio/cn66xx_device.c if (mps == PCIE_MPS_DEFAULT) { mps 81 drivers/net/ethernet/cavium/liquidio/cn66xx_device.c mps = ((val & (0x7 << 5)) >> 5); mps 84 drivers/net/ethernet/cavium/liquidio/cn66xx_device.c val |= (mps << 5); /* Set MPS */ mps 90 drivers/net/ethernet/cavium/liquidio/cn66xx_device.c r64 |= (mps << 4); mps 71 drivers/net/ethernet/cavium/liquidio/cn66xx_device.h enum octeon_pcie_mps mps); mps 2204 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ldst_cmd.u.mps.rplc.fid_idx = mps 2222 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c mps_rplc = ldst_cmd.u.mps.rplc; mps 1786 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c ldst_cmd.u.mps.rplc.fid_idx = mps 1796 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c mps_rplc = ldst_cmd.u.mps.rplc; mps 7338 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int mps, mps_log; mps 7348 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c mps = 1 << mps_log; mps 7349 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (mps > pack_align) mps 7350 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pack_align = mps; mps 942 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } mps; mps 1652 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vport->mps = HCLGE_MAC_DEFAULT_FRAME; mps 1799 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT); mps 1885 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 aligned_mps = round_up(hdev->mps, HCLGE_BUF_SIZE_UNIT); mps 1986 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 half_mps = hdev->mps >> 1; mps 2617 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ret = hclge_set_mac_mtu(hdev, hdev->mps); mps 3894 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vport->mps = HCLGE_MAC_DEFAULT_FRAME; mps 8420 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (vport->vport_id && max_frm_size > hdev->mps) { mps 8424 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vport->mps = max_frm_size; mps 8431 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (max_frm_size < hdev->vport[i].mps) { mps 8445 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->mps = max_frm_size; mps 8446 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vport->mps = max_frm_size; mps 9176 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->mps = ETH_FRAME_LEN + ETH_FCS_LEN + 2 * VLAN_HLEN; mps 804 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u32 mps; /* Max packet size */ mps 919 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u32 mps; /* Max packet size */ mps 156 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c int mps_p, mps_o, mps_m, mps; mps 166 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c mps = mps_m; mps 174 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c mps = min(mps_m, mps_p); mps 178 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c ret = pcie_set_mps(pdev, mps); mps 181 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c mps, mps_o); mps 185 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c pr_debug("set mps to %d (was %d, max %d)\n", mps, mps_o, mps_m); mps 5659 drivers/pci/pci.c int mps = pcie_get_mps(dev); mps 5661 drivers/pci/pci.c if (mps < rq) mps 5662 drivers/pci/pci.c rq = mps; mps 5696 drivers/pci/pci.c int pcie_set_mps(struct pci_dev *dev, int mps) mps 5700 drivers/pci/pci.c if (mps < 128 || mps > 4096 || !is_power_of_2(mps)) mps 5703 drivers/pci/pci.c v = ffs(mps) - 8; mps 1890 drivers/pci/probe.c int mps, mpss, p_mps, rc; mps 1899 drivers/pci/probe.c mps = pcie_get_mps(dev); mps 1902 drivers/pci/probe.c if (mps == p_mps) mps 1907 drivers/pci/probe.c mps, pci_name(bridge), p_mps); mps 1934 drivers/pci/probe.c p_mps, mps, mpss); mps 2586 drivers/pci/probe.c static void pcie_write_mps(struct pci_dev *dev, int mps) mps 2591 drivers/pci/probe.c mps = 128 << dev->pcie_mpss; mps 2609 drivers/pci/probe.c mps = min(mps, pcie_get_mps(dev->bus->self)); mps 2612 drivers/pci/probe.c rc = pcie_set_mps(dev, mps); mps 2657 drivers/pci/probe.c int mps, orig_mps; mps 2666 drivers/pci/probe.c mps = 128 << *(u8 *)data; mps 2669 drivers/pci/probe.c pcie_write_mps(dev, mps); mps 1350 drivers/scsi/csiostor/csio_wr.c u32 mps, mps_log; mps 1359 drivers/scsi/csiostor/csio_wr.c mps = 1 << mps_log; mps 1360 drivers/scsi/csiostor/csio_wr.c if (mps > pack_align) mps 1361 drivers/scsi/csiostor/csio_wr.c pack_align = mps; mps 38 drivers/spi/spi-mpc512x-psc.c #define psc_addr(mps, regname) ({ \ mps 40 drivers/spi/spi-mpc512x-psc.c switch (mps->type) { \ mps 42 drivers/spi/spi-mpc512x-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; \ mps 47 drivers/spi/spi-mpc512x-psc.c struct mpc5125_psc __iomem *psc = mps->psc; \ mps 95 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_spi *mps = spi_master_get_devdata(spi->master); mps 101 drivers/spi/spi-mpc512x-psc.c sicr = in_be32(psc_addr(mps, sicr)); mps 118 drivers/spi/spi-mpc512x-psc.c out_be32(psc_addr(mps, sicr), sicr); mps 120 drivers/spi/spi-mpc512x-psc.c ccr = in_be32(psc_addr(mps, ccr)); mps 125 drivers/spi/spi-mpc512x-psc.c bclkdiv = (mps->mclk_rate / speed) - 1; mps 128 drivers/spi/spi-mpc512x-psc.c out_be32(psc_addr(mps, ccr), ccr); mps 129 drivers/spi/spi-mpc512x-psc.c mps->bits_per_word = cs->bits_per_word; mps 131 drivers/spi/spi-mpc512x-psc.c if (mps->cs_control && gpio_is_valid(spi->cs_gpio)) mps 132 drivers/spi/spi-mpc512x-psc.c mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); mps 137 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_spi *mps = spi_master_get_devdata(spi->master); mps 139 drivers/spi/spi-mpc512x-psc.c if (mps->cs_control && gpio_is_valid(spi->cs_gpio)) mps 140 drivers/spi/spi-mpc512x-psc.c mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); mps 152 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_spi *mps = spi_master_get_devdata(spi->master); mps 153 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; mps 191 drivers/spi/spi-mpc512x-psc.c reinit_completion(&mps->txisrdone); mps 194 drivers/spi/spi-mpc512x-psc.c wait_for_completion(&mps->txisrdone); mps 336 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_spi *mps = spi_master_get_devdata(master); mps 341 drivers/spi/spi-mpc512x-psc.c in_8(psc_addr(mps, mr2)); mps 342 drivers/spi/spi-mpc512x-psc.c out_8(psc_addr(mps, mr2), 0x0); mps 345 drivers/spi/spi-mpc512x-psc.c out_8(psc_addr(mps, command), MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); mps 352 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_spi *mps = spi_master_get_devdata(master); mps 353 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; mps 358 drivers/spi/spi-mpc512x-psc.c out_8(psc_addr(mps, command), MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE); mps 406 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_spi *mps) mps 408 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; mps 415 drivers/spi/spi-mpc512x-psc.c out_8(psc_addr(mps, command), MPC52xx_PSC_RST_RX); mps 416 drivers/spi/spi-mpc512x-psc.c out_8(psc_addr(mps, command), MPC52xx_PSC_RST_TX); mps 417 drivers/spi/spi-mpc512x-psc.c out_8(psc_addr(mps, command), MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE); mps 420 drivers/spi/spi-mpc512x-psc.c out_be16(psc_addr(mps, isr_imr.imr), 0); mps 436 drivers/spi/spi-mpc512x-psc.c out_be32(psc_addr(mps, sicr), sicr); mps 438 drivers/spi/spi-mpc512x-psc.c ccr = in_be32(psc_addr(mps, ccr)); mps 441 drivers/spi/spi-mpc512x-psc.c bclkdiv = (mps->mclk_rate / speed) - 1; mps 443 drivers/spi/spi-mpc512x-psc.c out_be32(psc_addr(mps, ccr), ccr); mps 446 drivers/spi/spi-mpc512x-psc.c out_8(psc_addr(mps, ctur), 0x00); mps 447 drivers/spi/spi-mpc512x-psc.c out_8(psc_addr(mps, ctlr), 0x82); mps 459 drivers/spi/spi-mpc512x-psc.c mps->bits_per_word = 8; mps 466 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_spi *mps = (struct mpc512x_psc_spi *)dev_id; mps 467 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; mps 474 drivers/spi/spi-mpc512x-psc.c complete(&mps->txisrdone); mps 489 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_spi *mps; mps 495 drivers/spi/spi-mpc512x-psc.c master = spi_alloc_master(dev, sizeof *mps); mps 500 drivers/spi/spi-mpc512x-psc.c mps = spi_master_get_devdata(master); mps 501 drivers/spi/spi-mpc512x-psc.c mps->type = (int)of_device_get_match_data(dev); mps 502 drivers/spi/spi-mpc512x-psc.c mps->irq = irq; mps 505 drivers/spi/spi-mpc512x-psc.c mps->cs_control = mpc512x_spi_cs_control; mps 507 drivers/spi/spi-mpc512x-psc.c mps->cs_control = pdata->cs_control; mps 526 drivers/spi/spi-mpc512x-psc.c mps->psc = tempp; mps 527 drivers/spi/spi-mpc512x-psc.c mps->fifo = mps 529 drivers/spi/spi-mpc512x-psc.c ret = devm_request_irq(dev, mps->irq, mpc512x_psc_spi_isr, IRQF_SHARED, mps 530 drivers/spi/spi-mpc512x-psc.c "mpc512x-psc-spi", mps); mps 533 drivers/spi/spi-mpc512x-psc.c init_completion(&mps->txisrdone); mps 543 drivers/spi/spi-mpc512x-psc.c mps->clk_mclk = clk; mps 544 drivers/spi/spi-mpc512x-psc.c mps->mclk_rate = clk_get_rate(clk); mps 554 drivers/spi/spi-mpc512x-psc.c mps->clk_ipg = clk; mps 556 drivers/spi/spi-mpc512x-psc.c ret = mpc512x_psc_spi_port_config(master, mps); mps 567 drivers/spi/spi-mpc512x-psc.c clk_disable_unprepare(mps->clk_ipg); mps 569 drivers/spi/spi-mpc512x-psc.c clk_disable_unprepare(mps->clk_mclk); mps 579 drivers/spi/spi-mpc512x-psc.c struct mpc512x_psc_spi *mps = spi_master_get_devdata(master); mps 581 drivers/spi/spi-mpc512x-psc.c clk_disable_unprepare(mps->clk_mclk); mps 582 drivers/spi/spi-mpc512x-psc.c clk_disable_unprepare(mps->clk_ipg); mps 74 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); mps 75 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; mps 108 drivers/spi/spi-mpc52xx-psc.c mps->bits_per_word = cs->bits_per_word; mps 110 drivers/spi/spi-mpc52xx-psc.c if (mps->cs_control) mps 111 drivers/spi/spi-mpc52xx-psc.c mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); mps 116 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); mps 118 drivers/spi/spi-mpc52xx-psc.c if (mps->cs_control) mps 119 drivers/spi/spi-mpc52xx-psc.c mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); mps 129 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); mps 130 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; mps 131 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_fifo __iomem *fifo = mps->fifo; mps 181 drivers/spi/spi-mpc52xx-psc.c wait_for_completion(&mps->done); mps 202 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_spi *mps = mps 205 drivers/spi/spi-mpc52xx-psc.c spin_lock_irq(&mps->lock); mps 206 drivers/spi/spi-mpc52xx-psc.c mps->busy = 1; mps 207 drivers/spi/spi-mpc52xx-psc.c while (!list_empty(&mps->queue)) { mps 214 drivers/spi/spi-mpc52xx-psc.c m = container_of(mps->queue.next, struct spi_message, queue); mps 216 drivers/spi/spi-mpc52xx-psc.c spin_unlock_irq(&mps->lock); mps 253 drivers/spi/spi-mpc52xx-psc.c spin_lock_irq(&mps->lock); mps 255 drivers/spi/spi-mpc52xx-psc.c mps->busy = 0; mps 256 drivers/spi/spi-mpc52xx-psc.c spin_unlock_irq(&mps->lock); mps 261 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); mps 278 drivers/spi/spi-mpc52xx-psc.c spin_lock_irqsave(&mps->lock, flags); mps 279 drivers/spi/spi-mpc52xx-psc.c if (!mps->busy) mps 281 drivers/spi/spi-mpc52xx-psc.c spin_unlock_irqrestore(&mps->lock, flags); mps 289 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); mps 295 drivers/spi/spi-mpc52xx-psc.c spin_lock_irqsave(&mps->lock, flags); mps 296 drivers/spi/spi-mpc52xx-psc.c list_add_tail(&m->queue, &mps->queue); mps 297 drivers/spi/spi-mpc52xx-psc.c schedule_work(&mps->work); mps 298 drivers/spi/spi-mpc52xx-psc.c spin_unlock_irqrestore(&mps->lock, flags); mps 308 drivers/spi/spi-mpc52xx-psc.c static int mpc52xx_psc_spi_port_config(int psc_id, struct mpc52xx_psc_spi *mps) mps 310 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; mps 311 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_fifo __iomem *fifo = mps->fifo; mps 316 drivers/spi/spi-mpc52xx-psc.c mclken_div = (mps->sysclk ? mps->sysclk : 512000000) / MCLK; mps 341 drivers/spi/spi-mpc52xx-psc.c mps->bits_per_word = 8; mps 348 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_spi *mps = (struct mpc52xx_psc_spi *)dev_id; mps 349 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; mps 354 drivers/spi/spi-mpc52xx-psc.c complete(&mps->done); mps 365 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_spi *mps; mps 369 drivers/spi/spi-mpc52xx-psc.c master = spi_alloc_master(dev, sizeof *mps); mps 374 drivers/spi/spi-mpc52xx-psc.c mps = spi_master_get_devdata(master); mps 379 drivers/spi/spi-mpc52xx-psc.c mps->irq = irq; mps 383 drivers/spi/spi-mpc52xx-psc.c mps->cs_control = NULL; mps 384 drivers/spi/spi-mpc52xx-psc.c mps->sysclk = 0; mps 388 drivers/spi/spi-mpc52xx-psc.c mps->cs_control = pdata->cs_control; mps 389 drivers/spi/spi-mpc52xx-psc.c mps->sysclk = pdata->sysclk; mps 398 drivers/spi/spi-mpc52xx-psc.c mps->psc = ioremap(regaddr, size); mps 399 drivers/spi/spi-mpc52xx-psc.c if (!mps->psc) { mps 405 drivers/spi/spi-mpc52xx-psc.c mps->fifo = ((void __iomem *)mps->psc) + sizeof(struct mpc52xx_psc); mps 407 drivers/spi/spi-mpc52xx-psc.c ret = request_irq(mps->irq, mpc52xx_psc_spi_isr, 0, "mpc52xx-psc-spi", mps 408 drivers/spi/spi-mpc52xx-psc.c mps); mps 412 drivers/spi/spi-mpc52xx-psc.c ret = mpc52xx_psc_spi_port_config(master->bus_num, mps); mps 418 drivers/spi/spi-mpc52xx-psc.c spin_lock_init(&mps->lock); mps 419 drivers/spi/spi-mpc52xx-psc.c init_completion(&mps->done); mps 420 drivers/spi/spi-mpc52xx-psc.c INIT_WORK(&mps->work, mpc52xx_psc_spi_work); mps 421 drivers/spi/spi-mpc52xx-psc.c INIT_LIST_HEAD(&mps->queue); mps 430 drivers/spi/spi-mpc52xx-psc.c free_irq(mps->irq, mps); mps 432 drivers/spi/spi-mpc52xx-psc.c if (mps->psc) mps 433 drivers/spi/spi-mpc52xx-psc.c iounmap(mps->psc); mps 471 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc_spi *mps = spi_master_get_devdata(master); mps 473 drivers/spi/spi-mpc52xx-psc.c flush_work(&mps->work); mps 475 drivers/spi/spi-mpc52xx-psc.c free_irq(mps->irq, mps); mps 476 drivers/spi/spi-mpc52xx-psc.c if (mps->psc) mps 477 drivers/spi/spi-mpc52xx-psc.c iounmap(mps->psc); mps 1779 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.s.mps = pipe->max_packet; mps 2718 drivers/staging/octeon-usb/octeon-hcd.c bytes_this_transfer = packets_processed * usbc_hcchar.s.mps; mps 2729 drivers/staging/octeon-usb/octeon-hcd.c (packets_processed - 1) * usbc_hcchar.s.mps; mps 1042 drivers/staging/octeon-usb/octeon-hcd.h __BITFIELD_FIELD(u32 mps : 11, mps 745 drivers/usb/dwc2/gadget.c u32 mps = hs_ep->ep.maxpacket; mps 750 drivers/usb/dwc2/gadget.c desc_size = mps; mps 765 drivers/usb/dwc2/gadget.c desc_size -= desc_size % mps; mps 778 drivers/usb/dwc2/gadget.c u32 mps = hs_ep->ep.maxpacket; mps 811 drivers/usb/dwc2/gadget.c (*desc)->status |= (len % mps) ? DEV_DMA_SHORT : mps 1116 drivers/usb/dwc2/gadget.c u32 mps = hs_ep->ep.maxpacket; mps 1121 drivers/usb/dwc2/gadget.c length = mps; mps 1122 drivers/usb/dwc2/gadget.c else if (length % mps) mps 1123 drivers/usb/dwc2/gadget.c length += (mps - (length % mps)); mps 2524 drivers/usb/dwc2/gadget.c static u32 dwc2_hsotg_ep0_mps(unsigned int mps) mps 2526 drivers/usb/dwc2/gadget.c switch (mps) { mps 2554 drivers/usb/dwc2/gadget.c unsigned int ep, unsigned int mps, mps 2565 drivers/usb/dwc2/gadget.c u32 mps_bytes = mps; mps 2568 drivers/usb/dwc2/gadget.c mps = dwc2_hsotg_ep0_mps(mps_bytes); mps 2569 drivers/usb/dwc2/gadget.c if (mps > 3) mps 2574 drivers/usb/dwc2/gadget.c if (mps > 1024) mps 2579 drivers/usb/dwc2/gadget.c hs_ep->ep.maxpacket = mps; mps 2585 drivers/usb/dwc2/gadget.c reg |= mps; mps 2590 drivers/usb/dwc2/gadget.c reg |= mps; mps 2597 drivers/usb/dwc2/gadget.c dev_err(hsotg->dev, "ep%d: bad mps of %d\n", ep, mps); mps 3930 drivers/usb/dwc2/gadget.c u32 mps; mps 3957 drivers/usb/dwc2/gadget.c mps = usb_endpoint_maxp(desc); mps 4003 drivers/usb/dwc2/gadget.c epctrl |= DXEPCTL_MPS(mps); mps 4012 drivers/usb/dwc2/gadget.c dwc2_hsotg_set_ep_maxpacket(hsotg, hs_ep->index, mps, mc, dir_in); mps 139 drivers/usb/gadget/udc/bdc/bdc_cmd.c u32 mps, mbs, mul, si; mps 155 drivers/usb/gadget/udc/bdc/bdc_cmd.c mps = usb_endpoint_maxp(desc); mps 156 drivers/usb/gadget/udc/bdc/bdc_cmd.c mps &= 0x7ff; mps 157 drivers/usb/gadget/udc/bdc/bdc_cmd.c param2 |= mps << MP_SHIFT; mps 129 drivers/usb/gadget/udc/fotg210-udc.c static void fotg210_set_mps(struct fotg210_ep *ep, u32 epnum, u32 mps, mps 138 drivers/usb/gadget/udc/fotg210-udc.c val |= INOUTEPMPSR_MPS(mps); mps 149 drivers/usb/gadget/udc/fotg210.h #define INOUTEPMPSR_MPS(mps) ((mps) & 0x2FF) mps 181 drivers/usb/host/isp116x-hcd.c isp116x_write_data16(isp116x, ptd->mps); mps 211 drivers/usb/host/isp116x-hcd.c ptd->mps = isp116x_read_data16(isp116x); mps 276 drivers/usb/host/isp116x-hcd.c ptd->mps = PTD_MPS(ep->maxpacket) mps 282 drivers/usb/host/isp116x-hcd.c ptd->mps |= PTD_LAST_MSK; mps 168 drivers/usb/host/isp116x.h u16 mps; mps 194 drivers/usb/host/isp116x.h #define PTD_GET_MPS(p) (((p)->mps & PTD_MPS_MSK) >> 0) mps 196 drivers/usb/host/isp116x.h #define PTD_GET_SPD(p) (((p)->mps & PTD_SPD_MSK) >> 10) mps 198 drivers/usb/host/isp116x.h #define PTD_GET_LAST(p) (((p)->mps & PTD_LAST_MSK) >> 11) mps 200 drivers/usb/host/isp116x.h #define PTD_GET_EP(p) (((p)->mps & PTD_EP_MSK) >> 12) mps 175 drivers/usb/host/isp1362-hcd.c int mps) mps 180 drivers/usb/host/isp1362-hcd.c if (xfer_size < size && xfer_size % mps) mps 181 drivers/usb/host/isp1362-hcd.c xfer_size -= xfer_size % mps; mps 330 drivers/usb/host/isp1362-hcd.c ptd->mps = PTD_MPS(ep->maxpacket) | PTD_SPD(urb->dev->speed == USB_SPEED_LOW) | mps 915 drivers/usb/host/isp1362-hcd.c ep->ptd.mps |= PTD_LAST_MSK; mps 208 drivers/usb/host/isp1362.h u16 mps; mps 356 drivers/usb/host/isp1362.h #define PTD_GET_MPS(p) (((p)->mps & PTD_MPS_MSK) >> 0) mps 358 drivers/usb/host/isp1362.h #define PTD_GET_SPD(p) (((p)->mps & PTD_SPD_MSK) >> 10) mps 360 drivers/usb/host/isp1362.h #define PTD_GET_LAST(p) (((p)->mps & PTD_LAST_MSK) >> 11) mps 362 drivers/usb/host/isp1362.h #define PTD_GET_EP(p) (((p)->mps & PTD_EP_MSK) >> 12) mps 927 drivers/usb/host/isp1362.h DBG(0, " %04x %04x %04x %04x\n", ptd->count, ptd->mps, ptd->len, ptd->faddr); mps 2479 drivers/usb/host/xhci.c unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); mps 2484 drivers/usb/host/xhci.c (SS_OVERHEAD + mps)); mps 2486 drivers/usb/host/xhci.c (SS_OVERHEAD + mps + SS_OVERHEAD_BURST), mps 985 include/linux/efi.h unsigned long mps; /* MPS table */ mps 1184 include/linux/pci.h int pcie_set_mps(struct pci_dev *dev, int mps); mps 469 include/net/bluetooth/l2cap.h __le16 mps; mps 476 include/net/bluetooth/l2cap.h __le16 mps; mps 539 include/net/bluetooth/l2cap.h __u16 mps; mps 796 net/bluetooth/a2mp.c chan->mps = chan->omtu; mps 528 net/bluetooth/l2cap_core.c chan->mps = min_t(u16, chan->imtu, chan->conn->mtu - L2CAP_HDR_SIZE); mps 530 net/bluetooth/l2cap_core.c chan->rx_credits = (chan->imtu / chan->mps) + 1; mps 699 net/bluetooth/l2cap_core.c rsp.mps = cpu_to_le16(chan->mps); mps 1297 net/bluetooth/l2cap_core.c req.mps = cpu_to_le16(chan->mps); mps 3668 net/bluetooth/l2cap_core.c chan->mps = le16_to_cpu(rfc.max_pdu_size); mps 3684 net/bluetooth/l2cap_core.c chan->mps = le16_to_cpu(rfc.max_pdu_size); mps 3718 net/bluetooth/l2cap_core.c rsp.mps = cpu_to_le16(chan->mps); mps 3799 net/bluetooth/l2cap_core.c chan->mps = le16_to_cpu(rfc.max_pdu_size); mps 3807 net/bluetooth/l2cap_core.c chan->mps = le16_to_cpu(rfc.max_pdu_size); mps 5335 net/bluetooth/l2cap_core.c u16 dcid, mtu, mps, credits, result; mps 5344 net/bluetooth/l2cap_core.c mps = __le16_to_cpu(rsp->mps); mps 5348 net/bluetooth/l2cap_core.c if (result == L2CAP_CR_LE_SUCCESS && (mtu < 23 || mps < 23 || mps 5354 net/bluetooth/l2cap_core.c dcid, mtu, mps, credits, result); mps 5378 net/bluetooth/l2cap_core.c chan->remote_mps = mps; mps 5503 net/bluetooth/l2cap_core.c u16 dcid, scid, credits, mtu, mps; mps 5512 net/bluetooth/l2cap_core.c mps = __le16_to_cpu(req->mps); mps 5517 net/bluetooth/l2cap_core.c if (mtu < 23 || mps < 23) mps 5521 net/bluetooth/l2cap_core.c scid, mtu, mps); mps 5569 net/bluetooth/l2cap_core.c chan->remote_mps = mps; mps 5607 net/bluetooth/l2cap_core.c rsp.mps = cpu_to_le16(chan->mps); mps 5610 net/bluetooth/l2cap_core.c rsp.mps = 0; mps 6694 net/bluetooth/l2cap_core.c if (len > chan->mps) { mps 6768 net/bluetooth/l2cap_core.c return_credits = ((chan->imtu / chan->mps) + 1) - chan->rx_credits; mps 6855 net/bluetooth/l2cap_core.c if (skb->len + L2CAP_SDULEN_SIZE < chan->mps) { mps 6859 net/bluetooth/l2cap_core.c BT_DBG("chan->mps %u -> %u", chan->mps, mps_len); mps 6860 net/bluetooth/l2cap_core.c chan->mps = mps_len;