Lines Matching defs:callback
1316 call = bridge->irq[level - 1].callback[statid].func;
1317 priv_data = bridge->irq[level - 1].callback[statid].priv_data;
1331 * @callback: Pointer to callback function called when VME interrupt/vector
1333 * @priv_data: Generic pointer that will be passed to the callback function.
1335 * Request callback to be attached as a handler for VME interrupts with provided
1343 void (*callback)(int, int, void *),
1366 if (bridge->irq[level - 1].callback[statid].func) {
1373 bridge->irq[level - 1].callback[statid].priv_data = priv_data;
1374 bridge->irq[level - 1].callback[statid].func = callback;
1391 * Remove previously attached callback from VME interrupt priority/vector.
1421 bridge->irq[level - 1].callback[statid].func = NULL;
1422 bridge->irq[level - 1].callback[statid].priv_data = NULL;
1631 * vme_lm_attach - Provide callback for location monitor address
1633 * @monitor: Offset to which callback should be attached.
1634 * @callback: Pointer to callback function called when triggered.
1635 * @data: Generic pointer that will be passed to the callback function.
1637 * Attach a callback to the specificed offset into the location monitors
1639 * passed to the callback when called.
1646 void (*callback)(void *), void *data)
1663 return bridge->lm_attach(lm, monitor, callback, data);
1668 * vme_lm_detach - Remove callback for location monitor address
1670 * @monitor: Offset to which callback should be removed.
1672 * Remove the callback associated with the specificed offset into the