Home
last modified time | relevance | path

Searched refs:mapped_len (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1717 u16 mapped_len = 0; in atl1e_tx_map() local
1740 mapped_len += map_len; in atl1e_tx_map()
1747 while (mapped_len < buf_len) { in atl1e_tx_map()
1750 if (mapped_len == 0) { in atl1e_tx_map()
1760 ((buf_len - mapped_len) >= MAX_TX_BUF_LEN) ? in atl1e_tx_map()
1761 MAX_TX_BUF_LEN : (buf_len - mapped_len); in atl1e_tx_map()
1763 pci_map_single(adapter->pdev, skb->data + mapped_len, in atl1e_tx_map()
1782 mapped_len += map_len; in atl1e_tx_map()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c2099 u16 mapped_len = 0; in atl1c_tx_map() local
2122 mapped_len += map_len; in atl1c_tx_map()
2127 if (mapped_len < buf_len) { in atl1c_tx_map()
2130 if (mapped_len == 0) in atl1c_tx_map()
2137 buffer_info->length = buf_len - mapped_len; in atl1c_tx_map()
2139 pci_map_single(adapter->pdev, skb->data + mapped_len, in atl1c_tx_map()