Lines Matching refs:unaligned_len
616 int unaligned_len = (int)((unsigned long)buffer_data - (unsigned long)skb->data); in meth_tx_1page_prepare() local
617 int buffer_len = skb->len - unaligned_len; in meth_tx_1page_prepare()
623 if (unaligned_len) { in meth_tx_1page_prepare()
624 skb_copy_from_linear_data(skb, desc->data.dt + (120 - unaligned_len), in meth_tx_1page_prepare()
625 unaligned_len); in meth_tx_1page_prepare()
626 desc->header.raw |= (128 - unaligned_len) << 16; in meth_tx_1page_prepare()
642 int unaligned_len = (int)((unsigned long)buffer1_data - (unsigned long)skb->data); in meth_tx_2page_prepare() local
644 int buffer2_len = skb->len - buffer1_len - unaligned_len; in meth_tx_2page_prepare()
649 if (unaligned_len){ in meth_tx_2page_prepare()
650 skb_copy_from_linear_data(skb, desc->data.dt + (120 - unaligned_len), in meth_tx_2page_prepare()
651 unaligned_len); in meth_tx_2page_prepare()
652 desc->header.raw |= (128 - unaligned_len) << 16; in meth_tx_2page_prepare()