/linux-4.4.14/drivers/isdn/capi/ |
H A D | capilib.c | 18 u16 applid; member in struct:capilib_ncci 80 void capilib_new_ncci(struct list_head *head, u16 applid, u32 ncci, u32 winsize) capilib_new_ncci() argument 94 np->applid = applid; capilib_new_ncci() 99 DBG("kcapi: appl %d ncci 0x%x up", applid, ncci); capilib_new_ncci() 104 void capilib_free_ncci(struct list_head *head, u16 applid, u32 ncci) capilib_free_ncci() argument 111 if (np->applid != applid) list_for_each() 115 printk(KERN_INFO "kcapi: appl %d ncci 0x%x down\n", applid, ncci); list_for_each() 125 void capilib_release_appl(struct list_head *head, u16 applid) capilib_release_appl() argument 132 if (np->applid != applid) list_for_each_safe() 134 printk(KERN_INFO "kcapi: appl %d ncci 0x%x forced down\n", applid, np->ncci); list_for_each_safe() 149 printk(KERN_INFO "kcapi: appl %d ncci 0x%x forced down\n", np->applid, np->ncci); list_for_each_safe() 157 u16 capilib_data_b3_req(struct list_head *head, u16 applid, u32 ncci, u16 msgid) capilib_data_b3_req() argument 164 if (np->applid != applid) list_for_each() 180 void capilib_data_b3_conf(struct list_head *head, u16 applid, u32 ncci, u16 msgid) capilib_data_b3_conf() argument 187 if (np->applid != applid) list_for_each()
|
H A D | kcapi.c | 102 static inline struct capi20_appl *__get_capi_appl_by_nr(u16 applid) __get_capi_appl_by_nr() argument 106 if (applid < 1 || applid - 1 >= CAPI_MAXAPPL) __get_capi_appl_by_nr() 109 return capi_applications[applid - 1]; __get_capi_appl_by_nr() 112 static inline struct capi20_appl *get_capi_appl_by_nr(u16 applid) get_capi_appl_by_nr() argument 114 if (applid < 1 || applid - 1 >= CAPI_MAXAPPL) get_capi_appl_by_nr() 117 return rcu_dereference(capi_applications[applid - 1]); get_capi_appl_by_nr() 160 register_appl(struct capi_ctr *ctr, u16 applid, capi_register_params *rparam) register_appl() argument 165 ctr->register_appl(ctr, applid, rparam); register_appl() 172 static void release_appl(struct capi_ctr *ctr, u16 applid) release_appl() argument 174 DBG("applid %#x", applid); release_appl() 176 ctr->release_appl(ctr, applid); release_appl() 184 u16 applid; notify_up() local 198 for (applid = 1; applid <= CAPI_MAXAPPL; applid++) { notify_up() 199 ap = __get_capi_appl_by_nr(applid); notify_up() 201 register_appl(ctr, applid, &ap->rparam); notify_up() 215 u16 applid; ctr_down() local 227 for (applid = 1; applid <= CAPI_MAXAPPL; applid++) { ctr_down() 228 ap = __get_capi_appl_by_nr(applid); ctr_down() 402 printk(KERN_ERR "kcapi: handle_message: applid %d state released (%s)\n", capi_ctr_handle_message() 406 printk(KERN_ERR "kcapi: handle_message: applid %d state released (%s) cannot trace\n", capi_ctr_handle_message() 657 * A unique application ID is assigned and stored in @ap->applid. 667 u16 applid; capi20_register() local 685 for (applid = 1; applid <= CAPI_MAXAPPL; applid++) { capi20_register() 686 if (capi_applications[applid - 1] == NULL) capi20_register() 689 if (applid > CAPI_MAXAPPL) { capi20_register() 694 ap->applid = applid; capi20_register() 695 capi_applications[applid - 1] = ap; capi20_register() 701 register_appl(capi_controller[i], applid, &ap->rparam); capi20_register() 707 printk(KERN_DEBUG "kcapi: appl %d up\n", applid); capi20_register() 729 DBG("applid %#x", ap->applid); capi20_release() 734 capi_applications[ap->applid - 1] = NULL; capi20_release() 742 release_appl(capi_controller[i], ap->applid); capi20_release() 751 printk(KERN_DEBUG "kcapi: appl %d down\n", ap->applid); capi20_release() 774 DBG("applid %#x", ap->applid); capi20_put_message() 778 if ((ap->applid == 0) || ap->release_in_progress) capi20_put_message()
|
H A D | kcapi_proc.c | 138 // applid l3cnt dblkcnt dblklen #ncci recvqueuelen 140 // applid nrecvctlpkt nrecvdatapkt nsentctlpkt nsentdatapkt 179 ap->applid, applications_show() 196 ap->applid, applstats_show()
|
H A D | capi.c | 391 capimsg_setu16(s, 2, mp->ap->applid); gen_data_b3_resp_for() 519 capimsg_setu16(skb->data, 2, mp->ap->applid); handle_minor_send() 653 if (!cdev->ap.applid) capi_read() 687 if (!cdev->ap.applid) capi_write() 710 CAPIMSG_SETAPPID(skb->data, cdev->ap.applid); capi_write() 733 if (!cdev->ap.applid) capi_poll() 755 if (cdev->ap.applid) { capi_ioctl() 767 retval = (int)cdev->ap.applid; capi_ioctl() 769 cdev->ap.applid = 0; capi_ioctl() 973 if (cdev->ap.applid) capi_release() 1322 * minor applid nrecvctlpkt nrecvdatapkt nsendctlpkt nsenddatapkt capinc_tty_exit() 1333 cdev->ap.applid, capi20_proc_show() 1358 * applid ncci 1369 seq_printf(m, "%d 0x%x\n", cdev->ap.applid, np->ncci); capi20ncci_proc_show()
|
H A D | capidrv.c | 668 global.ap.applid, n0() 1151 global.ap.applid, handle_incoming_call() 1292 global.ap.applid, handle_plci() 1417 global.ap.applid, handle_ncci() 1435 global.ap.applid, handle_ncci() 1585 printk(KERN_ERR "capidrv: applid=%d: received invalid message\n", capidrv_recv_message() 1586 ap->applid); capidrv_recv_message() 1594 printk(KERN_DEBUG "%s: applid=%d %s\n", __func__, capidrv_recv_message() 1595 ap->applid, cdb->buf); capidrv_recv_message() 1598 printk(KERN_DEBUG "%s: applid=%d %s not traced\n", capidrv_recv_message() 1599 __func__, ap->applid, capidrv_recv_message() 1850 global.ap.applid, capidrv_command() 1896 global.ap.applid, capidrv_command() 1947 global.ap.applid, capidrv_command() 1968 global.ap.applid, capidrv_command() 2094 capi_fill_DATA_B3_REQ(&sendcmsg, global.ap.applid, card->msgid++, if_sendbuf() 2204 capi_fill_MANUFACTURER_REQ(&cmdcmsg, global.ap.applid, enable_dchannel_trace() 2213 capi_fill_MANUFACTURER_REQ(&cmdcmsg, global.ap.applid, enable_dchannel_trace() 2227 capi_fill_LISTEN_REQ(&cmdcmsg, global.ap.applid, send_listen()
|
/linux-4.4.14/include/linux/isdn/ |
H A D | capilli.h | 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); 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);
|
H A D | capiutil.h | 53 #define CAPIMSG_SETAPPID(m, applid) capimsg_setu16(m, 2, applid)
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
H A D | monwriter.h | 21 unsigned short applid; member in struct:monwrite_hdr
|
/linux-4.4.14/include/linux/ |
H A D | kernelcapi.h | 20 u16 applid; member in struct:capi20_appl
|
/linux-4.4.14/drivers/s390/char/ |
H A D | monwriter.c | 64 id.prod_fn = myhdr->applid; monwrite_diag() 86 entry->hdr.applid == monhdr->applid && monwrite_find_hdr()
|