Home
last modified time | relevance | path

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

/openbmc/phosphor-power/phosphor-regulators/test/
H A Drule_tests.cpp105 MockAction* action1 = new MockAction{}; in TEST() local
106 actions.push_back(std::unique_ptr<MockAction>{action1}); in TEST()
113 EXPECT_EQ(rule.getActions()[0].get(), action1); in TEST()
H A Dpresence_detection_tests.cpp279 MockAction* action1 = new MockAction{}; in TEST() local
280 actions.emplace_back(std::unique_ptr<MockAction>{action1}); in TEST()
287 EXPECT_EQ(detection.getActions()[0].get(), action1); in TEST()
H A Dsensor_monitoring_tests.cpp353 MockAction* action1 = new MockAction{}; in TEST() local
354 actions.push_back(std::unique_ptr<MockAction>{action1}); in TEST()
361 EXPECT_EQ(sensorMonitoring.getActions()[0].get(), action1); in TEST()
H A Dphase_fault_detection_tests.cpp734 MockAction* action1 = new MockAction{}; in TEST_F() local
735 actions.push_back(std::unique_ptr<MockAction>{action1}); in TEST_F()
742 EXPECT_EQ(detection.getActions()[0].get(), action1); in TEST_F()
H A Dconfiguration_tests.cpp494 MockAction* action1 = new MockAction{}; in TEST() local
495 actions.push_back(std::unique_ptr<MockAction>{action1}); in TEST()
502 EXPECT_EQ(configuration.getActions()[0].get(), action1); in TEST()
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Dor_action_tests.cpp157 MockAction* action1 = new MockAction{}; in TEST() local
158 actions.push_back(std::unique_ptr<MockAction>{action1}); in TEST()
165 EXPECT_EQ(orAction.getActions()[0].get(), action1); in TEST()
H A Dand_action_tests.cpp156 MockAction* action1 = new MockAction{}; in TEST() local
157 actions.push_back(std::unique_ptr<MockAction>{action1}); in TEST()
164 EXPECT_EQ(andAction.getActions()[0].get(), action1); in TEST()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c1441 struct npc_kpu_action1 action1 = {0}; in npc_config_kpuaction() local
1444 action1.errlev = kpuaction->errlev; in npc_config_kpuaction()
1445 action1.errcode = kpuaction->errcode; in npc_config_kpuaction()
1446 action1.dp0_offset = kpuaction->dp0_offset; in npc_config_kpuaction()
1447 action1.dp1_offset = kpuaction->dp1_offset; in npc_config_kpuaction()
1448 action1.dp2_offset = kpuaction->dp2_offset; in npc_config_kpuaction()
1455 rvu_write64(rvu, blkaddr, reg, *(u64 *)&action1); in npc_config_kpuaction()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c1733 u32 action1 = act1->action; in check_conflicting_actions() local
1737 xored_actions = action1 ^ action2; in check_conflicting_actions()
1740 if (action1 == MLX5_FLOW_CONTEXT_ACTION_COUNT || in check_conflicting_actions()
1754 if (action1 & MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT && in check_conflicting_actions()
1758 if (action1 & MLX5_FLOW_CONTEXT_ACTION_MOD_HDR && in check_conflicting_actions()
1762 if (action1 & MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH && in check_conflicting_actions()
1766 if (action1 & MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2 && in check_conflicting_actions()