Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_ctx.c583 size_t nic_size = sizeof(struct qlcnic_info); in qlcnic_get_nic_info() local
586 nic_size, &nic_dma_t); in qlcnic_get_nic_info()
589 memset(nic_info_addr, 0, nic_size); in qlcnic_get_nic_info()
597 (func_id << 16 | nic_size), in qlcnic_get_nic_info()
626 pci_free_consistent(adapter->pdev, nic_size, nic_info_addr, nic_dma_t); in qlcnic_get_nic_info()
637 size_t nic_size = sizeof(struct qlcnic_info); in qlcnic_set_nic_info() local
642 nic_info_addr = pci_alloc_consistent(adapter->pdev, nic_size, in qlcnic_set_nic_info()
647 memset(nic_info_addr, 0, nic_size); in qlcnic_set_nic_info()
666 ((nic->pci_func << 16) | nic_size), in qlcnic_set_nic_info()
675 pci_free_consistent(adapter->pdev, nic_size, nic_info_addr, nic_dma_t); in qlcnic_set_nic_info()