/linux/drivers/spi/ |
H A D | spi-mpc512x-psc.c | 35 #define psc_addr(mps, regname) ({ \ argument 37 switch (mps->type) { \ 39 struct mpc52xx_psc __iomem *psc = mps->psc; \ 44 struct mpc5125_psc __iomem *psc = mps->psc; \ 88 struct mpc512x_psc_spi *mps = spi_controller_get_devdata(spi->controller); in mpc512x_psc_spi_activate_cs() local 94 sicr = in_be32(psc_addr(mps, sicr)); in mpc512x_psc_spi_activate_cs() 111 out_be32(psc_addr(mps, sicr), sicr); in mpc512x_psc_spi_activate_cs() 113 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs() 118 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_activate_cs() 121 out_be32(psc_addr(mps, ccr), ccr); in mpc512x_psc_spi_activate_cs() [all …]
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_mac.c | 28 unsigned int cls, unsigned int mps) in fbnic_init_mps() argument 35 val |= FIELD_PREP(FBNIC_QM_TNI_TCM_CTL_MPS, mps) | in fbnic_init_mps() 44 int readrq, mps, cls; in fbnic_mac_init_axi() local 57 mps = ilog2(fbd->mps) - 6; in fbnic_mac_init_axi() 58 mps = clamp(mps, 0, 3); in fbnic_mac_init_axi() 65 fbnic_init_mps(fbd, FBNIC_QM_TNI_TCM_CTL, cls, mps); in fbnic_mac_init_axi() 80 fbnic_init_mps(fbd, FBNIC_QM_RNI_RDE_CTL, cls, mps); in fbnic_mac_init_axi() 81 fbnic_init_mps(fbd, FBNIC_QM_RNI_RCM_CTL, cls, mps); in fbnic_mac_init_axi()
|
H A D | fbnic_devlink.c | 143 fbd->mps = pcie_get_mps(pdev); in fbnic_devlink_alloc()
|
H A D | fbnic.h | 54 u32 mps; member
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | mp8859.txt | 4 - compatible: "mps,mp8859"; 13 compatible = "mps,mp8859";
|
/linux/net/bluetooth/ |
H A D | l2cap_core.c | 544 if (chan->mps == 0) in l2cap_le_rx_credits() 551 return (chan->imtu / chan->mps) + 1; in l2cap_le_rx_credits() 559 return DIV_ROUND_UP(chan->rx_avail - sdu_len, chan->mps); in l2cap_le_rx_credits() 569 chan->mps = min_t(u16, chan->imtu, chan->conn->mtu - L2CAP_HDR_SIZE); in l2cap_le_flowctl_init() 580 if (chan->mps < L2CAP_ECRED_MIN_MPS) { in l2cap_ecred_init() 581 chan->mps = L2CAP_ECRED_MIN_MPS; in l2cap_ecred_init() 772 rsp.mps = cpu_to_le16(chan->mps); in l2cap_chan_le_connect_reject() 1283 req.mps = cpu_to_le16(chan->mps); in l2cap_le_connect() 1350 data.pdu.req.mps = cpu_to_le16(chan->mps); in l2cap_ecred_connect() 3682 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_parse_conf_rsp() [all …]
|
/linux/include/net/bluetooth/ |
H A D | l2cap.h | 444 __le16 mps; member 451 __le16 mps; member 470 __le16 mps; 480 __le16 mps; 489 __le16 mps; member 552 __u16 mps; member
|
/linux/drivers/usb/host/ |
H A 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)
|
H A 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()
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-udc.h | 151 #define INOUTEPMPSR_MPS(mps) ((mps) & 0x2FF) argument
|
/linux/drivers/pci/ |
H A D | probe.c | 2141 int mps, mpss, p_mps, rc; in pci_configure_mps() local 2156 mps = 128; in pci_configure_mps() 2158 mps = 128 << dev->pcie_mpss; in pci_configure_mps() 2159 rc = pcie_set_mps(dev, mps); in pci_configure_mps() 2162 mps); in pci_configure_mps() 2170 mps = pcie_get_mps(dev); in pci_configure_mps() 2173 if (mps == p_mps) in pci_configure_mps() 2178 mps, pci_name(bridge), p_mps); in pci_configure_mps() 2205 p_mps, mps, mpss); in pci_configure_mps() 2822 static void pcie_write_mps(struct pci_dev *dev, int mps) in pcie_write_mps() argument [all …]
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A 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()
|
H A D | cn66xx_device.h | 71 enum octeon_pcie_mps mps);
|
/linux/drivers/usb/gadget/udc/bdc/ |
H A 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/arch/mips/include/asm/octeon/ |
H A 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;
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-bletchley.dts | 337 compatible = "mps,mp5023"; 423 compatible = "mps,mp5023"; 509 compatible = "mps,mp5023"; 595 compatible = "mps,mp5023"; 681 compatible = "mps,mp5023"; 767 compatible = "mps,mp5023";
|
/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | processor.c | 304 struct kvm_mp_state mps; in vm_arch_vcpu_add() local 321 mps.mp_state = KVM_MP_STATE_RUNNABLE; in vm_arch_vcpu_add() 322 r = __vcpu_ioctl(vcpu, KVM_SET_MP_STATE, &mps); in vm_arch_vcpu_add()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A 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/drivers/nvme/target/ |
H A D | pci-epf.c | 180 size_t mps; member 760 return ctrl->mps - nvmet_pci_epf_prp_ofst(ctrl, prp); in nvmet_pci_epf_prp_size() 800 prps = kzalloc(ctrl->mps, GFP_KERNEL); in nvmet_pci_epf_iod_parse_prp_list() 815 nr_segs = (transfer_len + ofst + ctrl->mps - 1) >> ctrl->mps_shift; in nvmet_pci_epf_iod_parse_prp_list() 857 if (xfer_len > ctrl->mps && i == nr_prps - 1) { in nvmet_pci_epf_iod_parse_prp_list() 879 prp_size = min_t(size_t, ctrl->mps, xfer_len); in nvmet_pci_epf_iod_parse_prp_list() 983 if (iod->data_len + ofst <= ctrl->mps * 2) in nvmet_pci_epf_iod_parse_prps() 1829 ctrl->mps = 1UL << ctrl->mps_shift; in nvmet_pci_epf_enable_ctrl() 1830 ctrl->mps_mask = ctrl->mps - 1; in nvmet_pci_epf_enable_ctrl()
|
/linux/Documentation/misc-devices/ |
H A D | mrvl_cn10k_dpi.rst | 22 attributes like fifo length, molr, mps & mrrs.
|
/linux/arch/mips/include/asm/mach-loongson64/ |
H A D | boot_param.h | 189 u64 mps; /* MPS table */ member
|
/linux/arch/powerpc/include/asm/ |
H A D | pci-bridge.h | 230 int mps; /* Maximum Payload Size */ member
|
/linux/drivers/scsi/csiostor/ |
H A D | csio_wr.c | 1350 u32 mps, mps_log; in csio_wr_fixup_host_params() local 1359 mps = 1 << mps_log; in csio_wr_fixup_host_params() 1360 if (mps > pack_align) in csio_wr_fixup_host_params() 1361 pack_align = mps; in csio_wr_fixup_host_params()
|
/linux/arch/mips/pci/ |
H A D | pcie-octeon.c | 410 pciercx_cfg030.s.mps = MPS_CN5XXX; in __cvmx_pcie_rc_initialize_config_space() 413 pciercx_cfg030.s.mps = MPS_CN6XXX; in __cvmx_pcie_rc_initialize_config_space() 444 npei_ctl_status2.s.mps = MPS_CN5XXX; in __cvmx_pcie_rc_initialize_config_space() 463 prt_cfg.s.mps = MPS_CN6XXX; in __cvmx_pcie_rc_initialize_config_space()
|
/linux/drivers/usb/cdns3/ |
H A 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()
|