Lines Matching refs:max_tx_length
2089 size = min(len, bp->max_tx_length); in macb_tx_map()
2099 size = min(len, bp->max_tx_length); in macb_tx_map()
2356 hdrlen = min(skb_headlen(skb), bp->max_tx_length); in macb_start_xmit()
2373 desc_cnt = DIV_ROUND_UP((skb_headlen(skb) - hdrlen), bp->max_tx_length) + 1; in macb_start_xmit()
2375 desc_cnt = DIV_ROUND_UP(skb_headlen(skb), bp->max_tx_length); in macb_start_xmit()
2379 desc_cnt += DIV_ROUND_UP(frag_size, bp->max_tx_length); in macb_start_xmit()
4927 .max_tx_length = 4040, /* Cadence Erratum 1686 */
5082 bp->max_tx_length = MACB_MAX_TX_LEN; in macb_probe()
5083 else if (macb_config->max_tx_length) in macb_probe()
5084 bp->max_tx_length = macb_config->max_tx_length; in macb_probe()
5086 bp->max_tx_length = GEM_MAX_TX_LEN; in macb_probe()