Lines Matching refs:data_sz
4945 int data_sz; in GetLanConfigPages() local
4964 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
4965 ppage0_alloc = dma_alloc_coherent(&ioc->pcidev->dev, data_sz, in GetLanConfigPages()
4969 memset((u8 *)ppage0_alloc, 0, data_sz); in GetLanConfigPages()
4975 copy_sz = min_t(int, sizeof(LANPage0_t), data_sz); in GetLanConfigPages()
4980 dma_free_coherent(&ioc->pcidev->dev, data_sz, in GetLanConfigPages()
5011 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5013 ppage1_alloc = dma_alloc_coherent(&ioc->pcidev->dev, data_sz, in GetLanConfigPages()
5016 memset((u8 *)ppage1_alloc, 0, data_sz); in GetLanConfigPages()
5022 copy_sz = min_t(int, sizeof(LANPage1_t), data_sz); in GetLanConfigPages()
5026 dma_free_coherent(&ioc->pcidev->dev, data_sz, in GetLanConfigPages()
5292 int data_sz; in GetIoUnitPage2() local
5314 data_sz = hdr.PageLength * 4; in GetIoUnitPage2()
5316 ppage_alloc = dma_alloc_coherent(&ioc->pcidev->dev, data_sz, in GetIoUnitPage2()
5319 memset((u8 *)ppage_alloc, 0, data_sz); in GetIoUnitPage2()
5327 dma_free_coherent(&ioc->pcidev->dev, data_sz, in GetIoUnitPage2()