Lines Matching defs:desc
601 tx_packet *desc = &priv->tx_ring[priv->tx_write];
604 desc->header.raw = METH_TX_CMD_INT_EN | (len-1) | ((128-len) << 16);
606 skb_copy_from_linear_data(skb, desc->data.dt + (120 - len), skb->len);
608 memset(desc->data.dt + 120 - len + skb->len, 0, len-skb->len);
614 tx_packet *desc = &priv->tx_ring[priv->tx_write];
620 desc->header.raw = METH_TX_CMD_INT_EN | TX_CATBUF1 | (skb->len - 1);
624 skb_copy_from_linear_data(skb, desc->data.dt + (120 - unaligned_len),
626 desc->header.raw |= (128 - unaligned_len) << 16;
632 desc->data.cat_buf[0].form.start_addr = catbuf >> 3;
633 desc->data.cat_buf[0].form.len = buffer_len - 1;
639 tx_packet *desc = &priv->tx_ring[priv->tx_write];
647 desc->header.raw = METH_TX_CMD_INT_EN | TX_CATBUF1 | TX_CATBUF2| (skb->len - 1);
650 skb_copy_from_linear_data(skb, desc->data.dt + (120 - unaligned_len),
652 desc->header.raw |= (128 - unaligned_len) << 16;
658 desc->data.cat_buf[0].form.start_addr = catbuf1 >> 3;
659 desc->data.cat_buf[0].form.len = buffer1_len - 1;
663 desc->data.cat_buf[1].form.start_addr = catbuf2 >> 3;
664 desc->data.cat_buf[1].form.len = buffer2_len - 1;