Searched refs:drvidx (Results 1 – 2 of 2) sorted by relevance
70 static int isdn_add_channels(isdn_driver_t *d, int drvidx, int n, int adding);1064 int drvidx; in isdn_read() local1098 drvidx = isdn_minor2drv(minor); in isdn_read()1099 if (drvidx < 0) { in isdn_read()1103 if (!(dev->drv[drvidx]->flags & DRV_FLAG_RUNNING)) { in isdn_read()1112 len = isdn_readbchan(drvidx, chidx, p, NULL, count, in isdn_read()1113 &dev->drv[drvidx]->rcv_waitq[chidx]); in isdn_read()1122 drvidx = isdn_minor2drv(minor - ISDN_MINOR_CTRL); in isdn_read()1123 if (drvidx < 0) { in isdn_read()1127 if (!dev->drv[drvidx]->stavail) { in isdn_read()[all …]
2020 int drvidx; in isdn_net_init() local2027 for (drvidx = 0; drvidx < ISDN_MAX_DRIVERS; drvidx++) in isdn_net_init()2028 if (dev->drv[drvidx]) in isdn_net_init()2029 if (max_hlhdr_len < dev->drv[drvidx]->interface->hl_hdrlen) in isdn_net_init()2030 max_hlhdr_len = dev->drv[drvidx]->interface->hl_hdrlen; in isdn_net_init()2037 isdn_net_swapbind(int drvidx) in isdn_net_swapbind() argument2042 printk(KERN_DEBUG "n_fi: swapping ch of %d\n", drvidx); in isdn_net_swapbind()2046 if (p->local->pre_device == drvidx) in isdn_net_swapbind()2677 int drvidx; in isdn_net_setcfg() local2762 drvidx = -1; in isdn_net_setcfg()[all …]