/Linux-v5.15/drivers/spi/ |
D | spi-mpc52xx-psc.c | 74 struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc52xx_psc_spi_activate_cs() local 75 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_activate_cs() 108 mps->bits_per_word = cs->bits_per_word; in mpc52xx_psc_spi_activate_cs() 110 if (mps->cs_control) in mpc52xx_psc_spi_activate_cs() 111 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); in mpc52xx_psc_spi_activate_cs() 116 struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc52xx_psc_spi_deactivate_cs() local 118 if (mps->cs_control) in mpc52xx_psc_spi_deactivate_cs() 119 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); in mpc52xx_psc_spi_deactivate_cs() 129 struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc52xx_psc_spi_transfer_rxtx() local 130 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_transfer_rxtx() [all …]
|
D | spi-mpc512x-psc.c | 38 #define psc_addr(mps, regname) ({ \ argument 40 switch (mps->type) { \ 42 struct mpc52xx_psc __iomem *psc = mps->psc; \ 47 struct mpc5125_psc __iomem *psc = mps->psc; \ 95 struct mpc512x_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc512x_psc_spi_activate_cs() local 101 sicr = in_be32(psc_addr(mps, sicr)); in mpc512x_psc_spi_activate_cs() 118 out_be32(psc_addr(mps, sicr), sicr); in mpc512x_psc_spi_activate_cs() 120 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs() 125 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_activate_cs() 128 out_be32(psc_addr(mps, ccr), ccr); in mpc512x_psc_spi_activate_cs() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/regulator/ |
D | mp8859.txt | 4 - compatible: "mps,mp8859"; 13 compatible = "mps,mp8859";
|
/Linux-v5.15/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
D | pcie.c | 156 int mps_p, mps_o, mps_m, mps; in qtnf_tune_pcie_mps() local 166 mps = mps_m; in qtnf_tune_pcie_mps() 174 mps = min(mps_m, mps_p); in qtnf_tune_pcie_mps() 178 ret = pcie_set_mps(pdev, mps); in qtnf_tune_pcie_mps() 181 mps, mps_o); in qtnf_tune_pcie_mps() 185 pr_debug("set mps to %d (was %d, max %d)\n", mps, mps_o, mps_m); in qtnf_tune_pcie_mps()
|
/Linux-v5.15/net/bluetooth/ |
D | l2cap_core.c | 536 chan->mps = min_t(u16, chan->imtu, chan->conn->mtu - L2CAP_HDR_SIZE); in l2cap_le_flowctl_init() 538 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_le_flowctl_init() 548 if (chan->mps < L2CAP_ECRED_MIN_MPS) { in l2cap_ecred_init() 549 chan->mps = L2CAP_ECRED_MIN_MPS; in l2cap_ecred_init() 550 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_ecred_init() 739 rsp.mps = cpu_to_le16(chan->mps); in l2cap_chan_le_connect_reject() 1375 req.mps = cpu_to_le16(chan->mps); in l2cap_le_connect() 1441 data.pdu.req.mps = cpu_to_le16(chan->mps); in l2cap_ecred_connect() 3878 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_parse_conf_rsp() 3894 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_parse_conf_rsp() [all …]
|
/Linux-v5.15/drivers/usb/host/ |
D | isp116x.h | 168 u16 mps; member 194 #define PTD_GET_MPS(p) (((p)->mps & PTD_MPS_MSK) >> 0) 196 #define PTD_GET_SPD(p) (((p)->mps & PTD_SPD_MSK) >> 10) 198 #define PTD_GET_LAST(p) (((p)->mps & PTD_LAST_MSK) >> 11) 200 #define PTD_GET_EP(p) (((p)->mps & PTD_EP_MSK) >> 12)
|
D | isp1362.h | 208 u16 mps; member 356 #define PTD_GET_MPS(p) (((p)->mps & PTD_MPS_MSK) >> 0) 358 #define PTD_GET_SPD(p) (((p)->mps & PTD_SPD_MSK) >> 10) 360 #define PTD_GET_LAST(p) (((p)->mps & PTD_LAST_MSK) >> 11) 362 #define PTD_GET_EP(p) (((p)->mps & PTD_EP_MSK) >> 12) 872 DBG(0, " %04x %04x %04x %04x\n", ptd->count, ptd->mps, ptd->len, ptd->faddr); in dump_ptd()
|
D | isp116x-hcd.c | 181 isp116x_write_data16(isp116x, ptd->mps); in pack_fifo() 211 ptd->mps = isp116x_read_data16(isp116x); in unpack_fifo() 276 ptd->mps = PTD_MPS(ep->maxpacket) in preproc_atl_queue() 282 ptd->mps |= PTD_LAST_MSK; in preproc_atl_queue()
|
/Linux-v5.15/include/net/bluetooth/ |
D | l2cap.h | 478 __le16 mps; member 485 __le16 mps; member 502 __le16 mps; member 509 __le16 mps; member 517 __le16 mps; member 582 __u16 mps; member
|
/Linux-v5.15/drivers/usb/gadget/udc/ |
D | fotg210.h | 149 #define INOUTEPMPSR_MPS(mps) ((mps) & 0x2FF) argument
|
/Linux-v5.15/drivers/usb/dwc2/ |
D | gadget.c | 731 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_get_chain_limit() local 743 if (usb_endpoint_xfer_int(ep_desc) && !dir_in && (mps % 4)) in dwc2_gadget_get_chain_limit() 744 maxsize = mps * MAX_DMA_DESC_NUM_GENERIC; in dwc2_gadget_get_chain_limit() 769 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_get_desc_params() local 774 desc_size = mps; in dwc2_gadget_get_desc_params() 789 desc_size -= desc_size % mps; in dwc2_gadget_get_desc_params() 794 if (usb_endpoint_xfer_int(ep_desc) && !dir_in && (mps % 4)) { in dwc2_gadget_get_desc_params() 795 desc_size = mps; in dwc2_gadget_get_desc_params() 809 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_fill_nonisoc_xfer_ddma_one() local 842 (*desc)->status |= (len % mps) ? DEV_DMA_SHORT : in dwc2_gadget_fill_nonisoc_xfer_ddma_one() [all …]
|
/Linux-v5.15/drivers/pci/ |
D | probe.c | 1977 int mps, mpss, p_mps, rc; in pci_configure_mps() local 1992 mps = 128; in pci_configure_mps() 1994 mps = 128 << dev->pcie_mpss; in pci_configure_mps() 1995 rc = pcie_set_mps(dev, mps); in pci_configure_mps() 1998 mps); in pci_configure_mps() 2006 mps = pcie_get_mps(dev); in pci_configure_mps() 2009 if (mps == p_mps) in pci_configure_mps() 2014 mps, pci_name(bridge), p_mps); in pci_configure_mps() 2041 p_mps, mps, mpss); in pci_configure_mps() 2677 static void pcie_write_mps(struct pci_dev *dev, int mps) in pcie_write_mps() argument [all …]
|
D | pci.c | 5963 int mps = pcie_get_mps(dev); in pcie_set_readrq() local 5965 if (mps < rq) in pcie_set_readrq() 5966 rq = mps; in pcie_set_readrq() 6002 int pcie_set_mps(struct pci_dev *dev, int mps) in pcie_set_mps() argument 6007 if (mps < 128 || mps > 4096 || !is_power_of_2(mps)) in pcie_set_mps() 6010 v = ffs(mps) - 8; in pcie_set_mps()
|
/Linux-v5.15/drivers/usb/gadget/udc/bdc/ |
D | bdc_cmd.c | 139 u32 mps, mbs, mul, si; in bdc_config_ep() local 155 mps = usb_endpoint_maxp(desc); in bdc_config_ep() 156 param2 |= mps << MP_SHIFT; in bdc_config_ep()
|
/Linux-v5.15/drivers/net/ethernet/cavium/liquidio/ |
D | cn66xx_device.c | 72 enum octeon_pcie_mps mps) in lio_cn6xxx_setup_pcie_mps() argument 80 if (mps == PCIE_MPS_DEFAULT) { in lio_cn6xxx_setup_pcie_mps() 81 mps = ((val & (0x7 << 5)) >> 5); in lio_cn6xxx_setup_pcie_mps() 84 val |= (mps << 5); /* Set MPS */ in lio_cn6xxx_setup_pcie_mps() 90 r64 |= (mps << 4); in lio_cn6xxx_setup_pcie_mps()
|
D | cn66xx_device.h | 71 enum octeon_pcie_mps mps);
|
/Linux-v5.15/arch/mips/include/asm/octeon/ |
D | cvmx-dpi-defs.h | 785 uint64_t mps:1; member 793 uint64_t mps:1; 817 uint64_t mps:1; member 825 uint64_t mps:1;
|
D | cvmx-pciercx-defs.h | 150 __BITFIELD_FIELD(uint32_t mps:3,
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv50.c | 290 int mps = 0; in nv50_gr_mp_trap() local 317 mps++; in nv50_gr_mp_trap() 319 if (!mps && display) in nv50_gr_mp_trap()
|
/Linux-v5.15/arch/mips/include/asm/mach-loongson64/ |
D | boot_param.h | 182 u64 mps; /* MPS table */ member
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | pci-bridge.h | 217 int mps; /* Maximum Payload Size */ member
|
/Linux-v5.15/drivers/scsi/csiostor/ |
D | csio_wr.c | 1351 u32 mps, mps_log; in csio_wr_fixup_host_params() local 1360 mps = 1 << mps_log; in csio_wr_fixup_host_params() 1361 if (mps > pack_align) in csio_wr_fixup_host_params() 1362 pack_align = mps; in csio_wr_fixup_host_params()
|
/Linux-v5.15/arch/mips/pci/ |
D | pcie-octeon.c | 404 pciercx_cfg030.s.mps = MPS_CN5XXX; in __cvmx_pcie_rc_initialize_config_space() 407 pciercx_cfg030.s.mps = MPS_CN6XXX; in __cvmx_pcie_rc_initialize_config_space() 438 npei_ctl_status2.s.mps = MPS_CN5XXX; in __cvmx_pcie_rc_initialize_config_space() 457 prt_cfg.s.mps = MPS_CN6XXX; in __cvmx_pcie_rc_initialize_config_space()
|
/Linux-v5.15/drivers/usb/cdns3/ |
D | cdnsp-mem.c | 571 int mps; in cdnsp_alloc_stream_info() local 592 mps = usb_endpoint_maxp(pep->endpoint.desc); in cdnsp_alloc_stream_info() 600 cur_ring = cdnsp_ring_alloc(pdev, 2, TYPE_STREAM, mps, in cdnsp_alloc_stream_info()
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 912 u32 mps; /* Max packet size */ member 1048 u32 mps; /* Max packet size */ member
|