|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/list.h>#include <linux/capi.h>#include <linux/kernelcapi.h>Go to the source code of this file.
Data Structures | |
| struct | capiloaddatapart |
| struct | capiloaddata |
| struct | capicardparams |
| struct | capi_ctr |
| struct | capi_driver |
Typedefs | |
| typedef struct capiloaddatapart | capiloaddatapart |
| typedef struct capiloaddata | capiloaddata |
| typedef struct capicardparams | capicardparams |
Functions | |
| int | attach_capi_ctr (struct capi_ctr *) |
| int | detach_capi_ctr (struct capi_ctr *) |
| void | capi_ctr_ready (struct capi_ctr *card) |
| void | capi_ctr_down (struct capi_ctr *card) |
| void | capi_ctr_suspend_output (struct capi_ctr *card) |
| void | capi_ctr_resume_output (struct capi_ctr *card) |
| void | capi_ctr_handle_message (struct capi_ctr *card, u16 appl, struct sk_buff *skb) |
| void | register_capi_driver (struct capi_driver *driver) |
| void | unregister_capi_driver (struct capi_driver *driver) |
| void | capilib_new_ncci (struct list_head *head, u16 applid, u32 ncci, u32 winsize) |
| void | capilib_free_ncci (struct list_head *head, u16 applid, u32 ncci) |
| void | capilib_release_appl (struct list_head *head, u16 applid) |
| void | capilib_release (struct list_head *head) |
| void | capilib_data_b3_conf (struct list_head *head, u16 applid, u32 ncci, u16 msgid) |
| u16 | capilib_data_b3_req (struct list_head *head, u16 applid, u32 ncci, u16 msgid) |
| typedef struct capicardparams capicardparams |
| typedef struct capiloaddata capiloaddata |
| typedef struct capiloaddatapart capiloaddatapart |
attach_capi_ctr() - register CAPI controller : controller descriptor structure.
Called by hardware driver to register a controller with the CAPI subsystem. Return value: 0 on success, error code < 0 on error
capi_ctr_down() - signal CAPI controller not ready : controller descriptor structure.
Called by hardware driver to signal that the controller is down and unavailable for use.
capi_ctr_handle_message() - handle incoming CAPI message : controller descriptor structure. : application ID. : message.
Called by hardware driver to pass a CAPI message to the application.
capi_ctr_ready() - signal CAPI controller ready : controller descriptor structure.
Called by hardware driver to signal that the controller is up and running.
capi_ctr_resume_output() - resume controller : controller descriptor structure.
Called by hardware driver to resume data flow.
Note: The caller is responsible for synchronizing concurrent state changes as well as invocations of capi_ctr_handle_message.
capi_ctr_suspend_output() - suspend controller : controller descriptor structure.
Called by hardware driver to stop data flow.
Note: The caller is responsible for synchronizing concurrent state changes as well as invocations of capi_ctr_handle_message.
detach_capi_ctr() - unregister CAPI controller : controller descriptor structure.
Called by hardware driver to remove the registration of a controller with the CAPI subsystem. Return value: 0 on success, error code < 0 on error
| void register_capi_driver | ( | struct capi_driver * | driver | ) |
register_capi_driver() - register CAPI driver : driver descriptor structure.
Called by hardware driver to register itself with the CAPI subsystem.
| void unregister_capi_driver | ( | struct capi_driver * | driver | ) |
unregister_capi_driver() - unregister CAPI driver : driver descriptor structure.
Called by hardware driver to unregister itself from the CAPI subsystem.
1.8.2