Home
last modified time | relevance | path

Searched refs:tx_hr (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/caif/
H A Dcaif_virtio.c86 * @tx_hr: transmit headroom
113 u16 tx_hr; member
385 (ETH_DATA_LEN + cfv->tx_hr + cfv->tx_tr) * 11)/10; in cfv_create_genpool()
490 if (unlikely(cfv->tx_hr + skb->len + cfv->tx_tr > cfv->mtu)) { in cfv_alloc_and_copy_to_shm()
492 cfv->tx_hr + skb->len + cfv->tx_tr, cfv->mtu); in cfv_alloc_and_copy_to_shm()
501 hdr_ofs = cfv->tx_hr + info->hdr_len; in cfv_alloc_and_copy_to_shm()
503 buf_info->size = cfv->tx_hr + skb->len + cfv->tx_tr + pad_len; in cfv_alloc_and_copy_to_shm()
511 skb_copy_bits(skb, 0, buf_info->vaddr + cfv->tx_hr + pad_len, skb->len); in cfv_alloc_and_copy_to_shm()
513 skb->len + cfv->tx_hr + cfv->rx_hr); in cfv_alloc_and_copy_to_shm()
685 &cfv->tx_hr); in cfv_probe()
[all...]
/kernel/linux/linux-6.6/drivers/net/caif/
H A Dcaif_virtio.c86 * @tx_hr: transmit headroom
113 u16 tx_hr; member
385 (ETH_DATA_LEN + cfv->tx_hr + cfv->tx_tr) * 11)/10; in cfv_create_genpool()
490 if (unlikely(cfv->tx_hr + skb->len + cfv->tx_tr > cfv->mtu)) { in cfv_alloc_and_copy_to_shm()
492 cfv->tx_hr + skb->len + cfv->tx_tr, cfv->mtu); in cfv_alloc_and_copy_to_shm()
501 hdr_ofs = cfv->tx_hr + info->hdr_len; in cfv_alloc_and_copy_to_shm()
503 buf_info->size = cfv->tx_hr + skb->len + cfv->tx_tr + pad_len; in cfv_alloc_and_copy_to_shm()
511 skb_copy_bits(skb, 0, buf_info->vaddr + cfv->tx_hr + pad_len, skb->len); in cfv_alloc_and_copy_to_shm()
513 skb->len + cfv->tx_hr + cfv->rx_hr); in cfv_alloc_and_copy_to_shm()
685 &cfv->tx_hr); in cfv_probe()
[all...]

Completed in 3 milliseconds