Home
last modified time | relevance | path

Searched refs:mps (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v5.15/drivers/spi/
Dspi-mpc52xx-psc.c74 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 …]
Dspi-mpc512x-psc.c38 #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/
Dmp8859.txt4 - compatible: "mps,mp8859";
13 compatible = "mps,mp8859";
/Linux-v5.15/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpcie.c156 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/
Dl2cap_core.c536 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/
Disp116x.h168 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)
Disp1362.h208 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()
Disp116x-hcd.c181 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/
Dl2cap.h478 __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/
Dfotg210.h149 #define INOUTEPMPSR_MPS(mps) ((mps) & 0x2FF) argument
/Linux-v5.15/drivers/usb/dwc2/
Dgadget.c731 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/
Dprobe.c1977 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 …]
Dpci.c5963 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/
Dbdc_cmd.c139 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/
Dcn66xx_device.c72 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()
Dcn66xx_device.h71 enum octeon_pcie_mps mps);
/Linux-v5.15/arch/mips/include/asm/octeon/
Dcvmx-dpi-defs.h785 uint64_t mps:1; member
793 uint64_t mps:1;
817 uint64_t mps:1; member
825 uint64_t mps:1;
Dcvmx-pciercx-defs.h150 __BITFIELD_FIELD(uint32_t mps:3,
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv50.c290 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/
Dboot_param.h182 u64 mps; /* MPS table */ member
/Linux-v5.15/arch/powerpc/include/asm/
Dpci-bridge.h217 int mps; /* Maximum Payload Size */ member
/Linux-v5.15/drivers/scsi/csiostor/
Dcsio_wr.c1351 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/
Dpcie-octeon.c404 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/
Dcdnsp-mem.c571 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/
Dhclge_main.h912 u32 mps; /* Max packet size */ member
1048 u32 mps; /* Max packet size */ member

12