| .. | .. |
|---|
| 69 | 69 | unsigned short state; /* controller state */ |
|---|
| 70 | 70 | int blocked; /* output blocked */ |
|---|
| 71 | 71 | int traceflag; /* capi trace */ |
|---|
| 72 | | - wait_queue_head_t state_wait_queue; |
|---|
| 73 | 72 | |
|---|
| 74 | 73 | struct proc_dir_entry *procent; |
|---|
| 75 | 74 | char procfn[128]; |
|---|
| .. | .. |
|---|
| 80 | 79 | |
|---|
| 81 | 80 | void capi_ctr_ready(struct capi_ctr * card); |
|---|
| 82 | 81 | void capi_ctr_down(struct capi_ctr * card); |
|---|
| 83 | | -void capi_ctr_suspend_output(struct capi_ctr * card); |
|---|
| 84 | | -void capi_ctr_resume_output(struct capi_ctr * card); |
|---|
| 85 | 82 | void capi_ctr_handle_message(struct capi_ctr * card, u16 appl, struct sk_buff *skb); |
|---|
| 86 | 83 | |
|---|
| 87 | 84 | // --------------------------------------------------------------------------- |
|---|
| .. | .. |
|---|
| 91 | 88 | char name[32]; /* driver name */ |
|---|
| 92 | 89 | char revision[32]; |
|---|
| 93 | 90 | |
|---|
| 94 | | - int (*add_card)(struct capi_driver *driver, capicardparams *data); |
|---|
| 95 | | - |
|---|
| 96 | 91 | /* management information for kcapi */ |
|---|
| 97 | 92 | struct list_head list; |
|---|
| 98 | 93 | }; |
|---|
| 99 | | - |
|---|
| 100 | | -void register_capi_driver(struct capi_driver *driver); |
|---|
| 101 | | -void unregister_capi_driver(struct capi_driver *driver); |
|---|
| 102 | | - |
|---|
| 103 | | -// --------------------------------------------------------------------------- |
|---|
| 104 | | -// library functions for use by hardware controller drivers |
|---|
| 105 | | - |
|---|
| 106 | | -void capilib_new_ncci(struct list_head *head, u16 applid, u32 ncci, u32 winsize); |
|---|
| 107 | | -void capilib_free_ncci(struct list_head *head, u16 applid, u32 ncci); |
|---|
| 108 | | -void capilib_release_appl(struct list_head *head, u16 applid); |
|---|
| 109 | | -void capilib_release(struct list_head *head); |
|---|
| 110 | | -void capilib_data_b3_conf(struct list_head *head, u16 applid, u32 ncci, u16 msgid); |
|---|
| 111 | | -u16 capilib_data_b3_req(struct list_head *head, u16 applid, u32 ncci, u16 msgid); |
|---|
| 112 | 94 | |
|---|
| 113 | 95 | #endif /* __CAPILLI_H__ */ |
|---|