Merge changes Ifa659ac4,I28379233 into wlan-cmn.driver.lnx.1.0-dev

* changes:
  Release 5.1.0.23K
  qcacmn: Add APIs to get lower 32 and upper 32 bits
This commit is contained in:
Service qcabuildsw 2016-09-07 21:12:27 -07:00 • committed by Gerrit - the friendly Code Review server
commit d3724937c3
3 changed files with 58 additions and 1 deletions

View file

@ -1,2 +1,2 @@
Current Component wlan-cmn.driver.lnx.1.0 version 5.1.0.23J
Current Component wlan-cmn.driver.lnx.1.0 version 5.1.0.23K
Matches Component wlan-cld3.driver.lnx.1.1 version 5.1.0.22C

View file

@ -439,4 +439,32 @@ uint64_t qdf_get_totalramsize(void)
return __qdf_get_totalramsize();
}
/**
* qdf_get_lower_32_bits() - get lower 32 bits from an address.
* @addr: address
*
* This api returns the lower 32 bits of an address.
*
* Return: lower 32 bits.
*/
static inline
uint32_t qdf_get_lower_32_bits(qdf_dma_addr_t addr)
{
return __qdf_get_lower_32_bits(addr);
}
/**
* qdf_get_upper_32_bits() - get upper 32 bits from an address.
* @addr: address
*
* This api returns the upper 32 bits of an address.
*
* Return: upper 32 bits.
*/
static inline
uint32_t qdf_get_upper_32_bits(qdf_dma_addr_t addr)
{
return __qdf_get_upper_32_bits(addr);
}
#endif /*_QDF_UTIL_H*/

View file

@ -292,4 +292,33 @@ __qdf_get_totalramsize(void)
return MEMINFO_KB(meminfo.totalram);
}
/**
* __qdf_get_lower_32_bits() - get lower 32 bits from an address.
* @addr: address
*
* This api returns the lower 32 bits of an address.
*
* Return: lower 32 bits.
*/
static inline
uint32_t __qdf_get_lower_32_bits(__qdf_dma_addr_t addr)
{
return lower_32_bits(addr);
}
/**
* __qdf_get_upper_32_bits() - get upper 32 bits from an address.
* @addr: address
*
* This api returns the upper 32 bits of an address.
*
* Return: upper 32 bits.
*/
static inline
uint32_t __qdf_get_upper_32_bits(__qdf_dma_addr_t addr)
{
return upper_32_bits(addr);
}
#endif /*_I_QDF_UTIL_H*/