| /OK3568_Linux_fs/kernel/drivers/base/arm/protected_memory_allocator/ |
| H A D | protected_memory_allocator.c | 81 * @pma: protected_memory_allocation struct. 85 * fills-in a pma structure and sets the appropriate bits in the allocated-pages 95 struct protected_memory_allocation *pma) in small_granularity_alloc() argument 103 WARN_ON(!pma)) in small_granularity_alloc() 133 pma->pa = epma_dev->rmem_base + (page_idx << PAGE_SHIFT); in small_granularity_alloc() 134 pma->order = order; in small_granularity_alloc() 142 * @pma: protected_memory_allocation struct. 146 * a pma structure and sets the appropriate bits in the allocated-pages bitfield array 157 struct protected_memory_allocation *pma) in large_granularity_alloc() argument 165 WARN_ON(!pma)) in large_granularity_alloc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_protected_memory.c | 80 struct protected_memory_allocation **pma = NULL; in kbase_csf_protected_memory_alloc() local 97 pma = kmalloc_array(num_pages, sizeof(*pma), GFP_KERNEL); in kbase_csf_protected_memory_alloc() 99 if (WARN_ON(!pma_dev) || WARN_ON(!phys) || !pma) in kbase_csf_protected_memory_alloc() 105 pma[i] = pma_dev->ops.pma_alloc_page(pma_dev, order); in kbase_csf_protected_memory_alloc() 106 if (!pma[i]) in kbase_csf_protected_memory_alloc() 109 phys_addr = pma_dev->ops.pma_get_phys_addr(pma_dev, pma[i]); in kbase_csf_protected_memory_alloc() 127 kbase_csf_protected_memory_free(kbdev, pma, i * num_pages_order, is_small_page); in kbase_csf_protected_memory_alloc() 131 return pma; in kbase_csf_protected_memory_alloc() 136 struct protected_memory_allocation **pma, in kbase_csf_protected_memory_free() argument 148 if (WARN_ON(!pma_dev) || WARN_ON(!pma)) in kbase_csf_protected_memory_free() [all …]
|
| H A D | mali_kbase_csf_protected_memory.h | 66 * @pma: Array of pointer to protected memory allocations. 72 struct protected_memory_allocation **pma,
|
| H A D | mali_kbase_csf_firmware.c | 526 * @pma: Pointer to a protected memory allocation. It is an output parameter 544 struct protected_memory_allocation ***pma, in entry_find_large_page_to_reuse() argument 560 *pma = NULL; in entry_find_large_page_to_reuse() 607 if (target_interface->pma) in entry_find_large_page_to_reuse() 608 *pma = &target_interface->pma[page_index / NUM_4K_PAGES_IN_2MB_PAGE]; in entry_find_large_page_to_reuse() 652 struct protected_memory_allocation **pma = NULL; in parse_memory_setup_entry() local 700 &pma, num_pages, &num_pages_aligned, &is_small_page); in parse_memory_setup_entry() 709 pma = kbase_csf_protected_memory_alloc( in parse_memory_setup_entry() 713 if (!pma) in parse_memory_setup_entry() 767 interface->pma = pma; in parse_memory_setup_entry() [all …]
|
| H A D | mali_kbase_csf_mcu_shared_reg.c | 281 if (group->protected_suspend_buf.pma) { in group_bind_csg_reg() 285 * So it needs an update to this pma map. By clearing here the mapped flag in group_bind_csg_reg() 478 if (group->protected_suspend_buf.pma) { in kbase_csf_mcu_shared_group_update_pmode_map() 485 /* Populate the protected phys from pma to phy[] */ in kbase_csf_mcu_shared_group_update_pmode_map() 487 phy[i] = as_tagged(group->protected_suspend_buf.pma[i]->pa); in kbase_csf_mcu_shared_group_update_pmode_map()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/ |
| H A D | qib_verbs.h | 149 u64 z_unicast_xmit; /* starting count for PMA */ 150 u64 z_unicast_rcv; /* starting count for PMA */ 151 u64 z_multicast_xmit; /* starting count for PMA */ 152 u64 z_multicast_rcv; /* starting count for PMA */ 153 u64 z_symbol_error_counter; /* starting count for PMA */ 154 u64 z_link_error_recovery_counter; /* starting count for PMA */ 155 u64 z_link_downed_counter; /* starting count for PMA */ 156 u64 z_port_rcv_errors; /* starting count for PMA */ 157 u64 z_port_rcv_remphys_errors; /* starting count for PMA */ 158 u64 z_port_xmit_discards; /* starting count for PMA */ [all …]
|
| H A D | qib_mad.c | 1531 /* Congestion PMA packets start at offset 24 not 64 */ in pma_get_portcounters_cong() 1666 struct qib_pma_counters pma; in pma_get_portcounters_ext() local 1690 qib_snapshot_pmacounters(ibp, &pma); in pma_get_portcounters_ext() 1692 p->port_unicast_xmit_packets = cpu_to_be64(pma.n_unicast_xmit in pma_get_portcounters_ext() 1694 p->port_unicast_rcv_packets = cpu_to_be64(pma.n_unicast_rcv in pma_get_portcounters_ext() 1696 p->port_multicast_xmit_packets = cpu_to_be64(pma.n_multicast_xmit in pma_get_portcounters_ext() 1698 p->port_multicast_rcv_packets = cpu_to_be64(pma.n_multicast_rcv in pma_get_portcounters_ext() 1827 struct qib_pma_counters pma; in pma_set_portcounters_ext() local 1843 qib_snapshot_pmacounters(ibp, &pma); in pma_set_portcounters_ext() 1846 ibp->z_unicast_xmit = pma.n_unicast_xmit; in pma_set_portcounters_ext() [all …]
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | mdio.h | 38 #define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */ 39 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 40 #define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */ 131 #define MDIO_PMA_CTRL2_TYPE 0x000f /* PMA/PMD type selection */ 159 #define MDIO_PMA_STAT2_LBABLE 0x0001 /* PMA loopback ability */ 209 /* PMA 10GBASE-T pair swap & polarity */ 217 /* PMA 10GBASE-T TX power register. */ 220 /* PMA 10GBASE-T SNR registers. */ 225 /* PMA 10GBASE-R FEC ability register. */ 255 #define MDIO_PMA_LASI_RX_PMALFLT 0x0010 /* PMA/PMD RX local fault */ [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | mdio.h | 40 #define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */ 41 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 42 #define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */ 128 #define MDIO_PMA_CTRL2_TYPE 0x000f /* PMA/PMD type selection */ 156 #define MDIO_PMA_STAT2_LBABLE 0x0001 /* PMA loopback ability */ 206 /* PMA 10GBASE-T pair swap & polarity */ 214 /* PMA 10GBASE-T TX power register. */ 217 /* PMA 10GBASE-T SNR registers. */ 222 /* PMA 10GBASE-R FEC ability register. */ 268 #define MDIO_PMA_LASI_RX_PMALFLT 0x0010 /* PMA/PMD RX local fault */ [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | mdio.h | 40 #define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */ 41 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 42 #define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */ 128 #define MDIO_PMA_CTRL2_TYPE 0x000f /* PMA/PMD type selection */ 156 #define MDIO_PMA_STAT2_LBABLE 0x0001 /* PMA loopback ability */ 206 /* PMA 10GBASE-T pair swap & polarity */ 214 /* PMA 10GBASE-T TX power register. */ 217 /* PMA 10GBASE-T SNR registers. */ 222 /* PMA 10GBASE-R FEC ability register. */ 268 #define MDIO_PMA_LASI_RX_PMALFLT 0x0010 /* PMA/PMD RX local fault */ [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | mdio.h | 40 #define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */ 41 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 42 #define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */ 49 #define MDIO_PMA_NG_EXTABLE 21 /* 2.5G/5G PMA/PMD extended ability */ 139 #define MDIO_PMA_CTRL2_TYPE 0x000f /* PMA/PMD type selection */ 169 #define MDIO_PMA_STAT2_LBABLE 0x0001 /* PMA loopback ability */ 220 /* PMA 10GBASE-T pair swap & polarity */ 228 /* PMA 10GBASE-T TX power register. */ 231 /* PMA 10GBASE-T SNR registers. */ 236 /* PMA 10GBASE-R FEC ability register. */ [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | protected_memory_allocator.h | 68 * @pma: The protected memory allocation whose physical address 75 struct protected_memory_allocation *pma); 82 * @pma: The protected memory allocation to free. 86 struct protected_memory_allocation *pma);
|
| /OK3568_Linux_fs/kernel/drivers/net/phy/ |
| H A D | phy-c45.c | 33 * PMA/PMD type selection is 1.7.5:0 not 1.7.3:0. See 45.2.1.6.1 in genphy_c45_pma_setup_forced() 132 * parameters are controlled through the PMA/PMD MMD registers. 320 * genphy_c45_read_pma - read link speed etc from PMA 364 * genphy_c45_read_mdix - read mdix status from PMA 397 * genphy_c45_pma_read_abilities - read supported link modes from PMA 400 * Read the supported link modes from the PMA Status 2 (1.8) register. If bit 402 * PMA Extended Abilities (1.11) register, indicating 1000BASET an 10G related 404 * in the 2.5G/5G PMA Extended register (1.21), indicating if 2.5GBASET and
|
| H A D | marvell10g.c | 12 * SGMII PHYXS -- BASE-T PCS -- 10G PMA -- AN -- Copper (for <= 1G) 13 * 10GBASE-KR PHYXS -- BASE-T PCS -- 10G PMA -- AN -- Copper (for 10G) 440 * don't set bit 14 in PMA Extended Abilities (1.11), although they do 443 * the PMA device identifier, with a mask matching models known to have this 451 /* Only some revisions of the 88X3310 family PMA seem to be impacted */ in mv3310_has_pma_ngbaset_quirk()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | samsung,ufs-phy.yaml | 25 - const: phy-pma 64 reg-names = "phy-pma";
|
| H A D | ti,phy-j721e-wiz.yaml | 105 WIZ node should have subnodes for each of the PMA common refclock 124 clock source for the reference clock used in the PHY and PMA digital
|
| /OK3568_Linux_fs/u-boot/drivers/net/phy/ |
| H A D | xilinx_phy.c | 2 * Xilinx PCS/PMA Core phy driver 131 .name = "Xilinx PCS/PMA PHY",
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_phy.c | 119 /* PMA Standard Device Identifier 2: Address 1.3 */ in aq_phy_init_phy_id() 137 /* PMA Standard Device Identifier: in aq_phy_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/ |
| H A D | qt202x_phy.c | 184 /* The PHY can get stuck in a state where it reports PHY_XS and PMA/PMD in qt2025c_bug17190_workaround() 186 * persisting for a couple of seconds, we switch PMA/PMD loopback in qt2025c_bug17190_workaround() 203 netif_dbg(efx, hw, efx->net_dev, "bashing QT2025C PMA/PMD\n"); in qt2025c_bug17190_workaround() 284 /* PMA/PMD loopback sets RXIN to inverse polarity and the firmware in qt2025c_select_phy_mode()
|
| H A D | txc43128_phy.c | 182 /* Reset the PMA/PMD MMD. The documentation is explicit that this does a 211 /* Set PMA to test into loopback using Mt Diablo reg as per app note */ in txc_bist_one() 406 /* Analog register bank in PMA/PMD, PHY XS */ in txc_set_power()
|
| /OK3568_Linux_fs/kernel/drivers/phy/cadence/ |
| H A D | phy-cadence-torrent.c | 161 /* PMA TX Lane registers */ 180 /* PMA RX Lane registers */ 214 /* PHY PMA common registers */ 641 /* PMA common configuration 19.2MHz */ in cdns_torrent_dp_configure_rate() 646 /* PMA common configuration 25MHz */ in cdns_torrent_dp_configure_rate() 949 /* PHY PMA registers configuration function */ in cdns_torrent_dp_init() 969 /* PHY PMA registers configuration functions */ in cdns_torrent_dp_init() 1007 "timeout waiting for PMA common ready\n"); in cdns_torrent_dp_wait_pma_cmn_ready() 1020 /* PMA common configuration 19.2MHz */ in cdns_torrent_dp_pma_cfg() 1023 /* PMA common configuration 25MHz */ in cdns_torrent_dp_pma_cfg() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/phy/ |
| H A D | phy-rockchip-snps-pcie3.c | 73 /* Deassert PCIe PMA output clamp mode */ in rockchip_p3phy_rk3568_init() 125 /* Deassert PCIe PMA output clamp mode */ in rockchip_p3phy_rk3588_init()
|
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | phy-rockchip-snps-pcie3.c | 92 /* Deassert PCIe PMA output clamp mode */ in rockchip_p3phy_rk3568_init() 142 /* Deassert PCIe PMA output clamp mode */ in rockchip_p3phy_rk3588_init()
|
| /OK3568_Linux_fs/u-boot/include/linux/usb/ |
| H A D | phy-rockchip-usbdp.h | 30 /* PMA CMN Registers */
|
| /OK3568_Linux_fs/kernel/include/linux/phy/ |
| H A D | phy-rockchip-usbdp.h | 30 /* PMA CMN Registers */
|