Lines Matching full:op_mode
221 if (adapter->ahw->op_mode == QLCNIC_NON_PRIV_FUNC) { in qlcnic_store_beacon()
487 u32 op_mode; in validate_esw_config() local
491 op_mode = readl(ahw->pci_base0 + QLCNIC_DRV_OP_MODE); in validate_esw_config()
493 op_mode = QLCRDX(ahw, QLC_83XX_DRV_OP_MODE); in validate_esw_config()
500 if (adapter->ahw->op_mode == QLCNIC_MGMT_FUNC) in validate_esw_config()
504 switch (esw_cfg[i].op_mode) { in validate_esw_config()
507 ret = QLC_DEV_GET_DRV(op_mode, pci_func); in validate_esw_config()
509 ret = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in validate_esw_config()
553 u8 op_mode = 0, pci_func; in qlcnic_sysfs_write_esw_config() local
567 if (adapter->ahw->op_mode == QLCNIC_MGMT_FUNC) in qlcnic_sysfs_write_esw_config()
574 op_mode = esw_cfg[i].op_mode; in qlcnic_sysfs_write_esw_config()
576 esw_cfg[i].op_mode = op_mode; in qlcnic_sysfs_write_esw_config()
579 switch (esw_cfg[i].op_mode) { in qlcnic_sysfs_write_esw_config()
596 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) in qlcnic_sysfs_write_esw_config()
605 switch (esw_cfg[i].op_mode) { in qlcnic_sysfs_write_esw_config()
759 np_cfg[pci_func].op_mode = (u8)nic_info.op_mode; in qlcnic_sysfs_read_npar_config()
1346 if (adapter->ahw->op_mode == QLCNIC_NON_PRIV_FUNC) in qlcnic_create_diag_entries()
1368 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) in qlcnic_create_diag_entries()
1384 if (adapter->ahw->op_mode == QLCNIC_NON_PRIV_FUNC) in qlcnic_remove_diag_entries()
1398 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) in qlcnic_remove_diag_entries()