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_transport_offset(skb) + tcp_hdrlen(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()
1704 u16 mapped_len = 0; in atl1e_tx_map() local1728 mapped_len += map_len; in atl1e_tx_map()1735 while (mapped_len < buf_len) { in atl1e_tx_map()1738 if (mapped_len == 0) { in atl1e_tx_map()1748 ((buf_len - mapped_len) >= MAX_TX_BUF_LEN) ? in atl1e_tx_map()1749 MAX_TX_BUF_LEN : (buf_len - mapped_len); in atl1e_tx_map()1752 skb->data + mapped_len, map_len, in atl1e_tx_map()1773 mapped_len += map_len; in atl1e_tx_map()
2212 u16 mapped_len = 0; in atl1c_tx_map() local2235 mapped_len += map_len; in atl1c_tx_map()2240 if (mapped_len < buf_len) { in atl1c_tx_map()2243 if (mapped_len == 0) in atl1c_tx_map()2250 buffer_info->length = buf_len - mapped_len; in atl1c_tx_map()2253 skb->data + mapped_len, in atl1c_tx_map()