• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/i4l/

Lines Matching defs:phone

575 				/* Initiate dialout. Set phone-number-pointer to first number
578 lp->dial = lp->phone[1];
580 printk(KERN_WARNING "%s: phone number deleted?\n",
609 /* Setup interface, dial current phone-number, switch to next number.
610 * If list of phone-numbers is exhausted, increment
634 printk(KERN_WARNING "%s: phone number deleted?\n",
665 strcpy(cmd.parm.setup.phone, phone_number);
670 lp->dial = lp->phone[1];
687 strcpy(dev->num[i], cmd.parm.setup.phone);
692 lp->dialretry, cmd.parm.setup.phone,
1211 if (lp->phone[1]) {
1290 "No phone number");
2104 * configured phone-numbers. If callback-flag is set, initiate
2133 if (!setup->phone[0]) {
2138 strcpy(nr, setup->phone);
2283 n = lp->phone[0];
2354 if (lp->phone[1]) {
2388 printk(KERN_WARNING "isdn_net: %s: No phone number\n", lp->name);
2468 if (lp->phone[1]) {
2943 * Add a phone-number to an interface.
2946 isdn_net_addphone(isdn_net_ioctl_phone * phone)
2948 isdn_net_dev *p = isdn_net_findif(phone->name);
2954 strcpy(n->num, phone->phone);
2955 n->next = p->local->phone[phone->outgoing & 1];
2956 p->local->phone[phone->outgoing & 1] = n;
2963 * Copy a string of all phone-numbers of an interface to user space.
2967 isdn_net_getphones(isdn_net_ioctl_phone * phone, char __user *phones)
2969 isdn_net_dev *p = isdn_net_findif(phone->name);
2970 int inout = phone->outgoing & 1;
2978 for (n = p->local->phone[inout]; n; n = n->next) {
2996 * Copy a string containing the peer's phone number of a connected interface
3000 isdn_net_getpeer(isdn_net_ioctl_phone *phone, isdn_net_ioctl_phone __user *peer)
3002 isdn_net_dev *p = isdn_net_findif(phone->name);
3019 strncpy(phone->phone,dev->num[idx],ISDN_MSNLEN);
3020 phone->outgoing=USG_OUTGOING(dev->usage[idx]);
3021 if ( copy_to_user(peer,phone,sizeof(*peer)) ) return -EFAULT;
3025 * Delete a phone-number from an interface.
3028 isdn_net_delphone(isdn_net_ioctl_phone * phone)
3030 isdn_net_dev *p = isdn_net_findif(phone->name);
3031 int inout = phone->outgoing & 1;
3036 n = p->local->phone[inout];
3039 if (!strcmp(n->num, phone->phone)) {
3045 p->local->phone[inout] = n->next;
3058 * Delete all phone-numbers of an interface.
3068 n = p->local->phone[i];
3074 p->local->phone[i] = NULL;
3119 /* Free all phone-entries */