Searched refs:contr (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/drivers/isdn/capi/ |
D | kcapi.c | 94 static inline struct capi_ctr *get_capi_ctr_by_nr(u16 contr) in get_capi_ctr_by_nr() argument 96 if (contr < 1 || contr - 1 >= CAPI_MAXCONTR) in get_capi_ctr_by_nr() 99 return capi_controller[contr - 1]; in get_capi_ctr_by_nr() 180 static void notify_up(u32 contr) in notify_up() argument 189 printk(KERN_DEBUG "kcapi: notify up contr %d\n", contr); in notify_up() 191 ctr = get_capi_ctr_by_nr(contr); in notify_up() 206 printk(KERN_WARNING "%s: invalid contr %d\n", __func__, contr); in notify_up() 236 static void notify_down(u32 contr) in notify_down() argument 243 printk(KERN_DEBUG "kcapi: notify down contr %d\n", contr); in notify_down() 245 ctr = get_capi_ctr_by_nr(contr); in notify_down() [all …]
|
D | capi.c | 787 if (copy_from_user(&data.contr, argp, in capi_ioctl() 788 sizeof(data.contr))) in capi_ioctl() 790 cdev->errcode = capi20_get_version(data.contr, &data.version); in capi_ioctl() 799 if (copy_from_user(&data.contr, argp, in capi_ioctl() 800 sizeof(data.contr))) in capi_ioctl() 802 cdev->errcode = capi20_get_serial(data.contr, data.serial); in capi_ioctl() 811 if (copy_from_user(&data.contr, argp, in capi_ioctl() 812 sizeof(data.contr))) in capi_ioctl() 815 if (data.contr == 0) { in capi_ioctl() 816 cdev->errcode = capi20_get_profile(data.contr, &data.profile); in capi_ioctl() [all …]
|
/Linux-v5.4/include/uapi/linux/ |
D | b1lli.h | 24 int contr; member 29 int contr; member 35 int contr; member 39 int contr; member
|
D | kernelcapi.h | 20 int contr; member
|
D | capi.h | 110 __u32 contr; member
|
/Linux-v5.4/include/linux/ |
D | kernelcapi.h | 41 u16 capi20_get_manufacturer(u32 contr, u8 buf[CAPI_MANUFACTURER_LEN]); 42 u16 capi20_get_version(u32 contr, struct capi_version *verp); 43 u16 capi20_get_serial(u32 contr, u8 serial[CAPI_SERIAL_LEN]); 44 u16 capi20_get_profile(u32 contr, struct capi_profile *profp);
|
/Linux-v5.4/net/bluetooth/cmtp/ |
D | capi.c | 322 __u32 contr; in cmtp_recv_capimsg() local 340 contr = CAPIMSG_CONTROL(skb->data); in cmtp_recv_capimsg() 352 if ((contr & 0x7f) == 0x01) { in cmtp_recv_capimsg() 353 contr = (contr & 0xffffff80) | session->num; in cmtp_recv_capimsg() 354 CAPIMSG_SETCONTROL(skb->data, contr); in cmtp_recv_capimsg() 477 __u32 contr; in cmtp_send_message() local 482 contr = CAPIMSG_CONTROL(skb->data); in cmtp_send_message() 492 if ((contr & 0x7f) == session->num) { in cmtp_send_message() 493 contr = (contr & 0xffffff80) | 0x01; in cmtp_send_message() 494 CAPIMSG_SETCONTROL(skb->data, contr); in cmtp_send_message()
|
/Linux-v5.4/include/linux/isdn/ |
D | capiutil.h | 57 #define CAPIMSG_SETCONTROL(m, contr) capimsg_setu32(m, 8, contr) argument
|
/Linux-v5.4/drivers/staging/isdn/gigaset/ |
D | capi.c | 54 #define CAPIMSG_SETCONTROLLER(m, contr) capimsg_setu8(m, 8, contr) argument
|
/Linux-v5.4/Documentation/isdn/ |
D | interface_capi.rst | 351 CAPIMSG_CONTROL(m) CAPIMSG_SETCONTROL(m, contr) Controller/PLCI/NCCI
|