openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

ism.h (932B)


      1 /* 
      2  * 
      3  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4  * 
      5  * Copyright 2007-2019 Broadcom Inc. All rights reserved.
      6  *
      7  * File:        ism.h
      8  * Purpose:     Include file for ISM memory access functions.
      9  */
     10 
     11 #ifndef _PCID_ISM_H
     12 #define _PCID_ISM_H
     13 
     14 #include "pcid.h"
     15 #include <sys/types.h>
     16 #include <soc/mcm/memregs.h>
     17 
     18 #ifdef BCM_ISM_SUPPORT
     19 int soc_internal_generic_hash_insert(pcid_info_t *pcid_info, soc_mem_t mem, int banks, 
     20                                      void *entry, uint32 *result);
     21 int soc_internal_generic_hash_lookup(pcid_info_t *pcid_info, soc_mem_t mem, int banks, 
     22                                      void *entry, uint32 *result);
     23 int soc_internal_generic_hash_delete(pcid_info_t *pcid_info, soc_mem_t mem, int banks, 
     24                                      void *entry, uint32 *result);
     25 
     26 #endif
     27 
     28 #endif	/* _PCID_ISM_H */
     29