Searched defs:misaligned_size (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-channel-fp.c273 int misaligned_size; local
275 misaligned_size = (int)(dma_pointer & (alignment - 1));
276 if (!misaligned_size) {
281 misaligned_size = (int)(dma_pointer & (copy_size - 1));
282 misaligned_size = copy_size - misaligned_size;
284 misaligned_size = size;
287 return misaligned_size;
H A Dxgehal-fifo-fp.c797 * @misaligned_size: Size (in bytes) of the misaligned portion of the
809 * this is specified via additional @misaligned_size parameter described above.
835 dma_addr_t dma_pointer, int size, int misaligned_size)
855 xge_assert(misaligned_size != 0 &&
856 misaligned_size <= fifo->config->alignment_size);
858 remaining_size = size - misaligned_size;
862 vaddr, misaligned_size);
871 txdp->control_1 |= XGE_HAL_TXD_BUFFER0_SIZE(misaligned_size);
872 txdl_priv->bytes_sent += misaligned_size;
885 misaligned_size,
833 xge_hal_fifo_dtr_buffer_set_aligned(xge_hal_channel_h channelh, xge_hal_dtr_h dtrh, int frag_idx, void *vaddr, dma_addr_t dma_pointer, int size, int misaligned_size) argument
[all...]

Completed in 64 milliseconds