Home
last modified time | relevance | path

Searched refs:first_mapping (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/block/
H A Dvvfat.c2245 mapping_t* first_mapping = array_get(&(s->mapping), 0); in insert_mapping() local
2267 if (s->current_mapping && first_mapping != (mapping_t*)s->mapping.pointer) in insert_mapping()
2269 s->current_mapping - first_mapping); in insert_mapping()
2277 mapping_t* first_mapping = array_get(&(s->mapping), 0); in remove_mapping() local
2290 if (s->current_mapping && first_mapping != (mapping_t*)s->mapping.pointer) in remove_mapping()
2292 s->current_mapping - first_mapping); in remove_mapping()
2612 int first_mapping = -1; in check2() local
2636 first_mapping = array_index(&(s->mapping), mapping); in check2()
2638 assert(first_mapping == mapping->first_mapping_index); in check2()
2650 first_mapping = -1; in check2()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunhme.c1952 static void unmap_partial_tx_skb(struct happy_meal *hp, u32 first_mapping, in unmap_partial_tx_skb() argument
1957 dma_unmap_single(hp->dma_dev, first_mapping, first_len, DMA_TO_DEVICE); in unmap_partial_tx_skb()
2014 u32 first_len, first_mapping; in happy_meal_start_xmit() local
2021 first_mapping = dma_map_single(hp->dma_dev, skb->data, first_len, in happy_meal_start_xmit()
2023 if (unlikely(dma_mapping_error(hp->dma_dev, first_mapping))) in happy_meal_start_xmit()
2035 unmap_partial_tx_skb(hp, first_mapping, first_len, in happy_meal_start_xmit()
2049 first_mapping); in happy_meal_start_xmit()
H A Dsungem.c1029 dma_addr_t first_mapping; in gem_start_xmit() local
1040 first_mapping = dma_map_page(&gp->pdev->dev, in gem_start_xmit()
1070 txd->buffer = cpu_to_le64(first_mapping); in gem_start_xmit()
/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139cp.c804 dma_addr_t first_mapping; in cp_start_xmit() local
812 first_mapping = dma_map_single(&cp->pdev->dev, skb->data, in cp_start_xmit()
814 if (dma_mapping_error(&cp->pdev->dev, first_mapping)) in cp_start_xmit()
856 txd->addr = cpu_to_le64(first_mapping); in cp_start_xmit()