#include <linux/kernel_stat.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/slab.h>
#include <linux/notifier.h>
#include <linux/kthread.h>
#include <linux/mutex.h>
#include <asm/reset.h>
#include <asm/airq.h>
#include <linux/atomic.h>
#include <asm/isc.h>
#include <linux/hrtimer.h>
#include <linux/ktime.h>
#include <asm/facility.h>
#include "ap_bus.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("IBM Corporation") |
|
| MODULE_DESCRIPTION ("Adjunct Processor Bus driver, ""Copyright IBM Corp. 2006, 2012") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param_named (domain, ap_domain_index, int, 0000) |
|
| MODULE_PARM_DESC (domain,"domain index for ap devices") |
|
| EXPORT_SYMBOL (ap_domain_index) |
|
| module_param_named (poll_thread, ap_thread_flag, int, 0000) |
|
| MODULE_PARM_DESC (poll_thread,"Turn on/off poll thread, default is 0 (off).") |
|
int | ap_send (ap_qid_t qid, unsigned long long psmid, void *msg, size_t length) |
|
| EXPORT_SYMBOL (ap_send) |
|
int | ap_recv (ap_qid_t qid, unsigned long long *psmid, void *msg, size_t length) |
|
| EXPORT_SYMBOL (ap_recv) |
|
void | ap_flush_queue (struct ap_device *ap_dev) |
|
| EXPORT_SYMBOL (ap_flush_queue) |
|
int | ap_driver_register (struct ap_driver *ap_drv, struct module *owner, char *name) |
|
| EXPORT_SYMBOL (ap_driver_register) |
|
void | ap_driver_unregister (struct ap_driver *ap_drv) |
|
| EXPORT_SYMBOL (ap_driver_unregister) |
|
void | ap_bus_force_rescan (void) |
|
| EXPORT_SYMBOL (ap_bus_force_rescan) |
|
void | ap_queue_message (struct ap_device *ap_dev, struct ap_message *ap_msg) |
|
| EXPORT_SYMBOL (ap_queue_message) |
|
void | ap_cancel_message (struct ap_device *ap_dev, struct ap_message *ap_msg) |
|
| EXPORT_SYMBOL (ap_cancel_message) |
|
int __init | ap_module_init (void) |
|
void | ap_module_exit (void) |
|
| module_init (ap_module_init) |
|
| module_exit (ap_module_exit) |
|
#define KMSG_COMPONENT "ap" |
ap_cancel_message(): Cancel a crypto request. : The AP device that has the message queued : The message that is to be removed
Cancel a crypto request. This is done by removing the request from the device pending or request queue. Note that the request stays on the AP queue. When it finishes the message reply will be discarded because the psmid can't be found.
Definition at line 1644 of file ap_bus.c.
ap_modules_exit(): The module termination code
Terminates the module.
Definition at line 1978 of file ap_bus.c.
MODULE_AUTHOR |
( |
"IBM Corporation" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Adjunct Processor Bus |
driver, |
|
|
""Copyright IBM Corp. |
2006, |
|
|
2012" |
|
|
) |
| |
module_param_named |
( |
poll_thread |
, |
|
|
ap_thread_flag |
, |
|
|
int |
, |
|
|
0000 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
poll_thread |
, |
|
|
"Turn on/off poll |
thread, |
|
|
default is 0(off)." |
|
|
) |
| |