| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-mpc52xx-psc.c | 74 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 …]
|
| H A D | spi-mpc512x-psc.c | 38 #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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
| H A D | pcie.c | 156 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()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/ |
| H A D | mp8859.txt | 4 - compatible: "mps,mp8859"; 13 compatible = "mps,mp8859";
|
| H A D | mp8865-regulator.txt | 4 - compatible: "mps,mp8865" 12 compatible = "mps,mp8865";
|
| /OK3568_Linux_fs/kernel/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 mps &= 0x7ff; in bdc_config_ep() 157 param2 |= mps << MP_SHIFT; in bdc_config_ep()
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc2/ |
| H A D | gadget.c | 733 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_get_chain_limit() local 745 if (usb_endpoint_xfer_int(ep_desc) && !dir_in && (mps % 4)) in dwc2_gadget_get_chain_limit() 746 maxsize = mps * MAX_DMA_DESC_NUM_GENERIC; in dwc2_gadget_get_chain_limit() 771 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_get_desc_params() local 776 desc_size = mps; in dwc2_gadget_get_desc_params() 791 desc_size -= desc_size % mps; in dwc2_gadget_get_desc_params() 796 if (usb_endpoint_xfer_int(ep_desc) && !dir_in && (mps % 4)) { in dwc2_gadget_get_desc_params() 797 desc_size = mps; in dwc2_gadget_get_desc_params() 811 u32 mps = hs_ep->ep.maxpacket; in dwc2_gadget_fill_nonisoc_xfer_ddma_one() local 844 (*desc)->status |= (len % mps) ? DEV_DMA_SHORT : in dwc2_gadget_fill_nonisoc_xfer_ddma_one() [all …]
|
| /OK3568_Linux_fs/kernel/net/bluetooth/ |
| H A D | l2cap_core.c | 565 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() 770 rsp.mps = cpu_to_le16(chan->mps); in l2cap_chan_le_connect_reject() 1406 req.mps = cpu_to_le16(chan->mps); in l2cap_le_connect() 1473 data.pdu.req.mps = cpu_to_le16(chan->mps); in l2cap_ecred_connect() 3903 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_parse_conf_rsp() 3919 chan->mps = le16_to_cpu(rfc.max_pdu_size); in l2cap_parse_conf_rsp() [all …]
|
| /OK3568_Linux_fs/kernel/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) 927 DBG(0, " %04x %04x %04x %04x\n", ptd->count, ptd->mps, ptd->len, ptd->faddr); in dump_ptd()
|
| /OK3568_Linux_fs/kernel/include/net/bluetooth/ |
| H A D | l2cap.h | 478 __le16 mps; member 485 __le16 mps; member 501 __le16 mps; member 508 __le16 mps; member 516 __le16 mps; member 581 __u16 mps; member
|
| /OK3568_Linux_fs/kernel/drivers/pci/ |
| H A D | probe.c | 1956 int mps, mpss, p_mps, rc; in pci_configure_mps() local 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() 2020 p_mps, mps, mpss); in pci_configure_mps() 2660 static void pcie_write_mps(struct pci_dev *dev, int mps) in pcie_write_mps() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/ |
| H A D | fotg210.h | 149 #define INOUTEPMPSR_MPS(mps) ((mps) & 0x2FF) argument
|
| /OK3568_Linux_fs/kernel/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);
|
| /OK3568_Linux_fs/buildroot/package/nvidia-driver/ |
| H A D | nvidia-driver.mk | 116 NVIDIA_DRIVER_PROGS = nvidia-cuda-mps-control nvidia-cuda-mps-server
|
| /OK3568_Linux_fs/kernel/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;
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/mesh/ |
| H A D | rtw_mesh.h | 57 #define rtw_mesh_ps_str(mps) ((mps <= RTW_MESH_PS_DSLEEP) ? _rtw_mesh_ps_str[mps] : _rtw_mesh_ps_st… argument
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/mesh/ |
| H A D | rtw_mesh.h | 58 #define rtw_mesh_ps_str(mps) ((mps <= RTW_MESH_PS_DSLEEP) ? _rtw_mesh_ps_str[mps] : _rtw_mesh_ps_st… argument
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/mesh/ |
| H A D | rtw_mesh.h | 57 #define rtw_mesh_ps_str(mps) ((mps <= RTW_MESH_PS_DSLEEP) ? _rtw_mesh_ps_str[mps] : _rtw_mesh_ps_st… argument
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/mesh/ |
| H A D | rtw_mesh.h | 57 #define rtw_mesh_ps_str(mps) ((mps <= RTW_MESH_PS_DSLEEP) ? _rtw_mesh_ps_str[mps] : _rtw_mesh_ps_st… argument
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/mesh/ |
| H A D | rtw_mesh.h | 58 #define rtw_mesh_ps_str(mps) ((mps <= RTW_MESH_PS_DSLEEP) ? _rtw_mesh_ps_str[mps] : _rtw_mesh_ps_st… argument
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/mesh/ |
| H A D | rtw_mesh.h | 57 #define rtw_mesh_ps_str(mps) ((mps <= RTW_MESH_PS_DSLEEP) ? _rtw_mesh_ps_str[mps] : _rtw_mesh_ps_st… argument
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/mesh/ |
| H A D | rtw_mesh.h | 57 #define rtw_mesh_ps_str(mps) ((mps <= RTW_MESH_PS_DSLEEP) ? _rtw_mesh_ps_str[mps] : _rtw_mesh_ps_st… argument
|