Home
last modified time | relevance | path

Searched refs:wed_amsdu (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c525 struct mtk_wed_amsdu *wed_amsdu; in mtk_wed_amsdu_buffer_alloc() local
531 wed_amsdu = devm_kcalloc(hw->dev, MTK_WED_AMSDU_NPAGES, in mtk_wed_amsdu_buffer_alloc()
532 sizeof(*wed_amsdu), GFP_KERNEL); in mtk_wed_amsdu_buffer_alloc()
533 if (!wed_amsdu) in mtk_wed_amsdu_buffer_alloc()
547 wed_amsdu[i].txd = ptr; in mtk_wed_amsdu_buffer_alloc()
548 wed_amsdu[i].txd_phy = dma_map_single(hw->dev, ptr, in mtk_wed_amsdu_buffer_alloc()
551 if (dma_mapping_error(hw->dev, wed_amsdu[i].txd_phy)) in mtk_wed_amsdu_buffer_alloc()
554 dev->hw->wed_amsdu = wed_amsdu; in mtk_wed_amsdu_buffer_alloc()
560 dma_unmap_single(hw->dev, wed_amsdu[i].txd_phy, in mtk_wed_amsdu_buffer_alloc()
568 struct mtk_wed_amsdu *wed_amsdu = dev->hw->wed_amsdu; in mtk_wed_amsdu_free_buffer() local
[all …]
H A Dmtk_wed.h46 struct mtk_wed_amsdu *wed_amsdu; member
H A Dmtk_wed_debugfs.c496 DEFINE_SHOW_ATTRIBUTE(wed_amsdu);