diff options
author | Alan Cox <alan@linux.intel.com> | 2017-03-08 11:39:59 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-08 13:39:09 +0100 |
commit | 5cacee52f93d54df66bdc09b1ecaf2852b399e48 (patch) | |
tree | 2f4fc6acc470840e80307bbd3adcd3e0e36aa383 /drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include | |
parent | f6a681e0164725a5699bd403cb0f0d3497a86a48 (diff) | |
download | op-kernel-dev-5cacee52f93d54df66bdc09b1ecaf2852b399e48.zip op-kernel-dev-5cacee52f93d54df66bdc09b1ecaf2852b399e48.tar.gz |
atomisp: trim unused mmgr code
This cuts it back to what is basically a few wrapper functions. At some point
we can kill most of these too by changing the callers.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/memory_access/memory_access.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/memory_access/memory_access.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/memory_access/memory_access.h index 9d105ec..e78d462 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/memory_access/memory_access.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/memory_access/memory_access.h @@ -99,35 +99,6 @@ extern const hrt_vaddress mmgr_EXCEPTION; extern void mmgr_set_base_address( const sys_address base_addr); -/*! Get the (sub)system virtual memory page table base address - - \return base_address, - */ -/* unused */ -extern sys_address mmgr_get_base_address(void); - - -/*! Set the (sub)system virtual memory page table base index - - \param base_addr[in] The index where page table 0 is located - - \Note: The base_index is the MSB section of an absolute system address, - the in-page address bits are discared. The base address is not - relative to the DDR base address - - \return none, - */ -/* unused */ -extern void mmgr_set_base_index( - const hrt_data base_index); - -/*! Get the (sub)system virtual memory page table base index - - \return base_address, - */ -/* unused */ -extern hrt_data mmgr_get_base_index(void); - /*! Return the address of an allocation in memory \param size[in] Size in bytes of the allocation @@ -158,22 +129,6 @@ extern hrt_vaddress mmgr_calloc_ex( const char *caller_func, int caller_line); -/*! Return the address of a reallocated allocation in memory - - \param vaddr[in] Address of an allocation - \param size[in] Size in bytes of the allocation - - \Note - All limitations and particularities of the C stdlib - realloc function apply - - \return vaddress - */ -/* unused */ -extern hrt_vaddress mmgr_realloc( - hrt_vaddress vaddr, - const size_t size); - /*! Free the memory allocation identified by the address \param vaddr[in] Address of the allocation @@ -205,26 +160,6 @@ extern hrt_vaddress mmgr_alloc_attr_ex( const char *caller_func, int caller_line); -/*! Return the address of a reallocated allocation in memory - - \param vaddr[in] Address of an allocation - \param size[in] Size in bytes of the allocation - \param attribute[in] Bit vector specifying the properties - of the allocation -#endif - - \Note - All limitations and particularities of the C stdlib - realloc function apply - - \return vaddress - */ -/* unused */ -extern hrt_vaddress mmgr_realloc_attr( - hrt_vaddress vaddr, - const size_t size, - const uint16_t attribute); - /*! Return the address of a mapped existing allocation in memory \param ptr[in] Pointer to an allocation in a different @@ -264,20 +199,6 @@ extern void mmgr_clear_ex( const char *caller_func, int caller_line); -/*! Set an allocation in memory to a value - - \param vaddr[in] Address of an allocation - \param data[in] Value to set - \param size[in] Size in bytes of the area to be set - - \return none - */ -/* unused */ -extern void mmgr_set( - hrt_vaddress vaddr, - const uint8_t data, - const size_t size); - /*! Read an array of bytes from a virtual memory address \param vaddr[in] Address of an allocation |