Merge "qcacmn: Add macros for aligning addresses" into wlan-cmn.driver.lnx.2.0-dev
This commit is contained in:

committato da
Gerrit - the friendly Code Review server

commit
17a4f64731
@@ -37,6 +37,15 @@
|
|||||||
#include <qdf_types.h>
|
#include <qdf_types.h>
|
||||||
#include <i_qdf_mem.h>
|
#include <i_qdf_mem.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* qdf_align() - align to the given size.
|
||||||
|
* @a: input that needs to be aligned.
|
||||||
|
* @align_size: boundary on which 'a' has to be alinged.
|
||||||
|
*
|
||||||
|
* Return: aligned value.
|
||||||
|
*/
|
||||||
|
#define qdf_align(a, align_size) __qdf_align(a, align_size)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct qdf_mem_dma_page_t - Allocated dmaable page
|
* struct qdf_mem_dma_page_t - Allocated dmaable page
|
||||||
* @page_v_addr_start: Page start virtual address
|
* @page_v_addr_start: Page start virtual address
|
||||||
|
@@ -97,6 +97,8 @@ typedef struct __qdf_mempool_ctxt {
|
|||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
|
#define __qdf_align(a, mask) ALIGN(a, mask)
|
||||||
|
|
||||||
/* typedef for dma_data_direction */
|
/* typedef for dma_data_direction */
|
||||||
typedef enum dma_data_direction __dma_data_direction;
|
typedef enum dma_data_direction __dma_data_direction;
|
||||||
|
|
||||||
|
Fai riferimento in un nuovo problema
Block a user