Lines Matching defs:monitor
390 /* Loop through each location monitor resource */
405 /* Each location monitor covers 8 bytes */
853 * This does not enable the LM monitor - that should be done when the first
873 pr_err("Location monitor callback attached, can't reset\n");
899 /* Get configuration of the callback monitor and return whether it is enabled
921 * Attach a callback to a specific location monitor.
923 * Callback will be passed the monitor triggered.
925 static int fake_lm_attach(struct vme_lm_resource *lm, int monitor,
937 /* Ensure that the location monitor is configured - need PGM or DATA */
940 pr_err("Location monitor not properly configured\n");
945 if (bridge->lm_callback[monitor]) {
952 bridge->lm_callback[monitor] = callback;
953 bridge->lm_data[monitor] = data;
964 * Detach a callback function forn a specific location monitor.
966 static int fake_lm_detach(struct vme_lm_resource *lm, int monitor)
977 bridge->lm_callback[monitor] = NULL;
978 bridge->lm_data[monitor] = NULL;
1157 /* Add location monitor to list */
1270 * Shutdown Location monitor.