• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/isdn/i4l/

Lines Matching refs:phone

579 				/* Initiate dialout. Set phone-number-pointer to first number
582 lp->dial = lp->phone[1];
584 printk(KERN_WARNING "%s: phone number deleted?\n",
613 /* Setup interface, dial current phone-number, switch to next number.
614 * If list of phone-numbers is exhausted, increment
638 printk(KERN_WARNING "%s: phone number deleted?\n",
669 strcpy(cmd.parm.setup.phone, phone_number);
674 lp->dial = lp->phone[1];
691 strcpy(dev->num[i], cmd.parm.setup.phone);
696 lp->dialretry, cmd.parm.setup.phone,
1209 if (lp->phone[1]) {
1288 "No phone number");
2081 * configured phone-numbers. If callback-flag is set, initiate
2110 if (!setup->phone[0]) {
2115 strlcpy(nr, setup->phone, ISDN_MSNLEN);
2260 n = lp->phone[0];
2331 if (lp->phone[1]) {
2366 printk(KERN_WARNING "isdn_net: %s: No phone number\n",
2447 if (lp->phone[1]) {
2946 * Add a phone-number to an interface.
2949 isdn_net_addphone(isdn_net_ioctl_phone * phone)
2951 isdn_net_dev *p = isdn_net_findif(phone->name);
2957 strlcpy(n->num, phone->phone, sizeof(n->num));
2958 n->next = p->local->phone[phone->outgoing & 1];
2959 p->local->phone[phone->outgoing & 1] = n;
2966 * Copy a string of all phone-numbers of an interface to user space.
2970 isdn_net_getphones(isdn_net_ioctl_phone * phone, char __user *phones)
2972 isdn_net_dev *p = isdn_net_findif(phone->name);
2973 int inout = phone->outgoing & 1;
2981 for (n = p->local->phone[inout]; n; n = n->next) {
2999 * Copy a string containing the peer's phone number of a connected interface
3003 isdn_net_getpeer(isdn_net_ioctl_phone *phone, isdn_net_ioctl_phone __user *peer)
3005 isdn_net_dev *p = isdn_net_findif(phone->name);
3026 strncpy(phone->phone, dev->num[idx], ISDN_MSNLEN);
3027 phone->outgoing = USG_OUTGOING(dev->usage[idx]);
3028 if (copy_to_user(peer, phone, sizeof(*peer)))
3033 * Delete a phone-number from an interface.
3036 isdn_net_delphone(isdn_net_ioctl_phone * phone)
3038 isdn_net_dev *p = isdn_net_findif(phone->name);
3039 int inout = phone->outgoing & 1;
3044 n = p->local->phone[inout];
3047 if (!strcmp(n->num, phone->phone)) {
3053 p->local->phone[inout] = n->next;
3066 * Delete all phone-numbers of an interface.
3076 n = p->local->phone[i];
3082 p->local->phone[i] = NULL;
3127 /* Free all phone-entries */