Lines Matching refs:slot
29 static int isdn_ppp_fill_rq(unsigned char *buf, int len, int proto, int slot);
30 static int isdn_ppp_closewait(int slot);
85 isdn_ppp_frame_log(char *info, char *data, int len, int maxlen, int unit, int slot) in isdn_ppp_frame_log() argument
98 printk(KERN_DEBUG "[%d/%d].%s[%d]: %s\n", unit, slot, info, i, buf); in isdn_ppp_frame_log()
243 isdn_ppp_closewait(int slot) in isdn_ppp_closewait() argument
247 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_closewait()
249 __func__, slot); in isdn_ppp_closewait()
252 is = ippp_table[slot]; in isdn_ppp_closewait()
281 int slot; in isdn_ppp_open() local
287 slot = isdn_ppp_get_slot(); in isdn_ppp_open()
288 if (slot < 0) { in isdn_ppp_open()
291 is = file->private_data = ippp_table[slot]; in isdn_ppp_open()
294 slot, min, is->state); in isdn_ppp_open()
733 isdn_ppp_fill_rq(unsigned char *buf, int len, int proto, int slot) in isdn_ppp_fill_rq() argument
740 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_fill_rq()
741 printk(KERN_WARNING "ippp: illegal slot(%d).\n", slot); in isdn_ppp_fill_rq()
744 is = ippp_table[slot]; in isdn_ppp_fill_rq()
1001 int slot; in isdn_ppp_receive() local
1006 slot = lp->ppp_slot; in isdn_ppp_receive()
1007 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive()
1013 is = ippp_table[slot]; in isdn_ppp_receive()
1059 int slot; in isdn_ppp_push_higher() local
1061 slot = lp->ppp_slot; in isdn_ppp_push_higher()
1062 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_push_higher()
1067 is = ippp_table[slot]; in isdn_ppp_push_higher()
1071 slot = mlp->ppp_slot; in isdn_ppp_push_higher()
1072 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_push_higher()
1078 mis = ippp_table[slot]; in isdn_ppp_push_higher()
1250 int slot, retval = NETDEV_TX_OK; in isdn_ppp_xmit() local
1255 slot = mlp->ppp_slot; in isdn_ppp_xmit()
1256 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_xmit()
1262 ipts = ippp_table[slot]; in isdn_ppp_xmit()
1293 slot = lp->ppp_slot; in isdn_ppp_xmit()
1294 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_xmit()
1300 ipt = ippp_table[slot]; in isdn_ppp_xmit()
1612 static void isdn_ppp_mp_print_recv_pkt(int slot, struct sk_buff *skb);
1624 int slot; in isdn_ppp_mp_receive() local
1629 slot = lp->ppp_slot; in isdn_ppp_mp_receive()
1630 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_receive()
1638 is = ippp_table[slot]; in isdn_ppp_mp_receive()
1666 slot = lpq->ppp_slot; in isdn_ppp_mp_receive()
1667 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_receive()
1671 u32 lls = ippp_table[slot]->last_link_seqno; in isdn_ppp_mp_receive()
1952 static void isdn_ppp_mp_print_recv_pkt(int slot, struct sk_buff *skb) in isdn_ppp_mp_print_recv_pkt() argument
1955 slot, (int) skb->len, in isdn_ppp_mp_print_recv_pkt()
2011 isdn_ppp_dev_ioctl_stats(int slot, struct ifreq *ifr, struct net_device *dev) in isdn_ppp_dev_ioctl_stats() argument
2031 if (slot >= 0 && ippp_table[slot]->slcomp) { in isdn_ppp_dev_ioctl_stats()
2032 struct slcompress *slcomp = ippp_table[slot]->slcomp; in isdn_ppp_dev_ioctl_stats()
2690 int slot = ISDN_MASTER_PRIV(lp)->ppp_slot; in isdn_ppp_receive_ccp() local
2691 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive_ccp()
2693 __func__, slot); in isdn_ppp_receive_ccp()
2696 mis = ippp_table[slot]; in isdn_ppp_receive_ccp()
2850 int proto, slot = lp->ppp_slot; in isdn_ppp_send_ccp() local
2855 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_send_ccp()
2857 __func__, slot); in isdn_ppp_send_ccp()
2860 is = ippp_table[slot]; in isdn_ppp_send_ccp()
2877 slot = ISDN_MASTER_PRIV(lp)->ppp_slot; in isdn_ppp_send_ccp()
2878 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_send_ccp()
2880 __func__, slot); in isdn_ppp_send_ccp()
2883 mis = ippp_table[slot]; in isdn_ppp_send_ccp()