Home
last modified time | relevance | path

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

12345

/Linux-v5.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 …]
/Linux-v5.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";
/Linux-v5.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.c1956 int mps, mpss, p_mps, rc; in pci_configure_mps() local
1961 /* MPS and MRRS fields are of type 'RsvdP' for VFs, short-circuit out */ in pci_configure_mps()
1971 mps = 128; in pci_configure_mps()
1973 mps = 128 << dev->pcie_mpss; in pci_configure_mps()
1974 rc = pcie_set_mps(dev, mps); in pci_configure_mps()
1977 mps); in pci_configure_mps()
1985 mps = pcie_get_mps(dev); in pci_configure_mps()
1988 if (mps == p_mps) in pci_configure_mps()
1993 mps, pci_name(bridge), p_mps); in pci_configure_mps()
1998 * Fancier MPS configuration is done later by in pci_configure_mps()
[all …]
/Linux-v5.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 …]
/Linux-v5.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";
/Linux-v5.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"},
Dmp886x.c327 ret = of_property_read_u32_array(np, "mps,fb-voltage-divider", in mp886x_i2c_probe()
352 if (!of_property_read_u32(np, "mps,switch-frequency-hz", &freq)) in mp886x_i2c_probe()
363 .compatible = "mps,mp8867",
367 .compatible = "mps,mp8869",
/Linux-v5.10/drivers/mfd/
Dmp2629.c22 .of_compatible = "mps,mp2629_adc",
26 .of_compatible = "mps,mp2629_charger",
63 { .compatible = "mps,mp2629"},
/Linux-v5.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 */
/Linux-v5.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()
/Linux-v5.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 */
Dmpc.c351 case MPS: in mpoa_device_type_string()
352 return "MPS"; in mpoa_device_type_string()
356 return "both MPS and MPC"; in mpoa_device_type_string()
423 if ((mpoa_device_type == MPS || mpoa_device_type == MPC) && in lane2_assoc_ind()
428 if (mpoa_device_type != MPS && in lane2_assoc_ind()
430 dprintk("ignoring non-MPS device "); in lane2_assoc_ind()
440 dprintk_cont("this MPS has %d MAC addresses\n", in lane2_assoc_ind()
445 * the control address of MPS in lane2_assoc_ind()
1281 * Our MPS died. Tell our daemon to send NHRP data plane purge to each
1291 pr_info("(%s) wrong MPS\n", mpc->dev->name); in mps_death()
[all …]
/Linux-v5.10/net/bluetooth/
Dl2cap_core.c531 /* Derive MPS from connection MTU to stop HCI fragmentation */ in l2cap_le_flowctl_init()
532 chan->mps = min_t(u16, chan->imtu, chan->conn->mtu - L2CAP_HDR_SIZE); in l2cap_le_flowctl_init()
534 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_le_flowctl_init()
543 /* L2CAP implementations shall support a minimum MPS of 64 octets */ in l2cap_ecred_init()
544 if (chan->mps < L2CAP_ECRED_MIN_MPS) { in l2cap_ecred_init()
545 chan->mps = L2CAP_ECRED_MIN_MPS; in l2cap_ecred_init()
546 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_ecred_init()
737 rsp.mps = cpu_to_le16(chan->mps); in l2cap_chan_le_connect_reject()
1373 req.mps = cpu_to_le16(chan->mps); in l2cap_le_connect()
1439 data.pdu.req.mps = cpu_to_le16(chan->mps); in l2cap_ecred_connect()
[all …]
/Linux-v5.10/drivers/usb/dwc2/
Dgadget.c719 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_get_chain_limit() local
729 /* Interrupt OUT EP with mps not multiple of 4 */ in dwc2_gadget_get_chain_limit()
731 if (usb_endpoint_xfer_int(ep_desc) && !dir_in && (mps % 4)) in dwc2_gadget_get_chain_limit()
732 maxsize = mps * MAX_DMA_DESC_NUM_GENERIC; in dwc2_gadget_get_chain_limit()
745 * Control out - MPS,
747 * Control In/Bulk/Interrupt - multiple of mps. This will allow to not
749 * Interrupt OUT - if mps not multiple of 4 then a single packet corresponds
757 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_get_desc_params() local
762 desc_size = mps; in dwc2_gadget_get_desc_params()
776 /* Round down desc_size to be mps multiple */ in dwc2_gadget_get_desc_params()
[all …]
/Linux-v5.10/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 mps &= 0x7ff; in bdc_config_ep()
157 param2 |= mps << MP_SHIFT; in bdc_config_ep()
/Linux-v5.10/include/net/bluetooth/
Dl2cap.h477 __le16 mps; member
484 __le16 mps; member
500 __le16 mps; member
507 __le16 mps; member
515 __le16 mps; member
580 __u16 mps; member
/Linux-v5.10/Documentation/hwmon/
Dmp2975.rst8 * MPS MP12254
19 This driver implements support for Monolithic Power Systems, Inc. (MPS)
/Linux-v5.10/arch/x86/kernel/acpi/
Dboot.c1070 /* TBD: Cleanup to allow fallback to MPS */ in acpi_parse_madt_lapic_entries()
1074 /* TBD: Cleanup to allow fallback to MPS */ in acpi_parse_madt_lapic_entries()
1084 /* TBD: Cleanup to allow fallback to MPS */ in acpi_parse_madt_lapic_entries()
1169 * If MPS is present, it will handle them, in acpi_parse_madt_ioapic_entries()
1202 /* TBD: Cleanup to allow fallback to MPS */ in acpi_parse_madt_ioapic_entries()
1222 /* TBD: Cleanup to allow fallback to MPS */ in acpi_parse_madt_ioapic_entries()
1299 * In the event an MPS table was found, forget it. in acpi_process_madt()
1300 * Boot with "acpi=off" to use MPS on such a system. in acpi_process_madt()
1304 "No APIC-table, disabling MPS\n"); in acpi_process_madt()
1311 * processors, where MPS only supports physical. in acpi_process_madt()
[all …]
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_defs.h44 * The Scatter Gather Engine (SGE), Multiport Support module (MPS), PIO Local
105 T4VF_MOD_MAP(MPS, 0, MPS_VF_CTL, MPS_VF_STAT_RX_VF_ERR_FRAMES_H)
/Linux-v5.10/Documentation/devicetree/bindings/pci/
Dnvidia,tegra194-pcie.txt111 1. If C0/C4/C5 run at x1/x2 link widths (irrespective of speed and MPS)
113 a) speed is Gen-2 and MPS is 256B
114 b) speed is >= Gen-3 with any MPS

12345