Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/spi/
Dspi-mpc512x-psc.c37 #define psc_addr(mps, regname) ({ \ argument
39 switch (mps->type) { \
41 struct mpc52xx_psc __iomem *psc = mps->psc; \
46 struct mpc5125_psc __iomem *psc = mps->psc; \
94 struct mpc512x_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc512x_psc_spi_activate_cs() local
100 sicr = in_be32(psc_addr(mps, sicr)); in mpc512x_psc_spi_activate_cs()
117 out_be32(psc_addr(mps, sicr), sicr); in mpc512x_psc_spi_activate_cs()
119 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs()
124 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_activate_cs()
127 out_be32(psc_addr(mps, ccr), ccr); in mpc512x_psc_spi_activate_cs()
[all …]
Dspi-mpc52xx-psc.c69 struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc52xx_psc_spi_activate_cs() local
70 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_activate_cs()
103 mps->bits_per_word = cs->bits_per_word; in mpc52xx_psc_spi_activate_cs()
105 if (mps->cs_control) in mpc52xx_psc_spi_activate_cs()
106 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); in mpc52xx_psc_spi_activate_cs()
111 struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc52xx_psc_spi_deactivate_cs() local
113 if (mps->cs_control) in mpc52xx_psc_spi_deactivate_cs()
114 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); in mpc52xx_psc_spi_deactivate_cs()
124 struct mpc52xx_psc_spi *mps = spi_master_get_devdata(spi->master); in mpc52xx_psc_spi_transfer_rxtx() local
125 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_transfer_rxtx()
[all …]
/linux-6.1.9/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
18 - mps,mp5496
54 compatible = "mps,mp5416";
Dmp8859.txt4 - compatible: "mps,mp8859";
13 compatible = "mps,mp8859";
/linux-6.1.9/Documentation/devicetree/bindings/mfd/
Dmps,mp2629.yaml4 $id: http://devicetree.org/schemas/mfd/mps,mp2629.yaml#
22 - mps,mp2629
23 - mps,mp2733
56 compatible = "mps,mp2629";
/linux-6.1.9/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-6.1.9/net/bluetooth/
Dl2cap_core.c565 chan->mps = min_t(u16, chan->imtu, chan->conn->mtu - L2CAP_HDR_SIZE); in l2cap_le_flowctl_init()
567 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_le_flowctl_init()
577 if (chan->mps < L2CAP_ECRED_MIN_MPS) { in l2cap_ecred_init()
578 chan->mps = L2CAP_ECRED_MIN_MPS; in l2cap_ecred_init()
579 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_ecred_init()
768 rsp.mps = cpu_to_le16(chan->mps); in l2cap_chan_le_connect_reject()
1405 req.mps = cpu_to_le16(chan->mps); in l2cap_le_connect()
1472 data.pdu.req.mps = cpu_to_le16(chan->mps); in l2cap_ecred_connect()
3907 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_parse_conf_rsp()
3923 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_parse_conf_rsp()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/drivers/usb/gadget/udc/
Dfotg210.h149 #define INOUTEPMPSR_MPS(mps) ((mps) & 0x2FF) argument
/linux-6.1.9/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-6.1.9/drivers/pci/
Dprobe.c1993 int mps, mpss, p_mps, rc; in pci_configure_mps() local
2008 mps = 128; in pci_configure_mps()
2010 mps = 128 << dev->pcie_mpss; in pci_configure_mps()
2011 rc = pcie_set_mps(dev, mps); in pci_configure_mps()
2014 mps); in pci_configure_mps()
2022 mps = pcie_get_mps(dev); in pci_configure_mps()
2025 if (mps == p_mps) in pci_configure_mps()
2030 mps, pci_name(bridge), p_mps); in pci_configure_mps()
2057 p_mps, mps, mpss); in pci_configure_mps()
2718 static void pcie_write_mps(struct pci_dev *dev, int mps) in pcie_write_mps() argument
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/arm/boot/dts/
Daspeed-bmc-facebook-bletchley.dts248 compatible = "mps,mp5023";
334 compatible = "mps,mp5023";
420 compatible = "mps,mp5023";
506 compatible = "mps,mp5023";
592 compatible = "mps,mp5023";
678 compatible = "mps,mp5023";
/linux-6.1.9/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;
/linux-6.1.9/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c288 struct kvm_mp_state mps; in vm_arch_vcpu_add() local
299 mps.mp_state = KVM_MP_STATE_RUNNABLE; in vm_arch_vcpu_add()
300 r = __vcpu_ioctl(vcpu, KVM_SET_MP_STATE, &mps); in vm_arch_vcpu_add()
/linux-6.1.9/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-6.1.9/arch/mips/include/asm/mach-loongson64/
Dboot_param.h182 u64 mps; /* MPS table */ member
/linux-6.1.9/arch/powerpc/include/asm/
Dpci-bridge.h221 int mps; /* Maximum Payload Size */ member
/linux-6.1.9/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()

123