Searched refs:mcam (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc.c | 32 static void npc_mcam_free_all_entries(struct rvu *rvu, struct npc_mcam *mcam, 34 static void npc_mcam_free_all_counters(struct rvu *rvu, struct npc_mcam *mcam, 122 static int npc_get_ucast_mcam_index(struct npc_mcam *mcam, u16 pcifunc, in npc_get_ucast_mcam_index() argument 125 struct rvu_hwinfo *hw = container_of(mcam, struct rvu_hwinfo, mcam); in npc_get_ucast_mcam_index() 144 return mcam->nixlf_offset + (max + nixlf) * RSVD_MCAM_ENTRIES_PER_NIXLF; in npc_get_ucast_mcam_index() 147 int npc_get_nixlf_mcam_index(struct npc_mcam *mcam, in npc_get_nixlf_mcam_index() argument 150 struct rvu_hwinfo *hw = container_of(mcam, struct rvu_hwinfo, mcam); in npc_get_nixlf_mcam_index() 159 index = mcam->pf_offset + (pf * RSVD_MCAM_ENTRIES_PER_PF); in npc_get_nixlf_mcam_index() 171 return npc_get_ucast_mcam_index(mcam, pcifunc, nixlf); in npc_get_nixlf_mcam_index() 174 int npc_get_bank(struct npc_mcam *mcam, int index) in npc_get_bank() argument [all …]
|
| H A D | rvu_npc_fs.c | 62 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_is_feature_supported() local 66 mcam_features = is_npc_intf_tx(intf) ? mcam->tx_features : mcam->rx_features; in npc_is_feature_supported() 84 static void npc_set_kw_masks(struct npc_mcam *mcam, u8 type, in npc_set_kw_masks() argument 87 struct npc_key_field *field = &mcam->rx_key_fields[type]; in npc_set_kw_masks() 91 if (mcam->banks_per_entry == 1) in npc_set_kw_masks() 93 else if (mcam->banks_per_entry == 2) in npc_set_kw_masks() 99 field = &mcam->tx_key_fields[type]; in npc_set_kw_masks() 141 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_is_field_present() local 144 input = &mcam->rx_key_fields[type]; in npc_is_field_present() 146 input = &mcam->tx_key_fields[type]; in npc_is_field_present() [all …]
|
| H A D | rvu_npc_hash.c | 1774 mcam_idx = npc_get_nixlf_mcam_index(&rvu->hw->mcam, req->hdr.pcifunc, in rvu_npc_exact_mac_addr_set()
|
| /linux/drivers/media/platform/marvell/ |
| H A D | Makefile | 2 obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o mcam-core.o 5 obj-$(CONFIG_VIDEO_MMP_CAMERA) += mmp_camera.o mcam-core.o
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | port.c | 98 int mlx5_query_mcam_reg(struct mlx5_core_dev *dev, u32 *mcam, u8 feature_group, in mlx5_query_mcam_reg() argument 107 return mlx5_core_access_reg(dev, in, sz, mcam, sz, MLX5_REG_MCAM, 0, 0); in mlx5_query_mcam_reg()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_env.c | 1425 err = mlxsw_reg_query(mlxsw_env->core, MLXSW_REG(mcam), mcam_pl); in mlxsw_env_max_module_eeprom_len_query()
|
| H A D | pci.c | 1865 err = mlxsw_reg_query(mlxsw_pci->core, MLXSW_REG(mcam), mcam_pl); in mlxsw_pci_reset()
|