Lines Matching refs:pm_cfg
370 struct qlcnic_pm_func_cfg *pm_cfg, int count) in validate_pm_config() argument
377 src_pci_func = pm_cfg[i].pci_func; in validate_pm_config()
378 dest_pci_func = pm_cfg[i].dest_npar; in validate_pm_config()
405 struct qlcnic_pm_func_cfg *pm_cfg; in qlcnic_sysfs_write_pm_config() local
415 pm_cfg = (struct qlcnic_pm_func_cfg *)buf; in qlcnic_sysfs_write_pm_config()
416 ret = validate_pm_config(adapter, pm_cfg, count); in qlcnic_sysfs_write_pm_config()
421 pci_func = pm_cfg[i].pci_func; in qlcnic_sysfs_write_pm_config()
422 action = !!pm_cfg[i].action; in qlcnic_sysfs_write_pm_config()
435 pci_func = pm_cfg[i].pci_func; in qlcnic_sysfs_write_pm_config()
440 adapter->npars[index].enable_pm = !!pm_cfg[i].action; in qlcnic_sysfs_write_pm_config()
455 struct qlcnic_pm_func_cfg *pm_cfg; in qlcnic_sysfs_read_pm_config() local
461 pm_cfg = (struct qlcnic_pm_func_cfg *)buf; in qlcnic_sysfs_read_pm_config()
473 pm_cfg[pci_func].action = adapter->npars[i].enable_pm; in qlcnic_sysfs_read_pm_config()
474 pm_cfg[pci_func].dest_npar = 0; in qlcnic_sysfs_read_pm_config()
475 pm_cfg[pci_func].pci_func = i; in qlcnic_sysfs_read_pm_config()