Home
last modified time | relevance | path

Searched full:mps (Results 1 – 25 of 218) sorted by relevance

123456789

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/spi/
Dspi-mpc52xx-psc.c78 struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc52xx_psc_spi_activate_cs() local
79 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_activate_cs()
112 mps->bits_per_word = cs->bits_per_word; in mpc52xx_psc_spi_activate_cs()
114 if (mps->cs_control) in mpc52xx_psc_spi_activate_cs()
115 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); in mpc52xx_psc_spi_activate_cs()
120 struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc52xx_psc_spi_deactivate_cs() local
122 if (mps->cs_control) in mpc52xx_psc_spi_deactivate_cs()
123 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); in mpc52xx_psc_spi_deactivate_cs()
133 struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc52xx_psc_spi_transfer_rxtx() local
134 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_transfer_rxtx()
[all …]
Dspi-mpc512x-psc.c42 #define psc_addr(mps, regname) ({ \ argument
44 switch (mps->type) { \
46 struct mpc52xx_psc __iomem *psc = mps->psc; \
51 struct mpc5125_psc __iomem *psc = mps->psc; \
99 struct mpc512x_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc512x_psc_spi_activate_cs() local
105 sicr = in_be32(psc_addr(mps, sicr)); in mpc512x_psc_spi_activate_cs()
122 out_be32(psc_addr(mps, sicr), sicr); in mpc512x_psc_spi_activate_cs()
124 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs()
129 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_activate_cs()
132 out_be32(psc_addr(mps, ccr), ccr); in mpc512x_psc_spi_activate_cs()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dmps,mpq7920.yaml4 $id: http://devicetree.org/schemas/regulator/mps,mpq7920.yaml#
17 - mps,mpq7920
31 mps,switch-freq:
53 mps,buck-softstart:
60 mps,buck-phase-delay:
67 mps,buck-ovp-disable:
90 compatible = "mps,mpq7920";
94 mps,switch-freq = /bits/ 8 <1>;
103 mps,buck-ovp-disable;
104 mps,buck-phase-delay = /bits/ 8 <2>;
[all …]
Dmps,mp886x.yaml4 $id: http://devicetree.org/schemas/regulator/mps,mp886x.yaml#
18 - mps,mp8867
19 - mps,mp8869
28 mps,fb-voltage-divider:
34 mps,switch-frequency-hz:
42 - mps,fb-voltage-divider
53 compatible = "mps,mp8869";
58 mps,fb-voltage-divider = <80 240>;
Dmps,mp5416.yaml4 $id: http://devicetree.org/schemas/regulator/mps,mp5416.yaml#
17 - mps,mp5416
53 compatible = "mps,mp5416";
Dmp8859.txt4 - compatible: "mps,mp8859";
13 compatible = "mps,mp8859";
/kernel/linux/linux-5.10/drivers/pci/
DKconfig198 MPS (Max Payload Size) and MRRS (Max Read Request Size) are PCIe
202 The following choices set the MPS and MRRS optimization strategy
215 Use the BIOS defaults; don't touch MPS at all. This is the same
222 Default choice; ensure that the MPS matches upstream bridge.
228 Use largest MPS that boot-time devices support. If you have a
230 will use the largest MPS that's supported by all devices. This
237 Use MPS and MRRS for best performance. Ensure that a given
238 device's MPS is no larger than its parent MPS, which allows us to
239 keep all switches/bridges to the max MPS supported by their
246 Set MPS = 128 for all devices. MPS configuration effected by the
[all …]
Dprobe.c1962 int mps, mpss, p_mps, rc; in pci_configure_mps() local
1967 /* MPS and MRRS fields are of type 'RsvdP' for VFs, short-circuit out */ in pci_configure_mps()
1977 mps = 128; in pci_configure_mps()
1979 mps = 128 << dev->pcie_mpss; in pci_configure_mps()
1980 rc = pcie_set_mps(dev, mps); in pci_configure_mps()
1983 mps); in pci_configure_mps()
1991 mps = pcie_get_mps(dev); in pci_configure_mps()
1994 if (mps == p_mps) in pci_configure_mps()
1999 mps, pci_name(bridge), p_mps); in pci_configure_mps()
2004 * Fancier MPS configuration is done later by in pci_configure_mps()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpcie.c145 qtnf_debugfs_add_entry(bus, "mps", qtnf_dbg_mps_show); in qtnf_pcie_fw_boot_done()
156 int mps_p, mps_o, mps_m, mps; in qtnf_tune_pcie_mps() local
159 /* current mps */ in qtnf_tune_pcie_mps()
162 /* maximum supported mps */ in qtnf_tune_pcie_mps()
165 /* suggested new mps value */ in qtnf_tune_pcie_mps()
166 mps = mps_m; in qtnf_tune_pcie_mps()
169 /* parent (bus) mps */ 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()
180 pr_err("failed to set mps to %d, keep using current %d\n", in qtnf_tune_pcie_mps()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmps,mp2629.yaml4 $id: http://devicetree.org/schemas/mfd/mps,mp2629.yaml#
21 const: mps,mp2629
54 compatible = "mps,mp2629";
/kernel/linux/linux-5.10/drivers/regulator/
Dmpq7920.c3 // mpq7920.c - regulator driver for mps mpq7920
219 if (of_property_read_bool(np, "mps,buck-ovp-disable")) { in mpq7920_parse_cb()
225 ret = of_property_read_u8(np, "mps,buck-phase-delay", &val); in mpq7920_parse_cb()
233 ret = of_property_read_u8(np, "mps,buck-softstart", &val); in mpq7920_parse_cb()
253 ret = of_property_read_u8(np, "mps,switch-freq", &freq); in mpq7920_parse_dt()
307 { .compatible = "mps,mpq7920"},
/kernel/linux/linux-5.10/drivers/mfd/
Dmp2629.c22 .of_compatible = "mps,mp2629_adc",
26 .of_compatible = "mps,mp2629_charger",
63 { .compatible = "mps,mp2629"},
/kernel/linux/linux-4.19/include/uapi/linux/
Datmmpc.h78 #define MPS 1 macro
91 #define HOLDING_TIME_DEFAULT 1200 /* same as MPS-p7 */
107 #define DATA_PLANE_PURGE 208 /* Data plane purge because of egress cache hit miss or dead MPS */
/kernel/linux/linux-5.10/include/uapi/linux/
Datmmpc.h78 #define MPS 1 macro
91 #define HOLDING_TIME_DEFAULT 1200 /* same as MPS-p7 */
107 #define DATA_PLANE_PURGE 208 /* Data plane purge because of egress cache hit miss or dead MPS */
/kernel/linux/linux-4.19/drivers/net/wireless/quantenna/qtnfmac/pearl/
Dpcie.c290 int mps_p, mps_o, mps_m, mps; in qtnf_tune_pcie_mps() local
293 /* current mps */ in qtnf_tune_pcie_mps()
296 /* maximum supported mps */ in qtnf_tune_pcie_mps()
299 /* suggested new mps value */ in qtnf_tune_pcie_mps()
300 mps = mps_m; in qtnf_tune_pcie_mps()
303 /* parent (bus) mps */ in qtnf_tune_pcie_mps()
308 mps = min(mps_m, mps_p); in qtnf_tune_pcie_mps()
312 ret = pcie_set_mps(pdev, mps); in qtnf_tune_pcie_mps()
314 pr_err("failed to set mps to %d, keep using current %d\n", in qtnf_tune_pcie_mps()
315 mps, mps_o); in qtnf_tune_pcie_mps()
[all …]
/kernel/linux/linux-4.19/drivers/pci/
Dprobe.c1802 int mps, mpss, p_mps, rc; in pci_configure_mps() local
1807 /* MPS and MRRS fields are of type 'RsvdP' for VFs, short-circuit out */ in pci_configure_mps()
1817 mps = 128; in pci_configure_mps()
1819 mps = 128 << dev->pcie_mpss; in pci_configure_mps()
1820 rc = pcie_set_mps(dev, mps); in pci_configure_mps()
1823 mps); in pci_configure_mps()
1831 mps = pcie_get_mps(dev); in pci_configure_mps()
1834 if (mps == p_mps) in pci_configure_mps()
1839 mps, pci_name(bridge), p_mps); in pci_configure_mps()
1844 * Fancier MPS configuration is done later by in pci_configure_mps()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Dcn66xx_device.c72 enum octeon_pcie_mps mps) in lio_cn6xxx_setup_pcie_mps() argument
77 /* Read config register for MPS */ in lio_cn6xxx_setup_pcie_mps()
80 if (mps == PCIE_MPS_DEFAULT) { in lio_cn6xxx_setup_pcie_mps()
81 mps = ((val & (0x7 << 5)) >> 5); in lio_cn6xxx_setup_pcie_mps()
83 val &= ~(0x7 << 5); /* Turn off any MPS bits */ in lio_cn6xxx_setup_pcie_mps()
84 val |= (mps << 5); /* Set MPS */ in lio_cn6xxx_setup_pcie_mps()
88 /* Set MPS in DPI_SLI_PRT0_CFG to the same value. */ in lio_cn6xxx_setup_pcie_mps()
90 r64 |= (mps << 4); in lio_cn6xxx_setup_pcie_mps()
/kernel/linux/linux-4.19/drivers/net/ethernet/cavium/liquidio/
Dcn66xx_device.c75 enum octeon_pcie_mps mps) in lio_cn6xxx_setup_pcie_mps() argument
80 /* Read config register for MPS */ in lio_cn6xxx_setup_pcie_mps()
83 if (mps == PCIE_MPS_DEFAULT) { in lio_cn6xxx_setup_pcie_mps()
84 mps = ((val & (0x7 << 5)) >> 5); in lio_cn6xxx_setup_pcie_mps()
86 val &= ~(0x7 << 5); /* Turn off any MPS bits */ in lio_cn6xxx_setup_pcie_mps()
87 val |= (mps << 5); /* Set MPS */ in lio_cn6xxx_setup_pcie_mps()
91 /* Set MPS in DPI_SLI_PRT0_CFG to the same value. */ in lio_cn6xxx_setup_pcie_mps()
93 r64 |= (mps << 4); in lio_cn6xxx_setup_pcie_mps()
/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Source/Drivers/Usb/
Dusbh_pipe.c60 pp->ep.mps = ep_mpl; in usbh_pipe_create()
95 if ((pp->ep.mps != ep_mpl) && (ep_mpl)) { in usbh_pipe_update()
96 pp->ep.mps = ep_mpl; in usbh_pipe_update()
/kernel/linux/linux-5.10/net/atm/
Dmpc.h21 uint8_t mps_ctrl_addr[ATM_ESA_LEN]; /* MPS control ATM address */
32 uint8_t *mps_macs; /* array of MPS MAC addresses, >=1 */
/kernel/linux/linux-4.19/net/atm/
Dmpc.h21 uint8_t mps_ctrl_addr[ATM_ESA_LEN]; /* MPS control ATM address */
32 uint8_t *mps_macs; /* array of MPS MAC addresses, >=1 */
/kernel/linux/linux-4.19/drivers/usb/dwc2/
Dgadget.c677 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_get_chain_limit() local
687 /* Interrupt OUT EP with mps not multiple of 4 */ in dwc2_gadget_get_chain_limit()
689 if (usb_endpoint_xfer_int(ep_desc) && !dir_in && (mps % 4)) in dwc2_gadget_get_chain_limit()
690 maxsize = mps * MAX_DMA_DESC_NUM_GENERIC; in dwc2_gadget_get_chain_limit()
703 * Control out - MPS,
705 * Control In/Bulk/Interrupt - multiple of mps. This will allow to not
707 * Interrupt OUT - if mps not multiple of 4 then a single packet corresponds
715 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_get_desc_params() local
720 desc_size = mps; in dwc2_gadget_get_desc_params()
734 /* Round down desc_size to be mps multiple */ in dwc2_gadget_get_desc_params()
[all …]
/kernel/linux/linux-5.10/net/bluetooth/
Dl2cap_core.c558 /* Derive MPS from connection MTU to stop HCI fragmentation */ in l2cap_le_flowctl_init()
559 chan->mps = min_t(u16, chan->imtu, chan->conn->mtu - L2CAP_HDR_SIZE); in l2cap_le_flowctl_init()
561 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_le_flowctl_init()
570 /* L2CAP implementations shall support a minimum MPS of 64 octets */ in l2cap_ecred_init()
571 if (chan->mps < L2CAP_ECRED_MIN_MPS) { in l2cap_ecred_init()
572 chan->mps = L2CAP_ECRED_MIN_MPS; in l2cap_ecred_init()
573 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_ecred_init()
764 rsp.mps = cpu_to_le16(chan->mps); in l2cap_chan_le_connect_reject()
1400 req.mps = cpu_to_le16(chan->mps); in l2cap_le_connect()
1466 data.pdu.req.mps = cpu_to_le16(chan->mps); in l2cap_ecred_connect()
[all …]

123456789