Searched refs:npars (Results 1 – 5 of 5) sorted by relevance
362 if (adapter->npars[i].pci_func == pci_func) in qlcnic_is_valid_nic_func()388 s_esw_id = adapter->npars[src_index].phy_port; in validate_pm_config()389 d_esw_id = adapter->npars[dest_index].phy_port; in validate_pm_config()428 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()440 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()441 adapter->npars[index].enable_pm = !!pm_cfg[i].action; in qlcnic_sysfs_write_pm_config()442 adapter->npars[index].dest_npar = id; in qlcnic_sysfs_write_pm_config()465 pci_func = adapter->npars[i].pci_func; in qlcnic_sysfs_read_pm_config()471 if (!adapter->npars[i].eswitch_status) in qlcnic_sysfs_read_pm_config()474 pm_cfg[pci_func].action = adapter->npars[i].enable_pm; in qlcnic_sysfs_read_pm_config()[all …]
1000 adapter->npars = kcalloc(act_pci_func, in qlcnic_init_pci_info()1003 if (!adapter->npars) { in qlcnic_init_pci_info()1033 adapter->npars[j].eswitch_status = true; in qlcnic_init_pci_info()1037 adapter->npars[j].eswitch_status = true; in qlcnic_init_pci_info()1040 adapter->npars[j].pci_func = pfn; in qlcnic_init_pci_info()1041 adapter->npars[j].active = (u8)pci_info[i].active; in qlcnic_init_pci_info()1042 adapter->npars[j].type = (u8)pci_info[i].type; in qlcnic_init_pci_info()1043 adapter->npars[j].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info()1044 adapter->npars[j].min_bw = pci_info[i].tx_min_bw; in qlcnic_init_pci_info()1045 adapter->npars[j].max_bw = pci_info[i].tx_max_bw; in qlcnic_init_pci_info()[all …]
1195 if (adapter->npars == NULL) in qlcnic_get_eswitch_stats()1209 if (adapter->npars[i].phy_port != eswitch) in qlcnic_get_eswitch_stats()1213 if (qlcnic_get_port_stats(adapter, adapter->npars[i].pci_func, in qlcnic_get_eswitch_stats()1335 arg1 = (adapter->npars[index].phy_port & BIT_0); in qlcnic_config_switch_port()1411 phy_port = adapter->npars[index].phy_port; in qlcnic_get_eswitch_port_config()
107 npar = adapter->npars; in qlcnic_83xx_init_mgmt_vnic()
1154 struct qlcnic_npar_info *npars; member