contr 787 drivers/isdn/capi/capi.c if (copy_from_user(&data.contr, argp, contr 788 drivers/isdn/capi/capi.c sizeof(data.contr))) contr 790 drivers/isdn/capi/capi.c cdev->errcode = capi20_get_version(data.contr, &data.version); contr 799 drivers/isdn/capi/capi.c if (copy_from_user(&data.contr, argp, contr 800 drivers/isdn/capi/capi.c sizeof(data.contr))) contr 802 drivers/isdn/capi/capi.c cdev->errcode = capi20_get_serial(data.contr, data.serial); contr 811 drivers/isdn/capi/capi.c if (copy_from_user(&data.contr, argp, contr 812 drivers/isdn/capi/capi.c sizeof(data.contr))) contr 815 drivers/isdn/capi/capi.c if (data.contr == 0) { contr 816 drivers/isdn/capi/capi.c cdev->errcode = capi20_get_profile(data.contr, &data.profile); contr 825 drivers/isdn/capi/capi.c cdev->errcode = capi20_get_profile(data.contr, &data.profile); contr 837 drivers/isdn/capi/capi.c if (copy_from_user(&data.contr, argp, contr 838 drivers/isdn/capi/capi.c sizeof(data.contr))) contr 840 drivers/isdn/capi/capi.c cdev->errcode = capi20_get_manufacturer(data.contr, data.manufacturer); contr 94 drivers/isdn/capi/kcapi.c static inline struct capi_ctr *get_capi_ctr_by_nr(u16 contr) contr 96 drivers/isdn/capi/kcapi.c if (contr < 1 || contr - 1 >= CAPI_MAXCONTR) contr 99 drivers/isdn/capi/kcapi.c return capi_controller[contr - 1]; contr 180 drivers/isdn/capi/kcapi.c static void notify_up(u32 contr) contr 189 drivers/isdn/capi/kcapi.c printk(KERN_DEBUG "kcapi: notify up contr %d\n", contr); contr 191 drivers/isdn/capi/kcapi.c ctr = get_capi_ctr_by_nr(contr); contr 206 drivers/isdn/capi/kcapi.c printk(KERN_WARNING "%s: invalid contr %d\n", __func__, contr); contr 236 drivers/isdn/capi/kcapi.c static void notify_down(u32 contr) contr 243 drivers/isdn/capi/kcapi.c printk(KERN_DEBUG "kcapi: notify down contr %d\n", contr); contr 245 drivers/isdn/capi/kcapi.c ctr = get_capi_ctr_by_nr(contr); contr 249 drivers/isdn/capi/kcapi.c printk(KERN_WARNING "%s: invalid contr %d\n", __func__, contr); contr 257 drivers/isdn/capi/kcapi.c u32 contr = (long)v; contr 261 drivers/isdn/capi/kcapi.c notify_up(contr); contr 264 drivers/isdn/capi/kcapi.c notify_down(contr); contr 849 drivers/isdn/capi/kcapi.c u16 capi20_get_manufacturer(u32 contr, u8 *buf) contr 854 drivers/isdn/capi/kcapi.c if (contr == 0) { contr 861 drivers/isdn/capi/kcapi.c ctr = get_capi_ctr_by_nr(contr); contr 884 drivers/isdn/capi/kcapi.c u16 capi20_get_version(u32 contr, struct capi_version *verp) contr 889 drivers/isdn/capi/kcapi.c if (contr == 0) { contr 896 drivers/isdn/capi/kcapi.c ctr = get_capi_ctr_by_nr(contr); contr 919 drivers/isdn/capi/kcapi.c u16 capi20_get_serial(u32 contr, u8 *serial) contr 924 drivers/isdn/capi/kcapi.c if (contr == 0) { contr 931 drivers/isdn/capi/kcapi.c ctr = get_capi_ctr_by_nr(contr); contr 954 drivers/isdn/capi/kcapi.c u16 capi20_get_profile(u32 contr, struct capi_profile *profp) contr 959 drivers/isdn/capi/kcapi.c if (contr == 0) { contr 966 drivers/isdn/capi/kcapi.c ctr = get_capi_ctr_by_nr(contr); contr 1096 drivers/isdn/capi/kcapi.c ctr = get_capi_ctr_by_nr(ldef.contr); contr 1127 drivers/isdn/capi/kcapi.c printk(KERN_INFO "kcapi: load: contr=%d not in detect state\n", ldef.contr); contr 1153 drivers/isdn/capi/kcapi.c ctr = get_capi_ctr_by_nr(rdef.contr); contr 1212 drivers/isdn/capi/kcapi.c ctr = get_capi_ctr_by_nr(fdef.contr); contr 54 drivers/staging/isdn/gigaset/capi.c #define CAPIMSG_SETCONTROLLER(m, contr) capimsg_setu8(m, 8, contr) contr 57 include/linux/isdn/capiutil.h #define CAPIMSG_SETCONTROL(m, contr) capimsg_setu32(m, 8, contr) contr 41 include/linux/kernelcapi.h u16 capi20_get_manufacturer(u32 contr, u8 buf[CAPI_MANUFACTURER_LEN]); contr 42 include/linux/kernelcapi.h u16 capi20_get_version(u32 contr, struct capi_version *verp); contr 43 include/linux/kernelcapi.h u16 capi20_get_serial(u32 contr, u8 serial[CAPI_SERIAL_LEN]); contr 44 include/linux/kernelcapi.h u16 capi20_get_profile(u32 contr, struct capi_profile *profp); contr 24 include/uapi/linux/b1lli.h int contr; contr 29 include/uapi/linux/b1lli.h int contr; contr 35 include/uapi/linux/b1lli.h int contr; contr 39 include/uapi/linux/b1lli.h int contr; contr 110 include/uapi/linux/capi.h __u32 contr; contr 20 include/uapi/linux/kernelcapi.h int contr; contr 322 net/bluetooth/cmtp/capi.c __u32 contr; contr 340 net/bluetooth/cmtp/capi.c contr = CAPIMSG_CONTROL(skb->data); contr 352 net/bluetooth/cmtp/capi.c if ((contr & 0x7f) == 0x01) { contr 353 net/bluetooth/cmtp/capi.c contr = (contr & 0xffffff80) | session->num; contr 354 net/bluetooth/cmtp/capi.c CAPIMSG_SETCONTROL(skb->data, contr); contr 477 net/bluetooth/cmtp/capi.c __u32 contr; contr 482 net/bluetooth/cmtp/capi.c contr = CAPIMSG_CONTROL(skb->data); contr 492 net/bluetooth/cmtp/capi.c if ((contr & 0x7f) == session->num) { contr 493 net/bluetooth/cmtp/capi.c contr = (contr & 0xffffff80) | 0x01; contr 494 net/bluetooth/cmtp/capi.c CAPIMSG_SETCONTROL(skb->data, contr);