Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_main.c447 adapter->npars = kzalloc(sizeof(struct qlcnic_npar_info) * in qlcnic_init_pci_info()
449 if (!adapter->npars) { in qlcnic_init_pci_info()
469 adapter->npars[pfn].active = (u8)pci_info[i].active; in qlcnic_init_pci_info()
470 adapter->npars[pfn].type = (u8)pci_info[i].type; in qlcnic_init_pci_info()
471 adapter->npars[pfn].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info()
472 adapter->npars[pfn].min_bw = pci_info[i].tx_min_bw; in qlcnic_init_pci_info()
473 adapter->npars[pfn].max_bw = pci_info[i].tx_max_bw; in qlcnic_init_pci_info()
486 kfree(adapter->npars); in qlcnic_init_pci_info()
487 adapter->npars = NULL; in qlcnic_init_pci_info()
512 if (adapter->npars[i].type != QLCNIC_TYPE_NIC || in qlcnic_set_function_modes()
[all …]
Dqlcnic_ctx.c835 if (adapter->npars == NULL) in qlcnic_get_eswitch_stats()
849 if (adapter->npars[i].phy_port != eswitch) in qlcnic_get_eswitch_stats()
960 arg1 = (adapter->npars[pci_func].phy_port & BIT_0); in qlcnic_config_switch_port()
1027 phy_port = adapter->npars[esw_cfg->pci_func].phy_port; in qlcnic_get_eswitch_port_config()
Dqlcnic.h1038 struct qlcnic_npar_info *npars; member