Home
last modified time | relevance | path

Searched refs:misaligned_size (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-channel-fp.c273 int misaligned_size; in xge_hal_check_alignment() local
275 misaligned_size = (int)(dma_pointer & (alignment - 1)); in xge_hal_check_alignment()
276 if (!misaligned_size) { in xge_hal_check_alignment()
281 misaligned_size = (int)(dma_pointer & (copy_size - 1)); in xge_hal_check_alignment()
282 misaligned_size = copy_size - misaligned_size; in xge_hal_check_alignment()
284 misaligned_size = size; in xge_hal_check_alignment()
287 return misaligned_size; in xge_hal_check_alignment()
H A Dxgehal-fifo-fp.c835 dma_addr_t dma_pointer, int size, int misaligned_size) in xge_hal_fifo_dtr_buffer_set_aligned() argument
855 xge_assert(misaligned_size != 0 && in xge_hal_fifo_dtr_buffer_set_aligned()
856 misaligned_size <= fifo->config->alignment_size); in xge_hal_fifo_dtr_buffer_set_aligned()
858 remaining_size = size - misaligned_size; in xge_hal_fifo_dtr_buffer_set_aligned()
862 vaddr, misaligned_size); in xge_hal_fifo_dtr_buffer_set_aligned()
871 txdp->control_1 |= XGE_HAL_TXD_BUFFER0_SIZE(misaligned_size); in xge_hal_fifo_dtr_buffer_set_aligned()
872 txdl_priv->bytes_sent += misaligned_size; in xge_hal_fifo_dtr_buffer_set_aligned()
885 misaligned_size, in xge_hal_fifo_dtr_buffer_set_aligned()
893 misaligned_size; in xge_hal_fifo_dtr_buffer_set_aligned()
/titanic_44/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-fifo.h324 dma_addr_t dma_pointer, int size, int misaligned_size);