Lines Matching refs:hupflags
346 if (l->hupflags & ISDN_MANCHARGE && in isdn_net_autohup()
347 l->hupflags & ISDN_CHARGEHUP) { in isdn_net_autohup()
351 if (l->outgoing || l->hupflags & ISDN_INHUP) in isdn_net_autohup()
354 if (l->hupflags & ISDN_CHARGEHUP) { in isdn_net_autohup()
355 if (l->hupflags & ISDN_WAITCHARGE) { in isdn_net_autohup()
357 p->dev->name, l->hupflags); in isdn_net_autohup()
367 } else if (l->hupflags & ISDN_INHUP) in isdn_net_autohup()
533 if (lp->hupflags & ISDN_HAVECHARGE) { in isdn_net_stat_callback()
534 lp->hupflags &= ~ISDN_WAITCHARGE; in isdn_net_stat_callback()
537 if (lp->hupflags & ISDN_WAITCHARGE) in isdn_net_stat_callback()
538 lp->hupflags |= ISDN_HAVECHARGE; in isdn_net_stat_callback()
708 lp->hupflags |= ISDN_HAVECHARGE; in isdn_net_dial()
709 lp->hupflags &= ~ISDN_WAITCHARGE; in isdn_net_dial()
711 lp->hupflags |= ISDN_WAITCHARGE; in isdn_net_dial()
712 lp->hupflags &= ~ISDN_HAVECHARGE; in isdn_net_dial()
2362 lp->hupflags |= ISDN_WAITCHARGE; in isdn_net_find_icall()
2363 lp->hupflags &= ~ISDN_HAVECHARGE; in isdn_net_find_icall()
2526 lp->hupflags = ISDN_INHUP; /* Do hangup even on incoming calls */ in _isdn_setup()
2826 lp->hupflags |= ISDN_CHARGEHUP; in isdn_net_setcfg()
2828 lp->hupflags &= ~ISDN_CHARGEHUP; in isdn_net_setcfg()
2830 lp->hupflags |= ISDN_INHUP; in isdn_net_setcfg()
2832 lp->hupflags &= ~ISDN_INHUP; in isdn_net_setcfg()
2834 lp->hupflags |= ISDN_CHARGEHUP | ISDN_HAVECHARGE | ISDN_MANCHARGE; in isdn_net_setcfg()
2886 cfg->chargehup = (lp->hupflags & ISDN_CHARGEHUP) ? 1 : 0; in isdn_net_getcfg()
2887 cfg->ihup = (lp->hupflags & ISDN_INHUP) ? 1 : 0; in isdn_net_getcfg()
2892 cfg->chargeint = (lp->hupflags & ISDN_CHARGEHUP) ? in isdn_net_getcfg()