Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_fsm.c203 #define MLXFW_ALIGN_DOWN(x, align_bits) ((x) & ~((1 << (align_bits)) - 1)) argument
204 #define MLXFW_ALIGN_UP(x, align_bits) \ argument
205 MLXFW_ALIGN_DOWN((x) + ((1 << (align_bits)) - 1), (align_bits))
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddma.c442 u16 align_bits, uint *alloced, in dma_alloc_consistent() argument
445 if (align_bits) { in dma_alloc_consistent()
446 u16 align = (1 << align_bits); in dma_alloc_consistent()
500 u16 align_bits; in dma64_alloc() local
505 align_bits = di->dmadesc_align; in dma64_alloc()
506 align = (1 << align_bits); in dma64_alloc()
509 va = dma_ringalloc(di, D64RINGALIGN, size, &align_bits, in dma64_alloc()
517 align = (1 << align_bits); in dma64_alloc()
524 va = dma_ringalloc(di, D64RINGALIGN, size, &align_bits, in dma64_alloc()
532 align = (1 << align_bits); in dma64_alloc()