Home
last modified time | relevance | path

Searched refs:contr (Results 1 – 3 of 3) sorted by relevance

/drivers/isdn/capi/
Dkcapi.c81 static inline struct capi_ctr *get_capi_ctr_by_nr(u16 contr) in get_capi_ctr_by_nr() argument
83 if (contr < 1 || contr - 1 >= CAPI_MAXCONTR) in get_capi_ctr_by_nr()
86 return capi_controller[contr - 1]; in get_capi_ctr_by_nr()
167 static void notify_up(u32 contr) in notify_up() argument
176 printk(KERN_DEBUG "kcapi: notify up contr %d\n", contr); in notify_up()
178 ctr = get_capi_ctr_by_nr(contr); in notify_up()
191 printk(KERN_WARNING "%s: invalid contr %d\n", __func__, contr); in notify_up()
219 static void notify_down(u32 contr) in notify_down() argument
226 printk(KERN_DEBUG "kcapi: notify down contr %d\n", contr); in notify_down()
228 ctr = get_capi_ctr_by_nr(contr); in notify_down()
[all …]
Dkcapi.h62 u16 capi20_get_manufacturer(u32 contr, u8 buf[CAPI_MANUFACTURER_LEN]);
63 u16 capi20_get_version(u32 contr, struct capi_version *verp);
64 u16 capi20_get_serial(u32 contr, u8 serial[CAPI_SERIAL_LEN]);
65 u16 capi20_get_profile(u32 contr, struct capi_profile *profp);
Dcapi.c790 if (copy_from_user(&data.contr, argp, in capi_ioctl()
791 sizeof(data.contr))) in capi_ioctl()
793 cdev->errcode = capi20_get_version(data.contr, &data.version); in capi_ioctl()
802 if (copy_from_user(&data.contr, argp, in capi_ioctl()
803 sizeof(data.contr))) in capi_ioctl()
805 cdev->errcode = capi20_get_serial(data.contr, data.serial); in capi_ioctl()
814 if (copy_from_user(&data.contr, argp, in capi_ioctl()
815 sizeof(data.contr))) in capi_ioctl()
818 if (data.contr == 0) { in capi_ioctl()
819 cdev->errcode = capi20_get_profile(data.contr, &data.profile); in capi_ioctl()
[all …]