Searched refs:mdef (Results 1 – 4 of 4) sorted by relevance
215 struct rv_monitor_def *mdef = filp->private_data; in monitor_enable_read_data() local218 buff = mdef->monitor->enabled ? "1\n" : "0\n"; in monitor_enable_read_data()226 static int __rv_disable_monitor(struct rv_monitor_def *mdef, bool sync) in __rv_disable_monitor() argument230 if (mdef->monitor->enabled) { in __rv_disable_monitor()231 mdef->monitor->enabled = 0; in __rv_disable_monitor()232 mdef->monitor->disable(); in __rv_disable_monitor()251 int rv_disable_monitor(struct rv_monitor_def *mdef) in rv_disable_monitor() argument253 __rv_disable_monitor(mdef, true); in rv_disable_monitor()262 int rv_enable_monitor(struct rv_monitor_def *mdef) in rv_enable_monitor() argument268 if (mdef->monitor->enabled) in rv_enable_monitor()[all …]
141 struct rv_monitor_def *mdef = m->private; in monitor_reactor_show() local144 if (mdef->rdef == rdef) in monitor_reactor_show()161 static void monitor_swap_reactors(struct rv_monitor_def *mdef, struct rv_reactor_def *rdef, in monitor_swap_reactors() argument167 if (mdef->rdef == rdef) in monitor_swap_reactors()170 monitor_enabled = mdef->monitor->enabled; in monitor_swap_reactors()172 rv_disable_monitor(mdef); in monitor_swap_reactors()175 mdef->rdef->counter--; in monitor_swap_reactors()178 mdef->rdef = rdef; in monitor_swap_reactors()179 mdef->reacting = reacting; in monitor_swap_reactors()180 mdef->monitor->react = rdef->reactor->react; in monitor_swap_reactors()[all …]
46 int rv_disable_monitor(struct rv_monitor_def *mdef);47 int rv_enable_monitor(struct rv_monitor_def *mdef);50 int reactor_populate_monitor(struct rv_monitor_def *mdef);51 void reactor_cleanup_monitor(struct rv_monitor_def *mdef);54 static inline int reactor_populate_monitor(struct rv_monitor_def *mdef) in reactor_populate_monitor() argument59 static inline void reactor_cleanup_monitor(struct rv_monitor_def *mdef) in reactor_cleanup_monitor() argument
2850 u32 manc, manc2h, mdef, i, j; in e1000_init_manageability_pt() local2874 mdef = er32(MDEF(i)); in e1000_init_manageability_pt()2877 if (mdef & ~(E1000_MDEF_PORT_623 | E1000_MDEF_PORT_664)) in e1000_init_manageability_pt()2881 if (mdef) in e1000_init_manageability_pt()2884 j |= mdef; in e1000_init_manageability_pt()