Searched refs:misaligned_size (Results 1 – 3 of 3) sorted by relevance
273 int misaligned_size; in xge_hal_check_alignment() local275 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()
835 dma_addr_t dma_pointer, int size, int misaligned_size) in xge_hal_fifo_dtr_buffer_set_aligned() argument855 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()
324 dma_addr_t dma_pointer, int size, int misaligned_size);