Searched refs:mapped_len (Results 1 – 2 of 2) sorted by relevance
1717 u16 mapped_len = 0; in atl1e_tx_map() local1740 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()
2099 u16 mapped_len = 0; in atl1c_tx_map() local2122 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()