Searched refs:mapped_len (Results 1 – 5 of 5) sorted by relevance
114 u32 mapped_len = 0; in octeon_map_pci_barx() local125 mapped_len = oct->mmio[baridx].len; in octeon_map_pci_barx()126 if (!mapped_len) in octeon_map_pci_barx()129 if (max_map_len && (mapped_len > max_map_len)) in octeon_map_pci_barx()130 mapped_len = max_map_len; in octeon_map_pci_barx()133 ioremap(oct->mmio[baridx].start, mapped_len); in octeon_map_pci_barx()134 oct->mmio[baridx].mapped_len = mapped_len; in octeon_map_pci_barx()137 baridx, oct->mmio[baridx].start, mapped_len, in octeon_map_pci_barx()
176 u32 mapped_len; member
1335 unsigned int mapped_len = 0; in emac_tx_fill_tpd() local1342 mapped_len = skb_tcp_all_headers(skb); in emac_tx_fill_tpd()1345 tpbuf->length = mapped_len; in emac_tx_fill_tpd()1363 if (mapped_len < len) { in emac_tx_fill_tpd()1365 tpbuf->length = len - mapped_len; in emac_tx_fill_tpd()1368 mapped_len), in emac_tx_fill_tpd()1370 mapped_len), in emac_tx_fill_tpd()
1709 u16 mapped_len = 0; in atl1e_tx_map() local1734 mapped_len += map_len; in atl1e_tx_map()1741 while (mapped_len < buf_len) { in atl1e_tx_map()1744 if (mapped_len == 0) { in atl1e_tx_map()1754 ((buf_len - mapped_len) >= MAX_TX_BUF_LEN) ? in atl1e_tx_map()1755 MAX_TX_BUF_LEN : (buf_len - mapped_len); in atl1e_tx_map()1758 skb->data + mapped_len, map_len, in atl1e_tx_map()1779 mapped_len += map_len; in atl1e_tx_map()
2180 u16 mapped_len = 0; in atl1c_tx_map() local2204 mapped_len += map_len; in atl1c_tx_map()2209 if (mapped_len < buf_len) { in atl1c_tx_map()2212 if (mapped_len == 0) in atl1c_tx_map()2219 buffer_info->length = buf_len - mapped_len; in atl1c_tx_map()2222 skb->data + mapped_len, in atl1c_tx_map()