Home
last modified time | relevance | path

Searched refs:cvmx_fpa_pool_info (Results 1 – 2 of 2) sorted by relevance

/arch/mips/cavium-octeon/executive/
Dcvmx-fpa.c45 CVMX_SHARED cvmx_fpa_pool_info_t cvmx_fpa_pool_info[CVMX_FPA_NUM_POOLS]; variable
89 cvmx_fpa_pool_info[pool].name = name; in cvmx_fpa_setup_pool()
90 cvmx_fpa_pool_info[pool].size = block_size; in cvmx_fpa_setup_pool()
91 cvmx_fpa_pool_info[pool].starting_element_count = num_blocks; in cvmx_fpa_setup_pool()
92 cvmx_fpa_pool_info[pool].base = buffer; in cvmx_fpa_setup_pool()
115 uint64_t base = cvmx_ptr_to_phys(cvmx_fpa_pool_info[pool].base); in cvmx_fpa_shutdown_pool()
118 cvmx_fpa_pool_info[pool].size * in cvmx_fpa_shutdown_pool()
119 cvmx_fpa_pool_info[pool].starting_element_count; in cvmx_fpa_shutdown_pool()
133 base) % cvmx_fpa_pool_info[pool].size) == 0)) { in cvmx_fpa_shutdown_pool()
139 cvmx_fpa_pool_info[pool].name, (int)pool); in cvmx_fpa_shutdown_pool()
[all …]
/arch/mips/include/asm/octeon/
Dcvmx-fpa.h87 extern cvmx_fpa_pool_info_t cvmx_fpa_pool_info[CVMX_FPA_NUM_POOLS];
99 return cvmx_fpa_pool_info[pool].name; in cvmx_fpa_get_name()
110 return cvmx_fpa_pool_info[pool].base; in cvmx_fpa_get_base()
124 return ((ptr >= cvmx_fpa_pool_info[pool].base) && in cvmx_fpa_is_member()
126 ((char *)(cvmx_fpa_pool_info[pool].base)) + in cvmx_fpa_is_member()
127 cvmx_fpa_pool_info[pool].size * in cvmx_fpa_is_member()
128 cvmx_fpa_pool_info[pool].starting_element_count)); in cvmx_fpa_is_member()